* epa-file.el: Respect buffer-file-format when writing
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
02bf443d
DU
12014-01-14 Daiki Ueno <ueno@gnu.org>
2
3 * epa-file.el (epa-file-write-region): Encode the region according
4 to `buffer-file-format'. Problem reported at:
5 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6
fd7fde15
SM
72014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
10 so it applies in the right buffer (bug#16410).
11
c176054f
DC
122014-01-13 Daniel Colascione <dancol@dancol.org>
13
14 * textmodes/rst.el (rst-define-key): Provide deprecated
15 keybindings through named functions instead of anonymous ones so
16 that "??" doesn't appear in describe-mode output.
17
e3f33e5d
BG
182014-01-13 Bastien Guerry <bzg@gnu.org>
19
20 * simple.el (define-alternatives): Call the selected command
21 interactively. When setting `COMMAND--implementation' for the
22 first time, tell the user how to chose another implementation.
23 Enhance the docstring.
24
c055d654
SM
252014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
28 (log-edit--match-first-line): New function.
29 (log-edit-font-lock-keywords): Use it.
30 (log-edit-mode): Make jit-lock-defer-multiline work.
31
d791cc3b
BG
322014-01-13 Bastien Guerry <bzg@gnu.org>
33
34 * rect.el (rectangle-mark-mode): When the region is not active,
35 display a message saying that the mark as been set and that
36 rectangle mode is in use.
37 (rectangle--highlight-for-redisplay): Only put an overlay with a
38 visible vertical bar when (display-graphic-p) is non-nil.
39 This partially fixes Bug#16403.
40
3c0c4562
JL
412014-01-13 Juri Linkov <juri@jurta.org>
42
43 * info.el (Info-find-file): Go to DIR before displaying the error
44 about a nonexistent file if no previous Info file is visited.
45 Use `user-error' instead of `error' for "Info file %s does not exist".
46 (Info-find-node-2): In case of a nonexistent node in unwind forms
47 go to the Top node if there is no previous node to revert to.
48 (Bug#16405)
49
25a700d0
MR
502014-01-13 Martin Rudalics <rudalics@gmx.at>
51
52 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
53 * window.el (fit-frame-to-buffer): Fix doc-string.
54 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
55 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
56 when avoiding that frame goes partially off-screen.
57 (fit-window-to-buffer): Respect window-min-height/-width
58 (Bug#14096).
59
6ae948d8
SM
602014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
63 after an empty line.
64
6137cb82
SM
652014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * net/shr.el (shr-render-region): Autoload.
68
e6344e17
XF
692014-01-12 Xue Fuqiao <xfq.free@gmail.com>
70
71 * net/eww.el (eww-download-directory): Rename from
72 `eww-download-path' (Bug#16419).
73
3b922c70
LL
742014-01-12 Leo Liu <sdl.web@gmail.com>
75
76 * dired-x.el (dired-mode-map): Fix last change.
77
78 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
79
4fa51741
PE
802014-01-12 Paul Eggert <eggert@cs.ucla.edu>
81
82 Spelling fixes.
83 * emacs-lisp/generic.el (generic--normalize-comments):
84 Rename from generic--normalise-comments. All uses changed.
85 * play/bubbles.el (bubbles--neighborhood-score):
86 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
87 (bubbles--neighborhood-available)
88 (bubbles--update-neighborhood-score):
89 Rename from names with 'neighbourhood'. All uses changed.
90
9b335362
LL
912014-01-12 Leo Liu <sdl.web@gmail.com>
92
93 Re-implement the feature of showing eldoc info after editing.
94 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
95 (eldoc-edit-message-commands): New function.
96 (eldoc-print-after-edit): New variable.
97 (eldoc-pre-command-refresh-echo-area): Emit message only by
98 eldoc-message-commands.
99 (eldoc-mode): Restrict eldoc-message-commands to editing commands
100 if eldoc-print-after-edit is set. (Bug#16346)
101
6137cb82 102 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 103
9685190b
ER
1042014-01-11 Eric S. Raymond <esr@thyrsus.com>
105
841a6d0c 106 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 107 function works correctly in either a Bazaar or Git repo.
0abf4134 108
6137cb82
SM
109 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
110 Goes with removal of the joke manpages from /etc.
9685190b 111
3923e7bd
KH
1122014-01-10 K. Handa <handa@gnu.org>
113
6137cb82
SM
114 * mail/rmail.el (rmail-get-coding-system):
115 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 116
d2f16e93
GM
1172014-01-10 Glenn Morris <rgm@gnu.org>
118
119 * emacs-lisp/authors.el (authors-fixed-entries):
120 Update for files that no longer exist.
121
7e03bb32
ER
1222014-01-10 Eric S. Raymond <esr@thyrsus.com>
123
124 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 125 24.3 (Tested).
7e03bb32 126
dd806710
BB
1272014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
128
129 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
130 and Podfile.
131
ed6ec139
EZ
1322014-01-10 Eli Zaretskii <eliz@gnu.org>
133
134 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
135
cc33cac9
CY
1362014-01-10 Chong Yidong <cyd@gnu.org>
137
6137cb82 138 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 139
d9d836b5
AL
1402014-01-10 Anders Lindgren <andlind@gmail.com>
141
142 * follow.el (follow-cache-command-list): Include right-char and
143 left-char.
144
06827ec8
PE
1452014-01-10 Paul Eggert <eggert@cs.ucla.edu>
146
147 Spelling fixes.
148 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
149 * woman.el (woman-mark-horizontal-position):
150 Rename from woman-mark-horizonal-position. Use changed.
151
458dbf5e
GM
1522014-01-10 Glenn Morris <rgm@gnu.org>
153
dad6fae7
GM
154 * info.el (info-initialize): If running uninstalled, ensure our
155 own info files are always found first, even if INFOPATH is set.
156
458dbf5e
GM
157 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
158
05e0afce
DE
1592014-01-09 David Engster <deng@randomsample.de>
160
161 * emacs-lisp/eieio-custom.el:
162 * emacs-lisp/eieio-opt.el: Set generated autoload file to
163 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
164 * emacs-lisp/eieio.el: Regenerate autoloads.
165
f29778b3
ER
1662014-01-09 Eric S. Raymond <esr@thyrsus.com>
167
168 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 169 following renames. (Bug#8756)
f29778b3 170
684d44ef
SM
1712014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
174 (bug#16382).
175 (activate-mark): Add `no-tmm' argument.
176 (set-mark, push-mark-command): Use it instead of running
177 activate-mark-hook by hand.
178
9475054f
ER
1792014-01-08 Eric S. Raymond <esr@thyrsus.com>
180
181 In preparation for the move to git, sanitize out some
182 Bazaar-specific names.
183
184 * version.el (emacs-bzr-version): Name changed to
689c9ca5 185 emacs-repository-version. Obsolete-variable alias made.
9475054f 186 * loadup.el: Follow through on this name change.
a12bf61e 187 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
188 assumption about the version control system in use.
189
0f918d96 1902014-01-08 David Engster <deng@randomsample.de>
abb82152 191
684d44ef
SM
192 * help-fns.el (help-fns-describe-function-functions):
193 New variable to call functions for augmenting help buffers.
abb82152
DE
194 (describe-function-1): Remove explicit calls to
195 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
196 `help-fns--obsolete'. Put them in above new variable instead, and
197 call them through `run-hook-with-args'.
198 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
199 `eieio-describe-class'. Not meant for interactive use anymore,
200 but to augment existing help buffers. Remove optional second
684d44ef
SM
201 argument. Create proper button for file location.
202 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
203 possible.
204 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
205 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
206 (describe-method, describe-generic, eieio-describe-method):
207 Remove aliases.
0f918d96
DE
208 (eieio-help-constructor, eieio-help-generic): Rename from
209 `eieio-describe-constructor' and `eieio-describe-generic', resp.
210 Rewrite to use `insert' in the current buffer and use proper help
211 buttons.
212 (eieio-help-find-method-definition)
213 (eieio-help-find-class-definition): Also accept symbols as
214 arguments.
215 (eieio-help-mode-augmentation-maybee): Remove.
216 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
217 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
218 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 219
136b74c5
PE
2202014-01-08 Paul Eggert <eggert@cs.ucla.edu>
221
222 Spelling fixes.
223 * language/china-util.el (hz-ascii-designation):
224 Rename from hz-ascii-designnation.
225 (hz-ascii-designation): Rename from hz-ascii-designnation.
226 All uses changed.
227
ec6c7de2
SM
2282014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
231 package-alist.
232
d6262c7c
BG
2332014-01-08 Bastien Guerry <bzg@gnu.org>
234
4b9e6087
GM
235 * emacs-lisp/package.el (package-delete):
236 Correctly delete the package from package-alist.
d6262c7c 237
0a3eec32
DU
2382014-01-08 Daiki Ueno <ueno@gnu.org>
239
240 * emacs-lisp/package.el (url-recreate-url): Declare.
241 (url-http-target-url): Declare.
4b9e6087 242 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
243 (package--check-signature): Don't re-signal errors from
244 package--with-work-buffer. Suggested by Stefan Monnier.
245
68f0bb97
BG
2462014-01-07 Bastien Guerry <bzg@gnu.org>
247
248 * minibuffer.el (completion--try-word-completion): When both a
249 hyphen and a space are possible candidates for the character
250 following a word, display both candidates. (Bug#15980)
251
7e1899d7
MR
2522014-01-07 Martin Rudalics <rudalics@gmx.at>
253
254 * window.el (balance-windows-2): While rounding don't give a
255 window more than the remainder. Bug#16351, Bug#16383.
256
0030ec15
GM
2572014-01-07 Glenn Morris <rgm@gnu.org>
258
259 * menu-bar.el (menu-bar-help-extra-packages): Remove.
260 (menu-bar-help-menu): Use view-external-packages instead.
261
2b6b4f20
BG
2622014-01-07 Bastien Guerry <bzg@gnu.org>
263
264 * emacs-lisp/package.el (package-delete): Also delete the package
265 name from `package-alist', not its description only.
266
e9be0a13
GM
2672014-01-07 Glenn Morris <rgm@gnu.org>
268
269 * help.el (view-external-packages):
270 * menu-bar.el (menu-bar-help-extra-packages):
271 Visit efaq.info rather than etc/MORE.STUFF.
272
e4f74da9
JL
2732014-01-07 Juri Linkov <juri@jurta.org>
274
275 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
276 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
277
278 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
279 that shadows RET. (Bug#16342)
280
de7ce2d1
CY
2812014-01-07 Chong Yidong <cyd@gnu.org>
282
283 * isearch.el (isearch-yank-char, isearch-yank-word)
284 (isearch-yank-line): Doc fix.
285
6bdd9204
SM
2862014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
289 * emacs-lisp/elint.el (elint-find-builtins):
290 * emacs-lisp/eldoc.el (eldoc-symbol-function):
291 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
292 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
293 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
294 * apropos.el (apropos-safe-documentation):
295 * subr.el (symbol-file): Remove redundant fboundp.
296 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
297
daccca97
BG
2982014-01-06 Bastien Guerry <bzg@gnu.org>
299
300 * hl-line.el (global-hl-line-overlay): Make a local variable.
301 (global-hl-line-overlays): New variable to store all overlays.
302 (global-hl-line-mode): Don't delete overlays from the current
303 buffer when `global-hl-line-sticky-flag' is non-nil.
304 (global-hl-line-highlight): Add new overlays to
305 `global-hl-line-overlays'.
306 (global-hl-line-unhighlight-all): New function to delete all
307 overlays when turning off `global-hl-line-mode'.
308 This fixes Bug#16183.
309
ec00f20f
SM
3102014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * subr.el (set-transient-map): Fix nested case and docstring.
313
a0031f97
TH
3142014-01-06 Tassilo Horn <tsdh@gnu.org>
315
316 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
317 `Texinfo' entry.
318
bf6a77f3
DC
3192014-01-06 Daniel Colascione <dancol@dancol.org>
320
321 Fix defun navigation in vc log view.
322
323 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
324 like `beginning-of-defun'.
325 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
326 log-view-end-of-defun to log-view-end-of-defun-1. Replace
327 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 328 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 329 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 330
d5081c1e
PE
3312014-01-06 Paul Eggert <eggert@cs.ucla.edu>
332
333 Spelling fixes.
334 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
335 * emacs-lisp/debug.el (cancel-debug-on-entry):
336 * epg.el (epg-error-to-string):
337 * files.el (recover-file):
338 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
339 * mail/emacsbug.el (report-emacs-bug-hook):
340 * mail/sendmail.el (mail-recover):
341 * ses.el (ses-yank-resize):
342 * term/ns-win.el (ns-print-buffer):
343 Spelling fixes in diagnostics, mostly for "canceled" with one L.
344 * epg.el (epg-key-capability-alist): Rename from misspelled version.
345 All uses changed.
346 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
347
53f6b148
LL
3482014-01-06 Leo Liu <sdl.web@gmail.com>
349
350 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 351 to avoid shadowing global key. (Bug#16354)
53f6b148 352
b82ace2f
DC
3532014-01-06 Daniel Colascione <dancol@dancol.org>
354
355 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
356 rst-mode.
357
3669b636
MR
3582014-01-05 Martin Rudalics <rudalics@gmx.at>
359
360 * window.el (balance-windows): Add mising t to fix Bug#16351.
361
1a29adc2
LMI
3622014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
363
364 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
365 (bug#16285).
3d95a0f4
LMI
366 (shr-insert): If we have a word that's longer than `shr-width',
367 break after it anyway. Otherwise we'll do no breaking once we get
368 such a long word.
1a29adc2 369
f4018140
KN
3702014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
371
189340f5
KN
372 * net/eww.el (eww): Support single/double quote for search.
373 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
374 (eww-history-quit): Delete and use quit-window.
375 (eww-history-kill): Delete, because it doesn't work well and
376 not necessary.
377 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 378
4e619754
PE
3792014-01-05 Paul Eggert <eggert@cs.ucla.edu>
380
73dbf960
PE
381 Fix misspelling of 'chinese' in rx (Bug#16237).
382 * emacs-lisp/rx.el (rx-categories): Correct spelling of
383 chinese-two-byte.
384
4e619754
PE
385 Change subword regexps back to vars (Bug#16296).
386 * progmodes/subword.el (subword-forward-regexp)
387 (subword-backward-regexp): Change these back to variables.
388
e18b70fc
SM
3892014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
392 syntax-begin-function (bug#16247).
393
0d53f628
CY
3942014-01-03 Chong Yidong <cyd@gnu.org>
395
396 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
397 (advice--docstring): Delete variable.
398 (advice--make-1): Leave the docstring empty.
399 (advice-add): Use function-documentation for advised docstring.
400
401 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
402 Ignore function-documentation property when getting documentation.
403 (ad-activate-advised-definition): Use function-documentation
404 generate the docstring.
405 (ad-make-advised-definition): Don't call
406 ad-make-advised-definition-docstring.
407 (ad-make-advised-definition-docstring, ad-advised-definition-p):
408 Delete functions.
409
410 * progmodes/sql.el (sql-help): Use function-documentation instead
411 of dynamic-docstring-function property. No need to autoload now.
412 (sql--help-docstring): New variable.
413 (sql--make-help-docstring): Use it.
414
6f547583
SM
4152014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
416
6ef9aed8
SM
417 * ielm.el (ielm-tab): Retarget.
418 (ielm-map): Use ielm-tab for tab.
419 (ielm-complete-filename): Use comint-filename-completion.
420 (ielm-complete-symbol): Remove.
421 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
422 remove ielm-tab from completion-at-point-functions (bug#16224).
423
6f547583
SM
424 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
425 Beware signals raised by predicates (bug#16201).
426
a574edbe
RS
4272014-01-02 Richard Stallman <rms@gnu.org>
428
e831604d
RS
429 * dired-aux.el (dired-do-print): Handle printer-name.
430
6f547583
SM
431 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
432 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
433 (rmail-epa-decrypt): Turn off mime processing.
434
435 * mail/rmail.el (rmail-make-in-reply-to-field):
436 Add parens in message-id.
437
438 * mail/rmail.el (rmail-get-coding-function): Variable.
439 (rmail-get-coding-system): Use it.
440
04311a16
KH
4412013-12-31 Eli Zaretskii <eliz@gnu.org>
442
443 * international/mule-conf.el: Unify the charset indian-is13194.
444 (indian-is13194): Specify unify-map.
445
c8d89778
LL
4462013-12-31 Leo Liu <sdl.web@gmail.com>
447
448 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
449
e63ace37
DC
4502013-12-30 Daniel Colascione <dancol@dancol.org>
451
9e0bf19a
DC
452 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
453 of printing a useless when we resume from sleep.
454
e63ace37
DC
455 * progmodes/sh-script.el
456 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
457 in indentation code. (Bug#16233)
458
e9d6c46a
JT
4592013-12-28 João Távora <joaotavora@gmail.com>
460
6f547583
SM
461 * elec-pair.el (electric-pair-post-self-insert-function):
462 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 463
bf7bea5d
EZ
4642013-12-28 Eli Zaretskii <eliz@gnu.org>
465
466 * frame.el (window-system-for-display): Don't allow to create a
467 GUI frame from a -nw session on MS-Windows. (Bug#14739)
468
8449dd1f
GM
4692013-12-28 Glenn Morris <rgm@gnu.org>
470
9c5a5c77
GM
471 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
472 Update callers.
473
474 * apropos.el (apropos-match-face):
475 * calculator.el (calculator-displayer):
476 * dabbrev.el (dabbrev-search-these-buffers-only):
477 * face-remap.el (buffer-face-mode-face):
478 * simple.el (yank-handled-properties):
479 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
480 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
481 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
482 (hashcash-double-spend-database):
483 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
484 (ruby-deep-indent-paren-style):
485 * textmodes/flyspell.el (flyspell-auto-correct-binding):
486 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
487 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
488 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
489 Specify custom types.
490
bb098075
GM
491 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
492 * bookmark.el (bookmark-bmenu-use-header-line):
493 * doc-view.el (doc-view-scale-internally):
494 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
495 * register.el (register-preview-delay):
496 * net/shr.el (shr-bullet):
497 * progmodes/cfengine.el (cfengine-cf-promises)
498 (cfengine-parameters-indent):
499 * progmodes/octave.el (inferior-octave-error-regexp-alist):
500 * textmodes/reftex-vars.el (reftex-label-regexps):
501 * vc/log-edit.el (log-edit-setup-add-author): Add version.
502
9c61f806
GM
503 * net/tls.el (tls-certtool-program): Fix default value.
504
505 * desktop.el (desktop-restore-in-current-display):
506 * newcomment.el (comment-empty-lines):
507 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
508 (idlwave-pad-keyword):
509 * progmodes/tcl.el (tcl-tab-always-indent):
510 * textmodes/reftex-vars.el (reftex-index-default-tag):
511 * elec-pair.el (electric-pair-skip-whitespace):
512 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
513
8449dd1f
GM
514 * emacs-lisp/authors.el (authors-ignored-files)
515 (authors-valid-file-names, authors-renamed-files-alist): Additions.
516
fdadeb49
JC
5172013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
518
72140a0f
GM
519 * shell.el (shell-dynamic-complete-command): Doc fix.
520 (shell--command-completion-data): Shell completion now matches
521 executable filenames from the current buffer's directory, on
da5ecfa9 522 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 523
e572a7d8
LI
5242013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
525
526 * net/shr.el (shr-insert): Don't infloop if the width is zero.
527
7514d3f8
SM
5282013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
529
a4151f3b
SM
530 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
531 (bug#16251).
532
7514d3f8
SM
533 * electric.el: Move all electric-pair-* to elec-pair.el.
534 * elec-pair.el: New file, split from electric.el.
535
ac5758d1
LI
5362013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
537
538 * net/shr.el (shr-find-fill-point): Don't try to fill if the
539 indentation level is larger than the width, because that will
540 infloop.
541 (shr-insert): Fill repeatedly long texts, so that Japanese is
542 formatted correctly (bug#16263).
24a6b65e
LI
543 (shr-find-fill-point): Off by one error in comparison with the
544 indentation.
ac5758d1 545
7514d3f8 5462013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
547
548 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 549 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
550 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
551 if that keeps or improves their balance in buffers.
552 (electric-pair-delete-adjacent-pairs): Delete the pair when
553 backspacing over adjacent matched delimiters.
554 (electric-pair-open-extra-newline): Open extra newline when
555 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
556 (electric--sort-post-self-insertion-hook):
557 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
558 minor-modes are activated.
559 * simple.el (newline-and-indent): Call newline with interactive
560 set to t.
561 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
562 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
563 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
564 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
565 electric-pair-open-newline-between-pairs to nil.
566
fbcc63a3
FEG
5672013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
568
569 * progmodes/python.el: Use lexical-binding.
570 (python-nav-beginning-of-defun): Stop searching ASAP.
571
ed78d16c
XF
5722013-12-25 Xue Fuqiao <xfq.free@gmail.com>
573
574 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
575 Fix interactive spec. Doc fix. (Bug#15754)
576
38b2c142
KY
5772013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
578
579 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 580 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
581 Fix edebug spec (bug#16184).
582
3c856c14
LI
5832013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
584
83fa295c 585 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
586 (shr-insert): Don't infloop if we can't find a good place to break
587 the line (bug#16256).
3c856c14 588
01379221
FEG
5892013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
590
591 * progmodes/python.el:
592 (python-nav--lisp-forward-sexp): New function.
593 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
594 python-nav-lisp-forward-sexp-safe.
595 (python-nav--forward-sexp): New argument SAFE allows switching
596 forward sexp movement behavior for parens.
597 (python-nav-forward-sexp): Throw errors on unterminated parens
598 (Bug#16191).
599 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
600 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
601 (python-shell-buffer-substring):
602 Use `python-nav-forward-sexp-safe'.
01379221 603
99e4926f
LI
6042013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
605
606 * net/shr.el (shr-find-fill-point): Don't break lines before a
607 quotation mark.
c6c20584
LI
608 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
609 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 610 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 611
fec0e828
KN
6122013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
613
614 * net/eww.el (eww-form-textarea): Use a different face for
615 textareas than text input since they have different keymaps
616 (bug#16142).
617
89c868ad
FEG
6182013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
619
7514d3f8
SM
620 * progmodes/python.el (python-nav-beginning-of-statement):
621 Speed up (Bug#15295).
89c868ad 622
eeef121a
LI
6232013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
624
625 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
626 the window configuration.
627
121ea65f
EZ
6282013-12-24 Eli Zaretskii <eliz@gnu.org>
629
630 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
631 we run on MS-Windows or MS-DOS.
632
18cee9ec
MR
6332013-12-24 Martin Rudalics <rudalics@gmx.at>
634
635 * window.el (balance-windows-area): Call window-size instead of
636 window-height and window-width. Bug#16241.
637
58f2b9a5
LI
6382013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
639
640 * net/eww.el (eww-bookmark-quit): Remove.
641 (eww-bookmark-browse): Restore the window configuration when you
642 choose a bookmark (bug#16144).
643
d64b6308
DC
6442013-12-24 Daniel Colascione <dancol@dancol.org>
645
646 * icomplete.el: Remove redundant :group arguments to `defcustom'
647 throughout.
648 (icomplete-show-matches-on-no-input): New customizable variable.
649 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
650 we have something to show.
7514d3f8 651 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 652
0da54898
DC
6532013-12-23 Daniel Colascione <dancol@dancol.org>
654
655 * icomplete.el: Move `provide' to end of file.
656
b90aa4f4
TZ
6572013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
658
659 * net/gnutls.el (gnutls-verify-error): Add version tag.
660
8cd22a08
CY
6612013-12-23 Chong Yidong <cyd@gnu.org>
662
663 * subr.el (set-transient-map): Rename from
664 set-temporary-overlay-map. Doc fix.
665
666 * face-remap.el (text-scale-adjust):
667 * indent.el (indent-rigidly):
668 * kmacro.el (kmacro-call-macro):
669 * minibuffer.el (minibuffer-force-complete):
670 * repeat.el (repeat):
671 * simple.el (universal-argument--mode):
672 * calendar/todo-mode.el (todo-insert-item--next-param):
673 * progmodes/f90.el (f90-abbrev-start): Callers changed.
674
7510b021
CY
675 * indent.el (indent-rigidly): Use substitute-command-keys.
676
72140a0f 6772013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
678
679 * net/eww.el (eww-tag-select): Add text-property to jump to next
680 select field.
e9dc713d 681 (eww): Add non-supported ftp error.
56890ecd 682
1f87a56c
DG
6832013-12-22 Dmitry Gutov <dgutov@yandex.ru>
684
685 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
686 comments. Handle electric indent after typing `?' and `!'.
687
dca38cf9
CY
6882013-12-22 Chong Yidong <cyd@gnu.org>
689
690 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
691 applicable to a frame, fall back on the defface spec.
692 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 693
f2351498
DG
6942013-12-22 Dmitry Gutov <dgutov@yandex.ru>
695
696 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
697 after `{'. We need it after block openers, and it doesn't seem
698 to hurt after hash openers.
699
6cddebc1
DG
7002013-12-22 Dmitry Gutov <dgutov@yandex.ru>
701
702 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
703 extracted from `ruby-smie-rules'.
704 (ruby--electric-indent-chars): New variable.
705 (ruby--electric-indent-p): New function.
706 (ruby-mode): Use `electric-indent-functions' instead of
707 `electric-indent-chars'.
708
65a1da00
DG
7092013-12-22 Dmitry Gutov <dgutov@yandex.ru>
710
711 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
712 docstring.
713 (ruby-smie-rules): Indent plus one level after `=>'.
714
b51ad4cf
RS
7152013-12-21 Richard Stallman <rms@gnu.org>
716
717 * simple.el (newline): Doc fix.
718
72140a0f 7192013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 720
e9dc713d 721 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
722 (eww-history-browse, eww-history-quit, eww-history-kill)
723 (eww-history-mode-map, eww-history-mode): New command and
724 functions to list browser histories.
e9dc713d
JB
725 (eww-form-text): Support text form with disabled
726 and readonly attributes.
727 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 728
5e1901c1
RS
7292013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
730
731 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
732 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
733 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
734 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
735 Use `user-error'.
736 (eww-bookmark-mode-map): Add menu.
737 (eww-render, eww-mode): Use `setq-local'.
738 (eww-tool-bar-map): New variable.
739 (eww-mode): Set `tool-bar-map'.
740 (eww-view-source): Check for `html-mode' with `fboundp'.
741
073d5cfd
LMI
7422013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
743
744 * net/shr.el (shr--extract-best-source): Don't bug out on audio
745 elements with text inside. Also remove debugging.
746
41cf3d11
JD
7472013-12-21 Jan Djärv <jan.h.d@swipnet.se>
748
749 * cus-start.el (all): Add ns-use-srgb-colorspace.
750
aac2b673
CY
7512013-12-21 Chong Yidong <cyd@gnu.org>
752
753 * custom.el (custom-theme-recalc-face): Do nothing if the face is
754 undefined. Thus, theme settings for undefined faces do not take
755 effect until the faces are defined with defface, the same as with
756 theme variables.
757
758 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
759 (face-spec-reset-face): Don't assign extra properties in temacs.
760 (face-spec-recalc): Apply X resources too.
761
bacb0e77
CY
7622013-12-21 Chong Yidong <cyd@gnu.org>
763
764 * faces.el (face-spec-set):
765 * cus-face.el (custom-theme-set-faces, custom-set-faces):
766 * custom.el (defface): Doc fixes (Bug#16203).
767
77221051
CY
768 * indent.el (indent-rigidly-map): Add docstring, and move commands
769 into named functions.
770 (indent-rigidly-left, indent-rigidly-right)
771 (indent-rigidly-left-to-tab-stop)
772 (indent-rigidly-right-to-tab-stop): New functions. Decide on
773 indentation direction based on bidi direction, and accumulate
774 sequential commands in a single undo boundary.
775 (indent-rigidly--pop-undo): New utility function.
776
e0eb0550
JB
7772013-12-20 Juanma Barranquero <lekktu@gmail.com>
778
779 * faces.el (read-face-name): Require crm.el when using crm-separator.
780
3282bd2e
DC
7812013-12-20 Daniel Colascione <dancol@dancol.org>
782
783 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
784 so that we don't reflow comments into the shebang line.
785
1d42e5b6
JL
7862013-12-20 Juri Linkov <juri@jurta.org>
787
788 * saveplace.el (save-place-to-alist): Add `dired-filename' as
789 a position when `dired-directory' is non-nil. Check integer
790 positions with `integerp'.
791 (toggle-save-place, save-places-to-alist): Add check for
792 `dired-directory'.
793 (save-place-find-file-hook): Check integer positions with
794 `integerp'.
795 (save-place-dired-hook): Use `dired-goto-file' when
796 `dired-filename' is found in the assoc list. Check integer
797 positions with `integerp'.
798 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
799
800 * dired.el (dired-initial-position-hook): Rename back from
801 `dired-initial-point-hook'.
802 (dired-initial-position): Rename `dired-initial-point-hook' to
803 `dired-initial-position-hook'.
804 (dired-file-name-at-point): Doc fix. (Bug#15329)
805
24da7273
JL
8062013-12-20 Juri Linkov <juri@jurta.org>
807
808 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
809 (read-regexp-suggestions): New function.
810 (read-regexp): Use `read-regexp-defaults-function' to get default values.
811 Use `read-regexp-suggestions'. Add non-empty default to history
812 for empty input.
813 (occur-read-regexp-defaults-function): Remove function.
814 (occur-read-primary-args): Use `regexp-history-last' instead of
815 `occur-read-regexp-defaults-function'.
816
817 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
818 (hi-lock-line-face-buffer, hi-lock-face-buffer)
819 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
820 `hi-lock-read-regexp-defaults-function'. Doc fix.
821 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
822 with `find-tag-default-as-symbol-regexp'. Doc fix.
823 (hi-lock-read-regexp-defaults): Remove function.
824 (hi-lock-regexp-okay): Add check for null.
825
826 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
827 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
828
829 * subr.el (find-tag-default-as-symbol-regexp): New function.
830 (find-tag-default-as-regexp): Move symbol regexp formatting to
831 `find-tag-default-as-symbol-regexp'.
832
137f57c8
S
8332013-12-20 E Sabof <esabof@gmail.com> (tiny change)
834
835 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
836 (Bug#14179)
837
f3a66082
SB
8382013-12-20 Stephen Berman <stephen.berman@gmx.net>
839
840 * calendar/todo-mode.el: New implementation of item insertion
841 commands and key bindings.
842 (todo-key-prompt): New face.
843 (todo-insert-item): New command.
844 (todo-insert-item--parameters): New defconst, replacing defvar
845 todo-insertion-commands-args-genlist.
846 (todo-insert-item--param-key-alist): New defconst, replacing
847 defvar todo-insertion-commands-arg-key-list.
848 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
849 (todo-insert-item--argsleft, todo-insert-item--apply-args)
850 (todo-insert-item--next-param): New functions.
851 (todo-insert-item--args, todo-insert-item--argleft)
852 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
853 New variables.
854 (todo-key-bindings-t): Change binding of "i" from
855 todo-insertion-map to todo-insert-item.
856 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
857 (todo-insertion-command-name, todo-insertion-commands-names)
858 (todo-define-insertion-command, todo-insertion-commands)
859 (todo-insertion-key-bindings, todo-insertion-map): Remove.
860
2f99433b
SB
8612013-12-20 Stephen Berman <stephen.berman@gmx.net>
862
863 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
864 (todo-toggle-item-highlighting): Use eval-and-compile instead of
865 eval-when-compile.
866 (todo-move-category): Allow choosing a non-existing todo file to
867 move the category to, and create that file.
868 (todo-default-priority): New user option.
869 (todo-set-item-priority): Use it.
870 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
871 (desktop-restore-file-buffer): Declare.
872 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
873 (todo-modes-set-2): Locally set desktop-save-buffer to
874 todo-desktop-save-buffer.
875 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
876 (auto-mode-alist): Add autoload cookie.
877
131e4695
BB
8782013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
879
880 * emacs-lisp/subr-x.el: Renamed from helpers.el.
881 helpers.el was a poor choice of name.
3cbfb935
BB
882 (string-remove-prefix): New function.
883 (string-remove-suffix): New function.
131e4695 884
c44de18d
MR
8852013-12-20 Martin Rudalics <rudalics@gmx.at>
886
887 Fix assignment for new window total sizes.
888 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
889 (window--pixel-to-total-1, window--pixel-to-total):
890 Fix calculation of new total sizes.
c44de18d 891
ca65efcc
VS
8922013-12-20 Vitalie Spinu <spinuvit@gmail.com>
893
894 * comint.el (comint-output-filter): Fix rear-nonsticky property
895 placement (Bug#16010).
896
a9574eb7
CY
8972013-12-20 Chong Yidong <cyd@gnu.org>
898
899 * faces.el (read-color): Minor fix for completion function.
900
b520f210
DG
9012013-12-20 Dmitry Gutov <dgutov@yandex.ru>
902
e0eb0550
JB
903 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
904 New option. (Bug#16182)
b520f210
DG
905 (ruby-smie--indent-to-stmt-p): Use it.
906 (ruby-smie-rules): Revert the logic in the handling of `when'.
907 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
908 (ruby-deep-arglist, ruby-deep-indent-paren)
909 (ruby-deep-indent-paren-style): Update docstrings to note that the
910 vars don't have any effect with SMIE.
911
26b75b45
JB
9122013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
913
914 * calc/calc.el (calc-enter, calc-pop): Use the variable
915 `calc-context-sensitive-enter'.
916
cf91cee7
LMI
9172013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
918
919 * net/shr.el (shr-insert): Protect against infloops in degenerate
920 tables.
921
51d971b4
RS
9222013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
923
924 * progmodes/octave.el (octave): Add link to manual and octave
925 homepage.
926 (octave-mode-menu): Link to octave-mode manual.
927
8c2e462a
LL
9282013-12-20 Leo Liu <sdl.web@gmail.com>
929
930 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
931 insertion using skeleton-end-newline. (Bug#16138)
932
501158bc
JL
9332013-12-20 Juri Linkov <juri@jurta.org>
934
935 * replace.el (occur-engine): Use `add-face-text-property'
936 to add the face property to matches and titles. (Bug#14645)
937
938 * hi-lock.el (hi-green): Use lighter color "light green" closer to
939 the palette of other hi-lock colors.
940 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
941
50ab1da6
JL
9422013-12-19 Juri Linkov <juri@jurta.org>
943
944 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
945 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
946 (minibuffer-history-symbol): Move variable declaration closer to
947 its usage.
948
949 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
950 (Bug#14785)
951
3d6e95e7
JL
9522013-12-19 Juri Linkov <juri@jurta.org>
953
954 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
955 New function.
956 (log-edit-hook): Add it to :options. (Bug#16170)
957
b41594fd
JL
9582013-12-19 Juri Linkov <juri@jurta.org>
959
960 * simple.el (eval-expression-print-format): Don't check for
961 command names and the last command. Always display additional
962 formats of the integer result in the echo area, and insert them
963 to the current buffer only with a zero prefix arg.
964 Display character when char-displayable-p is non-nil.
965 (eval-expression): With a zero prefix arg, set `print-length' and
966 `print-level' to nil, and insert the integer values from
967 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
968
969 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
970 `eval-last-sexp-arg-internal'. Doc fix.
971 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
972 `eval-last-sexp-print-value'. Doc fix.
973 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
974 Set `print-length' and `print-level' to nil when arg is zero.
975 (eval-last-sexp): Doc fix.
976 (eval-defun-2): Print the integer values from
977 `eval-expression-print-format' at the end.
978
979 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
980 values from `eval-expression-print-format' at the end.
981
982 * ielm.el (ielm-eval-input): Print the integer
983 values from `eval-expression-print-format' at the end.
984
8f2be364
TZ
9852013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
986
987 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
988 2013-12-11T19:01:44Z!tzz@lifelogs.com.
989
2230a6e3
SM
9902013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
991
992 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
993 (hl-line-highlight, global-hl-line-highlight): Use it.
994 (hl-line-overlay): Use defvar-local.
995
1269a680
JD
9962013-12-19 Jan Djärv <jan.h.d@swipnet.se>
997
998 * term/ns-win.el: Require dnd.
999 (global-map): Remove drag items.
1000 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1001 (ns-set-background-at-mouse):
1002 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1003 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1004 New functions.
1269a680 1005
049638ad
GM
10062013-12-19 Glenn Morris <rgm@gnu.org>
1007
1008 * emacs-lisp/ert.el (ert-select-tests):
1009 Fix string/symbol mixup. (Bug#16121)
1010
ce41edb4
DG
10112013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1012
1013 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1014 keywords to their parent.
1015
7e1549c9
DG
10162013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1017
1018 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1019 first arg to be a string (fixed dead code), or an operator symbol.
1020 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1021 operator symbols.
1022 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1023 did nothing. Don't respond to `(:after ".")', it will be called
1024 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1025 change anything. Only return indentation for binary operators
1026 when they are hanging. De-dent opening paren when its parent is
1027 `.', otherwise it looks bad when the dot is not at bol or eol
1028 (bug#16182).
1029
3ee4cd64
JL
10302013-12-19 Juri Linkov <juri@jurta.org>
1031
1032 * replace.el (query-replace-read-args): Split a non-negative arg
1033 and a negative arg into separate elements.
1034 (query-replace, query-replace-regexp, replace-string)
1035 (replace-regexp): Add arg `backward'. Doc fix.
1036 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1037 move point to the beginning of the match.
1038 (replace-search, replace-highlight): Use new arg `backward'
1039 to set the value of `isearch-forward'.
1040 (perform-replace): Add arg `backward' and use it to perform
1041 replacement backward. (Bug#14979)
1042
1043 * isearch.el (isearch-query-replace): Use a negative prefix arg
1044 to call `perform-replace' with a non-nil arg `backward'.
1045
0cda6b7b
JL
10462013-12-18 Juri Linkov <juri@jurta.org>
1047
1048 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1049 to the default list. Move `log-edit-show-files' to the end.
1050 Add more available functions to options.
1051 (log-edit): Move default specific settings to
1052 `log-edit-insert-message-template'. Don't move point.
1053 (log-edit-insert-message-template): New function.
1054 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1055 (Bug#16170)
1056
b216f0a6
JL
10572013-12-18 Juri Linkov <juri@jurta.org>
1058
1059 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1060 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1061
1d1c55dc
LL
10622013-12-18 Leo Liu <sdl.web@gmail.com>
1063
e9dc713d
JB
1064 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1065 (Bug#16186)
1d1c55dc 1066
64e4c76e
EZ
10672013-12-18 Eli Zaretskii <eliz@gnu.org>
1068
1069 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1070 formats for displaying file sizes when the -s switch is given.
1071 Instead, compute a separate format for displaying the size in
1072 blocks, which is displayed in addition to the "regular" size.
1073 When -h is given in addition to -s, produce size in blocks in
1074 human-readable form as well. (Bug#16179)
1075
b2984e39
TH
10762013-12-18 Tassilo Horn <tsdh@gnu.org>
1077
2230a6e3
SM
1078 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1079 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1080
50ff2e06
CY
10812013-12-18 Chong Yidong <cyd@gnu.org>
1082
0081bc84
CY
1083 * cus-edit.el (custom-magic-alist): Fix "themed" description
1084 (Bug#14348).
1085
a7ee9424
CY
1086 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1087 is non-nil, do not create a new entry in the symbol's theme-value
1088 or theme-face property; update theme-settings only (Bug#14664).
18874304 1089 (custom-available-themes): Doc fix.
a7ee9424 1090
8f942537
CY
1091 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1092 (Bug#15674).
1093
50ff2e06
CY
1094 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1095
83c60f60
KI
10962013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1097
1098 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1099 (Bug#13914).
1100
e0eb0550 11012013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1102
1103 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1104
1f41ee56
GM
11052013-12-18 Glenn Morris <rgm@gnu.org>
1106
1107 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1108 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1109
e82134b1
LW
11102013-12-18 Le Wang <l26wang@gmail.com>
1111
2230a6e3
SM
1112 * comint.el (comint-previous-matching-input-from-input):
1113 Retain point (Bug#13404).
e82134b1 1114
33f5d4c1
CY
11152013-12-18 Chong Yidong <cyd@gnu.org>
1116
1117 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1118
ccc9f6dc
GM
11192013-12-18 Glenn Morris <rgm@gnu.org>
1120
1121 * mail/emacsbug.el (report-emacs-bug):
1122 Only mention enable-multibyte-characters if non-standard.
1123
33dd8e95
JL
11242013-12-17 Juri Linkov <juri@jurta.org>
1125
1126 * arc-mode.el (archive-extract-by-file): Check if directory exists
1127 before deletion to not show irrelevant errors if it doesn't exist.
1128
7a409b30
JL
11292013-12-17 Juri Linkov <juri@jurta.org>
1130
1131 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1132 (Bug#14751)
1133
1134 * net/eww.el (browse-web): Add alias to `eww'.
1135 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1136 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1137
1138 * net/browse-url.el (browse-url-browser-function): Move `eww'
1139 closer to similar functions.
1140
1141 * startup.el (fancy-startup-screen, fancy-about-screen):
1142 Set browse-url-browser-function to eww-browse-url locally.
1143 (Bug#14751)
1144
2d6b6005
SM
11452013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * window.el (window--pixel-to-total): Remove unused `mini' var.
1148 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1149 (split-window): Remove unused `new' var.
1150 (window--display-buffer): Remove unused `frame' and `delta' vars.
1151 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1152 and display-width'.
1153
cf2b7efc
MR
11542013-12-17 Martin Rudalics <rudalics@gmx.at>
1155
1156 * dired.el (dired-mark-pop-up):
1157 * register.el (register-preview): Don't bind
1158 split-height-threshold here since it's now done in
1159 display-buffer-below-selected.
1160
ed3af8a7 11612013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1162
1163 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1164 xterm-rgb-convert-to-16bit.
1165 (rxvt-register-default-colors): Standardize with
1166 xterm-register-default-colors (Bug#14078).
1167
76da3455
DK
11682013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1169
1170 * simple.el (kill-region): Pass mark first, then point, so that
1171 kill-append works right (Bug#12819).
1172 (copy-region-as-kill, kill-ring-save): Likewise.
1173
2b84d763
LL
11742013-12-17 Leo Liu <sdl.web@gmail.com>
1175
1176 * net/rcirc.el (rcirc-add-face):
1177 * eshell/em-prompt.el (eshell-emit-prompt):
1178 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1179 (Bug#16167)
1180
e2f6a0bc
CY
11812013-12-17 Chong Yidong <cyd@gnu.org>
1182
1183 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1184 Suggested by Xue Fuqiao.
1185
35b249a6
DG
11862013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1187
1188 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1189
e9145444
SM
11902013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * net/shr.el (shr-insert-document): Remove unused var
1193 `shr-preliminary-table-render'.
1194 (shr-rescale-image): Remove unused arg `force'.
1195 (shr-put-image): Update calls accordingly.
1196 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1197
5556c0ce
DG
11982013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1199
1200 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1201 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1202 :close-all, to see which indentation method to use (Bug#16116).
1203 (smie-rules-function): Document the method :close-all.
1204
11bade0a
LMI
12052013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1206
1c4b1e61
LMI
1207 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1208
11bade0a
LMI
1209 * net/eww.el (eww-display-html): If we can't find the anchor we're
1210 looking for, then go to point-min.
1211
8fb8c4f3
PE
12122013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1213
1214 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1215 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1216 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1217 Expand dir too, in case it's relative.
1218
6c8e0ae6
JL
12192013-12-16 Juri Linkov <juri@jurta.org>
1220
1221 * desktop.el (desktop-auto-save-timeout): Change default to
1222 `auto-save-timeout'. Doc fix.
1223 (desktop-save): Skip the timestamp in desktop-saved-frameset
1224 when checking for auto-save changes.
1225 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1226 `desktop-auto-save' is called repeatedly by the idle timer.
1227 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1228 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1229 (Bug#15331)
1230
2178e858
JL
12312013-12-16 Juri Linkov <juri@jurta.org>
1232
1233 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1234 (Bug#16035)
1235 (isearch-pre-command-hook): Check `this-command' for symbolp.
1236
39cb42c6
SM
12372013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1240
5b9b750a
TZ
12412013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1242
1243 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1244 (cfengine3--current-function): Bring in the current-function
1245 functionality from `cfengine3--current-word'.
1246 (cfengine3-completion-function): Bring in the
1247 bounds-of-current-word functionality from
1248 `cfengine3--current-word'.
1249
d144ef06
MR
12502013-12-16 Martin Rudalics <rudalics@gmx.at>
1251
39cb42c6
SM
1252 * window.el (display-buffer-below-selected):
1253 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1254
a8bbe298
LL
12552013-12-16 Leo Liu <sdl.web@gmail.com>
1256
1257 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1258 Remove NOMSG arg and all uses changed.
1259
2013a2f9
SM
12602013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1263 (cua--deactivate-rectangle): Don't deactivate the mark.
1264 (cua-set-rectangle-mark): Don't set mark-active since
1265 cua--activate-rectangle already does it for us.
1266 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1267 non-rectangular region.
1268
1269 * emulation/cua-base.el (cua-repeat-replace-region):
1270 Use with-current-buffer.
1271
1272 * net/gnutls.el: Use cl-lib.
1273 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1274
5ae811dd
TZ
12752013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1276
1277 * emacs-lisp/package.el (package-built-in-p): Support both
1278 built-in and the package.el converted package descriptions.
1279 (package-show-package-list): Allow keywords.
1280 (package-keyword-button-action): Use it instead of
1281 `finder-list-matches'.
1282 (package-menu-filter-interactive): Interactive filtering (by
1283 keyword) function.
1284 (package-menu--generate): Support keywords and change keymappings
1285 and headers when they are given.
1286 (package--has-keyword-p): Helper function.
1287 (package-menu--refresh): Use it.
1288 (package--mapc): Helper function.
1289 (package-all-keywords): Use it.
1290 (package-menu-mode-map): Set up menu items and keybindings to
1291 provide a filtering UI.
1292
31b4827e
TZ
12932013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1294
1295 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1296 the behavior when a certificate fails validation. Defaults to
1297 old behavior: never abort, just warn.
1298 (gnutls-negotiate): Use it.
1299
f93cc74f
MR
13002013-12-14 Martin Rudalics <rudalics@gmx.at>
1301
1302 * window.el (display-buffer-below-selected): Never split window
1303 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1304
f77d7d17
TW
13052013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1306
1307 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1308 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1309
7514d3f8
SM
13102013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1311
aa2bddd7 1312 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1313 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1314
276bc333
DG
13152013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1316
1317 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1318 open-paren tokens when preceded by a open-paren, too.
1319 (ruby-smie-rules): Handle virtual indentation after open-paren
1320 tokens specially. If there is code between it and eol, return the
1321 column where is starts (Bug#16118).
1322
d43957f3
TZ
13232013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1324
a5c1ac0c 1325 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1326 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1327 (cfengine3--current-word): Fix parameters.
1328 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1329 (cfengine3-completion-function, cfengine3--current-function):
1330 Use `assq' for symbols.
d43957f3
TZ
1331 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1332
06a4f110
GM
13332013-12-13 Glenn Morris <rgm@gnu.org>
1334
1335 * loadup.el (load-path): Warn if site-load or site-init changes it.
1336 No more need to reset it when bootstrapping.
1337
978a5fda
TZ
13382013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1339
1340 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1341 locations for cf-promises.
1342 (cfengine-mode-syntax-functions-regex): New caching variable.
1343 (cfengine3-fallback-syntax): Fallback syntax for cases where
1344 cf-promises doesn't run.
1345 (cfengine3--current-word): Reimplement using
1346 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1347 (cfengine3-completion-function, cfengine3--current-function):
1348 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1349 (cfengine3-clear-syntax-cache): New function.
1350 (cfengine3-make-syntax-cache): Simplify and create
1351 `cfengine-mode-syntax-functions-regex' on demand.
1352 (cfengine3-format-function-docstring): Don't call
1353 `cfengine3-make-syntax-cache' explicitly.
1354
71e6691e
MR
13552013-12-13 Martin Rudalics <rudalics@gmx.at>
1356
1357 Fix windmove-find-other-window broken after pixelwise resizing
1358 (Bug#16017).
1359 * windmove.el (windmove-other-window-loc): Revert change from
1360 2013-12-04.
1361 (windmove-find-other-window): Call window-in-direction.
1362 * window.el (window-in-direction): New arguments SIGN, WRAP and
1363 MINI to emulate original windmove-find-other-window behavior.
1364
84c73ba0
DG
13652013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1366
1367 * simple.el (blink-matching--overlay): New variable.
1368 (blink-matching-open): Instead of moving point, highlight the
1369 matching paren with an overlay
1370 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1371
1372 * faces.el (paren-showing-faces, show-paren-match)
1373 (show-paren-mismatch): Move from paren.el.
1374
b9e20952
LL
13752013-12-13 Leo Liu <sdl.web@gmail.com>
1376
1377 * indent.el (indent-region): Disable progress reporter in
1378 minibuffer. (Bug#16108)
1379
1380 * bindings.el (visual-order-cursor-movement): Fix version.
1381
ce030451
FEG
13822013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1383
1384 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1385 Also match after beginning of line.
1386 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1387 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1388
4a9c6865
JL
13892013-12-13 Juri Linkov <juri@jurta.org>
1390
1391 * simple.el <Keypad support>: Remove key bindings duplicated
1392 with bindings.el. (Bug#14397)
1393
2bc170c3
JL
13942013-12-13 Juri Linkov <juri@jurta.org>
1395
1396 * comint.el (comint-mode-map): Replace `delete-char' with
1397 `delete-forward-char'. (Bug#16109)
1398
bc9222c9
FEG
13992013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1400
aa2bddd7 1401 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1402 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1403
cb3a1380
SM
14042013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1407 (advice--make): Pay attention to `depth'.
1408 (advice--make-1): Don't autoload commands eagerly.
1409 * emacs-lisp/elp.el (elp-instrument-function):
1410 * emacs-lisp/trace.el (trace-function-internal):
1411 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1412
1413 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1414
01633a17
EZ
14152013-12-12 Eli Zaretskii <eliz@gnu.org>
1416
1417 * term/w32-win.el (w32-handle-dropped-file):
1418 * startup.el (normal-top-level):
1419 * net/browse-url.el (browse-url-file-url):
1420 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1421 decode file names using 'utf-8' rather than
1422 file-name-coding-system.
1423
09faee72
FEG
14242013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1425
1426 * progmodes/python.el (python-indent-context)
1427 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1428 behavior for comment blocks. (Bug#15916)
09faee72 1429
f4f84024 14302013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1431
cb3a1380
SM
1432 * progmodes/python.el (python-indent-calculate-indentation):
1433 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1434 operators when they are just string constituents. (Bug#15812)
1435
d5ccb7be
JL
14362013-12-12 Juri Linkov <juri@jurta.org>
1437
1438 * uniquify.el (uniquify-buffer-name-style): Change default to
1439 `post-forward-angle-brackets'.
1440
1441 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1442 `uniquify'. Change default to `post-forward-angle-brackets'.
1443
7b3f5679
GM
14442013-12-11 Glenn Morris <rgm@gnu.org>
1445
1446 * emacs-lisp/package.el (finder-list-matches):
1447 Autoload rather than falsely declaring.
1448
f4fe8fdd
TZ
14492013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1450
1451 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1452 (eww-mode-map): Use them.
1453
3c29190f
MR
14542013-12-11 Martin Rudalics <rudalics@gmx.at>
1455
1456 * window.el (display-buffer-in-side-window): Fix doc-string
1457 (Bug#16115).
1458
0cd616a2
JB
14592013-12-11 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * vc/vc-git.el: Silence byte-compiler warnings.
1462 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1463 (log-edit-set-header): Declare.
1464
3ef8e0d1
EZ
14652013-12-11 Eli Zaretskii <eliz@gnu.org>
1466
1467 * Makefile.in (custom-deps, finder-data): Run output file names
1468 through unmsys--file-name. (Bug#16099)
1469
afdadaf7
SM
14702013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1471
7ae3ae39 1472 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1473 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1474
5b4f37ab
SM
1475 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1476 instead of deleting the selection "by hand" (bug#16098).
1477 Rely on insert-for-yank to yank rectangles.
1478 (cua-highlight-region-shift-only): Mark obsolete.
1479 (cua-mode): Don't enable/disable transient-mark-mode,
1480 shift-select-mode (cua-mode works both with and without them), and
1481 pc-selection-mode (obsolete).
1482 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1483 (cua--deactivate-rectangle): Deactivate it.
1484
4b72c12b
SM
1485 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1486 (delete-selection-helper): Make sure yank starts at the top of the
1487 deleted region.
1488 (minibuffer-keyboard-quit): Use region-active-p.
1489
e82af72d
SM
1490 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1491
afdadaf7
SM
1492 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1493 to `delete' (bug#16109).
1494
ed4bc201
RS
14952013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1496
1497 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1498 info manual and show keybindings and set `:group' keyword.
1499
bb8097b9
JL
15002013-12-11 Juri Linkov <juri@jurta.org>
1501
1502 * delsel.el (delete-active-region): Let-bind `this-command'
1503 to prevent `kill-region' from changing its original value.
1504 (delete-selection-helper): Handle `overwrite-mode' for the type
1505 `kill' exactly the same way as for the type `t'.
1506 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1507 Support more commands. (Bug#13312)
1508
c1916ff5
JL
15092013-12-11 Juri Linkov <juri@jurta.org>
1510
1511 * bindings.el: Map kp keys to non-kp keys systematically
1512 with basic modifiers control, meta and shift. (Bug#14397)
1513
7514d3f8 15142013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1515
1516 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1517 "Close browser" menu items. Fix wrong function of "List
1518 bookmarks".
1519
4cc51eaf
JL
15202013-12-11 Juri Linkov <juri@jurta.org>
1521
1522 * misearch.el (multi-isearch-buffers): Set the value of
1523 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1524 arg of isearch-forward to t.
1525 (multi-isearch-buffers-regexp): Set the value of
1526 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1527 arg of isearch-forward-regexp to t.
1528 (multi-isearch-files): Set the value of
1529 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1530 arg of isearch-forward to t.
1531 (multi-isearch-files-regexp): Set the value of
1532 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1533 arg of isearch-forward-regexp to t. (Bug#16035)
1534
1535 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1536 arg of isearch-forward to t.
1537 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1538 arg of isearch-forward-regexp to t.
1539 (dired-isearch-filter-filenames): Remove unnecessary check for
1540 `dired-isearch-filenames'.
1541
1542 * comint.el (comint-history-isearch-backward):
1543 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1544 (comint-history-isearch-backward-regexp):
1545 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1546
ceac12b7
EZ
15472013-12-10 Eli Zaretskii <eliz@gnu.org>
1548
1549 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1550 unmsys--file-name. (Bug#16099)
1551
5a565782
TZ
15522013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1553
cb3a1380
SM
1554 * emacs-lisp/package.el (package-keyword-button-action):
1555 Remove finder.el require dependency.
5a565782 1556
a81fc7ba
TZ
15572013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1558
1559 * emacs-lisp/package.el: Require finder.el.
1560 (describe-package-1): Add keyword buttons.
1561 (package-make-button): New convenience function.
1562 (package-keyword-button-action): Keyword button action using
e0eb0550 1563 `finder-list-matches'.
a81fc7ba 1564
6aaca951
EZ
15652013-12-09 Eli Zaretskii <eliz@gnu.org>
1566
1567 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1568 last commit.
1569
a1099a91
MA
15702013-12-09 Michael Albinus <michael.albinus@gmx.de>
1571
1572 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1573 symlinked files.
1574
8212d9c0
DG
15752013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1576
1577 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1578 after the end of a percent literal.
1579
8f48d131
CD
15802013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1581
cb3a1380
SM
1582 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1583 Handle caret-delimited strings (Bug#16079).
8f48d131 1584
ff8c9764
DG
15852013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1586
cb3a1380
SM
1587 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1588 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1589 `ruby-parse-partial' (Bug#16078).
1590
d64643b4
LL
15912013-12-09 Leo Liu <sdl.web@gmail.com>
1592
1593 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1594
47e59c66
DG
15952013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1596
1597 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1598 (js-switch-indent-offset): New option.
1599 (js--proper-indentation): Use it. And handle the case when
1600 "default" is actually a key in an object literal.
1601 (js--same-line): New function.
1602 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1603 (js--indent-in-array-comp, js--array-comp-indentation):
1604 New functions.
47e59c66
DG
1605 (js--proper-indentation): Use them, to handle array comprehension
1606 continuations.
1607
974ebc9c
LL
16082013-12-08 Leo Liu <sdl.web@gmail.com>
1609
1610 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1611 (flymake-make-overlay): Remove arg MOUSE-FACE.
1612 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1613
27262e39
SM
16142013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1617 New function.
1618 (redisplay-highlight-region-function): Use it.
1619
1620 * emulation/cua-base.el (cua--explicit-region-start)
1621 (cua--last-region-shifted): Remove.
1622 (cua--deactivate): Use deactivate-mark.
1623 (cua--pre-command-handler-1): Don't handle shift-selection.
1624 (cua--post-command-handler-1): Don't change transient-mark-mode.
1625 (cua--select-keymaps): Use region-active-p rather than
1626 cua--explicit-region-start or cua--last-region-shifted.
1627 (cua-mode): Enable shift-select-mode.
1628
6407822c
LL
16292013-12-08 Leo Liu <sdl.web@gmail.com>
1630
27262e39
SM
1631 * progmodes/flymake.el (flymake-popup-current-error-menu):
1632 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1633 (flymake-posn-at-point-as-event, flymake-popup-menu)
1634 (flymake-make-emacs-menu): Remove. (Bug#16077)
1635
00a2b823
SM
16362013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1637
02033d49
SM
1638 * rect.el (rectangle-mark-mode): Activate mark even if
1639 transient-mark-mode is off (bug#16066).
1640 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1641 is > mark and at bolp.
1642
6f8dfccf
SM
1643 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1644 (region-extract-function): Use it.
1645 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1646 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1647 Delete functions.
1648 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1649 kill-ring-save, kill-region, delete-char, delete-forward-char.
1650 Ignore self-insert-iso.
1651
1652 * emulation/cua-gmrk.el (cua--init-global-mark):
1653 Ignore `self-insert-iso'.
1654
1655 * emulation/cua-base.el (cua--prefix-copy-handler)
1656 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1657 checking cua--rectangle.
1658 (cua-delete-region): Use region-extract-function.
1659 (cua-replace-region): Delete function.
1660 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1661 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1662 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1663 (cua--init-keymaps): Don't remap delete-selection commands.
1664 (cua-mode): Use delete-selection-mode instead of rolling our own
1665 (bug#16085).
1666
1667 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1668 Obey region-extract-function.
1669
00a2b823
SM
1670 Make registers and delete-selection-mode work on rectangles.
1671 * register.el (describe-register-1): Don't modify the register's value.
1672 (copy-to-register): Obey region-extract-function.
1673 * delsel.el (delete-active-region): Obey region-extract-function.
1674
a92fa5f1
LL
16752013-12-08 Leo Liu <sdl.web@gmail.com>
1676
1677 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1678 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1679 (flymake-compilation-prevents-syntax-check)
1680 (flymake-start-syntax-check-on-newline)
1681 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1682 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1683 (flymake-xml-program, flymake-master-file-dirs)
1684 (flymake-master-file-count-limit)
1685 (flymake-allowed-file-name-masks): Relocate.
1686 (flymake-makehash, flymake-float-time)
1687 (flymake-replace-regexp-in-string, flymake-split-string)
1688 (flymake-get-temp-dir): Remove.
1689 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1690 (flymake-current-row, flymake-selected-frame)
1691 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1692 related functions. (Bug#16077)
1693
73c8ceea
BB
16942013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1695
1696 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1697
faec28d9
TH
16982013-12-07 Tassilo Horn <tsdh@gnu.org>
1699
1700 * help-fns.el (describe-function-1): Use new advice-* functions
1701 rather than old ad-* functions. Fix function type description and
1702 source links for advised functions and subrs.
1703
e330b646
LMI
17042013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1705
00a2b823 1706 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1707
4803595d
MA
17082013-12-06 Michael Albinus <michael.albinus@gmx.de>
1709
1710 * progmodes/compile.el (compilation-start):
1711 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1712
1713 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1714 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1715
fa834a93
DG
17162013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1717
00a2b823
SM
1718 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1719 Touch up the last change.
fa834a93 1720
b2856a6f
LL
17212013-12-06 Leo Liu <sdl.web@gmail.com>
1722
1723 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1724 (inferior-octave-startup): Always use "octave> " for prompt.
1725 (octave-goto-function-definition)
1726 (octave-sync-function-file-names)
1727 (octave-find-definition-default-filename): Remove redundant backquotes.
1728
af67e79a
DG
17292013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1730
1731 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1732 syntax for `?'.
1733 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1734 where appropriate already.
1735 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1736 end of method names (Bug#15874).
1737
bf093209
JL
17382013-12-06 Juri Linkov <juri@jurta.org>
1739
1740 * isearch.el (isearch--saved-overriding-local-map):
1741 New internal variable.
1742 (isearch-mode): Set it to the initial value of
1743 `overriding-terminal-local-map'.
1744 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1745 with `isearch--saved-overriding-local-map'. (Bug#16035)
1746
16588fad
DG
17472013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1748
00a2b823
SM
1749 * progmodes/octave.el (inferior-octave-completion-table):
1750 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1751 (Bug#11906). Update all references.
1752
1753 * minibuffer.el (completion-table-with-cache): New function.
1754
bf4906d7
CD
17552013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1756
1757 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1758
ff69c18f
TZ
17592013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1760
1761 * net/eww.el (eww-current-source): New variable to store page
1762 source.
1763 (eww-display-html, eww-mode, eww-save-history)
1764 (eww-restore-history): Use it.
1765 (eww-view-source): New command to view page source.
1766 Opportunistically uses `html-mode' to highlight the buffer.
1767 (eww-mode-map): Install it.
1768
b85eff45
MA
17692013-12-05 Michael Albinus <michael.albinus@gmx.de>
1770
1771 * net/dbus.el (dbus-unregister-service)
1772 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1773 Fix docstring.
1774 (dbus-unregister-service): Skip :serial entries in
1775 `dbus-registered-objects-table'.
1776 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1777
39eb0899
TZ
17782013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1779
1780 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1781 around keywords with extra `split-string' argument.
1782
456760a5
MR
17832013-12-04 Martin Rudalics <rudalics@gmx.at>
1784
1785 * windmove.el (windmove-other-window-loc): Handle navigation
1786 between windows (excluding the minibuffer window - Bug#16017).
1787
81961e4c
MA
17882013-12-04 Michael Albinus <michael.albinus@gmx.de>
1789
1790 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1791 in D-Bus type syntax.
1792 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1793 preserve unibyte strings. (Bug#16048)
1794
8497f938
SM
17952013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1796
1797 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1798 Call force-mode-line-update is the proper buffer (bug#16042).
1799
dda61916
DG
18002013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1801
1802 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1803 `log-edit-remember-comment', make argument optional. Adjust all
1804 callers.
1805 (log-edit-mode): Add `log-edit-remember-comment' to
1806 `kill-buffer-hook' locally.
1807 (log-edit-kill-buffer): Don't remember comment explicitly since
1808 the buffer is killed anyway.
1809
c085e5b9
JL
18102013-12-04 Juri Linkov <juri@jurta.org>
1811
1812 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1813 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1814
e0eb0550 18152013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1816
1817 * notifications.el (notifications-close-notification): Call the
81961e4c 1818 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1819
39fa32d6
KY
18202013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1821
1822 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1823
9139632a
JL
18242013-12-03 Juri Linkov <juri@jurta.org>
1825
1826 * progmodes/compile.el (compilation-start): Rename window alist
1827 entry `no-display-ok' to `allow-no-window'.
1828
1829 * simple.el (shell-command): Add window alist entry
1830 `allow-no-window' to `display-buffer'.
1831 (async-shell-command): Doc fix.
1832
1833 * window.el (display-buffer-no-window): New action function.
1834 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1835
0f457a37
DG
18362013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1837
1838 * vc/log-edit.el (log-edit-set-header): Extract from
1839 `log-edit-toggle-header'.
1840 (log-edit-extract-headers): Separate the summary, when extracted
1841 from header, from the rest of the message with an empty line.
1842
1843 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1844 line, if present, to the Summary header.
1845
0962f376
SM
18462013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1849 in current-buffer (bug#16029).
1850
f345395c
HE
18512013-12-02 Helmut Eller <eller.helmut@gmail.com>
1852
1853 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1854 (debugger-mode-map): Bind it.
1855 (debugger--backtrace-base): New function.
1856 (debugger-eval-expression): Use it.
1857 (debugger-frame-number): Skip local vars when present.
1858 (debugger--locals-visible-p, debugger--insert-locals)
1859 (debugger--show-locals, debugger--hide-locals): New functions.
1860
a8a15d9d
MA
18612013-12-02 Michael Albinus <michael.albinus@gmx.de>
1862
1863 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1864 "LC_ALL".
1865 (tramp-get-remote-locale): New defun.
1866 (tramp-open-connection-setup-interactive-shell): Use it.
1867
0518b057
LL
18682013-12-02 Leo Liu <sdl.web@gmail.com>
1869
1870 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1871
1872 * progmodes/sh-script.el (sh-shell-process):
1873 * progmodes/octave.el (inferior-octave-process-live-p):
1874 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1875 (gdb-inferior-io-sentinel):
1876 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1877
3adc9c6d
DG
18782013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1879
1880 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1881 `save-selected-window' to `log-edit-hide-buf'. This makes
1882 `log-edit-show-files' idempotent.
1883 (log-edit-show-files): Mark the new window as dedicated.
1884
47e8b74e
DG
18852013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1886
1887 * vc/log-edit.el (log-edit-mode-map): Add binding for
1888 `log-edit-kill-biffer'.
1889 (log-edit-hide-buf): Add a FIXME comment.
1890 (log-edit-add-new-comment): New function, extracted from
1891 `log-edit-done'.
1892 (log-edit-done, log-edit-add-to-changelog): Use it.
1893 (log-edit-kill-buffer): New command.
1894
1f6e1bb0
LMI
18952013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1896
1897 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1898 instead of killing the buffer.
1899
fb651d15
SM
19002013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1903
8feacce0
RS
19042013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1905
fb651d15 1906 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1907 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1908 (eww-form-checkbox, eww-toggle-checkbox):
1909 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1910
e0eb0550 1911 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1912 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1913 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1914 no :src tag was specified.
1915
fb651d15 1916 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1917 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1918 Use \\` to match beginning of string instead of ^.
1919 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1920 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1921
177948a5
RS
1922 * net/shr.el (shr-tag-video): Display content for video if no
1923 poster is available.
eb2dd24d 1924 (shr-tag-audio): Add support for <audio> tag.
177948a5 1925
e0eb0550 1926 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1927 (eww-process-text-input): Treat input types in
1928 `eww-text-input-types' as text.
1929
8feacce0
RS
1930 * net/shr.el (shr-tag-table): Fix comment typo.
1931
513562a1
LMI
19322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1933
1934 * net/eww.el (eww-follow-link): New command to avoid reloading
1935 pages when we follow #target links (bug#15243).
de8a5633 1936 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1937
9dd99753
KN
19382013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1939
1940 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1941 forms.
1942
3e9876de
LMI
19432013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1944
1945 * net/eww.el (eww-restore-history): Update the window title after
1946 moving in the history.
ab6dea82 1947 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1948
52789f7f
DG
19492013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1950
1951 * vc/log-edit.el (log-edit-mode-map): Add binding for
1952 `log-edit-beginning-of-line'.
1953 (log-edit-setup-add-author): New user option.
1954 (log-edit-beginning-of-line): New command.
1955 (log-edit): Move major mode call above the contents setup so that
1956 the local variable values are already applied.
1957 (log-edit): Only insert "Author: " when
1958 `log-edit-setup-add-author' is non-nil.
1959 (log-edit): When SETUP is non-nil, position point after ": "
1960 instead of point-min.
1961
2e6710c3
GM
19622013-12-01 Glenn Morris <rgm@gnu.org>
1963
1964 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1965
fadec31f
EZ
19662013-11-30 Eli Zaretskii <eliz@gnu.org>
1967
1968 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1969 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1970 visible. (Bug#16014)
1971
10634b40 19722013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1973
1974 Support resizing frames and windows pixelwise.
1975 * cus-start.el (frame-resize-pixelwise)
1976 (window-resize-pixelwise): New entries.
1977 * emacs-lisp/debug.el (debug): Use window-total-height instead
1978 of window-total-size.
1979 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1980 * help.el (describe-bindings-internal): Call help-buffer
1981 (temp-buffer-max-width): New option.
1982 (resize-temp-buffer-window, help-window-setup)
1983 (with-help-window): Rewrite.
1984 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1985 dragging dividers.
1986 * window.el (frame-char-size, window-min-pixel-height)
1987 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1988 (window-min-pixel-width, window-safe-min-pixel-size)
1989 (window-combination-p, window-safe-min-size)
1990 (window-resizable-p, window--size-to-pixel)
1991 (window--pixel-to-size, window--resize-apply-p): New functions.
1992 (window-safe-min-height): Fix doc-string.
1993 (window-size, window-min-size, window--min-size-1)
1994 (window-sizable, window-sizable-p, window--min-delta-1)
1995 (window-min-delta, window--max-delta-1, window-max-delta)
1996 (window--resizable, window--resizable-p, window-resizable)
1997 (window-full-height-p, window-full-width-p, window-at-side-p)
1998 (window--in-direction-2, window-in-direction)
1999 (window--resize-reset-1, window--resize-mini-window)
2000 (window-resize, window-resize-no-error)
2001 (window--resize-child-windows-normal)
2002 (window--resize-child-windows, window--resize-siblings)
2003 (window--resize-this-window, window--resize-root-window)
2004 (window--resize-root-window-vertically)
2005 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2006 (maximize-window, minimize-window, delete-window)
2007 (quit-restore-window, window-split-min-size, split-window)
2008 (balance-windows-2, balance-windows)
2009 (balance-windows-area-adjust, balance-windows-area)
2010 (window--state-get-1, window-state-get, window--state-put-1)
2011 (window--state-put-2, window-state-put)
fb651d15
SM
2012 (display-buffer-record-window, window--display-buffer):
2013 Make functions handle pixelwise sizing of windows.
880e6158 2014 (display-buffer--action-function-custom-type)
fb651d15
SM
2015 (display-buffer-fallback-action):
2016 Add display-buffer-in-previous-window.
880e6158
MR
2017 (display-buffer-use-some-window): Resize window to height it had
2018 before.
2019 (fit-window-to-buffer-horizontally): New option.
2020 (fit-frame-to-buffer): Describe new values.
2021 (fit-frame-to-buffer-bottom-margin): Replace with
2022 fit-frame-to-buffer-margins.
2023 (window--sanitize-margin): New function.
2024 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2025 using window-text-pixel-size.
2026
f9b697dd
GM
20272013-11-30 Glenn Morris <rgm@gnu.org>
2028
3e2fb4db
GM
2029 * emacs-lisp/bytecomp.el (byte-compile-form):
2030 Make the `interactive-only' warning like the `obsolete' one.
2031 * comint.el (comint-run):
2032 * files.el (insert-file-literally, insert-file):
2033 * replace.el (replace-string, replace-regexp):
2034 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2035 (goto-line, insert-buffer, next-line, previous-line):
2036 Tweak `interactive-only' spec.
2037
f9b697dd
GM
2038 Stop keeping (most) generated cedet grammar files in the repository.
2039 * Makefile.in (semantic): New.
2040 (compile-main): Depend on semantic.
2041
da048127
SM
20422013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2043
7784b779
SM
2044 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2045 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2046
4e36a6a6
SM
2047 * uniquify.el (uniquify-buffer-name-style): Change default.
2048
2049 * loadup.el: Preload "uniquify".
2050
e0ba1308
SM
2051 * time.el (display-time-update): Update all mode lines (bug#15999).
2052
da048127
SM
2053 * electric.el (electric-indent-mode): Enable by default.
2054 * loadup.el: Preload "electric".
2055
015b3b3e
BB
20562013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2057
2058 * emacs-lisp/helpers.el (string-empty-p): New function.
2059 (string-blank-p): New function.
2060
7efb806d
AP
20612013-11-29 Andreas Politz <politza@hochschule-trier.de>
2062
2063 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2064 (Bug#14029).
2065
c8f0efc2
AP
20662013-11-29 Andreas Politz <politza@fh-trier.de>
2067 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2068 allow non-lambda lists as functions.
2069 (imenu--in-alist): Don't recurse into non-subalists.
2070 (imenu): Don't pass function itself as an argument (Bug#14029).
2071
bd15d9d1
SM
20722013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * progmodes/python.el (python-mode-map): Remove binding for ":".
2075 (python-indent-electric-colon): Remove command.
2076 (python-indent-post-self-insert-function): Integrate the previous code
2077 of python-indent-electric-colon. Make it conditional on
2078 electric-indent-mode.
2079 (python-mode): Add ?: to electric-indent-chars.
2080 Move python-indent-post-self-insert-function to the end of
2081 post-self-insert-hook.
2082
1b10adb6
SM
20832013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2084
655ab9a3
SM
2085 * doc-view.el (doc-view-goto-page): Update mode-line.
2086
1b10adb6
SM
2087 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2088
7e3bf78c
GM
20892013-11-27 Glenn Morris <rgm@gnu.org>
2090
2091 * international/charprop.el, international/uni-bidi.el:
2092 * international/uni-category.el, international/uni-combining.el:
2093 * international/uni-comment.el, international/uni-decimal.el:
2094 * international/uni-decomposition.el, international/uni-digit.el:
2095 * international/uni-lowercase.el, international/uni-mirrored.el:
2096 * international/uni-name.el, international/uni-numeric.el:
2097 * international/uni-old-name.el, international/uni-titlecase.el:
2098 * international/uni-uppercase.el:
2099 Remove generated files from VCS repository.
2100
fb6a5d68
EZ
21012013-11-27 Eli Zaretskii <eliz@gnu.org>
2102
2103 * filenotify.el (file-notify-add-watch): Don't special-case
2104 w32notify when computing the directory to watch.
2105
cb6c95a3
GM
21062013-11-27 Glenn Morris <rgm@gnu.org>
2107
20372d0c
GM
2108 Make bootstrap without generated uni-*.el files possible again.
2109 * loadup.el: Update command-line-args checking for unidata-gen.
2110 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2111 * composite.el, international/characters.el:
2112 Handle unicode tables being undefined.
2113
52d6635f 2114 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2115 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2116 (compile-main): Depend on leim rule.
2117 (leim): New rule.
2118 * loadup.el: Move leim-list.el to leim/ subdirectory.
2119 * startup.el (normal-top-level): No more leim directory.
2120 * international/ja-dic-cnv.el (skkdic-convert):
2121 Disable version-control and autoloads in output files.
2122 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2123 Disable version-control and autoloads in output files.
2124 * leim/quail: Move here from ../leim.
2125 * leim/quail/hangul.el (hangul-input-method-activate):
2126 Add autoload cookie.
2127 (generated-autoload-load-name): Set file-local value.
2128 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2129 (generated-autoload-load-name): Set file-local value.
2130
7514d3f8 21312013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2132
e0eb0550 2133 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2134 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2135 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2136
0e2c793f
EZ
21372013-11-26 Eli Zaretskii <eliz@gnu.org>
2138
2139 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2140 reading output from Diff on MS-Windows and MS-DOS.
2141
447bdcb8
BB
21422013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2143
2144 * emacs-lisp/helpers.el (string-reverse): New function.
2145
5fbf6856
MA
21462013-11-26 Michael Albinus <michael.albinus@gmx.de>
2147
2148 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2149 names on MS Windows, like "/[::1]:".
2150
2151 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2152 SWITCHES.
2153
624780f0
GM
21542013-11-26 Glenn Morris <rgm@gnu.org>
2155
0bf3f0fa
GM
2156 * progmodes/python.el (python-indent-guess-indent-offset):
2157 Avoid corner-case error. (Bug#15975)
2158
624780f0
GM
2159 Preload leim-list.el. (Bug#4789)
2160 * loadup.el: Load leim-list.el when found.
2161 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2162
4301875e 21632013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2164
2165 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2166
4301875e
BB
2167 * emacs-lisp/helpers.el (string-join): New function.
2168
1633a815 21692013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2170
2171 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2172 Mark as obsolete and replace it with a symbol property.
2173 (byte-compile-form): Use new 'interactive-only property.
2174 * comint.el, files.el, replace.el, simple.el:
2175 Apply new 'interactive-only properly.
2176
00139435
MR
21772013-11-25 Martin Rudalics <rudalics@gmx.at>
2178
2179 * window.el (display-buffer-at-bottom): Make sure that
2180 split-window-sensibly creates the new window on bottom
2181 (Bug#15961).
2182
5f5b128d
DK
21832013-11-23 David Kastrup <dak@gnu.org>
2184
2185 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2186 on the conflict markers when available.
2187 (smerge--get-marker): New function.
2188 (smerge-end-re, smerge-base-re): Add subgroup.
2189
623891e5
SM
21902013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * frame.el (handle-focus-in, handle-focus-out): Add missing
2193 interactive spec.
2194
05ca27d8
MA
21952013-11-25 Michael Albinus <michael.albinus@gmx.de>
2196
2197 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2198 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2199
511fa0d3
SM
22002013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2201
e82ad66c
SM
2202 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2203 (gomoku--last-pos): New var.
2204 (gomoku--intangible-chars): New const.
2205 (gomoku--intangible): New function.
2206 (gomoku-mode): Use it. Derive from special-mode.
2207 (gomoku-move-up): Adjust line count.
2208 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2209 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2210 Simplify accordingly.
2211
511fa0d3
SM
2212 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2213 Remove blink-cursor code.
2214 (blink-cursor-timer-function, blink-cursor-suspend):
2215 Don't special-case GUIs.
2216 (blink-cursor-mode): Use focus-in/out-hook.
2217
6f20dd03
DG
22182013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2219
2220 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2221 work when annotation is invisible (Bug#13886).
2222
431dec31 22232013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2224
2225 * json.el (json-alist-p): Only return non-nil if the alist has
2226 simple keys (Bug#13518).
2227
431dec31 22282013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2229
2230 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2231 when control-statement is the first statement in a buffer (Bug#15956).
2232
ee4f0261
DG
22332013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2234
2235 * imenu.el (imenu-generic-skip-comments-and-strings):
2236 New option (Bug#15560).
2237 (imenu--generic-function): Use it.
2238
c484f866
JS
22392013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2240
e9dc713d
JB
2241 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2242 (Bug#13898)
c484f866 2243
41ce6f70
BB
22442013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2245
b55aea38
BB
2246 * emacs-lisp/helpers.el: Add some string helpers.
2247 (string-trim-left): Removes leading whitespace.
2248 (string-trim-right): Removes trailing whitespace.
2249 (string-trim): Removes leading and trailing whitespace.
2250
41ce6f70
BB
2251 * subr.el (string-suffix-p): New function.
2252
3cfb6af3
GM
22532013-11-23 Glenn Morris <rgm@gnu.org>
2254
2255 * progmodes/python.el (python-shell-send-file):
2256 Add option to delete file when done. (Bug#15647)
2257 (python-shell-send-string, python-shell-send-region): Use it.
2258
c27924b7
IS
22592013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2260
e1b01c7f
IS
2261 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2262 to set buffer-read-only to t, never to nil. (Bug#15938)
2263
c27924b7
IS
2264 * textmodes/tex-mode.el (latex-noindent-environments):
2265 Add safe-local-variable property. (Bug#15936)
2266
17e0445b
GM
22672013-11-23 Glenn Morris <rgm@gnu.org>
2268
92f78ea3
GM
2269 * textmodes/enriched.el (enriched-mode): Doc fix.
2270 * emacs-lisp/authors.el (authors-renamed-files-alist):
2271 Add enriched.doc -> enriched.txt.
2272
17e0445b
GM
2273 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2274
965bb23a
LL
22752013-11-22 Leo Liu <sdl.web@gmail.com>
2276
2277 * progmodes/octave.el (inferior-octave-startup): Spit out error
2278 message.
2279
d19ffd64
BB
22802013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2281
2282 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2283 Improve docstring.
15ba2182
BB
2284 Add :version.
2285 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2286
7a7567d2
LL
22872013-11-22 Leo Liu <sdl.web@gmail.com>
2288
2289 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2290 (Bug#15076)
8c09f64b
LL
2291 (octave-help-mode): Adapt to change to help-mode-finish to use
2292 derived-mode-p on 2013-09-17.
2293 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2294 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2295
724bc265
LL
22962013-11-22 Leo Liu <sdl.web@gmail.com>
2297
2298 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2299 (inferior-octave-startup, inferior-octave-check-process)
2300 (inferior-octave-track-window-width-change)
2301 (octave-completion-at-point, octave-eldoc-function): Use it.
2302 (octave-kill-process): Provide confirmation. (Bug#10564)
2303
38637cca
LL
23042013-11-21 Leo Liu <sdl.web@gmail.com>
2305
511fa0d3
SM
2306 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2307 Fix obsolete variable comment-use-global-state.
38637cca 2308
06e752b4
RS
23092013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2310
511fa0d3
SM
2311 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2312 Add `octave-source-file'.
06e752b4
RS
2313 (octave-source-file): New function. (Bug#15935)
2314
7514d3f8 23152013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2316
2317 * net/eww.el (eww-local-regex): New variable.
2318 (eww): Use it to detect localhost and similar.
2319
b6ffa04a
LL
23202013-11-21 Leo Liu <sdl.web@gmail.com>
2321
2322 Add completion for command `ag'.
2021a200
LL
2323 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2324 (pcomplete/ag): New function.
e9dc713d 2325 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2326
d1a6bccc
SM
23272013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2330 (bug#14646).
2331 (make-obsolete): Remove interactive spec.
2332
2df10228
GM
23332013-11-21 Glenn Morris <rgm@gnu.org>
2334
2335 * startup.el (command-line-1): Use path-separator with -L.
2336
86fd16b6
TZ
23372013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2338
2339 * emacs-lisp/package.el (describe-package-1): Add package archive
2340 to shown fields.
2341
0449d6cd 23422013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2343
2344 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2345 Change default to "# encoding: %s" to differentiate it from the
2346 default Ruby encoding comment template.
2347
dc7e8c17 23482013-11-20 era eriksson <era+emacsbugs@iki.fi>
2349
2350 * ses.el (ses-mode): Doc fix. (Bug#14748)
2351
f0cfa5fe
LL
23522013-11-20 Leo Liu <sdl.web@gmail.com>
2353
2354 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2355
826dc7b6
DN
23562013-11-19 Dan Nicolaescu <dann@gnu.org>
2357
2358 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2359 when rebase or bisect are in progress.
2360
a6e3a5d5
XF
23612013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2362
2363 * filenotify.el (file-notify-add-watch): Doc fix.
2364
f130cb76
LL
23652013-11-19 Leo Liu <sdl.web@gmail.com>
2366
e0855d7d
LL
2367 * obsolete/rcompile.el: Mark obsolete.
2368
f130cb76 2369 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2370 (compilation-goto-locus, compilation-find-file):
2371 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2372 (Bug#13594)
2373
2374 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2375 new parameter no-display-ok. Return either a window or nil
2376 but never a non-window value.
f130cb76 2377
1f35d401
SM
23782013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2379
25158c76
SM
2380 * electric.el (electric-indent-mode-map): Remove.
2381 (electric-indent-mode): Change the global-map instead (bug#15915).
2382
2383 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2384 Use add-function.
1f35d401 2385
9bc67baa
SM
23862013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2387
986545b5
SM
2388 * emacs-lisp/nadvice.el (remove-function): Align with
2389 add-function's behavior.
2390
9bc67baa
SM
2391 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2392 (gdb--string-regexp): New constant.
2393 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2394 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2395 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2396 submatch 1.
2397 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2398 Adjust use accordingly.
2399 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2400
56cd894e
AS
24012013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2402
2403 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2404 interpolation curlies (Bug#15914).
2405
014690de
JB
24062013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2407
2408 * calc/calc.el (calc-context-sensitive-enter): New variable.
2409 (calc-enter): Use `calc-context-sensitive-enter'.
2410
7e26a6c3
TZ
24112013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2412
2413 * progmodes/cfengine.el: Version bump.
2414 (cfengine-cf-promises): New defcustom to locate cf-promises.
2415 (cfengine3-vartypes): Add new "data" type.
2416 (cfengine3--current-word): New function to get current name-like
2417 word or its bounds.
2418 (cfengine3--current-function): New function to look up a CFEngine
2419 function's definition.
2420 (cfengine3-format-function-docstring): New function.
2421 (cfengine3-make-syntax-cache): New function.
2422 (cfengine3-documentation-function): New function: ElDoc glue.
2423 (cfengine3-completion-function): New function: completion glue.
2424 (cfengine3-mode): Set `compile-command',
2425 `eldoc-documentation-function', and add to
2426 `completion-at-point-functions'.
2427
355204dd
MA
24282013-11-16 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2431 `tramp-current-connection'.
2432
43cebc23
DG
24332013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2434
2435 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2436 nil/self/true/false with "end of symbol".
2437
a3fed6ff
BB
24382013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2439
2440 * subr.el (version-regexp-alist): Fix a typo.
2441
e675b3e4
MA
24422013-11-15 Michael Albinus <michael.albinus@gmx.de>
2443
2444 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2445 "en_US.utf8" and "LC_CTYPE" to "".
2446 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2447 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2448
a1f03e89
LL
24492013-11-15 Leo Liu <sdl.web@gmail.com>
2450
2451 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2452
5d9d9451
SM
24532013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2454
58362662
CS
2455 * progmodes/gud.el (ctl-x-map):
2456 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2457 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2458
6c1bf086
BB
24592013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2460
0d5363c4
BB
2461 * subr.el (version-regexp-alist):
2462 Recognize hg, svn and darcs versions as snapshot versions.
2463
4e9fc48c
BB
2464 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2465 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2466 (ruby--encoding-comment-required-p): Extract from
2467 `ruby-mode-set-encoding'.
2468 (ruby-mode-set-encoding): Add the ability to always insert an
2469 utf-8 encoding comment. Fix and simplify coding comment update
2470 logic.
6c1bf086 2471
2f7e72f8
MA
24722013-11-14 Michael Albinus <michael.albinus@gmx.de>
2473
2474 * net/tramp-gvfs.el (top): Run init code only when
2475 `tramp-gvfs-enabled' is not nil.
2476 (tramp-gvfs-enabled): Check also :system bus.
2477
0f137a73
SM
24782013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 Sync with upstream verilog-mode revision 78e66ba.
2481 * progmodes/verilog-mode.el (verilog-end-of-defun)
2482 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2483 (verilog-get-end-of-defun): Remove unused argument.
2484 (verilog-comment-depth): Remove unused local `e'.
2485 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2486 Don't pass arg to verilog-get-end-of-defun.
2487
1c276bdd
GM
24882013-11-14 Glenn Morris <rgm@gnu.org>
2489
2490 * obsolete/assoc.el (aget): Prefix dynamic variable.
2491
2492 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2493
ff6ec81d
SM
24942013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * widget.el, hfy-cmap.el: Remove bogus package version number.
2497
75f777b6
GM
24982013-11-13 Glenn Morris <rgm@gnu.org>
2499
1d43dba1
GM
2500 * replace.el (replace-eval-replacement):
2501 Try to give more helpful error message. (Bug#15836)
2502
ff4b7bd5
GM
2503 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2504 (archive-7z-update): Avoid custom type mismatches.
2505
75f777b6
GM
2506 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2507
11151a06
MA
25082013-11-13 Michael Albinus <michael.albinus@gmx.de>
2509
e675b3e4 2510 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2511 address can be empty.
2512
2513 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2514 Accept nil SWITCHES.
2515 (tramp-gvfs-handle-write-region): Implement APPEND.
2516
7b08f97e
DG
25172013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2518
2519 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2520 binary "|" operator and closing block args delimiter.
2521 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2522 (ruby-smie--implicit-semi-p): Not after "|" operator.
2523 (ruby-smie--closing-pipe-p): New function.
2524 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2525 (ruby-smie-rules): Indent after "|".
2526
f201cf3a
GM
25272013-11-12 Glenn Morris <rgm@gnu.org>
2528
2529 * ps-print.el (ps-face-attribute-list):
2530 Handle anonymous faces. (Bug#15827)
2531
e6f759f9
MR
25322013-11-12 Martin Rudalics <rudalics@gmx.at>
2533
2534 * window.el (display-buffer-other-frame): Fix doc-string.
2535 (Bug#15868)
2536
ecda65d4
SM
25372013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2540
7ce8fcc3
MA
25412013-11-11 Michael Albinus <michael.albinus@gmx.de>
2542
2543 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2544 (tramp-sh-handle-file-local-copy): Don't write a message when
2545 saving temporary files.
2546
2547 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2548 both directories are remote.
2549 (tramp-smb-handle-directory-files): Do not return double entries.
2550 Do not expand full file names.
2551 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2552 (tramp-smb-handle-write-region): Implement APPEND.
2553 (tramp-smb-get-stat-capability): Fix a stupid bug.
2554
7818df11
SM
25552013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2558
608c2085
NT
25592013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2560
2561 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2562 throwing error over malformed let/let* (bug#15814).
2563
122a7e46
SM
25642013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * iswitchb.el (iswitchb-mode): Mark obsolete.
2567
766284d9
GM
25682013-11-11 Glenn Morris <rgm@gnu.org>
2569
2570 * international/uni-bidi.el, international/uni-category.el:
2571 * international/uni-name.el, international/uni-numeric.el:
2572 Regenerate for Unicode 6.3.0.
2573
7072a4e9
MA
25742013-11-10 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp.el (tramp-methods):
2577 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2578 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2579
c9df215b
AS
25802013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2581
608c2085
NT
2582 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2583 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2584
fa47d796
DG
25852013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2586
2587 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2588 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2589 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2590 (ispell-complete-word): Call `ispell-lookup-words' with the value
2591 independent of `ispell-look-p'.
2592
1629a329
DG
25932013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2594
2595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2596 Not after "||".
2597 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2598 their parent.
2599
ad16897c
SM
26002013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2603 (ruby-font-lock-keywords): Use backquote.
2604
ffa2df72
DG
26052013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2606
2607 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2608 (ruby-smie--backward-token): Only consider full-string matches.
2609
5b97b4c0
JD
26102013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2611
2612 * faces.el (describe-face): Add distant-foreground.
2613
71731c03
BB
26142013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2615
4e9fc48c
BB
2616 * progmodes/ruby-mode.el: Improve encoding comment handling.
2617 (ruby-encoding-magic-comment-style): New option.
2618 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2619 (ruby--insert-coding-comment, ruby--detect-encoding):
2620 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2621 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2622 to control the style of the auto-inserted encoding comment.
71731c03 2623
da3b328d
DG
26242013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2625
ad16897c
SM
2626 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2627 Use `smie-backward-sexp' with token argument.
da3b328d 2628
1606c2d3
MA
26292013-11-08 Michael Albinus <michael.albinus@gmx.de>
2630
2631 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2632 Remove instrumentation code.
2633
b0f4c320
GM
26342013-11-08 Glenn Morris <rgm@gnu.org>
2635
2636 * progmodes/autoconf.el (autoconf-mode):
2637 Tweak comment-start-skip. (Bug#15822)
2638
43668fb1
SM
26392013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2642 at bobp (bug#15826).
2643 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2644
daddb3fd
DH
26452013-11-08 Darren Hoo <darren.hoo@gmail.com>
2646
2647 * man.el (Man-start-calling): New macro, extracted from
2648 Man-getpage-in-background.
2649 (Man-getpage-in-background): Use it.
2650 (Man-update-manpage): New command.
2651 (Man-mode-map): Bind it.
2652
1f923923
DG
26532013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2654
2655 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2656 of "and", "or", "&&" and "||".
2657 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2658 argument. Prohibit opening curly brace because it could only be a
2659 block opener in that position.
daddb3fd
DH
2660 (ruby-smie--forward-token, ruby-smie--backward-token):
2661 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2662 arguments.
2663 (ruby-smie--indent-to-stmt): New function, seeks the end of
2664 previous statement or beginning of buffer.
2665 (ruby-smie-rules): Use it.
2666 (ruby-smie-rules): Check if there's a ":" before a curly block
2667 opener candidate; if there is, it's a hash.
2668
3220d527
SM
26692013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2672 (cl--block-wrapper): Fix last accidental change.
2673
1eb1f9e0
MA
26742013-11-07 Michael Albinus <michael.albinus@gmx.de>
2675
2676 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2677 Instrument, in order to hunt failure on hydra.
2678
e6e4db3c
NT
26792013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2680
2681 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2682 malformed bindings form (bug#15814).
2683
b420ccfc
DG
26842013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2685
2686 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2687 "." compared to " @ ". This incidentally fixes some indentation
2688 examples with "do".
e6e4db3c 2689 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2690 (ruby-smie-grammar): New tokens: "and" and "or".
2691 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2692 Exclude "and" and "or". Remove "do" in order to work around token
2693 priorities.
2694 (ruby-smie-rules): Add all infix tokens. Handle the case of
2695 beginning-of-buffer.
b420ccfc 2696
6b4ac03e
GM
26972013-11-06 Glenn Morris <rgm@gnu.org>
2698
2699 * Makefile.in (setwins_almost, setwins_for_subdirs):
2700 Avoid accidental matches.
2701
5ca114d1
SM
27022013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * menu-bar.el (popup-menu): Use key-binding.
2705
f72552bd
EZ
27062013-11-06 Eli Zaretskii <eliz@gnu.org>
2707
2708 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2709 menus, support also the menus produced by minor modes.
2710 (Bug#15817)
2711
5d5c701e
LL
27122013-11-06 Leo Liu <sdl.web@gmail.com>
2713
2714 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2715 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2716
0a8b75e2
GM
27172013-11-06 Glenn Morris <rgm@gnu.org>
2718
2719 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2720 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2721 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2722
a35287ea
SM
27232013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2724
feca4e2d
SM
2725 * electric.el (electric-indent-just-newline): New command.
2726 (electric-indent-mode-map): New keymap.
2727 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2728 Re-add :group which weren't redundant.
2729
a35287ea
SM
2730 * electric.el (electric-indent-local-mode): New minor mode.
2731 (electric-indent-functions-without-reindent): New var.
2732 (electric-indent-post-self-insert-function): Use it.
2733 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2734
375761b2
EZ
27352013-11-05 Eli Zaretskii <eliz@gnu.org>
2736
9a6ad735
EZ
2737 * international/quail.el (quail-help): Be more explicit about the
2738 meaning of the labels shown on the keys. (Bug#15800)
2739
375761b2
EZ
2740 * startup.el (normal-top-level): Load the subdirs.el files before
2741 setting the locale environment. (Bug#15805)
2742
520a6e4a
SM
27432013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2744
0acfafef
SM
2745 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2746 via arguments so as to get the right ones (bug#15418).
2747
520a6e4a
SM
2748 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2749
15826261
MA
27502013-11-05 Michael Albinus <michael.albinus@gmx.de>
2751
2752 Fix problems found while writing a test suite.
2753
2754 * net/tramp-compat.el (tramp-compat-load): New defun.
2755 * net/tramp.el (tramp-handle-load): Use it.
2756
2757 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2758 "(numberp ok-if-already-exists)" correctly.
2759
d35f31a4
XF
27602013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2761
2762 * international/characters.el (glyphless-char-display-control):
2763 Add usage note.
2764
ae93bc74
BB
27652013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2766
520a6e4a
SM
2767 * progmodes/python.el (python-mode):
2768 * progmodes/scheme.el (scheme-mode):
2769 * progmodes/prolog.el (prolog-mode):
2770 * progmodes/ruby-mode.el (ruby-mode):
2771 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2772 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2773
0ade65b5
SM
27742013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2775
a0d5f7a4
SM
2776 * rect.el (rectangle--highlight-for-redisplay):
2777 * emacs-lisp/smie.el (smie--next-indent-change):
2778 Use buffer-chars-modified-tick.
2779
c93f3f5c
SM
2780 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2781
0ade65b5
SM
2782 * electric.el (electric-indent-post-self-insert-function):
2783 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2784
ef9dd188
HE
27852013-11-04 Helmut Eller <eller.helmut@gmail.com>
2786
2787 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2788
306e7308
NT
27892013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2790
2791 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2792 (bug#15786).
2793
e5afbcac
SM
27942013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2795
1d01ad41
SM
2796 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2797
e5afbcac
SM
2798 * progmodes/python.el: Fix up last change.
2799 (python-shell--save-temp-file): New function.
2800 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2801 `string' comes from the current buffer.
2802 (python-shell-send-string-no-output): Remove `msg' arg.
2803 (python--use-fake-loc): New var.
2804 (python-shell-buffer-substring): Obey it. Try to compensate for the
2805 extra coding line added by python-shell--save-temp-file.
2806 (python-shell-send-region): Use python-shell--save-temp-file and
2807 python-shell-send-file directly. Add `nomain' argument.
2808 (python-shell-send-buffer): Use python-shell-send-region.
2809 (python-electric-pair-string-delimiter): New function.
2810 (python-mode): Use it.
2811
d0065ff1
EZ
28122013-11-04 Eli Zaretskii <eliz@gnu.org>
2813
2814 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2815 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2816 environment and decoding all of the default-directory's to here
2817 from command-line.
2818 (command-line): Decode also argv[0].
2819
2820 * loadup.el: Error out if default-directory is a multibyte string
2821 when we are dumping.
2822
2823 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2824
7397c587
TZ
28252013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2826
2827 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2828 (package-menu--print-info, package-menu--archive-predicate):
2829 Add Archive column to package list.
7397c587 2830
b27cc9fc
MA
28312013-11-04 Michael Albinus <michael.albinus@gmx.de>
2832
2833 Fix problems found while writing a test suite.
2834
2835 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2836 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2837 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2838 to nil when running original file name handler. Otherwise,
2839 there are problems with constructs like "$$FOO".
2840
2841 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2842 for `localname'.
2843
d8c4f18a
BB
28442013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2845
7b530552
BB
2846 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2847
2848 * subr.el (version<, version<=, version=):
2849 Update docstrings with information for snapshot versions.
2850
d8c4f18a
BB
2851 * helpers.el: New library for misc helper functions.
2852 (hash-table-keys): New function returning a list of hash keys.
2853 (hash-table-values): New function returning a list of hash values.
2854
dca01b09
DG
28552013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2856
2857 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2858 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2859
0a749fa0
MN
28602013-11-04 Michal Nazarewicz <mina86@mina86.com>
2861
2862 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2863 checking whether point is after a 1-letter word.
2864
28652013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2866
2867 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2868 Don't infloop when expanding region over `multiline' syntax-type that
2869 begins a line (bug#15778).
2870
4aca7145
SM
28712013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2874 Make it into a proper minor mode.
2875 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2876 (rectangle-mark-mode-map): New keymap.
2877 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2878
a0833f62
GM
28792013-11-04 Glenn Morris <rgm@gnu.org>
2880
2881 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2882
e61845c1
SM
28832013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2886 (ruby-smie-rules): Use smie-rule-parent instead.
2887
2888 * emacs-lisp/smie.el (smie-rule-parent): Always call
2889 smie-indent-virtual rather than only for hanging tokens.
2890 (smie--next-indent-change): New helper command.
2891
62942f89
GM
28922013-11-03 Glenn Morris <rgm@gnu.org>
2893
2894 * Makefile.in (abs_srcdir): Remove.
2895 (emacs): Unset EMACSLOADPATH.
2896
b0b9e592
GM
28972013-11-02 Glenn Morris <rgm@gnu.org>
2898
18ba6a33 2899 * Makefile.in (EMACS): Use a relative filename.
8061810d 2900 (abs_top_builddir): Remove.
18ba6a33
GM
2901 (custom-deps, finder-data, autoloads): Use --chdir.
2902
6a8b929e
GM
2903 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2904
c617f3d0
GM
2905 Use relative filenames in TAGS files.
2906 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2907 (lisptagsfiles4, TAGS): Use relative file names.
2908 (TAGS-LISP): Remove.
2909 (maintainer-clean): No more TAGS-LISP file.
2910
b0b9e592
GM
2911 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2912 (lisptagsfiles4): Use absolute filenames again.
2913 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2914 Remove all *loaddefs files, not just the first. Remove esh-groups.
2915 (maintainer-clean): Delete TAGS, TAGS-LISP.
2916
d1c0ea6a
BB
29172013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2918
e61845c1
SM
2919 * emacs-lisp/package.el (package-version-join):
2920 Recognize snapshot versions.
d1c0ea6a 2921
684d71c6
BB
29222013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2923
2924 * subr.el (version-regexp-alist): Add support for snapshot versions.
2925
3d42b968
DG
29262013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2927
e61845c1
SM
2928 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2929 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2930 skip over our direct parent if it's an assignment token..
2931 (ruby-smie-rules): Use it.
2932
7ffd3721
DG
29332013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2934
8449dd1f 2935 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2936 unconditionally. Remove now unnecessary forward declarations.
2937 Remove XEmacs-specific setup.
2938 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2939 (ruby-font-lock-syntactic-keywords)
2940 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2941 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2942 (ruby-here-doc-end-syntax): Remove.
2943 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2944 defined as function.
2945
a3996a2e
BB
29462013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2947
2948 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2949
6f9260e8
BB
29502013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2951
2952 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2953 table and abbrev table, `define-derived-mode' does that for us
2954 anyway.
2955
6014de84
GM
29562013-11-01 Glenn Morris <rgm@gnu.org>
2957
2958 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2959 files is atomic for some time, so no parallel compilation issues).
2960
3c334c14
JD
29612013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2962
2963 * faces.el (face-x-resources): Add :distant-foreground.
2964 (region): Use :distant-foreground for gtk and ns.
2965
9bc236c8
TH
29662013-11-01 Tassilo Horn <tsdh@gnu.org>
2967
5246583b 2968 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2969 BibTeX.
2970 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2971 (reftex-locate-bibliography-files): Us it.
2972
d14c81ee
CB
29732013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2974
0e7690de
CB
2975 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2976 allow comments in pbm files.
2977
d14c81ee
CB
2978 * term/w32-win.el (dynamic-library-alist): Support newer versions
2979 of libjpeg starting with v7: look only for the DLL from the
2980 version against which Emacs was built.
ac1bf374 2981 Support versions of libpng beyond 1.4.x.
019c8218 2982 Support libtiff v4.x.
d14c81ee 2983
983d0df5
BB
29842013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2985
2986 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2987 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2988 Add property :safe.
2989 (ruby-deep-arglist): Add property :type.
2990
47f58d85
GM
29912013-10-31 Glenn Morris <rgm@gnu.org>
2992
2993 * Makefile.in (custom-deps, finder-data): No need to setq the target
2994 variables, we are in the right directory and the defaults work fine.
2995
4f85b479
GM
29962013-10-30 Glenn Morris <rgm@gnu.org>
2997
ca7dd4cd
GM
2998 * Makefile.in (autoloads): Do not use abs_lisp.
2999
4f85b479
GM
3000 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3001 `newline' does not respect `standard-output', so use `princ'.
3002
cf59e41c
AA
30032013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3004
3005 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3006 * buff-menu.el (Buffer-menu--unmark): New function.
3007 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3008
74cf04fb
GM
30092013-10-30 Glenn Morris <rgm@gnu.org>
3010
b040b60e
GM
3011 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3012
f53d3815
GM
3013 * emacs-lisp/package.el (lm-homepage): Declare.
3014
5413d873
GM
3015 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3016 Fix doc typos.
3017
cecedb36
GM
3018 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3019
74cf04fb
GM
3020 * Makefile.in (finder-data, autoloads, update-subdirs)
3021 (compile-main, compile-clean, compile-always, bootstrap-clean):
3022 Check return value of cd.
3023 (compile-calc): Remove.
3024
195ee2f0
SM
30252013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3026
ae4002ce
SM
3027 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3028
3029 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3030 (byte-compile-and-folded): New function.
3031 (=, <, >, <=, >=): Use it.
3032
3033 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3034 (path-separator, null-device, buffer-file-coding-system)
3035 (lpr-headers-switches): Check system-type before modifying them.
3036 (find-buffer-file-type-coding-system): Mark obsolete.
3037 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3038 find-file-not-found-set-buffer-file-coding-system.
3039 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3040 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3041 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3042 (w32-direct-print-region-helper, w32-direct-print-region-function)
3043 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3044 * startup.el (normal-top-level-add-subdirs-to-load-path):
3045 * ps-print.el (ps-print-region-function):
3046 * lpr.el (print-region-function): Use new name.
3047
53b39e89
SM
3048 * subr.el (custom-declare-variable-early): Remove function.
3049 (custom-declare-variable-list): Remove var.
3050 (error, user-error): Remove `while' loop.
3051 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3052 (user-emacs-directory-warning, locate-user-emacs-file):
3053 Move to files.el.
3054 * simple.el (read-quoted-char-radix, read-quoted-char):
3055 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3056 Move from subr.el.
3057 * custom.el (custom-declare-variable-list): Don't process
3058 custom-declare-variable-list.
3059
195ee2f0
SM
3060 * progmodes/python.el (python-shell-get-buffer): New function.
3061 (python-shell-get-process): Use it.
3062 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3063 Python which encoding was used. Don't split-string since we only care
3064 about the first line. Return the temp-file, if applicable.
3065 (python-shell-send-region): Tell compile.el how to turn locations in
3066 the temp-file into locations in the source buffer.
3067
7e3561ee
SM
30682013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3069
4c9797cb
SM
3070 * subr.el (undefined): Add missing behavior from the C code for
3071 unbound keys.
3072
3472b6c6
SM
3073 * rect.el: Use lexical-binding. Add new rectangular region support.
3074 (rectangle-mark): New command.
3075 (rectangle--region): New var.
3076 (deactivate-mark-hook): Reset rectangle--region.
3077 (rectangle--extract-region, rectangle--insert-for-yank)
3078 (rectangle--highlight-for-redisplay)
3079 (rectangle--unhighlight-for-redisplay): New functions.
3080 (region-extract-function, redisplay-unhighlight-region-function)
3081 (redisplay-highlight-region-function): Use them to handle
3082 rectangular region.
3083 * simple.el (region-extract-function): New var.
3084 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3085 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3086 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3087 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3088 (redisplay-unhighlight-region-function)
3089 (redisplay-highlight-region-function): New vars.
3090 (redisplay--update-region-highlight): New function.
3091 (pre-redisplay-function): Use it.
3092 (exchange-point-and-mark): Don't deactivate the mark before
3093 reactivate-it anyway.
3094 * comint.el (comint-kill-region): Remove yank-handler argument.
3095 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3096 (delete-char): Remove property, since it's now part of their
3097 default behavior.
3098 (self-insert-iso): Remove property since this command doesn't exist.
3099
7e3561ee
SM
3100 * emacs-lisp/package.el (package--download-one-archive)
3101 (describe-package-1): Don't query the user about final newline.
3102
b9bef71f
DC
31032013-10-29 Daniel Colascione <dancol@dancol.org>
3104
3105 * net/tramp.el (tramp-methods): Document new functionality.
3106 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3107 tramp-hostname-checker if method provides one instead of scanning
3108 argument list for "%h" to decide hostname acceptability.
3109
4efc33f0
MA
31102013-10-28 Michael Albinus <michael.albinus@gmx.de>
3111
3112 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3113 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3114 Handle COPY-CONTENTS. (Bug#15737)
3115
ed42a877
DU
31162013-10-28 Daiki Ueno <ueno@gnu.org>
3117
3118 * epa-file.el
7e3561ee
SM
3119 (epa-file-cache-passphrase-for-symmetric-encryption):
3120 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3121
18c9f8a2
XF
31222013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3123
7a4bc7be
XF
3124 * image.el (defimage):
3125 (image-load-path): Doc fixes.
18c9f8a2 3126
b1e8e010
AM
31272013-10-27 Alan Mackenzie <acm@muc.de>
3128
3129 Indent statements in macros following "##" correctly.
7e3561ee
SM
3130 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3131 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3132
73d40d1e 31332013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3134
3135 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3136
c8c605ac
DG
31372013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3138
3139 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3140 after `=' is probably a new expression.
3141
ca7e59d4
RS
31422013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3143
3144 * man.el (man-imenu-title): New option.
3145 (Man-mode-map): Add menu. (Bug#15722)
3146 (Man-mode): Add imenu to menu.
3147
bae91342
DG
31482013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3149
3150 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3151 specific in what the first arg can be: a non-keyword word,
3152 string/regexp/percent literal opener, opening paren, or unary
3153 operator followed directly by word.
3154
eb89dc14
SM
31552013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3158 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3159 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3160 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3161 Remove vars, they do not apply any more.
3162 (prolog-mode-abbrev-table): Remove redundant declaration.
3163 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3164 (prolog-use-smie): Remove.
3165 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3166 supported by prolog-electric-if-then-else-flag.
3167 (prolog-mode-variables, prolog-menu): Use setq-local.
3168 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3169 Remove binding to `Backspace' since this key doesn't exist anyway.
3170 Remove bindings for electric self-inserting keys.
3171 (prog-mode): Assume it's defined.
3172 (prolog-post-self-insert): New function.
3173 (prolog-mode): Use it.
3174 (prolog-indent-line, prolog-indent-level)
3175 (prolog-find-indent-of-matching-paren)
3176 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3177 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3178 (prolog-goto-next-paren, prolog-in-string-or-comment)
3179 (prolog-tokenize, prolog-inside-mline-comment)
3180 (prolog-find-start-of-mline-comment): Remove functions.
3181 (prolog-find-unmatched-paren, prolog-clause-end)
3182 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3183 (prolog-electric--if-then-else): Rename from
3184 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3185 (prolog-tokenize-searchkey): Remove const.
3186 (prolog-clause-info): Use forward-sexp.
3187 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3188 (prolog-electric-if-then-else): Remove commands.
3189 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3190 for use in post-self-insert-hook.
3191 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3192 for use in post-self-insert-hook.
3193 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3194 for use in post-self-insert-hook.
3195 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3196 adapt it for use in post-self-insert-hook.
3197
3dab0a83
MA
31982013-10-25 Michael Albinus <michael.albinus@gmx.de>
3199
3200 * emacs-lisp/ert.el (ert-run-tests-interactively):
3201 Use `completing-read'. (Bug#9756)
3202
fbfd0e1d
EZ
32032013-10-25 Eli Zaretskii <eliz@gnu.org>
3204
3205 * simple.el (line-move): Call line-move-1 instead of
3206 line-move-visual when the current window hscroll is zero, but
3207 temporary-goal-column indicates we will need to hscroll as result
3208 of the movement. (Bug#15712)
3209
963ce636
DG
32102013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3211
3212 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3213 capitalization. Use :visible instead of :active.
3214 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3215 commands that are used with SMIE.
3216 (ruby-do-end-to-brace): Insert space after `{'.
3217
a0be396a
JA
32182013-10-25 John Anthony <john@jo.hnanthony.com>
3219
f73754c9
JA
3220 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3221
3222 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3223
f5bf77df
GM
32242013-10-25 Glenn Morris <rgm@gnu.org>
3225
3226 * vc/vc.el (vc-print-log): Don't use a working revision unless
3227 one was explicitly specified. (Bug#15322)
3228
37241f62
SM
32292013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * subr.el (add-to-list): Preserve return value in compiler-macro
3232 (bug#15692).
3233
6408a65d
RS
32342013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3235
3236 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3237 result. Ask user to retry using '-all' flag. (Bug#15701)
3238
71e3276b
SM
32392013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/smie.el: New smie-config system.
3242 (smie-config): New defcustom.
3243 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3244 (smie-config-guess, smie-config-save): New commands.
3245 (smie-config--mode-local, smie-config--buffer-local)
3246 (smie-config--trace, smie-config--modefuns): New vars.
3247 (smie-config--advice, smie-config--mode-hook)
3248 (smie-config--setter, smie-config-local, smie-config--get-trace)
3249 (smie-config--guess-value, smie-config--guess): New functions.
3250 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3251 text properties. Treat "string fence" syntax like string syntax.
3252
3253 * progmodes/sh-script.el (sh-use-smie): Change default.
3254 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3255 (sh-var-value): Simplify by CSE.
3256 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3257 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3258 is used.
3259 (sh-guess-basic-offset): Use cl-incf.
3260 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3261
60db713e
HE
32622013-10-24 Helmut Eller <eller.helmut@gmail.com>
3263
3264 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3265 (bug#15699).
3266
8b251df6
GM
32672013-10-24 Glenn Morris <rgm@gnu.org>
3268
3269 * Makefile.in (abs_top_srcdir): Remove.
3270 (update-subdirs): Use relative path to update-subdirs.
3271
6be0e22b
EZ
32722013-10-24 Eli Zaretskii <eliz@gnu.org>
3273
3274 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3275 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3276 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3277 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3278
50b5b857
MA
32792013-10-24 Michael Albinus <michael.albinus@gmx.de>
3280
3281 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3282 (ert-test-skipped): New error.
3283 (ert-skip, ert-stats-skipped): New defuns.
3284 (ert--skip-unless): New macro.
3285 (ert-test-skipped): New struct.
3286 (ert--run-test-debugger, ert-test-result-type-p)
3287 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3288 (ert--stats-set-test-and-result, ert-char-for-test-result)
3289 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3290 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3291 Handle skipped tests. (Bug#9803)
50b5b857 3292
6f317c2f
GM
32932013-10-24 Glenn Morris <rgm@gnu.org>
3294
e43817c1
GM
3295 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3296
6f317c2f
GM
3297 * Makefile.in (abs_top_srcdir): New, set by configure.
3298 (update-subdirs): Correct build-aux location.
3299
369bbf71
DG
33002013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3301
8297b2cf
DG
3302 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3303 value, whether we could auto-deduce `backend', or not.
3304
369bbf71
DG
3305 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3306 with parameters" example. Simplify the "is it block or is it
3307 hash" check, but also make it more thorough.
3308
d5f1282f
MF
33092013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3310
3311 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3312
bc4aaa31
SM
33132013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3314
03d44565
SM
3315 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3316 { if it is hanging.
3317
bc4aaa31
SM
3318 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3319 :before ";".
3320
f493ff19
JB
33212013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3322
3323 * progmodes/compile.el (compilation-directory-matcher)
3324 (compilation-page-delimiter):
3325 Support GNU Make-4.0 directory quoting. (Bug#15678)
3326
c744a3b9
LL
33272013-10-23 Leo Liu <sdl.web@gmail.com>
3328
3329 * ido.el (ido-tidy): Handle read-only text.
3330
b8e3b0a9
GM
33312013-10-23 Glenn Morris <rgm@gnu.org>
3332
3333 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3334 (emacs, compile, compile-always):
3335 Quote entities that might contain whitespace.
3336 (custom-deps, finder-data, autoloads): Use abs_lisp.
3337 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3338 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3339 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3340
ee4282cd
DG
33412013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3342
bc4aaa31
SM
3343 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3344 Use `following-char'.
7790a270 3345
ee4282cd 33462013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3347
3348 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3349 * progmodes/ruby-mode.el (ruby-smie-rules):
3350 Remove corresponding workaround. Fix indentation rule of ";" so it
3351 also applies when ";" is the parent.
3352
d40a46d7
XF
33532013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3354
3355 * frame.el (display-screens, display-pixel-height)
3356 (display-pixel-width, display-mm-width, display-backing-store)
3357 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3358 (display-visual-class, display-monitor-attributes-list):
3359 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3360
a0f143c9
MG
33612013-10-22 Michael Gauland <mikelygee@amuri.net>
3362
3363 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3364 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3365
18cacc39
DG
33662013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3367
3368 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3369 TODO. Add "." after " @ ".
3370 (ruby-smie--at-dot-call): New function. Checks if point at method
3371 call with explicit target.
3372 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3373 to the method name tokens when it precedes them.
3374 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3375 (ruby-smie-rules): Add rule for indentation before and after "."
3376 token.
3377
df74c4be
SM
33782013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3379
c6dab55f
SM
3380 * textmodes/remember.el (remember-diary-extract-entries):
3381 Avoid add-to-list.
3382
df74c4be
SM
3383 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3384 an instruction.
3385
8c1ae481
DG
33862013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3387
e9dc713d
JB
3388 * progmodes/ruby-mode.el (ruby-smie-grammar):
3389 Add (almost) all infix operators.
cfef16c0
DG
3390 (ruby-smie--implicit-semi-p): Add new operator chars.
3391
8c1ae481
DG
3392 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3393 `smie-down-list'.
3394 (ruby-smie--args-separator-p): Check that there's no newline
3395 between method call and its arguments.
3396
87756ca9
AM
33972013-10-20 Alan Mackenzie <acm@muc.de>
3398
3399 Allow comma separated lists after Java "implements".
3400
df74c4be
SM
3401 * progmodes/cc-engine.el (c-backward-over-enum-header):
3402 Parse commas.
87756ca9
AM
3403 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3404 from a "disallowed" list in enum fontification.
3405
c25f8957
JB
34062013-10-20 Johan Bockgård <bojohan@gnu.org>
3407
df74c4be 3408 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3409
c25f8957
JB
3410 * progmodes/verilog-mode.el (verilog-mode): Don't set
3411 comment-indent-function globally.
3412
aca5fcdc
JD
34132013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3414
5f161884
JD
3415 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3416 Move Info menu item creation to ns-win.el.
3417
3418 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3419 in menu bar.
3420
aca5fcdc
JD
3421 * menu-bar.el: Move GNUStep specific menus...
3422
3423 * term/ns-win.el (ns-initialize-window-system): ... to here.
3424
914b7f98
SM
34252013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3426
3427 * simple.el (newline): Only run post-self-insert-hook when
3428 called interactively.
3429
846ffe77
JB
34302013-10-19 Johan Bockgård <bojohan@gnu.org>
3431
3432 * icomplete.el (icomplete-with-completion-tables): Add :version.
3433
033f22dd
AM
34342013-10-19 Alan Mackenzie <acm@muc.de>
3435
3436 Fix fontification bugs with constructors and const.
3437
3438 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3439 CASE 2) Remove the check for the absence of a suffix construct
3440 after a function declaration with only types (no identifiers) in
3441 the parentheses. Also, accept a function declaration with just a
3442 type inside the parentheses, if this type can be positively
3443 recognised as such, or if a prefix keyword like "explicit" nails
3444 down the construct as a declaration.
3445
58ce0cfc
EZ
34462013-10-19 Eli Zaretskii <eliz@gnu.org>
3447
3448 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3449 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3450 the problem whereby selecting a menu item that leads to a
3451 minibuffer prompt moves the cursor out of the minibuffer window,
3452 making it hard to type at the prompt. Suggested by Stefan Monnier
3453 <monnier@iro.umontreal.ca>.
3454
50e28e7d
JD
34552013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3456
3457 * menu-bar.el: Don't make Services menu.
3458
7deed4bf
RS
34592013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3460
3461 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3462 (ffap-alist): Use ffap-c++-mode for c++-mode.
3463 (ffap-c++-path): New variable.
3464 (ffap-c++-mode): New function.
3465
7bcb455b
JVJ
34662013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3467
3468 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3469
f0ff1cd5
MA
34702013-10-18 Michael Albinus <michael.albinus@gmx.de>
3471
3472 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3473 introduced on 2013-09-08, which results in an infinite loop
3474 requesting a password.
3475
d64da4b7
GM
34762013-10-18 Glenn Morris <rgm@gnu.org>
3477
3478 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3479
ea89ff08
WS
34802013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3481
3482 Sync with upstream verilog-mode revision 1a6ecec7.
3483 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3484 (verilog-mode-release-date): Remove.
3485 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3486 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3487 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3488 (verilog-auto-tieoff-ignore-regexp)
3489 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3490 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3491 (verilog-signals-with, verilog-dir-cache-preserving)
3492 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3493 Doc fixes.
3494 (verilog-case-fold): New option, to control case folding in
3495 regexp searches, bug597.
3496 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3497 (verilog-string-match-fold, verilog-in-paren-count)
3498 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3499 (verilog-at-close-struct-p): New functions.
3500 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3501 (verilog-forward-sexp, verilog-set-auto-endcomments):
3502 (verilog-leap-to-case-head): Handle "unique0" case.
3503 (verilog-in-constraint-re): New constant.
3504 (verilog-keywords, verilog-type-font-keywords):
3505 Add some SystemVerilog 1800-2012 keywords.
3506 (verilog-label-be): Remove unimplemented argument, bug669.
3507 (verilog-batch-execute-func): When batch expanding clear
3508 create-lockfiles to prevent spurious user locks when a file ends
3509 up not changing.
3510 (verilog-calculate-indent, verilog-calc-1)
3511 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3512 (verilog-do-indent): Fix indentation of nested constraints
3513 and structures.
3514 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3515 (verilog-auto-inst-param): Use verilog-string-match-fold.
3516 (verilog-read-inst-module-matcher):
3517 Fix AUTOINST on gate primitives with #1.
3518 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3519 Reads all user-defined typed variables.
3520 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3521 (verilog-signals-matching-regexp)
3522 (verilog-signals-not-matching-regexp, verilog-auto):
3523 Respect verilog-case-fold.
3524 (verilog-diff-report): Fix line count.
3525 (verilog-auto-assign-modport): Remove unused local `modi'.
3526 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3527 better handle multidimensional arrays.
3528 Fix packed array ports misadding bit index in AUTOINST, bug637.
3529 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3530 to not double-declare existing outputs and inputs, respectively.
3531 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3532 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3533 (verilog-sk-uvm-component): New skeleton.
3534 (verilog-submit-bug-report): Add verilog-case-fold,
3535 remove verilog-mode-release-date.
3536
ef566920
BR
35372013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3538
a12bf61e 3539 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3540 as before.
3541
29df8a0b
RT
35422013-10-18 Reuben Thomas <rrt@sc3d.org>
3543
e0eb0550 3544 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3545 remember buffers (bug#13566).
3546
04a19a79
DC
35472013-10-18 Daniel Colascione <dancol@dancol.org>
3548
3549 When evaluating forms in ielm, direct standard output to ielm
3550 buffer. Add new ielm-return-for-effect command. Remove trailing
3551 whitespace throughout.
3552
3553 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3554 (ielm-return-for-effect): New command.
3555 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3556 (ielm-eval-input): Accept optional `for-effect' parameter.
3557 Bind `standard-output' to stream we create using
04a19a79
DC
3558 `ielm-standard-output-impl'. Suppress printing result when
3559 `for-effect'.
3560 (ielm-standard-output-impl): New function.
3561 (inferior-emacs-lisp-mode): Explain new features in documentation.
3562
4c1f03ef
MA
35632013-10-17 Michael Albinus <michael.albinus@gmx.de>
3564
3565 Code cleanup.
3566
3567 * net/tramp.el (tramp-debug-message): Do not check for connection
3568 buffer.
3569 (tramp-message): Use "vector" connection property.
3570
3571 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3572 (tramp-equal-remote, tramp-eshell-directory-change)
3573 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3574 (tramp-adb-handle-rename-file)
3575 * net/tramp-cmds.el (tramp-list-remote-buffers)
3576 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3577 * net/tramp-compat.el (tramp-compat-process-running-p)
3578 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3579 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3580 (tramp-gvfs-handle-rename-file)
3581 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3582 (tramp-set-file-uid-gid)
3583 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3584 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3585 of `file-remote-p'.
3586
3587 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3588 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3589 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3590 (tramp-gw-open-network-stream): Suppress unrelated traces.
3591
3592 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3593 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3594 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3595 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3596 connection property.
3597
3598 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3599 persistency file.
4c1f03ef
MA
3600
3601 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3602 Refactor common code. Improve debug message.
3603 (tramp-maybe-open-connection)
3604 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3605 connection buffer too early.
3606
3607 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3608 from `tramp-smb-actions-with-acl'.
3609 (tramp-smb-actions-set-acl): New defconst.
3610 (tramp-smb-handle-copy-directory)
3611 (tramp-smb-action-get-acl): New defun, renamed from
3612 `tramp-smb-action-with-acl'.
3613 (tramp-smb-action-set-acl): New defun.
3614 (tramp-smb-handle-set-file-acl): Rewrite.
3615
642eb8b6
GM
36162013-10-17 Glenn Morris <rgm@gnu.org>
3617
3618 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3619
85527ff3
SM
36202013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3621
921c1d62
SM
3622 * skeleton.el (skeleton-newline): Remove.
3623 (skeleton-internal-1): Use (insert "\n") instead.
3624
e333fb10
SM
3625 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3626 let-bindings.
3627
85527ff3
SM
3628 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3629 forward-sexp-function while we redo its job (bug#15613).
3630
c8722a97
JB
36312013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3632
3633 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3634 represented by lists.
3635
7a550bbb
GM
36362013-10-16 Glenn Morris <rgm@gnu.org>
3637
3638 * tmm.el (tmm--history): New dynamic variable.
3639 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3640
f19da8ad
MA
36412013-10-16 Michael Albinus <michael.albinus@gmx.de>
3642
3643 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3644 (tramp-smb-errors): Add error messages.
3645 (tramp-smb-actions-with-acl): New defconst.
3646 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3647 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3648 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3649 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3650 (tramp-smb-get-stat-capability): Fix tests.
3651
a24b9961
DK
36522013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3653
3654 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3655 (bug#15580).
3656
62ad85e6
GM
36572013-10-16 Glenn Morris <rgm@gnu.org>
3658
0283d6b0
GM
3659 * ansi-color.el (ansi-color-drop-regexp):
3660 Add 1J, 1K, 2K. (Bug#15617)
3661
012e2f9f
GM
3662 * files.el (hack-local-variables--warned-lexical): New.
3663 (hack-local-variables):
3664 Warn about misplaced lexical-binding. (Bug#15616)
3665
62ad85e6
GM
3666 * net/eww.el (eww-render): Always set eww-current-url,
3667 and update header line. (Bug#15622)
3668 (eww-display-html): ... Rather than just doing it here.
3669
6456c0ea
EZ
36702013-10-15 Eli Zaretskii <eliz@gnu.org>
3671
3672 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3673 menu navigations commands.
3674
c2de5588
DK
36752013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3676
3677 * progmodes/subword.el (subword-capitalize): Be careful when
3678 the search for [[:alpha:]] fails (bug#15580).
3679
ccd4a783
EZ
36802013-10-14 Eli Zaretskii <eliz@gnu.org>
3681
3682 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3683 to commands that scroll the menu.
3684
1eda1d8d
DG
36852013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3686
c2de5588
DK
3687 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3688 Handle methods ending with `?' and `!'.
1eda1d8d 3689
e70181b8
AM
36902013-10-14 Akinori MUSHA <knu@iDaemons.org>
3691
3692 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3693 `japanese-cp932' to `cp932' to fix the problem where saving a
3694 source file written in Shift_JIS twice would end up having
3695 `coding: japanese-cp932' which Ruby could not recognize.
3696 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3697 in `ruby-encoding-map'.
3698 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3699 doesn't need to be explicitly declared in magic comment.
3700 (ruby-encoding-map): Add type declaration for better customize UI.
3701
9148ee92
GM
37022013-10-13 Glenn Morris <rgm@gnu.org>
3703
a5d38e34
GM
3704 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3705 Occur buffers are read-only. http://bugs.debian.org/720775
3706
9148ee92
GM
3707 * emacs-lisp/authors.el (authors-fixed-entries):
3708 Comment out old alpha stuff.
3709
a9ba094b
DG
37102013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3711
3712 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3713 to `after-save-hook' instead of `before-save-hook'.
3714 (ruby-mode-set-encoding): Use the value of coding system used to
3715 write the file. Call `basic-save-buffer-1' after modifying the
3716 buffer.
3717
7a068717
AM
37182013-10-13 Alan Mackenzie <acm@muc.de>
3719
3720 Fix indentation/fontification of Java enum with
3721 "implements"/generic.
3722
c2de5588
DK
3723 * progmodes/cc-engine.el (c-backward-over-enum-header):
3724 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3725 (c-inside-bracelist-p): Uses new function above.
3726 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3727 function above.
3728 (c-font-lock-enum-tail): Uses new function above.
3729
85b64f02
KH
37302013-10-13 Kenichi Handa <handa@gnu.org>
3731
3732 * international/mule-cmds.el (select-safe-coding-system): Remove a
3733 superfluous condition in chekcing whether a coding system is safe
3734 or not.
3735
fc7f501b
OK
37362013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3737
3738 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3739
fdcb2049
AP
37402013-10-13 Andreas Politz <politza@hochschule-trier.de>
3741
3742 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3743
8c106d17
GM
37442013-10-13 Glenn Morris <rgm@gnu.org>
3745
feab892d
GM
3746 * menu-bar.el (menu-bar-update-buffers):
3747 Unify Buffers menu prompt string. (Bug#15576)
3748
b22d0686
GM
3749 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3750
8c106d17
GM
3751 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3752 Add some entries.
3753 (authors-fixed-entries): Use accented form of name.
3754
1b12c797
SM
37552013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3756
650fa7bf 3757 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3758 method calls (bug#15594).
650fa7bf
SM
3759 (ruby-smie--args-separator-p): New function.
3760 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3761 recognize paren-free method calls.
3762
1b12c797
SM
3763 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3764 internals of universal-argument.
3765
029619c8
EZ
37662013-10-11 Eli Zaretskii <eliz@gnu.org>
3767
3768 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3769 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3770 dropped menu on second mouse click on the menu bar.
029619c8 3771
dd070019
SM
37722013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3775 (explicit-shell-file-name): Declare.
3776 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3777 (sh-completion-at-point-function): New function.
3778 (sh-mode): Use it.
3779 (sh-smie--keyword-p): Remove unused argument.
3780 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3781 vars.
3782 (sh-set-shell): Always setup SMIE, even if we use the
3783 old indentation code.
3784
0922b826
DG
37852013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3786
b68e2926
DG
3787 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3788 cases of ? and =.
3789 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3790 predicate would return nil are almost non-existent.
3791 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3792
0922b826
DG
3793 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3794 cache also after commands that modify the buffer but don't move
3795 point.
3796
ee041f2d
SM
37972013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * env.el (substitute-env-in-file-name): New function.
3800 (substitute-env-vars): Extend the meaning of the optional arg.
3801
a5dab159
EZ
38022013-10-10 Eli Zaretskii <eliz@gnu.org>
3803
3804 * term/w32-win.el (dynamic-library-alist): Define separate lists
3805 of GIF DLLs for versions before and after 5.0.0 of giflib.
3806 (Bug#15531)
3807
0449d6cd 38082013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3809
3810 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3811 not locked, use last revision and current source as
3812 defaults. (Bug#15569)
3813
2f6e161e
MY
38142013-10-10 Masatake YAMATO <yamato@redhat.com>
3815
3816 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3817 menu-bar is hidden.
3818
6c8413fc
MR
38192013-10-10 Martin Rudalics <rudalics@gmx.at>
3820
3821 * window.el (pop-to-buffer-same-window): Fix doc-string.
3822 (Bug#15492)
3823
20832de0
SM
38242013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3827
c6e8ae77
AC
38282013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3829
3830 * calendar/icalendar.el (icalendar-import-file):
3831 Fix interactive spec. (Bug#15482)
3832
9db13baf
GM
38332013-10-10 Glenn Morris <rgm@gnu.org>
3834
9271e90e
GM
3835 * desktop.el (desktop-save): Default to saving in .emacs.d,
3836 since PWD is no longer in desktop-path by default. (Bug#15319)
3837
9db13baf
GM
3838 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3839 now that text mode has a menu with the same entry.
3840 (menu-bar-text-mode-auto-fill): Remove now unused func.
3841 * textmodes/text-mode.el (text-mode-map):
3842 Use auto-fill help text from menu-bar.el.
3843
a0be396a 38442013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3845
3846 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3847
2edcd3c7
JL
38482013-10-09 Juri Linkov <juri@jurta.org>
3849
3850 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3851 instead of this-command-keys. Add universal-argument-more and
3852 universal-argument-minus to the list of prefix commands. (Bug#15568)
3853
574411d0
GM
38542013-10-09 Glenn Morris <rgm@gnu.org>
3855
14afa541
GM
3856 * vc/vc-svn.el (vc-svn-create-repo):
3857 Expand paths in file://... url. (Bug#15446)
3858
574411d0
GM
3859 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3860 Add some entries.
3861 (authors): Remove unused local variables.
3862
79804536
SM
38632013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * profiler.el: Create a more coherent calltree from partial backtraces.
3866 (profiler-format): Hide the tail with `invisible' so that C-s can still
3867 find the hidden elements.
3868 (profiler-calltree-depth): Don't recurse so enthusiastically.
3869 (profiler-function-equal): New hash-table-test.
3870 (profiler-calltree-build-unified): New function.
3871 (profiler-calltree-build): Use it.
3872 (profiler-report-make-name-part): Indent the calltree less.
3873 (profiler-report-mode): Add visibility specs for profiler-format.
3874 (profiler-report-expand-entry, profiler-report-toggle-entry):
3875 Expand the whole subtree when provided with a prefix arg.
3876
238150c8
DG
38772013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3878
3879 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3880 iuwu-mod token.
3881 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3882 hanging iuwu-mod token.
3883 (ruby-smie--forward-token): Do not include a dot after a token in
3884 that token.
3885 (ruby-smie--backward-token): Likewise.
3886
b0949cc4
JL
38872013-10-08 Juri Linkov <juri@jurta.org>
3888
3889 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3890 to isearch-other-control-char.
3891 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3892 and isearch-post-command-hook to post-command-hook.
3893 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3894 and isearch-post-command-hook from post-command-hook.
3895 (isearch-unread-key-sequence)
3896 (isearch-reread-key-sequence-naturally)
3897 (isearch-lookup-scroll-key, isearch-other-control-char)
3898 (isearch-other-meta-char): Remove functions.
3899 (isearch-pre-command-hook, isearch-post-command-hook):
3900 New functions based on isearch-other-meta-char rewritten
3901 relying on the new behavior of overriding-terminal-local-map
3902 that does not replace the local keymaps any more. (Bug#15200)
3903
4ed77415
EZ
39042013-10-08 Eli Zaretskii <eliz@gnu.org>
3905
3906 Support menus on text-mode terminals.
3907 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3908 functionality.
3909
3910 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3911
c2de5588
DK
3912 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3913 Move here from mouse.el.
4ed77415
EZ
3914 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3915 and arrow keys.
3916 (tty-menu-navigation-map): New map for TTY menu navigation.
3917
3918 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3919
3920 * frame.el (display-mouse-p): Report text-mode mouse as available
3921 on w32.
3922 (display-popup-menus-p): Report availability if mouse is
3923 available; don't condition on window-system.
3924
3925 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3926 (tty-menu-selected-face): New faces.
3927
b7d5bd82
TL
39282013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3929
06286513
SM
3930 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3931 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3932 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3933 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3934 New constants.
3935 (lisp-mode-variables): New `elisp' argument.
3936 (emacs-lisp-mode): Use it.
3937 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3938 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3939
b7d5bd82
TL
3940 * indent.el: Use lexical-binding.
3941 (indent-region): Add progress reporter.
3942 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3943 last step.
3944 (indent--next-tab-stop): New function to implement this behavior.
3945 (tab-to-tab-stop, move-to-tab-stop): Use it.
3946
39472013-10-08 Teemu Likonen <tlikonen@iki.fi>
3948
3949 * indent.el (indent-rigidly--current-indentation): New function.
3950 (indent-rigidly-map): New var.
3951 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3952
5ea75d23
BG
39532013-10-08 Bastien Guerry <bzg@gnu.org>
3954
3955 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3956
cc5da1ec
SM
39572013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3958
8ffa1a0b
SM
3959 * progmodes/perl-mode.el: Use lexical-binding.
3960 Remove redundant :group args.
3961 (perl-nochange): Change default to be closer to other major modes's
3962 standard behavior.
3963 (perl-indent-line): Don't consider text on current line as a
3964 valid beginning of function from which to indent.
3965
f2223371
SM
3966 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3967 with more than one argument (bug#15538).
3968
44256060
SM
3969 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3970
cc5da1ec
SM
3971 * vc/pcvs.el: Use lexical-binding.
3972 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3973 environment of `eval'.
3974 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3975 than a list of expressions. Adjust callers.
3976 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3977
0ea1599d
DG
39782013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3979
3980 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3981 case of the dot in a chained method call being on the following line.
0ea1599d 3982
da3e5ebb
SM
39832013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3984
2abb4e65
SM
3985 * electric.el (electric-indent-inhibit): New var.
3986 (electric-indent-post-self-insert-function): Use it.
3987 * progmodes/python.el (python-mode): Set it.
3988
d2e0e795
SM
3989 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3990 open braces.
3991
3992 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3993
bdc6b4c8
SM
3994 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3995 (css-mode): Use electric-indent-chars.
3996
da3e5ebb
SM
3997 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3998 (font-lock-beg, font-lock-end): Move before first use.
3999 (nxml-mode): Use syntax-propertize-function.
4000 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4001 (nxml-extend-after-change-region): Remove.
4002 * nxml/xmltok.el: Use lexical-binding.
4003 (xmltok-save): Use `declare'.
4004 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4005 * nxml/nxml-util.el: Use lexical-binding.
4006 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4007 Use `declare'.
4008 * nxml/nxml-ns.el: Use lexical-binding.
4009 (nxml-ns-save): Use `declare'.
4010 (nxml-ns-prefixes-for): Avoid add-to-list.
4011 * nxml/rng-match.el: Use lexical-binding.
4012 (rng--ipattern): Use cl-defstruct.
4013 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4014 (rng-cons-group-after, rng-subst-group-after)
4015 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4016 Use closures instead of `(lambda...).
4017
f8f91d5d
MA
40182013-10-07 Michael Albinus <michael.albinus@gmx.de>
4019
4020 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4021 of BEG and END.
4022
da3e5ebb
SM
4023 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4024 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4025 (tramp-gvfs-handle-insert-file-contents): Remove function.
4026
da3e5ebb
SM
4027 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4028 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4029
4030 * net/trampver.el: Update release number.
4031
7ccae3b1
SM
40322013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4033
55ca2c0d
SM
4034 * progmodes/compile.el (compilation-parse-errors):
4035 Use compilation--put-prop.
4036 (compilation--ensure-parse): Check compilation-multiline.
4037
731fc3ae
SM
4038 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4039
da3e5ebb
SM
4040 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4041 lexical-binding.
a5833280 4042
2e7ba2c2
SM
4043 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4044
7ccae3b1
SM
4045 * progmodes/ruby-mode.el: Fix recently added tests.
4046 (ruby-smie-grammar): Add - and +.
4047 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4048 (ruby-smie--backward-id): New functions.
4049 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4050 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4051 any more.
4052
85698d63
LL
40532013-10-07 Leo Liu <sdl.web@gmail.com>
4054
4055 * register.el (register-preview-delay)
4056 (register-preview-functions): New variables.
4057 (register-read-with-preview, register-preview)
4058 (register-describe-oneline): New functions.
4059 (point-to-register, window-configuration-to-register)
4060 (frame-configuration-to-register, jump-to-register)
4061 (number-to-register, view-register, insert-register)
4062 (copy-to-register, append-to-register, prepend-to-register)
4063 (copy-rectangle-to-register): Use register-read-with-preview to
4064 read register. (Bug#15525)
4065
3986af6c
DS
40662013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4067
4068 * net/network-stream.el (network-stream-open-starttls): Don't add
4069 --insecure if it's already present, because that gnutls-cli
4070 rejects getting that parameter twice.
4071
5cd9cda9
DG
40722013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4073
4074 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4075 keyword, too.
4076
da9ea6d9
DG
40772013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4078
4079 * newcomment.el (comment-use-global-state): Change default value
4080 to t, mark obsolete (Bug#15251).
4081 (comment-beginning): In addition to `comment-to-syntax', check the
4082 value of `comment-use-global-state'.
4083
34d1a133
SM
40842013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4087 (ruby-comment-column): Follow the global default, by default.
4088 (ruby-smie-grammar): Add assignment syntax.
4089 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4090 open-paren, a comma, or a \.
4091 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4092 and line continuations.
4093 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4094 followed by implicit semi-colons. Add rule for string concatenation
4095 and for indentation at BOB.
4096 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4097
4098 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4099 calling next-sexp, since next-token may have skipped chars which
4100 next-sexp doesn't know should be skipped!
4101
6f6ab820
LL
41022013-10-05 Leo Liu <sdl.web@gmail.com>
4103
34d1a133
SM
4104 * progmodes/octave.el (octave-send-region):
4105 Call compilation-forget-errors.
6f6ab820 4106
34ca0f4c
XF
41072013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4108
4109 * vc/vc-svn.el (vc-svn-find-admin-dir):
4110 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4111 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4112 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4113 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4114
a27c1b72
SM
41152013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4118
258ab3bc
SM
41192013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * subr.el (read-passwd): Hide chars even when called within a context
4122 where after-change-functions is disabled (bug#15501).
4123 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4124 until we removed ourself from overriding-terminal-local-map.
4125
939fb29c
LL
41262013-10-04 Leo Liu <sdl.web@gmail.com>
4127
258ab3bc
SM
4128 * progmodes/octave.el (inferior-octave-mode):
4129 Call compilation-forget-errors.
939fb29c 4130
63bd7f35
XF
41312013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4132
4133 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4134
9e6229fa
MA
41352013-10-04 Michael Albinus <michael.albinus@gmx.de>
4136
4137 * net/secrets.el (secrets-create-collection): Add optional
4138 argument ALIAS. Use proper Label keyword. Append ALIAS as
4139 dbus-call-method argument. (Bug#15516)
4140
1dab32a3
LL
41412013-10-04 Leo Liu <sdl.web@gmail.com>
4142
4143 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4144 (inferior-octave-compilation-font-lock-keywords): New variables.
4145 (compilation-error-regexp-alist)
4146 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4147 (inferior-octave-mode): Use compilation-shell-minor-mode.
4148
6cad7ba3
JS
41492013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4150
4151 * minibuffer.el (completion--replace): Be careful that `end' might be
4152 a marker.
4153
acbadd00
DU
41542013-10-03 Daiki Ueno <ueno@gnu.org>
4155
4156 Add support for package signature checking.
4157 * emacs-lisp/package.el (url-http-file-exists-p)
4158 (epg-make-context, epg-context-set-home-directory)
4159 (epg-verify-string, epg-context-result-for)
4160 (epg-signature-status, epg-signature-to-string)
4161 (epg-check-configuration, epg-configuration)
4162 (epg-import-keys-from-file): Declare.
4163 (package-check-signature): New user option.
4164 (package-unsigned-archives): New user option.
4165 (package-desc): Add `signed' field.
4166 (package-load-descriptor): Set `signed' field if .signed file exists.
4167 (package--archive-file-exists-p): New function.
4168 (package--check-signature): New function.
4169 (package-install-from-archive): Check package signature.
4170 (package--download-one-archive): Check archive signature.
4171 (package-delete): Remove .signed file.
4172 (package-import-keyring): New command.
4173 (package-refresh-contents): Import default keyring.
4174 (package-desc-status): Add "unsigned" status.
4175 (describe-package-1, package-menu--print-info)
4176 (package-menu-mark-delete, package-menu--find-upgrades)
4177 (package-menu--status-predicate): Support "unsigned" status.
4178
adf2aa61
SM
41792013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4182 the new compilation scheme using the new byte-codes.
4183
4184 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4185 (byte-pophandler): New byte codes.
4186 (byte-goto-ops): Adjust accordingly.
4187 (byte-compile--use-old-handlers): New var.
4188 (byte-compile-catch): Use new byte codes depending on
4189 byte-compile--use-old-handlers.
4190 (byte-compile-condition-case--old): Rename from
4191 byte-compile-condition-case.
4192 (byte-compile-condition-case--new): New function.
4193 (byte-compile-condition-case): New function that dispatches depending
4194 on byte-compile--use-old-handlers.
4195 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4196 when we can.
4197
4198 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4199 Optimize under `condition-case' and `catch' if
4200 byte-compile--use-old-handlers is nil.
4201 (disassemble-offset): Handle new bytecodes.
4202
328a8179
SM
42032013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * subr.el (error): Use `declare'.
4206 (decode-char, encode-char): Use advertised-calling-convention instead
4207 of the docstring to discourage use of the `restriction' arg.
4208
15a1e936
DU
42092013-10-03 Daiki Ueno <ueno@gnu.org>
4210
4211 * epg.el (epg-verify-file): Add a comment saying that it does not
4212 notify verification error as a return value nor a signal.
4213 (epg-verify-string): Ditto.
4214
376f862a
KR
42152013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4216
4217 * progmodes/compile.el (compilation-start): Try globbing the arg to
4218 `cd' (bug#15417).
4219
a2f93a5f
MA
42202013-10-02 Michael Albinus <michael.albinus@gmx.de>
4221
4222 Sync with Tramp 2.2.8.
4223
4224 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4225 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4226 * net/trampver.el: Update release number.
4227
0daa0804
JD
42282013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4229
4230 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4231 and default-process-coding-system for darwin only.
4232
abd1ae34
SM
42332013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4236
be4e325d
MH
42372013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4238
4239 * vc/vc-git.el (vc-git-grep): Disable pager.
4240
e9155c4a
DG
42412013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4242
494e898b
DG
4243 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4244 Use :url instead of :homepage, as per
4245 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4246
e9155c4a
DG
4247 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4248 non-nil, use `syntax-ppss' (Bug#15251).
4249
481a8e0f
RS
42502013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4251
be4e325d
MH
4252 * progmodes/octave.el (inferior-octave-startup-file):
4253 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4254
056453c6
DG
42552013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4256
be4e325d
MH
4257 * emacs-lisp/package.el (package-desc-from-define):
4258 Accept additional arguments as plist, convert them to an alist and store
4259 them in the `extras' slot.
056453c6
DG
4260 (package-generate-description-file): Convert extras alist back to
4261 plist and append to the `define-package' form arguments.
4262 (package--alist-to-plist): New function.
4263 (package--ac-desc): Add `extras' slot.
4264 (package--add-to-archive-contents): Check if the archive-contents
4265 vector is long enough, and if it is, pass its `extras' slot value
4266 to `package-desc-create'.
4267 (package-buffer-info): Call `lm-homepage', pass the returned value
4268 to `package-desc-from-define'.
4269 (describe-package-1): Render the homepage button (Bug#13291).
4270
be4e325d
MH
4271 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4272 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4273
832966e5
JD
42742013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4275
4276 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4277 and default-process-coding-system to utf-8-unix (Bug#15402).
4278
6cfe977d
XF
42792013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4280
4281 * subr.el (looking-back): Do not recommend using looking-back.
4282
38de11bd
AM
42832013-09-28 Alan Mackenzie <acm@muc.de>
4284
4285 Fix indentation/fontification of Java enum with "implements".
4286
4287 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4288 regexp which matches "implements", etc., in Java.
4289 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4290 specifier clauses coming after "enum".
4291 * progmodes/cc-fonts.el (c-font-lock-declarations)
4292 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4293 after "enum".
4294
1610938f
JD
42952013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4296
4297 * faces.el (region): Change ns_selection_color to
4298 ns_selection_fg_color, add ns_selection_bg_color.
4299
e090f499
LL
43002013-09-28 Leo Liu <sdl.web@gmail.com>
4301
4d2e94d1
LL
4302 * progmodes/octave.el (inferior-octave-completion-table)
4303 (inferior-octave-completion-at-point): Minor tweaks.
4304
e090f499
LL
4305 * textmodes/ispell.el (ispell-lookup-words): Rename from
4306 lookup-words. (Bug#15460)
4307 (lookup-words): Obsolete.
4308 (ispell-complete-word, ispell-command-loop): All uses changed.
4309
7e138a62
RS
43102013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4311
a12bf61e 4312 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4313 (octave-mode-menu): Add octave-send-buffer.
4314 (octave-send-buffer): New function.
4315
5af5ed08
RS
43162013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4317
a12bf61e 4318 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4319 octave-lookfor.
4320 (octave-mode-menu): Add octave-lookfor.
4321 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4322 octave-lookfor.
4323 (octave-lookfor): New function.
4324
3b7b2692
SM
43252013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/cl-macs.el:
4328 (cl--loop-destr-temps): Remove.
4329 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4330 its convention.
4331 (cl--loop-set-iterator-function): New function.
4332 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4333 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4334 Bind `it' with `let' instead of substituting it with `cl-subst'.
4335 (cl--unused-var-p): New function.
4336 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4337 Eliminate some unused variable warnings (bug#15326).
4338
529fb53f
TH
43392013-09-27 Tassilo Horn <tsdh@gnu.org>
4340
4341 * doc-view.el (doc-view-scale-reset): Rename from
4342 `doc-view-reset-zoom-level'.
4343 (doc-view-scale-adjust): New command.
4344 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4345 `doc-view-scale-adjust'.
4346
0550c95a
TH
43472013-09-26 Tassilo Horn <tsdh@gnu.org>
4348
4349 * doc-view.el (doc-view-reset-zoom-level): New command.
4350 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4351 zoom commands (bug#15466).
4352
6950f152
KH
43532013-09-26 Kenichi Handa <handa@gnu.org>
4354
4355 * international/quail.el (quail-help): Make it not a command.
4356
39587580
LL
43572013-09-26 Leo Liu <sdl.web@gmail.com>
4358
4359 * minibuffer.el (completion-all-sorted-completions): Make args
4360 optional as they are.
4361
00578659
DC
43622013-09-25 Daniel Colascione <dancol@dancol.org>
4363
4364 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4365 specs are and that they're not evaluated.
4366
0c173878
SS
43672013-09-24 Sam Steingold <sds@gnu.org>
4368
4369 * midnight.el (clean-buffer-list-kill-regexps)
4370 (clean-buffer-list-kill-buffer-names): Update for the new Man
4371 buffer naming which includes the object name.
4372
84998447
SM
43732013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4376 (eshell-parse-command, eshell-parse-pipeline): Use it since
4377 eshell-separate-commands requires a dynamic scoped var.
4378 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4379
33215353
LL
43802013-09-23 Leo Liu <sdl.web@gmail.com>
4381
4382 * autoinsert.el (auto-insert-alist): Make the value of
4383 lexical-binding match its file setting.
4384
57b16162
JB
43852013-09-23 Juanma Barranquero <lekktu@gmail.com>
4386
c8af4e67
JB
4387 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4388
57b16162
JB
4389 * autoarg.el (autoarg-kp-digit-argument):
4390 * electric.el (Electric-command-loop):
4391 * kmacro.el (kmacro-step-edit-insert):
4392 Do not set universal-argument-num-events.
4393
7186ba60
LL
43942013-09-22 Leo Liu <sdl.web@gmail.com>
4395
4396 * files.el (interpreter-mode-alist): Add octave.
4397
ece15004
AM
43982013-09-21 Alan Mackenzie <acm@muc.de>
4399
4400 C++: fontify identifier in declaration following "public:" correctly.
4401 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4402 to match "public", etc.
4403 (c-decl-prefix-re): Add ":" into the C++ value.
4404 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4405 bit. Add a check for a ":" preceded by "public", etc.
4406
75d83e22
EZ
44072013-09-21 Eli Zaretskii <eliz@gnu.org>
4408
4409 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4410 recognized by GDB 7.5 and later.
4411
d052d3bd
XF
44122013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4413
4414 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4415
31dca772
R
44162013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * subr.el (internal--call-interactively): New const.
4419 (called-interactively-p): Use it (bug#3984).
4420
98ccf24e
XF
44212013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4422
4423 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4424 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4425 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4426
c39cc7d1
SM
44272013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4430 (eshell-ls-orig-insert-directory): Remove.
4431 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4432 (eshell-ls-use-in-dired): Use advice-add/remove.
4433 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4434 Add `orig-fun' arg for use in :around advice.
4435 Make it check (redundantly) eshell-ls-use-in-dired.
4436
9a0289a2
GM
44372013-09-19 Glenn Morris <rgm@gnu.org>
4438
a2c501b8
GM
4439 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4440
c440407a
GM
4441 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4442
9a0289a2
GM
4443 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4444
85e05915
MA
44452013-09-19 Michael Albinus <michael.albinus@gmx.de>
4446
4447 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4448 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4449 (tramp-get-remote-python): New defuns.
4450 (tramp-get-remote-uid-with-perl)
4451 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4452 contributed by yary <not.com@gmail.com> (tiny change).
4453 (tramp-get-remote-uid-with-python)
4454 (tramp-get-remote-gid-with-python): New defuns. Python code
4455 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4456 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4457
ce503312
GM
44582013-09-19 Glenn Morris <rgm@gnu.org>
4459
f7544773
GM
4460 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4461
72fd2877
GM
4462 * eshell/em-unix.el (eshell-remove-entries):
4463 Rename argument to avoid name-clash with global `top-level'.
4464
336b5a56
GM
4465 * eshell/esh-proc.el (eshell-kill-process-function):
4466 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4467 (eshell-reset-after-proc): Remove unused arg `proc'.
4468
57a3a53d
GM
4469 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4470 (directory-files-and-attributes): Mark unused arg.
4471
3261d4af
GM
4472 * eshell/em-unix.el (eshell-remove-entries):
4473 Remove unused arg `path'. Update callers.
4474
8e51b5d0
GM
4475 * eshell/em-hist.el (eshell-hist-parse-arguments):
4476 Remove unused arg `silent'. Update callers.
4477
ce503312
GM
4478 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4479 Fix (f)boundp mix-up.
4480
4481 * eshell/em-smart.el (eshell-smart-scroll-window)
4482 (eshell-disable-after-change):
336b5a56 4483 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4484
ee3ce8a7
AM
44852013-09-18 Alan Mackenzie <acm@muc.de>
4486
4487 Fix fontification of type when followed by "const".
4488 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4489 "known" types from fontification.
4490
ec9177ba
GM
44912013-09-18 Glenn Morris <rgm@gnu.org>
4492
7bb3e768
GM
4493 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4494 (chart-face-list): Drop Emacsen without display-color-p.
4495
5148da15
GM
4496 * net/eww.el (libxml-parse-html-region): Declare.
4497 (eww-display-html): Explicit error if no libxml2 support.
4498
2f68e157
GM
4499 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4500
9019d095
GM
4501 * image.el (image-type-from-buffer, image-multi-frame-p):
4502 Remove --without-x warning/error.
67645389 4503
5f30349b 4504 * mouse.el (mouse-yank-primary):
45069b2e 4505 * term.el (term-mouse-paste):
5f30349b
GM
4506 Reorder to silence --without-x compilation.
4507
cd8edbbe
GM
4508 * mpc.el (doc-view-mode): Silence --without-x compilation.
4509
8a78544e
GM
4510 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4511 Silence --without-x compilation.
4512
12679bfd
GM
4513 * progmodes/gud.el (gud-find-file, gud-mode):
4514 Silence --without-x compilation.
4515 (tooltip-mode): Declare.
30810a05 4516
f0047cb9
GM
4517 * wdired.el (dired-backup-overwrite): Remove declaration.
4518 (wdired-mode-map): Add doc string.
4519
e740f9d2
GM
4520 * custom.el (x-get-resource): Declare.
4521
92d77c89
GM
4522 * eshell/em-glob.el (ange-cache):
4523 * eshell/em-unix.el (ange-cache): Declare.
4524
76e69577
GM
4525 * faces.el (x-display-list, x-open-connection, x-get-resource):
4526 Declare.
7e58af4b
GM
4527
4528 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4529 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4530 Declare.
76e69577 4531
4bd4c0af 4532 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4533
ffb82dbd
GM
4534 * net/gnutls.el (gnutls-log-level): Declare.
4535
986ed135
GM
4536 * net/shr.el (image-size, image-animate): Declare.
4537
e740f9d2
GM
4538 * simple.el (font-info): Declare.
4539
d2f3e9f8
GM
4540 * subr.el (x-popup-dialog): Declare.
4541
047a1a4c
GM
4542 * term/common-win.el (x-select-enable-primary)
4543 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4544 Declare.
4545
f4a1d572
GM
4546 * term/ns-win.el (x-handle-args): Declare.
4547
e843de77
GM
4548 * term/x-win.el (x-select-enable-clipboard): Declare.
4549
5fa89513
GM
4550 * term/w32-win.el (create-default-fontset): Declare.
4551
38702b5b
GM
4552 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4553 Declare.
4554
e740f9d2
GM
4555 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4556 (fit-frame-to-buffer): Explicit error if --without-x.
4557 (mouse-autoselect-window-select): Silence compiler.
4558
49a053fc
GM
4559 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4560
4561 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4562 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4563 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4564 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4565 Remove unused local variables.
4566
4567 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4568
ec9177ba
GM
4569 * textmodes/two-column.el: Make 2C-split work for --without-x.
4570 (scroll-bar-columns): Autoload.
4571 (top-level): Require fringe when compiling.
4572
9f25cb77
LL
45732013-09-18 Leo Liu <sdl.web@gmail.com>
4574
4575 * subr.el (add-hook): Robustify to handle closure as well.
4576
2b42da98
GM
45772013-09-17 Glenn Morris <rgm@gnu.org>
4578
4579 * simple.el (messages-buffer-mode-map): Unbind "g".
4580
e8b66a6a
SM
45812013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4582
9c0ad4f7
SM
4583 * help-mode.el (help-mode-finish): Use derived-mode-p.
4584 Remove obsolete highlighting.
4585
7a806dfb
SM
4586 * play/life.el (life-mode): Use define-derived-mode. Derive from
4587 special-mode.
4588 (life): Let-bind inhibit-read-only.
4589 (life-setup): Avoid `setq'. Use `life-mode'.
4590
96dbf5a8
SM
4591 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4592 which should not be needed any more.
4593 (package-menu-refresh, package-menu-describe-package): Use user-error.
4594
e8b66a6a
SM
4595 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4596 (eshell-post-rewrite-command-hook): Make obsolete.
4597 (eshell-parse-command): Simplify.
4598 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4599 (eshell--cmd): Declare.
4600 (eshell-parse-pipeline): Remove unused var `final-p'.
4601 Pass a dynvar to eshell-post-rewrite-command-hook.
4602 Implement the new eshell-post-rewrite-command-function.
4603 (eshell-invoke-directly): Remove unused arg `input'.
4604 * eshell/esh-io.el (eshell-io-initialize):
4605 Use eshell-post-rewrite-command-function (bug#15399).
4606 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4607 adjust to new calling convention.
4608 (eshell-create-handles): Rename args to avoid clashing with dynvar
4609 `standard-output'.
4610
90582f05
GM
46112013-09-17 Glenn Morris <rgm@gnu.org>
4612
4613 * simple.el (messages-buffer-mode): New major mode.
4614 (messages-buffer): New function.
4615 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4616 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4617 (ert-run-test): Use `messages-buffer' function.
90582f05 4618 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4619 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4620 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4621
39eb0cb5 46222013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4623
4624 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4625
1d42e5b6 4626 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4627
70568a90
SM
46282013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4629
504a0381
SM
4630 * icomplete.el (icomplete-in-buffer): New var.
4631 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4632 vars and replace them with functions.
4633 (icomplete-minibuffer-setup): Adjust accordingly.
4634 (icomplete--completion-table, icomplete--completion-predicate)
4635 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4636 New functions.
4637 (icomplete-forward-completions, icomplete-backward-completions)
4638 (icomplete-simple-completing-p, icomplete-exhibit)
4639 (icomplete-completions): Use them.
4640 (icomplete--in-region-buffer): New var.
4641 (icomplete--in-region-setup): New function.
4642 (icomplete-mode): Use it.
4643
70568a90
SM
4644 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4645 (bug#15379).
4646 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4647 return args and options.
4648 (eshell-eval-using-options): Use the new return value of
4649 eshell--do-opts to set the options's vars in their scope.
4650 (eshell--set-option): Rename from eshell-set-option.
4651 Add arg `opt-vals'.
4652 (eshell--process-option): Rename from eshell-process-option.
4653 Add arg `opt-vals'.
4654 (eshell--process-args): Use an `opt-vals' alist to store the options's
4655 values during their processing and return them additionally to the
4656 remaining args.
4657
578c21bc
DG
46582013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4659
4660 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4661 continuation character an operator, as far as indentation is
4662 concerned (Bug#15369).
4663
c089653d
MR
46642013-09-15 Martin Rudalics <rudalics@gmx.at>
4665
4666 * window.el (window--state-put-2): Don't process buffer state
4667 when buffer doesn't exist any more (Bug#15382).
4668
1e53bb4b
GM
46692013-09-15 Glenn Morris <rgm@gnu.org>
4670
30753242
GM
4671 * eshell/em-unix.el (eshell/rm):
4672 Make -f ignore missing files. (Bug#15373)
4673
1e53bb4b
GM
4674 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4675 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4676 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4677
0d8863b3
GM
46782013-09-14 Glenn Morris <rgm@gnu.org>
4679
4680 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4681
d3fc6549
GM
46822013-09-13 Glenn Morris <rgm@gnu.org>
4683
4684 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4685 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4686
fcd42c11
DA
46872013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4688
4689 * frame.el (x-focus-frame): Mark as declared in frame.c.
4690
7830899f
SM
46912013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * ls-lisp.el: Use advice-add.
4694 (original-insert-directory): Remove.
4695 (ls-lisp--insert-directory): Rename from insert-directory; add
4696 `orig-fun' argument.
4697 (insert-directory): Advise.
4698
84387cd2
EZ
46992013-09-13 Eli Zaretskii <eliz@gnu.org>
4700
4701 * term.el (term-emulate-terminal): Decode the command string
4702 before passing it to term-command-hook. (Bug#15337)
4703
35ffc6ba
GM
47042013-09-13 Glenn Morris <rgm@gnu.org>
4705
5c3f9bcc
GM
4706 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4707
2ada368a
GM
4708 * eshell/esh-ext.el (eshell-search-path): Declare.
4709
fcef2e13
GM
4710 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4711 Otherwise an error occurs if eshell-dirs module not loaded.
4712
35ffc6ba
GM
4713 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4714
35c3d36e
MA
47152013-09-13 Michael Albinus <michael.albinus@gmx.de>
4716
4717 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4718 `tramp-check-proper-host'. Check for a valid method name.
4719
4720 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4721 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4722 * net/tramp-sh.el (tramp-maybe-open-connection):
4723 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4724
4725 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4726 also for hash values.
4727
ae5e4c48
SM
47282013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4729
379add74
SM
4730 * term/ns-win.el (parameters): Don't declare as dynamic.
4731 (before-make-frame-hook): Don't add ineffective function.
4732
ae5e4c48
SM
4733 * eshell/*.el: Use lexical-binding (bug#15231).
4734
b5623270
KH
47352013-09-12 Kenichi Handa <handa@gnu.org>
4736
ae5e4c48 4737 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4738
30213927
GM
47392013-09-12 Glenn Morris <rgm@gnu.org>
4740
be94d713 4741 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4742 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4743
44915370
GM
4744 * subr.el (do-after-load-evaluation): Also give compiler warnings
4745 when obsolete files are used (except by obsolete files).
4746
a6ae021f
GM
4747 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4748 in the status output, assume `filename' is the first. (Bug#15322)
4749
40e64f0c
GM
4750 * vc/vc.el (vc-deduce-fileset): Doc fix.
4751
16d9f896
GM
4752 * calc/calc-help.el (Info-goto-node):
4753 * progmodes/cperl-mode.el (Info-find-node):
4754 * vc/ediff.el (Info-goto-node): Update declarations.
4755
dea01c6e
GM
4756 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4757
759880bf 4758 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4759 (vc-bzr-pull): Require vc-dispatcher.
4760 * vc/vc-git.el (vc-compilation-mode): Declare.
4761 (vc-git-pull): Require vc-dispatcher.
4762
08d66420
GM
4763 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4764
30b626e9
GM
4765 * progmodes/octave.el (help-button-action): Declare.
4766
8c05cb10
GM
4767 * shell.el (shell-directory-tracker): Output error as a message
4768 rather than just returning it as a string.
4769 (shell-process-pushd): Remove useless use of message.
4770
30213927
GM
4771 * dframe.el (dframe-timer-fn):
4772 * files.el (dir-locals-read-from-file):
4773 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4774 (mpc-format):
4775 * reveal.el (reveal-post-command):
4776 * saveplace.el (load-save-place-alist-from-file):
4777 * shell.el (shell-resync-dirs):
4778 * w32-common-fns.el (x-get-selection-value):
4779 * emacs-lisp/copyright.el (copyright-find-copyright):
4780 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4781 * emulation/tpu-edt.el (tpu-copy-keyfile):
4782 * play/bubbles.el (bubbles--mark-neighbourhood):
4783 * progmodes/executable.el
4784 (executable-make-buffer-file-executable-if-script-p):
4785 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4786
d3b049e6
SM
47872013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4788
170266d0
SM
4789 Cleanup Eshell to rely less on dynamic scoping.
4790 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4791 last-value, and ext-command here. Bind `args' closer to `body'.
4792 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4793 (eshell--args): Declare new dynamic var.
4794 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4795 last-value, and ext-command. Pass `args' to `body'.
4796 (eshell-process-args): Bind eshell--args.
4797 (eshell-set-option): Use eshell--args.
4798 * eshell/eshell.el (eshell): Use derived-mode-p.
4799 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4800 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4801 (eshell-glob-function): Declare.
4802 * eshell/esh-util.el: Require cl-lib.
4803 (eshell-read-hosts-file): Avoid add-to-list.
4804 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4805 `err'.
4806 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4807 Declare.
4808 (eshell/diff): Remove unused var `err'.
4809 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4810 `killflag'.
4811 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4812 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4813 first use.
4814 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4815 Move declaration before first use.
4816 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4817 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4818 rely on cl-return.
4819
56834f3b
GM
48202013-09-12 Glenn Morris <rgm@gnu.org>
4821
4822 * term/ns-win.el (global-map): Remove binding for ispell-next,
4823 deleted 1999-05-29. (Bug#15357)
4824
5c91a2b8
GM
48252013-09-11 Glenn Morris <rgm@gnu.org>
4826
da712f22
GM
4827 * echistory.el (electric-command-history): Remove call to deleted func.
4828
512e4cdc
GM
4829 * play/landmark.el (landmark-mode): Fix typos.
4830
d3506ca5
GM
4831 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4832 Check cvs-sort-ignore-file is bound.
4833
5c91a2b8
GM
4834 * savehist.el: No need for cl when compiling on Emacs.
4835
feeff482
SM
48362013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4837
656bd483
SM
4838 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4839 (bug#15338).
d3b049e6
SM
4840 (eshell-self-insert-command, eshell-send-invisible):
4841 Remove unused argument.
656bd483
SM
4842 (eshell-handle-control-codes): Remove unused var `orig'.
4843 Avoid delete-backward-char.
4844
feeff482
SM
4845 * files.el (set-auto-mode): Simplify a bit further.
4846
2a08047a
GM
48472013-09-11 Glenn Morris <rgm@gnu.org>
4848
4849 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4850 (set-auto-mode): Don't regexp-quote elements.
4851 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4852 * progmodes/cc-mode.el (interpreter-mode-alist):
4853 * progmodes/ruby-mode.el (interpreter-mode-alist):
4854 Revert previous change.
4855
34675540
SM
48562013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4857
1b3b87df
SM
4858 * play/snake.el (snake-mode):
4859 * play/mpuz.el (mpuz-mode):
4860 * play/landmark.el (lm-mode):
4861 * play/blackbox.el (blackbox-mode):
4862 * play/5x5.el (5x5-mode):
4863 * obsolete/options.el (Edit-options-mode):
4864 * net/quickurl.el (quickurl-list-mode):
4865 * net/newst-treeview.el (newsticker-treeview-mode):
4866 * mail/rmailsum.el (rmail-summary-mode):
4867 * mail/mspools.el (mspools-mode):
4868 * locate.el (locate-mode):
4869 * ibuffer.el (ibuffer-mode):
4870 * emulation/ws-mode.el (wordstar-mode):
4871 * emacs-lisp/debug.el (debugger-mode):
4872 * array.el (array-mode):
4873 * net/eudc.el (eudc-mode): Use define-derived-mode.
4874 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4875 Move initialization into declaration.
4876 (mairix-searches-mode): Use define-derived-mode.
4877 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4878 (eudc-edit-hotlist): Use dolist.
4879 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4880 (Man-mode): Use define-derived-mode.
4881 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4882 (Info-edit-mode): Use define-derived-mode.
4883 (Info-cease-edit): Use Info-mode.
4884 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4885 into declaration.
4886 (eshell-mode): Use define-derived-mode.
4887 * chistory.el (command-history-mode-map): Rename from
4888 command-history-map.
4889 (command-history-mode): Use define-derived-mode.
da712f22 4890 (Command-history-setup): Remove function.
1b3b87df
SM
4891 * calc/calc.el (calc-trail-mode-map): New var.
4892 (calc-trail-mode): Use define-derived-mode.
4893 (calc-trail-buffer): Set calc-main-buffer manually.
4894 * bookmark.el (bookmark-insert-annotation): New function.
4895 (bookmark-edit-annotation): Use it.
4896 (bookmark-edit-annotation-mode): Make it a proper major mode.
4897 (bookmark-send-edited-annotation): Use derived-mode-p.
4898 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4899 closer to its ideal place. Use \' to match EOS.
4900
34675540
SM
4901 * profiler.el (profiler-calltree-find): Use function-equal.
4902
6a5c15d9
GM
49032013-09-10 Glenn Morris <rgm@gnu.org>
4904
1af4c220
GM
4905 * files.el (interpreter-mode-alist): Convert to regexps.
4906 (set-auto-mode): Adapt for this. (Bug#15306)
4907 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4908 Comment out unused variable.
4909 * progmodes/cc-mode.el (interpreter-mode-alist):
4910 * progmodes/python.el (interpreter-mode-alist):
4911 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4912 * progmodes/sh-script.el (sh-set-shell):
4913 No longer use interpreter-mode-alist to get list of shells.
4914
6a5c15d9
GM
4915 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4916
8c27f5ff
SM
49172013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4918
02ef6c1a 4919 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4920 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4921 Bind switch-frame explicitly. Replace universal-argument-minus with
4922 a conditional binding.
4923 (universal-argument-num-events, saved-overriding-map): Remove.
4924 (restore-overriding-map): Remove.
4925 (universal-argument--mode): Rename from save&set-overriding-map,
4926 and rewrite.
4927 (universal-argument, universal-argument-more, negative-argument)
4928 (digit-argument): Adjust accordingly.
4929 (universal-argument-minus): Remove.
4930 (universal-argument-other-key): Remove.
4931
8c27f5ff
SM
4932 * subr.el (with-demoted-errors): Add `format' argument.
4933
6480194c
MA
49342013-09-10 Michael Albinus <michael.albinus@gmx.de>
4935
4936 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4937 `tramp-cleanup-connection'.
4938
4939 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4940 parameters KEEP-DEBUG and KEEP-PASSWORD.
4941
4942 * net/tramp.el (tramp-file-name-handler):
4943 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4944 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4945 (tramp-maybe-open-connection):
8c27f5ff
SM
4946 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4947 Use `tramp-cleanup-connection'.
6480194c 4948
8c27f5ff
SM
4949 * net/tramp-sh.el (tramp-maybe-open-connection):
4950 Catch 'uname-changed inside the progress reporter.
6480194c 4951
e5e916d8
GM
49522013-09-10 Glenn Morris <rgm@gnu.org>
4953
9a2c9b47
GM
4954 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4955
e5e916d8
GM
4956 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4957 returns "alternate access method" in mode (eg "-rw-r--r--.").
4958
144e38fe
GM
49592013-09-08 Glenn Morris <rgm@gnu.org>
4960
4961 * saveplace.el (load-save-place-alist-from-file):
4962 Demote errors. (Bug#15305)
4963
af9ff9e8
MA
49642013-09-08 Michael Albinus <michael.albinus@gmx.de>
4965
4966 Improve compatibility with older Emacsen, and XEmacs.
4967
4968 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4969 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4970 (with-tramp-progress-reporter): Do not let-bind `result'.
4971 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4972 (tramp-handle-make-auto-save-file-name): New function, moved from
4973 tramp-sh.el.
4974
4975 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4976 for `make-auto-save-file-name'.
8c27f5ff
SM
4977 (tramp-adb--gnu-switches-to-ash):
4978 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4979
4980 * net/tramp-cache.el (tramp-cache-print): Call
4981 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4982
4983 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4984 bound. It isn't for XEmacs.
4985
8c27f5ff
SM
4986 * net/tramp-compat.el (tramp-compat-copy-file):
4987 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4988 (tramp-compat-replace-regexp-in-string): New defun.
4989
4990 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4991 for `make-auto-save-file-name'.
4992 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4993 `copy-file'.
4994 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4995 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4996 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4997
8c27f5ff
SM
4998 * net/tramp-gw.el (tramp-gw-open-network-stream):
4999 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5000
8c27f5ff
SM
5001 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5002 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5003 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5004 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5005 (tramp-sh-file-inotifywait-process-filter):
5006 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5007 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5008
5009 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5010 for `make-auto-save-file-name'.
8c27f5ff
SM
5011 (tramp-smb-handle-copy-directory):
5012 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5013 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5014 (tramp-smb-handle-copy-file): Improve error message.
5015 (tramp-smb-handle-rename-file): Rename directly only in case
5016 `newname' does not exist yet. This is a restriction of smbclient.
5017 (tramp-smb-maybe-open-connection): Rerun the function only when
5018 `auth-sources' is non-nil.
5019
0ca754d0
KH
50202013-09-08 Kenichi Handa <handa@gnu.org>
5021
e0eb0550 5022 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5023 more characters.
5024
e8dd0787
AM
50252013-09-07 Alan Mackenzie <acm@muc.de>
5026
5027 Correctly fontify Java class constructors.
5028 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5029 in Java Mode.
5030 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5031 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5032 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5033 "typeless" declaration there.
5034
f2f248e7
RW
50352013-09-07 Roland Winkler <winkler@gnu.org>
5036
5037 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5038 field subtitle for entry type book.
5039
67982e2b
SM
50402013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * minibuffer.el: Make minibuffer-complete call completion-in-region
5043 rather than other way around.
5044 (completion--some, completion-pcm--find-all-completions):
5045 Don't delay signals when debugging.
5046 (minibuffer-completion-contents): Beware fields within the
5047 minibuffer contents.
5048 (completion-all-sorted-completions): Use defvar-local.
5049 (completion--do-completion, completion--cache-all-sorted-completions)
5050 (completion-all-sorted-completions, minibuffer-force-complete):
5051 Add args `beg' and `end'.
5052 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5053 (minibuffer-complete): Use completion-in-region.
5054 (completion-complete-and-exit): New fun, extracted from
5055 minibuffer-complete-and-exit.
5056 (minibuffer-complete-and-exit): Use it.
5057 (completion--complete-and-exit): Rename from
5058 minibuffer--complete-and-exit.
5059 (completion-in-region--single-word): New function, extracted from
5060 minibuffer-complete-word.
5061 (minibuffer-complete-word): Use it.
5062 (display-completion-list): Make `common-substring' argument obsolete.
5063 (completion--in-region): Call completion--in-region-1 instead of
5064 minibuffer-complete.
5065 (completion-help-at-point): Pass boundaries to
5066 minibuffer-completion-help as args rather than via an overlay.
5067 (completion-pcm--string->pattern): Use `any-delim'.
5068 (completion-pcm--optimize-pattern): New function.
5069 (completion-pcm--pattern->regex): Handle `any-delim'.
5070 * icomplete.el (icomplete-forward-completions)
5071 (icomplete-backward-completions, icomplete-completions):
5072 Adjust calls to completion-all-sorted-completions and
5073 completion--cache-all-sorted-completions.
5074 (icomplete-with-completion-tables): Default to t.
5075 * emacs-lisp/crm.el (crm--current-element): Rename from
5076 crm--select-current-element. Don't put an overlay but return the
5077 boundaries instead.
5078 (crm--completion-command): Take two new args to bind to the boundaries.
5079 (crm-completion-help): Adjust accordingly.
5080 (crm-complete): Use completion-in-region.
5081 (crm-complete-word): Use completion-in-region--single-word.
5082 (crm-complete-and-exit): Use completion-complete-and-exit.
5083
e17d94a5
SM
50842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5087 than dynamically.
5088
96727100
JL
50892013-09-06 Juri Linkov <juri@jurta.org>
5090
5091 * info.el (Info-display-images-node): When image file doesn't exist
5092 display text version of the image if it's provided in the Info file.
5093 Otherwise, display the location of missing image from SRC attribute.
5094 Add help-echo text property from ALT attribute. (Bug#15279)
5095
86cf7329
SM
50962013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5099 (edit-abbrevs-mode): Use define-derived-mode.
5100
5101 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5102 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5103 that it's defined.
5104 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5105 Use define-derived-mode.
5106
5107 * epg.el (epg-start-encrypt): Minor CSE simplification.
5108
816244a2
WX
51092013-09-06 William Xu <william.xwl@gmail.com>
5110
5111 * arc-mode.el: Add support for 7za (bug#15264).
5112 (archive-7z-program): New var.
5113 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5114 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5115 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5116
1486fa31
MA
51172013-09-06 Michael Albinus <michael.albinus@gmx.de>
5118
5119 Remove URL syntax.
5120
5121 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5122 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5123 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5124 (tramp-postfix-host-format, tramp-file-name-regexp)
5125 (tramp-completion-file-name-regexp)
5126 (tramp-completion-dissect-file-name)
5127 (tramp-handle-substitute-in-file-name): Remove 'url case.
5128 (tramp-file-name-regexp-url)
5129 (tramp-completion-file-name-regexp-url): Remove constants.
5130
39785324
GM
51312013-09-06 Glenn Morris <rgm@gnu.org>
5132
5133 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5134
1f896cb7
DG
51352013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5136
5137 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5138 keywords" below "here-doc beginnings" (Bug#15270).
5139
c0458e0b
SM
51402013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 * subr.el (pop): Use `car-safe'.
5143 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5144 to detect unused `pop' return value.
5145
5146 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5147 var `block-regexp'.
5148 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5149 (python-fill-string): Remove unused var `marker'.
5150 (python-skeleton-add-menu-items): Remove unused var `items'.
5151
5152 * international/mule-cmds.el: Require CL.
5153 (find-coding-systems-for-charsets): Avoid add-to-list.
5154 (sanitize-coding-system-list): New function, extracted from
5155 select-safe-coding-system-interactively.
5156 (select-safe-coding-system-interactively): Use it.
5157 (read-input-method-name): Accept symbols for `default'.
5158
5159 * emacs-lisp/advice.el (defadvice): Add indent rule.
5160
6c42fc3e
DH
51612013-09-05 Daniel Hackney <dan@haxney.org>
5162
5163 * dired-x.el:
5164 * net/ange-ftp.el:
5165 * net/browse-url.el:
5166 * net/dbus.el:
5167 * net/eudc.el:
5168 * net/eudcb-ldap.el:
5169 * net/eww.el:
5170 * net/imap.el:
5171 * printing.el:
5172 * vc/ediff-diff.el:
5173 * vc/ediff-init.el:
5174 * vc/ediff-merg.el:
5175 * vc/ediff-mult.el:
5176 * vc/ediff-util.el:
5177 * vc/ediff-wind.el:
5178 * vc/ediff.el:
5179 * vc/emerge.el:
5180 * vc/pcvs.el:
5181 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5182 byte compiler. Remove some unused let-bound variables.
5183
4c528aab
SM
51842013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5187 a "ref-cell", since it gets better optimized (bug#14883).
5188
bd15c390
GM
51892013-09-05 Glenn Morris <rgm@gnu.org>
5190
5191 * progmodes/cc-awk.el (c-forward-sws): Declare.
5192
1c3ac2e5
GM
51932013-09-04 Glenn Morris <rgm@gnu.org>
5194
5195 * generic-x.el [rul-generic-mode]: Require cc-mode.
5196 (c++-mode-syntax-table): Declare.
5197 (rul-generic-mode-syntax-table): Init in the defvar.
5198
52b1cc79
SM
51992013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5200
c828af56
SM
5201 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5202 (vc-do-command, vc-set-async-update):
5203 * vc/vc-mtn.el (vc-mtn-dir-status):
5204 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5205 (vc-hg-pull, vc-hg-merge-branch):
5206 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5207 (vc-git-merge-branch):
5208 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5209 (vc-cvs-dir-status-files):
5210 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5211 (vc-bzr-dir-status-files):
5212 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5213 * vc/vc-annotate.el: Use lexical-binding.
5214 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5215 (vc-sentinel-movepoint): Declare.
5216 (vc-annotate): Don't use `goto-line'.
5217 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5218 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5219 (vc-sentinel-movepoint): Declare.
5220 * vc/vc-svn.el: Use lexical-binding.
5221 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5222 * vc/vc-sccs.el:
5223 * vc/vc-rcs.el: Use lexical-binding.
5224
abae272c
SM
5225 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5226 `deleted'. Don't drop errors silently.
5227
52b1cc79
SM
5228 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5229
63191d9f
XF
52302013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5231
5232 * vc/vc.el (vc-ignore): Rewrite.
5233 (vc-default-ignore): New function.
5234 (vc-default-ignore-completion-table): Use find-ignore-file.
5235
5236 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5237 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5238 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5239 Remove. Most code moved to vc.el.
5240
9d3f707c
SM
52412013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5242
abae272c 5243 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5244 * net/tramp-smb.el (tramp-smb-get-file-entries):
5245 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5246 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5247
fde38d49
SM
5248 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5249 Update call to it.
5250 (eww-change-select): Remove unused var `properties'.
5251 (eww-make-unique-file-name): Remove unused var `base'.
5252
5253 * finder.el (finder-compile-keywords): Don't mess with windows.
5254
84032db7
SM
5255 * calculator.el (calculator-funcall): Fix typo in last change.
5256
724f5e41
SM
5257 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5258
14b511d4
SM
5259 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5260 <pkg>-autoloads.el file stop us.
5261
9d3f707c 5262 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5263 warnings, and factor out common code.
9d3f707c 5264
88527bc0
DG
52652013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5268 two-character operators and whether the character preceding them
5269 changes their meaning (Bug#15208).
5270
96edb677
FEG
52712013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5272
5273 Format code sent to Python shell for robustness.
9d3f707c
SM
5274 * progmodes/python.el (python-shell-buffer-substring):
5275 New function.
96edb677
FEG
5276 (python-shell-send-region, python-shell-send-buffer): Use it.
5277
95beaef3
MA
52782013-09-02 Michael Albinus <michael.albinus@gmx.de>
5279
5280 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5281 * net/tramp.el (tramp-user-error): ... here.
5282 (tramp-find-method, tramp-check-proper-host)
5283 (tramp-dissect-file-name, tramp-debug-message)
5284 (tramp-handle-shell-command):
5285 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5286 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5287
5288 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5289
f167c27b
MR
52902013-09-02 Martin Rudalics <rudalics@gmx.at>
5291
5292 * avoid.el (mouse-avoidance-point-position)
5293 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5294 returns nil.
5295
cd16c5f1
FEG
52962013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5297
5298 * progmodes/python.el (python-shell-completion-get-completions):
5299 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5300 (python-nav-if-name-main): New command.
cd16c5f1 5301
e73c3a0d
GM
53022013-09-01 Glenn Morris <rgm@gnu.org>
5303
f8ccce03
GM
5304 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5305 Avoid leading space in $wins. Otherwise the sed command used by
5306 eg compile-main ends up containing "/*.el". (Bug#15170)
5307
e73c3a0d
GM
5308 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5309
415f808e
GM
53102013-08-30 Glenn Morris <rgm@gnu.org>
5311
5312 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5313 Fix is-this-a-directory logic. (Bug#15220)
5314
f069bba8
SM
53152013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5316
112798c1
SM
5317 * textmodes/css-mode.el: Use SMIE.
5318 (css-smie-grammar): New var.
5319 (css-smie--forward-token, css-smie--backward-token)
5320 (css-smie-rules): New functions.
5321 (css-mode): Use them.
5322 (css-navigation-syntax-table): Remove var.
5323 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5324 (css-indent-calculate, css-indent-line): Remove functions.
5325
5326 Misc changes to reduce use of `(lambda...); and other cleanups.
5327 * cus-edit.el: Use lexical-binding.
5328 (customize-push-and-save, customize-apropos)
5329 (custom-buffer-create-internal): Use closures.
5330 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5331 * progmodes/ada-xref.el: Use setq.
5332 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5333 * dframe.el: Use lexical-binding.
5334 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5335 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5336 * descr-text.el: Use lexical-binding.
5337 (describe-text-widget, describe-text-sexp, describe-property-list):
5338 Use closures.
5339 * comint.el (comint-history-isearch-push-state): Use a closure.
5340 * calculator.el: Use lexical-binding.
5341 (calculator-number-to-string): Make it work with lexical-binding.
5342 (calculator-funcall): Same and use cl-letf.
5343
2da4c3ab
SM
5344 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5345 (lisp--company-doc-string, lisp--company-location): New functions.
5346 (lisp-completion-at-point): Use them to improve Company support.
5347
f069bba8
SM
5348 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5349 params of lambda expressions.
5350 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5351 (ruby-smie--opening-pipe-p): New function.
5352 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5353 symbols and matched |...| for formal params.
5354 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5355 from being treated as hanging. Handle "rescue".
5356
6758b6a8
GM
53572013-08-29 Glenn Morris <rgm@gnu.org>
5358
5359 * progmodes/cc-engine.el (c-pull-open-brace):
5360 Move definition before use.
5361
e8dfd197
SM
53622013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5365 are immutable. Don't use `unsafe' any more.
5366 (cl--defsubst-expand): Don't substitute at the same time as keeping
5367 a residual unused let-binding. Don't use `unsafe' any more.
5368
cc585c96
GM
53692013-08-29 Glenn Morris <rgm@gnu.org>
5370
ba579ea6
GM
5371 * calendar/cal-china.el (calendar-chinese-year-cache):
5372 Recenter on 2015.
5373
8201a87e
GM
5374 * nxml/nxml-util.el (nxml-debug-clear-inside):
5375 Use cl-loop rather than loop.
5376
6ee877c7
GM
5377 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5378
cc585c96
GM
5379 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5380
27be8d39
GM
53812013-08-28 Glenn Morris <rgm@gnu.org>
5382
397440a1
GM
5383 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5384
2bb762d4
GM
5385 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5386
27be8d39
GM
5387 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5388
2d69b99e
SM
53892013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5390
f663baa7
SM
5391 * simple.el (repeat-complex-command--called-interactively-skip):
5392 New function.
5393 (repeat-complex-command): Use it (bug#14136).
5394
dd4f8b74
SM
5395 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5396 (c-define-abbrev-table): Add `doc' argument.
5397 (c-mode-abbrev-table, c++-mode-abbrev-table)
5398 (objc-mode-abbrev-table, java-mode-abbrev-table)
5399 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5400 (awk-mode-abbrev-table): Use it.
5401 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5402 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5403 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5404 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5405 Move initialization into the declaration; and remove any
5406 autoload cookie.
5407
b58969f7
SM
5408 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5409 and dynamic let binding.
5410
4021d6a6
SM
5411 * vc/smerge-mode.el: Remove redundant :group args.
5412
2d69b99e
SM
5413 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5414 to load-path.
5415
274919fd
JL
54162013-08-28 Juri Linkov <juri@jurta.org>
5417
5418 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5419 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5420 (isearch-other-meta-char): Handle an undefined shifted printing
5421 character by downshifting it. (Bug#15200)
5422
121f8c95
JL
54232013-08-28 Juri Linkov <juri@jurta.org>
5424
5425 * isearch.el (isearch-search): Change regexp error message for
5426 non-regexp searches. (Bug#15166)
5427
50b13cde
PE
54282013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5429
5430 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5431 for portability to hosts where /bin/sh has problems.
5432
95888bca
SM
54332013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5436
bbe558f1
JL
54372013-08-27 Juri Linkov <juri@jurta.org>
5438
5439 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5440 in the keyboard macro. (Bug#15126)
5441
26f98a7d
JL
54422013-08-27 Juri Linkov <juri@jurta.org>
5443
5444 * isearch.el (isearch-quote-char): Comment out converting unibyte
5445 to multibyte, thus syncing with its `quoted-insert' counterpart.
5446 (Bug#15166)
5447
7c97d35e
MR
54482013-08-27 Martin Rudalics <rudalics@gmx.at>
5449
5450 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5451 argument in call of get-largest-window (Bug#15185).
5452 Reported by Stephen Leake.
7c97d35e 5453
a0b5606e 54542013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5455
5456 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5457
9e89d835
SM
54582013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5459
5460 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5461 from a matcher-function unless there's no more matches (bug#15161).
5462
78fc2530
MA
54632013-08-26 Michael Albinus <michael.albinus@gmx.de>
5464
5465 * minibuffer.el: Revert change from 2013-08-20.
5466
5467 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5468 with text property `tramp-default', if appropriate.
5469 (tramp-check-proper-host): New defun.
5470 (tramp-dissect-file-name): Do not check hostname. Revert change
5471 of 2013-03-18.
5472 (tramp-backtrace): Make VEC-OR-PROC optional.
5473
5474 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5475 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5476 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5477 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5478 Apply `tramp-check-proper-host'.
78fc2530 5479
edca97cd
TH
54802013-08-26 Tassilo Horn <tsdh@gnu.org>
5481
5482 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5483 lambda expression in order to have `describe-variable' display it.
5484
df54bcbd
MA
54852013-08-26 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5488 BUF can be optional. (Bug#15186)
5489
eed99101
XF
54902013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5491
5492 * progmodes/flymake.el (flymake-get-real-file-name-function):
5493 Fix broken customization. (Bug#15184)
5494
b5eb9035
AM
54952013-08-25 Alan Mackenzie <acm@muc.de>
5496
8a51e842
AM
5497 Improve indentation of bracelists defined by macros (without "=").
5498
5499 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5500 expansion begins with "{", regard it as bracelist when it doesn't
5501 contain a ";".
5502
869455d4
AM
5503 Parse C++ inher-intro when there's a template split over 2 lines.
5504
5505 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5506 rigorously the search for "class" etc. followed by ":".
5507
5508 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5509 random languages a regexp which never matches rather than nil.
5510
b5eb9035
AM
5511 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5512
5513 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5514 (c-awk-regexp-one-line-possibly-open-char-list-re)
5515 (c-awk-one-line-possibly-open-regexp-re)
5516 (c-awk-one-line-non-syn-ws*-re): Remove.
5517 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5518 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5519 (c-awk-space*-unclosed-regexp-/-re): New constants.
5520 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5521 aren't regexp delimiters.
5522
5523 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5524 handling for a rare situation in AWK Mode involving unterminated
5525 strings/regexps.
5526
61611d54
GM
55272013-08-23 Glenn Morris <rgm@gnu.org>
5528
2d85dc34
GM
5529 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5530
cb8d2612
GM
5531 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5532
bb35f42f
GM
5533 * files.el (create-file-buffer): If the result would begin with
5534 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5535
b9808e77
SM
55362013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5537
e3a66363
SM
5538 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5539 text-properties (bug#15155).
5540
b9808e77
SM
5541 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5542 exist any more.
5543 (calc-keypad-redraw): Remove unused var `pad'.
5544 (calc-keypad-press): Remove unused var `menu'.
5545
7fd5f65e
MR
55462013-08-23 Martin Rudalics <rudalics@gmx.at>
5547
b9808e77
SM
5548 * window.el (display-buffer-pop-up-frame):
5549 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5550 use it as the new frame's buffer (Bug#15133).
5551
8352b530
SM
55522013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * calendar/timeclock.el: Minor cleanups.
5555 (timeclock-ask-before-exiting, timeclock-use-display-time):
5556 Use `symbol'.
5557 (timeclock-modeline-display): Define as alias before the
5558 actual definition.
5559 (timeclock-mode-line-display): Use define-minor-mode.
5560 (timeclock-day-list-template): Make it a function, add an argument.
5561 (timeclock-day-list-required, timeclock-day-list-length)
5562 (timeclock-day-list-debt, timeclock-day-list-span)
5563 (timeclock-day-list-break): Adjust calls accordingly.
5564
9f7b1925
SM
55652013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5568 Use read--expression so that completion works again.
5569
6e50e983
SS
55702013-08-21 Sam Steingold <sds@gnu.org>
5571
5572 Add rudimentary inferior shell interaction
5573 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5574 (sh-set-shell): Reset it.
9f7b1925
SM
5575 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5576 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5577
dbb0d350
SM
55782013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * align.el: Use lexical-binding.
5581 (align-region): Simplify accordingly.
5582
c88586a9
MA
55832013-08-20 Michael Albinus <michael.albinus@gmx.de>
5584
5585 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5586
5587 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5588 `non-essential' up.
5589
f95527c8
MA
55902013-08-17 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * net/tramp.el:
5593 * net/tramp-adb.el:
5594 * net/tramp-cmds.el:
5595 * net/tramp-ftp.el:
5596 * net/tramp-gvfs.el:
5597 * net/tramp-gw.el:
5598 * net/tramp-sh.el: Don't wrap external variable declarations by
5599 `eval-when-compile'.
5600
4b5fe4ee
LMI
56012013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5602
5603 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5604 now that Emacs supports ImageMagick animations.
5605
13c366c9
MA
56062013-08-16 Michael Albinus <michael.albinus@gmx.de>
5607
5608 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5609 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5610
3dfc5cd6
MR
56112013-08-16 Martin Rudalics <rudalics@gmx.at>
5612
5613 * window.el (mouse-autoselect-window-select): Do autoselect when
5614 mouse pointer is on margin.
5615
4bbb4381
WP
56162013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5617
5618 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5619
3a2ddc2d
GM
56202013-08-16 Glenn Morris <rgm@gnu.org>
5621
e8bedf5a
GM
5622 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5623 Handle "Remote Directory" response of some clients. (Bug#15058)
5624
58c4682f
GM
5625 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5626 Tweak warning. (Bug#14926)
5627
57953f49
GM
5628 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5629 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5630
3a2ddc2d
GM
5631 * image-mode.el (image-mode-map): Add menu items to reverse,
5632 increase, decrease, reset animation speed.
5633 (image--set-speed, image-increase-speed, image-decrease-speed)
5634 (image-reverse-speed, image-reset-speed): New functions.
5635 (image-mode-map): Add bindings for speed commands.
5636
5637 * image.el (image-animate-get-speed, image-animate-set-speed):
5638 New functions.
5639 (image-animate-timeout): Respect image :speed property.
5640
10fa0ed3
SM
56412013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5642
5643 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5644 previous line (bug#15101).
5645 (debugger-eval-expression, debugger-record-expression):
5646 Use read--expression (bug#15102).
5647
5d89d9d2
MA
56482013-08-15 Michael Albinus <michael.albinus@gmx.de>
5649
5650 Remove byte compiler warnings, visible when compiling with
5651 `byte-compile-force-lexical-warnings' set to t.
5652
5653 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5654 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5655 (tramp-handle-unhandled-file-name-directory)
5656 (tramp-handle-file-notify-add-watch, tramp-action-login)
5657 (tramp-action-succeed, tramp-action-permission-denied)
5658 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5659 arguments with "_".
5660
5661 * net/tramp-adb.el (tramp-adb-parse-device-names)
5662 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5663 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5664 (tramp-adb-handle-file-truename): Remove unused arguments.
5665
5666 * net/tramp-cache.el (tramp-flush-directory-property)
5667 (tramp-flush-connection-property, tramp-list-connections)
5668 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5669
10fa0ed3
SM
5670 * net/tramp-compat.el (tramp-compat-make-temp-file):
5671 Rename FILENAME to F.
5d89d9d2
MA
5672
5673 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5674 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5675 (tramp-zeroconf-parse-workstation-device-names)
5676 (tramp-zeroconf-parse-webdav-device-names)
5677 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5678
5679 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5680 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5681
5682 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5683 arguments.
5684 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5685 (tramp-sh-handle-insert-file-contents-literally)
5686 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5687 with "_".
5688 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5689 Remove unused variables.
5690
5691 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5692 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5693 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5694
5695 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5696 Make them a defconst.
5697 (tramp-uuencode-region): Remove unused variable.
5698
62f33bae
JB
56992013-08-14 Juanma Barranquero <lekktu@gmail.com>
5700
5701 * frameset.el (frameset--prop-setter): New function.
5702 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5703 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5704 parameter was already set in FILTERED. Doc fix.
5705 (frameset--record-minibuffer-relationships): Allow saving a
5706 minibufferless frame without its corresponding minibuffer frame.
5707 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5708 frame, if the frame id matches.
5709 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5710 frames before orphaned ones.
5711 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5712
c660a885
MR
57132013-08-14 Martin Rudalics <rudalics@gmx.at>
5714
5715 * window.el (window-make-atom): Don't overwrite parameter
5716 already present.
5717 (display-buffer-in-atom-window): Handle special case where we
5718 split an already atomic window.
5719 (window--major-non-side-window, display-buffer-in-side-window)
5720 (window--side-check): Ignore minibuffer window when walking
5721 window tree.
5722 (window-deletable-p): Return 'frame only if no other frame uses
5723 our minibuffer window.
5724 (record-window-buffer): Run buffer-list-update-hook.
5725 (split-window): Make sure window--check-frame won't destroy an
5726 existing atomic window in case the new window gets nested
5727 inside.
5728 (display-buffer-at-bottom): Ignore minibuffer window when
5729 walking window tree. Don't split a side window.
5730 (pop-to-buffer): Don't set-buffer here, the select-window call
5731 should do that.
5732 (mouse-autoselect-window-select): Autoselect only if we are in the
5733 text portion of the window.
5734
8259030d
LMI
57352013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5736
21c58ae2
LMI
5737 * net/shr.el (shr-parse-image-data): New function to grab both the
5738 data itself and the Content-Type.
5739 (shr-put-image): Use it.
5740
5741 * net/eww.el (eww-display-image): Ditto.
5742
8259030d
LMI
5743 * image.el (image-content-type-suffixes): New variable.
5744
ad756449
FEG
57452013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5746
5747 * progmodes/python.el (python-imenu--build-tree)
5748 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5749
f73f4ce6
XF
57502013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5751
5752 * simple.el (backward-word): Mention the optional argument.
5753
1f585e65
SM
57542013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * frameset.el (frameset--make): Rename constructor from make-frameset.
5757 (frameset-p, frameset-valid-p): Don't autoload.
5758 (frameset-valid-p): Use normal accessors.
5759
af1c6c84
GM
57602013-08-13 Glenn Morris <rgm@gnu.org>
5761
55e47f95
GM
5762 * progmodes/compile.el (compile-command): Tweak example in doc.
5763 * obsolete/scribe.el (scribe-mode):
5764 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5765
f0024d8c
GM
5766 * mail/feedmail.el (feedmail-confirm-outgoing)
5767 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5768
5769 * cus-start.el (truncate-partial-width-windows): Fix type.
5770
5771 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5772
af1c6c84
GM
5773 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5774
5514cc4c
SM
57752013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * emacs-lisp/timer.el (timer--time-setter): New function.
5778 (timer--time): Use it as gv-setter.
5779
5780 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5781 setter is not a symbol.
5782
7997a2f1
GJ
57832013-08-12 Grégoire Jadi <daimrod@gmail.com>
5784
5785 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5786 if sending fails. This makes debugging easier.
5787
01f1a9ab
JB
57882013-08-12 Juanma Barranquero <lekktu@gmail.com>
5789
5790 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5791 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5792 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5793
594a4307
EZ
57942013-08-12 Eli Zaretskii <eliz@gnu.org>
5795
5796 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5797
7a22490f 57982013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5799
5800 * format.el (format-annotate-function):
5801 Handle read-only text properties in the source. (Bug#14887)
5802
3e41a054
LMI
58032013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5804
5514cc4c
SM
5805 * net/eww.el (eww-display-html): Ignore coding system errors.
5806 One web site uses "utf-8lias" as the coding system.
3e41a054 5807
7ec326db
JB
58082013-08-11 Juanma Barranquero <lekktu@gmail.com>
5809
5810 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5811
5660113b
JB
58122013-08-10 Juanma Barranquero <lekktu@gmail.com>
5813
9a4ebc74
JB
5814 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5815 (tutorial--detailed-help): Remove unused local variables.
5816 (tutorial--save-tutorial-to): Use ignore-errors.
5817 (help-with-tutorial): Use looking-at-p.
5818
5819 * view.el (view-buffer-other-window, view-buffer-other-frame):
5820 Mark unused arguments.
5821
5822 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5823 (woman-select-symbol-fonts, woman, woman-find-file)
5824 (woman-insert-file-contents, woman-non-underline-faces):
5825 Use string-match-p.
5826 (woman1-unquote): Move declaration.
5827
5828 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5829 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5830 argument. Remove unused local variable.
5831 (xml-parse-elem-type): Use string-match-p.
5832 (xml-substitute-numeric-entities): Use ignore-errors.
5833
45fdb482
JB
5834 * calculator.el (calculator): Mark unused argument.
5835 (calculator-paste, calculator-quit, calculator-integer-p):
5836 Use ignore-errors.
5837 (calculator-string-to-number, calculator-decimal, calculator-exp)
5838 (calculator-op-or-exp): Use string-match-p.
5839
5840 * dired.el (dired-buffer-more-recently-used-p): Declare.
5841 (dired-insert-set-properties, dired-insert-old-subdirs):
5842 Use ignore-errors.
5843
5844 * dired-aux.el (dired-compress): Use ignore-errors.
5845 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5846 (dired-do-async-shell-command, dired-do-shell-command)
5847 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5848 (dired-insert-subdir-validate): Use string-match-p.
5849 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5850 (dired-add-entry): Use string-match-p, looking-at-p.
5851 (dired-insert-subdir-newpos): Remove unused local variable.
5852
5853 * filenotify.el (file-notify-callback): Remove unused local variable.
5854
5855 * filesets.el (filesets-error): Mark unused argument.
5856 (filesets-which-command-p, filesets-filter-dir-names)
5857 (filesets-directory-files, filesets-get-external-viewer)
5858 (filesets-ingroup-get-data): Use string-match-p.
5859
5860 * find-file.el (ff-other-file-name, ff-other-file-name)
5861 (ff-find-the-other-file, ff-cc-hh-converter):
5862 Remove unused local variables.
5863 (ff-get-file-name): Use string-match-p.
5864 (ff-all-dirs-under): Use ignore-errors.
5865
5866 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5867 (follow-select-if-visible): Remove unused local variable.
5868
5869 * forms.el (read-file-filter): Move declaration.
5870 (forms--make-format, forms--make-parser, forms-insert-record):
5871 Quote function with #'.
5872 (forms--update): Use string-match-p. Quote function with #'.
5873
5874 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5875 (help-make-xrefs): Use looking-at-p.
5876 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5877
5878 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5879 (ibuffer-confirm-operation-on): Use string-match-p.
5880
5881 * msb.el (msb-item-handler, msb-dired-item-handler):
5882 Mark unused arguments.
5883
5884 * ses.el (ses-decode-cell-symbol)
5885 (ses-kill-override): Remove unused local variable.
5886 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5887 (ses-load): Use ignore-errors, looking-at-p.
5888 (ses-jump-safe): Use ignore-errors.
5889 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5890
5891 * tabify.el (untabify, tabify): Mark unused arguments.
5892
5893 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5894 Mark unused argument.
5895 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5896 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5897
c880af52
JB
5898 * emacs-lisp/timer.el (timer--time): Define setter with
5899 gv-define-setter to avoid deprecation warning.
5900
5660113b 5901 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5902 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5903 (cmpl-statistics-block): Remove (body was commented out).
5904 All callers changed.
5905 (add-completions-from-buffer, load-completions-from-file):
5906 Remove unused variables.
5907
156aab80
JB
59082013-08-09 Juanma Barranquero <lekktu@gmail.com>
5909
5c5dee78
JB
5910 * filecache.el (file-cache-delete-file-list):
5911 Print message only when told so.
5912 (file-cache-files-matching): Use #' in mapconcat argument.
5913
156aab80
JB
5914 * ffap.el (ffap-url-at-point): Fix reference to variable
5915 thing-at-point-default-mail-uri-scheme.
5916
ad9dcd70
SM
59172013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5918
54bd972f
SM
5919 * subr.el (define-error): New function.
5920 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5921 error-file-not-found and define with define-error.
5922 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5923 and define with define-error.
5924 * userlock.el (file-locked, file-supersession):
5925 * simple.el (mark-inactive):
5926 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5927 * progmodes/ada-mode.el (ada-mode-errors):
5928 * play/life.el (life-extinct):
5929 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5930 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5931 * nxml/rng-util.el (rng-error):
5932 * nxml/rng-uri.el (rng-uri-error):
5933 * nxml/rng-match.el (rng-compile-error):
5934 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5935 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5936 * nxml/nxml-rap.el (nxml-scan-error):
5937 * nxml/nxml-outln.el (nxml-outline-error):
5938 * net/soap-client.el (soap-error):
5939 * net/gnutls.el (gnutls-error):
5940 * net/ange-ftp.el (ftp-error):
5941 * mpc.el (mpc-proc-error):
5942 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5943 (json-number-format, json-string-escape, json-string-format)
5944 (json-key-format, json-object-format):
5945 * jka-compr.el (compression-error):
5946 * international/quail.el (quail-error):
5947 * international/kkc.el (kkc-error):
5948 * emacs-lisp/ert.el (ert-test-failed):
5949 * calc/calc.el (calc-error, inexact-result, math-overflow)
5950 (math-underflow):
5951 * bookmark.el (bookmark-error-no-filename):
5952 * epg.el (epg-error): Define with define-error.
5953
0ea9e53a
SM
5954 * time.el (display-time-event-handler)
5955 (display-time-next-load-average): Don't call sit-for since it seems
5956 unnecessary (bug#15045).
5957
b0429158
SM
5958 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5959 Use #' instead of ' to quote functions.
5960 (checkdoc-output-mode): Use setq-local.
5961 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5962 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5963 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5964 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5965 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5966 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5967 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5968 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5969
ad9dcd70
SM
5970 * ido.el (ido-completion-help): Fix up compiler warning.
5971
77187e6f
JB
59722013-08-09 Juanma Barranquero <lekktu@gmail.com>
5973
5974 * frameset.el (frameset-p): Add autoload cookie.
5975 (frameset--jump-to-register): New function, based on code moved from
5976 register.el.
5977 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5978
5979 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5980 (frameset-restore, frameset-save, frameset-session-filter-alist):
5981 Remove declarations.
5982 (register-alist): Doc fix.
5983 (frameset-to-register): Move to frameset.el.
5984 (jump-to-register, describe-register-1): Remove frameset-specific code.
5985
9d3aa82c
JB
59862013-08-08 Juanma Barranquero <lekktu@gmail.com>
5987
5988 * allout-widgets.el (allout-widgets-pre-command-business)
5989 (allout-widgets-post-command-business)
5990 (allout-widgets-after-change-handler)
5991 (allout-decorate-item-and-context, allout-set-boundary-marker)
5992 (allout-body-modification-handler)
5993 (allout-graphics-modification-handler): Mark ignored arguments.
5994 (allout-widgets-post-command-business)
5995 (allout-widgets-exposure-change-processor)
5996 (allout-widgets-exposure-undo-processor)
5997 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5998 (allout-parse-item-at-point, allout-decorate-item-guides)
5999 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6000 * allout.el (epa-passphrase-callback-function): Declare.
6001 (allout-overlay-insert-in-front-handler)
6002 (allout-overlay-interior-modification-handler)
6003 (allout-isearch-end-handler, allout-chart-siblings)
6004 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6005 (allout-yank-processing, allout-process-exposed)
6006 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6007 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6008 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6009 (lisp-indent-defform): Mark ignored arguments.
6010 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6011 (calculate-lisp-indent): Remove unused variables.
6012 * international/characters.el (indian-2-column, arabic-2-column)
6013 (tibetan): Mark ignored arguments.
6014 (use-cjk-char-width-table): Mark ignored arguments.
6015 Remove unused variables.
6016 * international/fontset.el (build-default-fontset-data)
6017 (x-compose-font-name, create-fontset-from-fontset-spec):
6018 Mark ignored arguments.
6019 (fontset-plain-name): Remove unused variables.
6020 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6021 (keyboard-coding-system): Mark ignored arguments.
6022 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6023 * help.el (resize-temp-buffer-window):
6024 * window.el (display-buffer-in-major-side-window)
6025 (display-buffer-in-side-window, display-buffer-in-previous-window):
6026 Remove unused variables.
6027 * isearch.el (isearch-forward-symbol):
6028 * version.el (emacs-bzr-version-bzr):
6029 * international/mule-cmds.el (current-language-environment):
6030 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6031 (x-handle-display):
6032 * term/pc-win.el (x-list-fonts, x-display-planes)
6033 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6034 (x-server-version, x-display-screens, x-display-mm-height)
6035 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6036 (x-selection-owner-p, x-own-selection-internal)
6037 (x-disown-selection-internal, x-get-selection-internal)
6038 (msdos-initialize-window-system):
6039 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6040 * term/x-win.el (x-handle-no-bitmap-icon):
6041 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6042 (vc-default-find-file-hook, vc-default-extra-menu):
6043 Mark ignored arguments.
6044
0ca3f70e
SM
60452013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6048 break-condition in the context of the debugged code (bug#12685).
6049
74c5d24c
CS
60502013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6051
6052 * comint.el:
6053 Do not use an overlay to highlight the last prompt. (Bug#14744)
6054 (comint-mode): Make comint-last-prompt buffer local.
6055 (comint-last-prompt): New variable.
6056 (comint-last-prompt-overlay): Remove. Superseded by
6057 comint-last-prompt.
0ca3f70e
SM
6058 (comint-snapshot-last-prompt, comint-output-filter):
6059 Use comint-last-prompt.
74c5d24c 6060
c03c02ee
JB
60612013-08-08 Juanma Barranquero <lekktu@gmail.com>
6062
a3738d20 6063 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6064 (frameset-save): Check validity of the resulting frameset.
6065
04263d23
XF
60662013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6067
6068 * ido.el (ido-record-command): Add doc string.
6069
76c5e5ab
JB
60702013-08-08 Juanma Barranquero <lekktu@gmail.com>
6071
6072 * frameset.el (frameset): Do not disable creation of the default
6073 frameset-p predicate. Doc fix.
6074 (frameset-valid-p): New function, copied from the old predicate-p.
6075 Add additional checks.
6076 (frameset-restore): Check with frameset-valid-p.
6077 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6078 (frameset-name, frameset-description, frameset-properties)
6079 (frameset-states): Add docstring.
f9dbf1cb
JB
6080 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6081 (frameset-filter-alist): Doc fixes.
76c5e5ab 6082
bd0c3c0b
JB
60832013-08-08 Juanma Barranquero <lekktu@gmail.com>
6084
6085 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6086
c735544c
SM
60872013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6090 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6091 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6092 (byte-compile-normal-call): Remove obsolescence check.
6093
2805a651
JB
60942013-08-08 Juanma Barranquero <lekktu@gmail.com>
6095
3677ffeb
JB
6096 * frameset.el (frameset-restore): Doc fix.
6097
2805a651
JB
6098 * register.el (frameset-frame-id, frameset-frame-with-id)
6099 (frameset-p, frameset-restore, frameset-save): Declare.
6100 (register-alist): Document framesets.
6101 (frameset-session-filter-alist): Declare.
6102 (frameset-to-register): New function.
6103 (jump-to-register): Implement jumping to framesets. Doc fix.
6104 (describe-register-1): Describe framesets.
6105
6106 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6107
a912c016
JB
61082013-08-07 Juanma Barranquero <lekktu@gmail.com>
6109
6110 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6111 Use lexical-binding.
6112
6113 * frameset.el (frameset): Use type vector, not list (incompatible
6114 change). Do not declare a new constructor, use the default one.
6115 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6116 `name' and `description', respectively, and add read-only slot
6117 `timestamp'. Doc fixes.
6118 (frameset-copy, frameset-persistent-filter-alist)
6119 (frameset-filter-alist, frameset-switch-to-gui-p)
6120 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6121 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6122 (frameset-filter-iconified, frameset-keep-original-display-p):
6123 Doc fixes.
6124 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6125 Rename from frameset-filter-(save|restore)-param. All callers changed.
6126 Doc fix.
6127 (frameset-p): Adapt to change to vector and be more thorough.
6128 Change arg name to OBJECT. Doc fix.
6129 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6130 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6131 All callers changed.
6132 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6133 All callers changed.
6134 (frameset--record-minibuffer-relationships): Rename from
6135 frameset--process-minibuffer-frames. All callers changed.
6136 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6137 Use new default constructor (again). Doc fix.
6138 (frameset--find-frame-if): Rename from `frameset--find-frame.
6139 All callers changed.
6140 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6141 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6142 Doc fix.
6143 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6144 PARAMETERS and WINDOW-STATE, respectively.
6145 (frameset-restore): Add new keyword argument PREDICATE.
6146 Reset frameset--target-display to nil. Doc fix.
6147
bb41480a
SM
61482013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6149
f001e98e
SM
6150 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6151 (bat-mode): Use it.
6152 (bat-mode-syntax-table): Mark \n as end-of-comment.
6153 (bat-font-lock-keywords): Remove comment rule.
6154
7679edb1
SM
6155 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6156 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6157
bb41480a
SM
6158 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6159 (byte-compile-callargs-warn): Use `push'.
6160 (byte-compile-arglist-warn): Ignore higher-order "calls".
6161 (byte-compile-file-form-autoload): Use `pcase'.
6162 (byte-compile-function-form): If quoting a symbol, check that it exists.
6163
cdc1ebb9
EZ
61642013-08-07 Eli Zaretskii <eliz@gnu.org>
6165
6166 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6167 and add a few popular commands found in batch files.
6168 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6169 (dos-mode): Doc fixes.
6170
312b1740
SM
61712013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6174 (dos-mode): Use setq-local. Add space after "rem".
6175 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6176 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6177
400a3178
AM
61782013-08-07 Arni Magnusson <arnima@hafro.is>
6179
6180 * progmodes/dos.el: New file.
6181 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6182 dos-mode.
6183
3b5c03d3
GM
61842013-08-06 Glenn Morris <rgm@gnu.org>
6185
6186 * calendar/calendar.el: Add new faces, and day-header-array.
6187 (calendar-weekday-header, calendar-weekend-header)
6188 (calendar-month-header): New faces.
6189 (calendar-day-header-construct): New function.
6190 (calendar-day-header-width): Also :set calendar-day-header-array.
6191 (calendar-american-month-header, calendar-european-month-header)
6192 (calendar-iso-month-header): Use calendar- faces.
6193 (calendar-generate-month):
6194 Use calendar-day-header-array for day headers; apply faces to them.
6195 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6196 (calendar-abbrev-construct): Add optional maxlen argument.
6197 (calendar-day-name-array): Doc fix.
6198 (calendar-day-name-array, calendar-abbrev-length)
6199 (calendar-day-abbrev-array):
6200 Also :set calendar-day-header-array, and maybe redraw.
6201 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6202 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6203 (calendar-day-name): Add option to use header array.
6204
ec6a2d7a
LMI
62052013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6206
6207 * net/shr.el (shr-render-td): Remove debugging.
6208 (shr-render-td): Make width computation consistent by defaulting
6209 all zero-width columns to 10 characters. This may not be optimal,
6210 but it's at least consistent.
2122cb6d
LMI
6211 (shr-make-table-1): Redo last change to fix the real problem in
6212 colspan handling.
ec6a2d7a 6213
ed4fd9c5
DA
62142013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6215
0ca3f70e
SM
6216 * files.el (cache-long-line-scans):
6217 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6218
64e22afe
JB
62192013-08-06 Juanma Barranquero <lekktu@gmail.com>
6220
024b38fc
JB
6221 * frameset.el (frameset, frameset-filter-alist)
6222 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6223 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6224 (frameset-compute-pos): Rename from frameset--compute-pos,
6225 and add docstring.
6226 (frameset-move-onscreen): Use frameset-compute-pos.
6227 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6228
64e22afe
JB
6229 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6230 Fix typos in docstrings.
6231
c8c2aca8
DA
62322013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6233
6234 * frame.el (get-other-frame): Tiny cleanup.
6235
1d237bba
JB
62362013-08-06 Juanma Barranquero <lekktu@gmail.com>
6237
8951efef
JB
6238 * vc/vc.el (vc-default-ignore-completion-table):
6239 Silence byte-compiler warning.
6240
307764cc
JB
6241 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6242 slot , which can indeed be nil.
6243 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6244 Move entry for `left' from persistent to live filter alist.
6245 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6246 Doc fixes.
6247 (frameset-filter-params): When restoring a frame, copy items added to
6248 `filtered', to avoid unwittingly modifying the original parameters.
6249 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6250 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6251
1d237bba
JB
6252 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6253 to use looking-at-p instead of looking-at. (Bug#15028)
6254
dc6c0eda
SM
62552013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 Revert introduction of isearch-filter-predicates (bug#14714).
6258 Rely on add-function instead.
6259 * isearch.el (isearch-filter-predicates): Rename it back to
6260 isearch-filter-predicate.
6261 (isearch-message-prefix): Use advice-function-mapc and advice
6262 properties to get the isearch-message-prefix.
6263 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6264 instead of run-hook-with-args-until-failure.
6265 (isearch-filter-visible): Not obsolete any more.
6266 * loadup.el: Preload nadvice.
6267 * replace.el (perform-replace): Revert to funcall
6268 instead of run-hook-with-args-until-failure.
6269 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6270 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6271 dired-isearch-filenames-toggle; make it into a proper minor mode.
6272 Use add/remove-function.
6273 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6274 Call the minor-mode rather than add/remove-hook.
6275 (dired-isearch-filter-filenames):
6276 Remove isearch-message-prefix property.
6277 * info.el (Info--search-loop): New function, extracted from Info-search.
6278 Funcall isearch-filter-predicate instead of
6279 run-hook-with-args-until-failure isearch-filter-predicates.
6280 (Info-search): Use it.
6281 (Info-mode): Use isearch-filter-predicate instead of
6282 isearch-filter-predicates.
6283
290d5b58
DA
62842013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6285
6286 Do not call to `selected-window' where it is assumed by default.
6287 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6288 `window-hscroll', `window-width', `window-height', `window-buffer',
6289 `window-frame', `window-start', `window-point', `next-window'
6290 and `window-display-table'.
6291 * abbrev.el (abbrev--default-expand):
6292 * bs.el (bs--show-with-configuration):
6293 * buff-menu.el (Buffer-menu-mouse-select):
6294 * calc/calc.el (calc):
6295 * calendar/calendar.el (calendar-generate-window):
6296 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6297 (diary-make-entry):
6298 * comint.el (send-invisible, comint-dynamic-complete-filename)
6299 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6300 * completion.el (complete):
6301 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6302 * disp-table.el (describe-current-display-table):
6303 * doc-view.el (doc-view-insert-image):
6304 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6305 * ehelp.el (with-electric-help):
6306 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6307 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6308 * emacs-lisp/helper.el (Helper-help-scroller):
6309 * emulation/cua-base.el (cua--post-command-handler-1):
6310 * eshell/esh-mode.el (eshell-output-filter):
6311 * ffap.el (ffap-gnus-wrapper):
6312 * help-macro.el (make-help-screen):
6313 * hilit-chg.el (highlight-compare-buffers):
6314 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6315 * hl-line.el (global-hl-line-highlight):
6316 * icomplete.el (icomplete-simple-completing-p):
6317 * isearch.el (isearch-done):
6318 * jit-lock.el (jit-lock-stealth-fontify):
6319 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6320 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6321 * mpc.el (mpc-tagbrowser, mpc):
6322 * net/rcirc.el (rcirc-any-buffer):
6323 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6324 * play/landmark.el (landmark-max-width, landmark-max-height):
6325 * play/zone.el (zone):
6326 * progmodes/compile.el (compilation-goto-locus):
6327 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6328 * progmodes/etags.el (find-tag-other-window):
6329 * progmodes/fortran.el (fortran-column-ruler):
6330 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6331 * progmodes/verilog-mode.el (verilog-point-text):
6332 * reposition.el (reposition-window):
6333 * rot13.el (toggle-rot13-mode):
6334 * server.el (server-switch-buffer):
6335 * shell.el (shell-dynamic-complete-command)
6336 (shell-dynamic-complete-environment-variable):
6337 * simple.el (insert-buffer, set-selective-display)
6338 (delete-completion-window):
6339 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6340 (speedbar-recenter):
6341 * startup.el (fancy-splash-head):
6342 * textmodes/ispell.el (ispell-command-loop):
6343 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6344 * tutorial.el (help-with-tutorial):
6345 * vc/add-log.el (add-change-log-entry):
6346 * vc/compare-w.el (compare-windows):
6347 * vc/ediff-help.el (ediff-indent-help-message):
6348 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6349 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6350 (ediff-setup-control-frame):
6351 * vc/emerge.el (emerge-position-region):
6352 * vc/pcvs-util.el (cvs-bury-buffer):
6353 * window.el (walk-windows, mouse-autoselect-window-select):
6354 * winner.el (winner-set-conf, winner-undo): Related users changed.
6355
38276e01
JB
63562013-08-05 Juanma Barranquero <lekktu@gmail.com>
6357
6358 * frameset.el (frameset--set-id): Doc fix.
6359 (frameset-frame-id, frameset-frame-id-equal-p)
6360 (frameset-locate-frame-id): New functions.
6361 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6362 (frameset-restore): Use them.
6363
12b4c0ea
DA
63642013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6365
6366 Do not call to `selected-frame' where it is assumed by default.
6367 Affected functions are `raise-frame', `redraw-frame',
6368 `frame-first-window', `frame-terminal' and `delete-frame'.
6369 * calendar/appt.el (appt-disp-window):
6370 * epg.el (epg-wait-for-completion):
6371 * follow.el (follow-delete-other-windows-and-split)
6372 (follow-avoid-tail-recenter):
6373 * international/mule.el (set-terminal-coding-system):
6374 * mail/rmail.el (rmail-mail-return):
6375 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6376 * progmodes/f90.el (f90-add-imenu-menu):
6377 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6378 * server.el (server-switch-buffer):
6379 * simple.el (delete-completion-window):
6380 * talk.el (talk):
6381 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6382 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6383 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6384 * vc/ediff.el (ediff-documentation): Related users changed.
6385 * frame.el (selected-terminal): Remove the leftover.
6386
17f25e76
GM
63872013-08-05 Glenn Morris <rgm@gnu.org>
6388
6389 * calendar/calendar.el (calendar-generate-month):
6390 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6391 (calendar-generate-month, calendar-font-lock-keywords):
6392 Fix for calendar-day-header-width > length of any day name.
17f25e76 6393
063233c3
JB
63942013-08-05 Juanma Barranquero <lekktu@gmail.com>
6395
6396 * desktop.el (desktop-clear): Use new name of sort predicate.
6397
6398 * frameset.el (frameset): Add docstring. Move :version property to its
6399 own `version' slot.
6400 (frameset-copy): Rename from copy-frameset.
6401 (frameset-p): Check more thoroughly.
6402 (frameset-prop): Do not check for :version, which is no longer a prop.
6403 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6404 Use new :never value instead of t.
6405 (frameset-filter-alist): Expand and clarify docstring.
6406 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6407 (frameset-filter-minibuffer, frameset-filter-save-param)
6408 (frameset-filter-restore-param, frameset-filter-iconified):
6409 Add pointer to docstring of frameset-filter-alist.
6410 (frameset-filter-params): Rename filter values to be more meaningful:
6411 :never instead of t, and reverse the meanings of :save and :restore.
6412 (frameset--process-minibuffer-frames): Clarify error message.
6413 (frameset-save): Avoid unnecessary and confusing call to framep.
6414 Use new BOA constructor for framesets.
6415 (frameset--reuse-list): Doc fix.
6416 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6417 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6418 (frameset-minibufferless-first-p): Doc fix.
6419 Rename from frameset-sort-frames-for-deletion.
6420 (frameset-restore): Doc fixes. Use new function names.
6421 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6422
d5671a82
JB
64232013-08-04 Juanma Barranquero <lekktu@gmail.com>
6424
6425 * desktop.el (desktop-restore-forces-onscreen)
6426 (desktop-restore-reuses-frames): Document :keyword constant values.
6427 (desktop-filter-parameters-alist): Remove, now identical to
6428 frameset-filter-alist.
6429 (desktop--filter-tty*): Remove, moved to frameset.el.
6430 (desktop-save-frameset, desktop-restore-frameset):
6431 Do not pass :filters argument.
6432
6433 * frameset.el (frameset-live-filter-alist)
6434 (frameset-persistent-filter-alist): New variables.
6435 (frameset-filter-alist): Use them. Add autoload cookie.
6436 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6437 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6438 `frameset--id' (it's supposed to be internal to frameset.el).
6439 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6440 (frameset--initial-params): New function.
6441 (frameset--get-frame): Use it. Doc fix.
6442 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6443 Accept :all, not 'all.
6444 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6445 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6446 with fbound symbols. Fix frame id matching, and remove matching ids if
6447 the frame being restored is deleted. Obey :delete.
6448
671d5c16
SM
64492013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * subr.el (macrop): New function.
6452 (text-clone--maintaining): New var.
6453 (text-clone--maintain): Rename from text-clone-maintain. Use it
6454 instead of inhibit-modification-hooks.
6455
6456 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6457 a proxy, so as handle autoloads and redefinitions of the target.
6458 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6459
6460 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6461 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6462 (pcase--mutually-exclusive-p): New function.
6463 (pcase--split-consp): Use it.
6464 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6465 mutually exclusive with the current predicate.
6466
6467 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6468 (edebug-macrop): Remove. Use `macrop' instead.
6469 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6470 (ad-macro-p):
6471 * eshell/esh-cmd.el (eshell-macrop):
6472 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6473
1d44e9dc
SM
64742013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6477 (advice-mapc): New function, using it.
6478 (advice-function-member-p): New function.
6479 (advice--normalize): Store the cdr in advice--saved-rewrite since
6480 that's the part that will be changed.
6481 (advice--symbol-function): New function.
6482 (advice-remove): Handle removal before the function is defined.
6483 Adjust to new advice--saved-rewrite.
6484 (advice-member-p): Use advice-function-member-p and
6485 advice--symbol-function.
6486
5414a283
JB
64872013-08-04 Juanma Barranquero <lekktu@gmail.com>
6488
51d30f2c
JB
6489 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6490 (frameset-filter-minibuffer): Doc fix.
6491 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6492 (frameset--set-id, frameset--process-minibuffer-frames)
6493 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6494 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6495
5414a283
JB
6496 * desktop.el (desktop-clear): Only delete frames when called
6497 interactively and desktop-restore-frames is non-nil. Doc fix.
6498 (desktop-read): Set desktop-saved-frameset to nil.
6499
ab419665
XF
65002013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6501
6502 * vc/vc.el (vc-ignore): Rewrite.
6503 (vc-default-ignore-completion-table):
6504 (vc--read-lines):
6505 (vc--add-line, vc--remove-regexp): New functions.
6506
6507 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6508 (vc-svn-ignore-completion-table): New function.
6509
6510 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6511 (vc-hg-ignore-completion-table):
6512 (vc-hg-find-ignore-file): New functions.
6513
6514 * vc/vc-git.el (vc-git-ignore): Rewrite.
6515 (vc-git-ignore-completion-table):
6516 (vc-git-find-ignore-file): New functions.
6517
6518 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6519
6520 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6521 (vc-bzr-ignore-completion-table):
6522 (vc-bzr-find-ignore-file): New functions.
6523
2613dea2
JB
65242013-08-03 Juanma Barranquero <lekktu@gmail.com>
6525
6526 * frameset.el (frameset-prop): New function and setter.
6527 (frameset-save): Do not modify frame list passed by the caller.
6528
9c959872
SM
65292013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6532
a104f656
SM
65332013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6534
70122acf
SM
6535 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6536 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6537
a104f656
SM
6538 * custom.el (custom-initialize-default, custom-initialize-set)
6539 (custom-initialize-reset, custom-initialize-changed): Affect the
6540 toplevel-default-value (bug#6275, bug#14586).
6541 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6542 for bug#6275.
6543
f078d570
JB
65442013-08-02 Juanma Barranquero <lekktu@gmail.com>
6545
185e3b5a
JB
6546 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6547 Add cl-def* expressions.
6548
f078d570
JB
6549 * frameset.el (frameset-filter-params): Fix order of arguments.
6550
9421876d
JB
65512013-08-02 Juanma Barranquero <lekktu@gmail.com>
6552
6553 Move code related to saving frames to frameset.el.
6554 * desktop.el: Require frameset.
6555 (desktop-restore-frames): Doc fix.
6556 (desktop-restore-reuses-frames): Rename from
6557 desktop-restoring-reuses-frames.
6558 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6559 (desktop-clear): Clear frames too.
6560 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6561 (desktop--filter-tty*, desktop-save, desktop-read):
6562 Use frameset functions.
6563 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6564 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6565 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6566 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6567 (desktop--process-minibuffer-frames, desktop-save-frames)
6568 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6569 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6570 (desktop--sort-states, desktop-restoring-frames-p)
6571 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6572 (desktop-restoring-frameset-p, desktop-restore-frameset)
6573 (desktop--check-dont-save, desktop-save-frameset): New functions.
6574 (desktop--app-id): New constant.
6575 (desktop-first-buffer, desktop-buffer-ok-count)
6576 (desktop-buffer-fail-count): Move before first use.
6577 * frameset.el: New file.
6578
76dc5996
SM
65792013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * files.el: Use lexical-binding.
6582 (dir-locals-read-from-file): Remove unused `err' variable.
6583 (hack-dir-local-variables--warned-coding): New var.
6584 (hack-dir-local-variables): Use it to avoid repeated warnings.
6585 (make-backup-file-name--default-function): New function.
6586 (make-backup-file-name-function): Use it as default.
6587 (buffer-stale--default-function): New function.
6588 (buffer-stale-function): Use it as default.
6589 (revert-buffer-insert-file-contents--default-function): New function.
6590 (revert-buffer-insert-file-contents-function): Use it as default.
6591 (insert-directory): Avoid add-to-list.
6592
6593 * autorevert.el (auto-revert-handler): Simplify.
6594 Use buffer-stale--default-function.
6595
06d36e2b
TH
65962013-08-01 Tassilo Horn <tsdh@gnu.org>
6597
5f648ab4
TH
6598 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6599
06d36e2b
TH
6600 * whitespace.el (whitespace-ensure-local-variables): New function.
6601 (whitespace-cleanup-region): Call it.
6602 (whitespace-turn-on): Call it.
6603
a43dc424
MA
66042013-08-01 Michael Albinus <michael.albinus@gmx.de>
6605
6606 Complete file name handlers.
6607
6608 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6609 (tramp-handle-verify-visited-file-modtime)
6610 (tramp-handle-file-notify-rm-watch): New functions.
6611 (tramp-call-process): Do not bind `default-directory'.
6612
44e18199
JB
6613 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6614 Order alphabetically.
a43dc424
MA
6615 [access-file, add-name-to-file, dired-call-process]:
6616 [dired-compress-file, file-acl, file-notify-rm-watch]:
6617 [file-ownership-preserved-p, file-selinux-context]:
6618 [make-directory-internal, make-symbolic-link, set-file-acl]:
6619 [set-file-selinux-context, set-visited-file-modtime]:
6620 [verify-visited-file-modtime]: Add handler.
6621 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6622
6623 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6624 [file-notify-add-watch, file-notify-rm-watch]:
6625 [set-file-times, set-visited-file-modtime]:
6626 [verify-visited-file-modtime]: Add handler.
6627 (with-tramp-gvfs-error-message)
6628 (tramp-gvfs-handle-set-visited-file-modtime)
6629 (tramp-gvfs-fuse-file-name): Remove.
6630 (tramp-gvfs-handle-file-notify-add-watch)
6631 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6632 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6633
44e18199
JB
6634 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6635 Order alphabetically.
a43dc424
MA
6636 [file-notify-rm-watch ]: Use default Tramp handler.
6637 [executable-find]: Remove private handler.
6638 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6639 `default-directory'.
6640 (tramp-sh-handle-executable-find)
6641 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6642 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6643 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6644 Do not use `format' in `tramp-message'.
6645
6646 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6647 [file-notify-rm-watch, set-visited-file-modtime]:
6648 [verify-visited-file-modtime]: Add handler.
6649 (tramp-smb-call-winexe): Do not bind `default-directory'.
6650
7188b515
XF
66512013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6652
6653 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6654
2412ee1a
DG
66552013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6656
6657 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6658 use it.
6659 (log-view-diff-changeset): Same.
6660 (log-view-diff-common): Call backend command `previous-revision'
6661 to find out the previous revision, in both cases. Swap the
6662 variables `to' and `fr', so that `fr' usually refers to the
6663 earlier revision (Bug#14989).
6664
5002a754
KRC
66652013-07-31 Kan-Ru Chen <kanru@kanru.info>
6666
6667 * ibuf-ext.el (ibuffer-filter-by-filename):
6668 Make it work with dired buffers too.
6669
44e18199 66702013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6671
6672 * emacs-lisp/re-builder.el (reb-color-display-p):
6673 * files.el (save-buffers-kill-terminal):
6674 * net/browse-url.el (browse-url):
6675 * server.el (server-save-buffers-kill-terminal):
6676 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6677 Prefer nil to selected-frame for the first arg of frame-parameter.
6678
aeca3fbb
XF
66792013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6680
6681 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6682
158bc55c
SB
66832013-07-30 Stephen Berman <stephen.berman@gmx.net>
6684
6685 * minibuffer.el (completion--twq-all): Try and preserve each
6686 completion's case choice (bug#14907).
6687
d50fceab
LMI
66882013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6689
ac38e731
LMI
6690 * net/network-stream.el (open-network-stream): Mention the new
6691 :nogreeting parameter.
6692 (network-stream-open-starttls): Use the :nogreeting parameter
6693 (bug#14938).
6694
1211de50
LMI
6695 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6696
997798bf
LMI
6697 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6698 more natural than popping.
6699
d50fceab 6700 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6701 (shr-urlify): Highlight under mouse.
d50fceab 6702
5c09de04
XF
67032013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6704
207d1d04
XF
6705 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6706
6707 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6708
5c09de04
XF
6709 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6710 buffer for output.
6711
3cd51eaa
XF
6712 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6713 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6714
44e18199 6715 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6716 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6717
6718 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6719
6720 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6721 buffer for output.
6722
35a89bdd
EZ
67232013-07-29 Eli Zaretskii <eliz@gnu.org>
6724
6725 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6726 initial frame is minibuffer-less. (Bug#14841)
6727
78822e94
MA
67282013-07-29 Michael Albinus <michael.albinus@gmx.de>
6729
6730 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6731 option.
6732
6733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6734 (tramp-maybe-open-connection): Use it.
6735
9503c190
JB
67362013-07-28 Juanma Barranquero <lekktu@gmail.com>
6737
6738 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6739 minimal set of parameters passed when creating a frame, because
6740 the minibuffer status of a frame cannot be changed later.
6741
d5a845b4
SB
67422013-07-28 Stephen Berman <stephen.berman@gmx.net>
6743
6744 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6745 replace-regexp-in-string and inadvertent omissions in previous change.
6746 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6747 name of filtered items buffer.
d5a845b4 6748
ddeffb17
JB
67492013-07-28 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * desktop.el: Optionally force offscreen frames back onscreen.
6752 (desktop-restoring-reuses-frames): New option.
6753 (desktop--compute-pos, desktop--move-onscreen): New functions.
6754 (desktop--make-frame): Use desktop--move-onscreen.
6755
f5950f7a
AM
67562013-07-27 Alan Mackenzie <acm@muc.de>
6757
6758 Fontify a Java generic method as a function.
6759 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6760 value to t.
6761
ae43b66a
SB
67622013-07-27 Stephen Berman <stephen.berman@gmx.net>
6763
6764 * calendar/todo-mode.el: Add command to rename todo files.
6765 (todo-rename-file): New command.
6766 (todo-key-bindings-t): Add key binding for it. Change the
6767 bindings of todo-filter-regexp-items(-multifile) to use `x'
6768 instead of `r', since the latter is better suited to the new
6769 renaming command.
6770
5ab78d3d
AM
67712013-07-27 Alan Mackenzie <acm@muc.de>
6772
6773 Make Java try-with-resources statement parse properly.
6774 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6775 (c-block-stmt-1-2-key): New language constants/variables.
6776 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6777 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6778 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6779 with c-block-stmt-1-2-key.
5ab78d3d 6780
d85c4d50
JB
67812013-07-27 Juanma Barranquero <lekktu@gmail.com>
6782
6783 * desktop.el (desktop--make-frame): Apply most frame parameters after
6784 creating the frame to force (partially or totally) offscreen frames to
6785 be restored as such.
6786
e4c467f9
XF
67872013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6788
6789 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6790 (Bug#14948)
e4c467f9 6791
7ced0d04
SM
67922013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6795 `base' arg of backtrace-frame.
6796
fec92060
EZ
67972013-07-26 Eli Zaretskii <eliz@gnu.org>
6798
6799 * simple.el (list-processes): Doc fix.
6800
d58d31fb
JB
68012013-07-26 Juanma Barranquero <lekktu@gmail.com>
6802
6803 * desktop.el (desktop--select-frame):
d85c4d50 6804 Try harder to reuse existing frames.
d58d31fb 6805
53ff3e77
SM
68062013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6809 (edebug-eval): Use backtrace-eval.
6810 (edebug--display, edebug--recursive-edit): Don't let-bind the
6811 edebug-outer-* vars that keep track of variables we locally let-bind.
6812 (edebug-outside-excursion): Don't restore outside values of locally
6813 let-bound vars.
6814 (edebug--display): Use user-error.
6815 (cl-lexical-debug, cl-debug-env): Remove.
6816
045f7a53
JB
68172013-07-26 Juanma Barranquero <lekktu@gmail.com>
6818
6819 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6820 are restored to be sure that they are visible before deleting any
6821 remaining ones.
6822
59070b32
MM
68232013-07-26 Matthias Meulien <orontee@gmail.com>
6824
742a3501
XF
6825 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6826 vc-print-root-log. (Bug#14948)
59070b32 6827
b1fb3596
RS
68282013-07-26 Richard Stallman <rms@gnu.org>
6829
6830 Add aliases for encrypting mail.
6831 * epa.el (epa-mail-aliases): New option.
6832 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6833 Bind inhibit-read-only so read-only text doesn't ruin everything.
6834 (epa-mail-default-recipients): New subroutine broken out.
6835 Handle epa-mail-aliases.
6836
56ea7291
SM
68372013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 Add support for lexical variables to the debugger's `e' command.
6840 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6841 vars, except for debugger-outer-match-data.
6842 (debugger-frame-number): Move check for "on a function call" from
6843 callers into it. Add `skip-base' argument.
6844 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6845 (debugger-env-macro): Only reset the state stored in non-variables,
6846 i.e. current-buffer and match-data.
6847 (debugger-eval-expression): Rewrite using backtrace-eval.
6848 * subr.el (internal--called-interactively-p--get-frame): Remove.
6849 (called-interactively-p):
6850 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6851 `base' arg of backtrace-frame instead.
6852
15ac32d5
GM
68532013-07-26 Glenn Morris <rgm@gnu.org>
6854
8358a09d
GM
6855 * align.el (align-regexp): Doc fix. (Bug#14857)
6856 (align-region): Explicit error if subexpression missing/does not match.
6857
15ac32d5
GM
6858 * simple.el (global-visual-line-mode):
6859 Do not duplicate the mode lighter. (Bug#14858)
6860
f47ad11b
MR
68612013-07-25 Martin Rudalics <rudalics@gmx.at>
6862
6863 * window.el (display-buffer): In display-buffer bind
6864 split-window-keep-point to t, bug#14829.
6865
02530987
JB
68662013-07-25 Juanma Barranquero <lekktu@gmail.com>
6867
6868 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6869 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6870 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6871 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6872 Change accordingly.
f63ebeb5
JB
6873 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6874 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6875
6ccb9cab 68762013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6877
6ccb9cab 6878 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6879
cb3a56d2
JB
68802013-07-25 Juanma Barranquero <lekktu@gmail.com>
6881
6882 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6883 parameter to modify-frame-parameters if the value has not changed;
6884 this is a workaround for bug#14949.
6885 (desktop--make-frame): On cl-delete-if call, check parameter name,
6886 not full parameter.
6887
7aa7fff0
XF
68882013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6889
6890 * vc/vc.el (vc-ignore): New function.
6891
6892 * vc/vc-svn.el (vc-svn-ignore): New function.
6893
6894 * vc/vc-hg.el (vc-hg-ignore): New function.
6895
6896 * vc/vc-git.el (vc-git-ignore): New function.
6897
6898 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6899 (vc-dir-ignore): New function.
6900
6901 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6902 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6903
6904 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6905
6906 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6907
889acc5c
JB
69082013-07-24 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6911 (desktop-restore-frames): Warn when deleting an existing frame failed.
6912
86c40970
GM
69132013-07-24 Glenn Morris <rgm@gnu.org>
6914
6915 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6916
d5d3c58a
MA
69172013-07-24 Michael Albinus <michael.albinus@gmx.de>
6918
6919 * filenotify.el (file-notify-supported-p):
6920 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6921 Remove functions.
6922
6923 * autorevert.el (auto-revert-use-notify):
6924 (auto-revert-notify-add-watch):
6925 * net/tramp.el (tramp-file-name-for-operation):
6926 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6927 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6928 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6929 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6930 Remove `file-notify-supported-p' entry.
6931
d100084b
GM
69322013-07-24 Glenn Morris <rgm@gnu.org>
6933
6934 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6935 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6936
ac93e56b
SM
69372013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6938
249eea30
SM
6939 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6940 checked with memq (bug#14935).
6941
ac93e56b
SM
6942 * files.el (revert-buffer-function): Use a non-nil default.
6943 (revert-buffer-preserve-modes): Declare var to
6944 provide access to the `preserve-modes' argument.
6945 (revert-buffer): Let-bind it.
6946 (revert-buffer--default): New function, extracted from revert-buffer.
6947
2cdeb903
SM
69482013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * lpr.el: Signal print errors more prominently.
6951 (print-region-function): Don't default to nil.
6952 (lpr-print-region): New function, extracted from print-region-1.
6953 Check lpr's return value and signal an error in case of problem.
6954 (print-region-1): Use it.
6955 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6956 versions instead.
6957 (ps-printer-name): Default to nil.
6958 (ps-printer-name-option): Default to lpr-printer-switch.
6959 (ps-print-region-function): Don't default to nil.
6960 (ps-postscript-code-directory): Simplify default.
6961 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6962 (ps-string-list, ps-eval-switch, ps-flatten-list)
6963 (ps-flatten-list-1): Remove.
6964 (ps-multibyte-buffer): Avoid setq.
6965 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6966 (print-region-function, ps-print-region-function): Don't set them here.
6967
73600831
XF
69682013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6969
0e55c076
XF
6970 * ido.el (ido-fractionp):
6971 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6972 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6973 (ido-max-directory-size, ido-max-dir-file-cache)
6974 (ido-decorations): Doc fix.
6975
73600831
XF
6976 * ansi-color.el: Fix old URL.
6977
3d012865
MM
69782013-07-23 Michael R. Mauger <michael@mauger.com>
6979
e903c210 6980 * progmodes/sql.el: Version 3.3
3d012865
MM
6981 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6982 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6983 (sql-interactive-remove-continuation-prompt): Rewrite, use
6984 functions above. Fix continuation prompt and complete output line
6985 handling.
6986 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6987 redirected output buffer.
6988 (sql-mode): Restore deleted code (Bug#13591).
6989
da77a2e2
JB
69902013-07-23 Juanma Barranquero <lekktu@gmail.com>
6991
6992 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6993
80ff0c71
MA
69942013-07-23 Michael Albinus <michael.albinus@gmx.de>
6995
6996 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6997
6998 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6999 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7000 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7001
b61d71e4
JB
70022013-07-23 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * desktop.el (desktop-clear): Simplify; remove useless checks
7005 against invalid buffer names.
7006 (desktop-list*): Use cl-list*.
7007 (desktop-buffer-info, desktop-create-buffer): Simplify.
7008
c3512092
LL
70092013-07-23 Leo Liu <sdl.web@gmail.com>
7010
7011 * bookmark.el (bookmark-make-record): Restore NAME as a default
7012 value. (Bug#14933)
7013
0ac26976
SM
70142013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7d22ce18
SM
7016 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7017 extracted from autoload--insert-text.
7018 (autoload--insert-text): Remove.
7019 (autoload--print-cookie-text): New function, extracted from
7020 autoload--insert-cookie-text.
7021 (autoload--insert-cookie-text): Remove.
7022 (autoload-generate-file-autoloads): Adjust calls accordingly.
7023
9b2607e8
SM
7024 * winner.el (winner-hook-installed-p): Remove.
7025 (winner-mode): Simplify accordingly.
7026
c43a8618
SM
7027 * subr.el (add-to-list): Fix compiler-macro when `append' is
7028 not constant. Don't use `cl-member' for the base case.
7029
0ac26976
SM
7030 * progmodes/subword.el: Fix boundary case (bug#13758).
7031 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7032 own group.
7033 (subword-backward-regexp): Make it a constant.
7034 (subword-forward-internal): Don't treat a trailing capital as the
7035 beginning of a word.
7036
6874724a
AR
70372013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7038
7039 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7040 global value of tabulated-list-revert-hook (bug#14930).
7041
70f1b5e8
JB
70422013-07-22 Juanma Barranquero <lekktu@gmail.com>
7043
a1c80d9d
JB
7044 * desktop.el: Require 'cl-lib.
7045 (desktop-before-saving-frames-functions): New hook.
7046 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7047 for frames being saved. Rename from desktop--save-minibuffer-frames.
7048 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7049 Do not save frames with non-nil `desktop-dont-save' parameter.
7050 Filter out deleted frames.
a1c80d9d
JB
7051 (desktop--find-frame): Use cl-find-if.
7052 (desktop--select-frame): Use cl-(first|second|third) to access values
7053 of desktop-mini.
7054 (desktop--make-frame): Use cl-delete-if.
7055 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7056 (desktop-restore-frames): Use cl-(first|second|third) to access values
7057 of desktop-mini. Look for visible frame at the end, not while
7058 restoring frames.
7059
70f1b5e8
JB
7060 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7061 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7062 Use string-match-p, looking-at-p (bug#14927).
7063
728dc3cc
JB
70642013-07-21 Juanma Barranquero <lekktu@gmail.com>
7065
56bc453c
JB
7066 * desktop.el (desktop-saved-frame-states):
7067 Rename from desktop--saved-states; all users changed.
7068 (desktop-save-frames): Rename from desktop--save-frames.
7069 Do not save state to desktop file.
7070 (desktop-save): Save desktop-saved-frame-states to desktop file
7071 and reset to nil.
7072 (desktop-restoring-frames-p): New function.
7073 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7074 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7075 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7076
728dc3cc
JB
7077 * desktop.el: Correctly restore iconified frames.
7078 (desktop--filter-iconified-position): New function.
7079 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7080
862f1c9c
GM
70812013-07-20 Glenn Morris <rgm@gnu.org>
7082
c4074c9f
GM
7083 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7084 Let `message' do the formatting.
7085 (def-gdb-preempt-display-buffer): Add explicit format.
7086
d828e5f9
GM
7087 * image-dired.el (image-dired-track-original-file):
7088 Use with-current-buffer.
7089 (image-dired-track-thumbnail): Use with-current-buffer.
7090 Avoid changing point of wrong window.
7091
862f1c9c
GM
7092 * image-dired.el (image-dired-track-original-file):
7093 Avoid changing point of wrong window. (Bug#14909)
7094
f0398ec1 70952013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7096
7097 * progmodes/gdb-mi.el (gdb-done-or-error):
7098 Guard against "%" in gdb output. (Bug#14127)
7099
1451928f
AS
71002013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7101
763a086d
JB
7102 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7103 (Bug#14826)
f7a03897 7104
1451928f
AS
7105 * international/mule.el (coding-system-iso-2022-flags): Fix last
7106 change.
7107
99107004
KH
71082013-07-20 Kenichi Handa <handa@gnu.org>
7109
763a086d
JB
7110 * international/mule.el (coding-system-iso-2022-flags):
7111 Add `8-bit-level-4'. (Bug#8522)
99107004 7112
48494e06
LMI
71132013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7114
8ba8eec5
LMI
7115 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7116 (bug#14815).
7117
dfbc66e3
LMI
7118 * net/eww.el (eww-process-text-input): Allow inputting when the
7119 point is at the start of the line, as the properties aren't
7120 front-sticky.
7121
48494e06
LMI
7122 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7123 degenerate widths.
7124
77c92cb9
RS
71252013-07-19 Richard Stallman <rms@gnu.org>
7126
aec7da77
RS
7127 * epa.el (epa-popup-info-window): Doc fix.
7128
77c92cb9
RS
7129 * subr.el (split-string): New arg TRIM.
7130
945c5bb1
JB
71312013-07-18 Juanma Barranquero <lekktu@gmail.com>
7132
7133 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7134 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7135
e06ec67f
MA
71362013-07-18 Michael Albinus <michael.albinus@gmx.de>
7137
c7064f05 7138 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7139 `file-notify-support'. Do not autoload. Adapt all uses.
7140 (file-notify-supported-p): New defun.
7141
c7064f05
JB
7142 * autorevert.el (auto-revert-use-notify):
7143 Use `file-notify-supported-p' instead of `file-notify-support'.
7144 Adapt docstring.
e06ec67f
MA
7145 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7146
7147 * net/tramp.el (tramp-file-name-for-operation):
7148 Add `file-notify-supported-p'.
7149
7150 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7151 New defun.
7152 (tramp-sh-file-name-handler-alist): Add it as handler for
7153 `file-notify-supported-p '.
7154
7155 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7156 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7157 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7158 Add `ignore' as handler for `file-notify-*' functions.
7159
5dc8a629
EZ
71602013-07-17 Eli Zaretskii <eliz@gnu.org>
7161
7162 * simple.el (line-move-partial, line-move): Don't start vscroll or
7163 scroll-up if the current line is not taller than the window.
7164 (Bug#14881)
7165
77aea2fb
DG
71662013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7167
7168 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7169 highlight question marks in the method names as strings.
ac72c08d
DG
7170 (ruby-block-beg-keywords): Inline.
7171 (ruby-font-lock-keyword-beg-re): Extract from
7172 `ruby-font-lock-keywords'.
77aea2fb 7173
18c26d81
JD
71742013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7175
7176 * frame.el (blink-cursor-blinks): New defcustom.
7177 (blink-cursor-blinks-done): New defvar.
7178 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7179 (blink-cursor-timer-function): Check if number of blinks has been
7180 done on X and NS.
7181 (blink-cursor-suspend, blink-cursor-check): New defuns.
7182
da48522e
GM
71832013-07-15 Glenn Morris <rgm@gnu.org>
7184
7185 * edmacro.el (edmacro-format-keys): Fix previous change.
7186
0463c1ef
PE
71872013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7188
7189 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7190 The hack didn't work outside English locales anyway.
7191
b43f6451
JB
71922013-07-15 Juanma Barranquero <lekktu@gmail.com>
7193
7194 * simple.el (define-alternatives): Rename from alternatives-define,
7195 per RMS' suggestion.
7196
b958c0ad
JB
71972013-07-14 Juanma Barranquero <lekktu@gmail.com>
7198
7199 * desktop.el (desktop-restore-frames): Change default to t.
7200 (desktop-restore-in-current-display): Now offer more options.
7201 (desktop-restoring-reuses-frames): New customization option.
7202 (desktop--saved-states): Doc fix.
7203 (desktop-filter-parameters-alist): New variable, renamed and expanded
7204 from desktop--excluded-frame-parameters.
7205 (desktop--target-display): New variable.
7206 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7207 (desktop--filter-tty*, desktop--filter-*-color)
7208 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7209 (desktop--filter-save-desktop-parm)
7210 (desktop-restore-in-original-display-p): New functions.
7211 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7212 (desktop--save-minibuffer-frames): New function, inspired by a similar
7213 function from Martin Rudalics.
7214 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7215 (desktop--restore-in-this-display-p): Remove.
7216 (desktop--find-frame): Rename from desktop--find-frame-in-display
7217 and add predicate argument.
7218 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7219 (desktop--reuse-list): New variable.
7220 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7221 New functions.
7222 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7223
f6dd8b36
MA
72242013-07-14 Michael Albinus <michael.albinus@gmx.de>
7225
7226 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7227
2ce3c565
DG
72282013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7229
763a086d
JB
7230 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7231 Highlight conversion methods on Kernel.
2ce3c565 7232
2cdb7698
AM
72332013-07-13 Alan Mackenzie <acm@muc.de>
7234
7235 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7236 and comment it out. This out-commenting enables certain C++
7237 declarations to be parsed correctly.
7238
1a67b811
EZ
72392013-07-13 Eli Zaretskii <eliz@gnu.org>
7240
1b796d6b
EZ
7241 * international/mule.el (define-coding-system): Doc fix.
7242
1a67b811
EZ
7243 * simple.el (default-font-height): Don't call font-info if the
7244 frame's default font didn't change since the frame was created.
7245 (Bug#14838)
7246
58fbe886
LL
72472013-07-13 Leo Liu <sdl.web@gmail.com>
7248
7249 * ido.el (ido-read-file-name): Guard against non-symbol value.
7250
1f0480d4
FEG
72512013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7252
7253 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7254 in nested defuns.
7255
97ead0e5
LL
72562013-07-13 Leo Liu <sdl.web@gmail.com>
7257
7258 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7259 ido-set-matches call. (Bug#6852)
7260
0880a952
DG
72612013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7262
7263 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7264 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7265 Ruby 2.0.
7266 (ruby-font-lock-keywords): Distinguish calls to functions with
7267 module-like names from module references. Highlight character
7268 literals.
7269
a7d8babb
SDJ
72702013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7271
7272 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7273 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7274
acfcc8c5
JB
72752013-07-12 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * desktop.el (desktop--v2s): Remove unused local variable.
7278 (desktop-save-buffer): Make defvar-local; adjust docstring.
7279 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7280 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7281
051f2775
AS
72822013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7283
7284 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7285
f24e7572
GM
72862013-07-12 Eli Zaretskii <eliz@gnu.org>
7287
7288 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7289 (Bug#14842)
7290
539a920c
GM
72912013-07-12 Glenn Morris <rgm@gnu.org>
7292
7293 * doc-view.el: Require cl-lib at runtime too.
7294 (doc-view-remove-if): Remove.
7295 (doc-view-search-next-match, doc-view-search-previous-match):
7296 Use cl-remove-if.
7297
7298 * edmacro.el: Require cl-lib at runtime too.
7299 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7300 (edmacro-mismatch, edmacro-subseq): Remove.
7301
7302 * shadowfile.el: Require cl-lib.
7303 (shadow-remove-if): Remove.
7304 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7305 Use cl-remove-if.
7306
7307 * wid-edit.el: Require cl-lib.
7308 (widget-choose): Use cl-remove-if.
7309 (widget-remove-if): Remove.
7310
7311 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7312 (ebrowse-delete-if-not): Remove.
7313 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7314 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7315 Use cl-delete-if-not.
7316
1048af7c
JB
73172013-07-12 Juanma Barranquero <lekktu@gmail.com>
7318
7319 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7320 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7321
6c0674ee
LL
73222013-07-12 Leo Liu <sdl.web@gmail.com>
7323
7324 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7325
a19b3c2d
GM
73262013-07-11 Glenn Morris <rgm@gnu.org>
7327
4582a01c
GM
7328 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7329 (edebug-gensym-index, edebug-gensym):
7330 Remove reimplementation of cl-gensym.
7331 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7332
7333 * thumbs.el: Require cl-lib at run-time too.
7334 (thumbs-gensym-counter, thumbs-gensym):
7335 Remove reimplementation of cl-gensym.
7336 (thumbs-temp-file): Use cl-gensym.
7337
a19b3c2d
GM
7338 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7339 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7340 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7341 (ert--union, ert--gensym-counter, ert--gensym-counter)
7342 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7343 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7344 (ert-make-test-unbound, ert--expand-should-1)
7345 (ert--expand-should, ert--should-error-handle-error)
7346 (should-error, ert--explain-equal-rec)
7347 (ert--plist-difference-explanation, ert-select-tests)
7348 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7349 Use cl-lib functions rather than reimplementations.
7350
88f6a933
MA
73512013-07-11 Michael Albinus <michael.albinus@gmx.de>
7352
7353 * net/tramp.el (tramp-methods): Extend docstring.
7354 (tramp-connection-timeout): New defcustom.
7355 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7356 (with-tramp-progress-reporter): Simplify.
7357 (tramp-process-actions): Improve messages.
7358
7359 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7360 * net/tramp-sh.el (tramp-maybe-open-connection):
7361 Use `tramp-connection-timeout'.
7362 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7363 (Bug#14808)
7364
a43d577e
LL
73652013-07-11 Leo Liu <sdl.web@gmail.com>
7366
7367 * ido.el (ido-read-file-name): Conform to the requirements of
7368 read-file-name. (Bug#11861)
7369 (ido-read-directory-name): Conform to the requirements of
7370 read-directory-name.
7371
d77974bf
JB
73722013-07-11 Juanma Barranquero <lekktu@gmail.com>
7373
7374 * subr.el (delay-warning): New function.
7375
35cb8a3e
EZ
73762013-07-10 Eli Zaretskii <eliz@gnu.org>
7377
7378 * simple.el (default-line-height): New function.
7379 (line-move-partial, line-move): Use it instead of computing the
7380 line height inline.
7381 (line-move-partial): Always compute ROWH. If the last line is
7382 partially-visible, but its text is completely visible, allow
7383 cursor to enter such a partially-visible line.
7384
525c5c77
MA
73852013-07-10 Michael Albinus <michael.albinus@gmx.de>
7386
7387 Improve error messages. (Bug#14808)
7388
7389 * net/tramp.el (tramp-current-connection): New defvar, moved from
7390 tramp-sh.el.
0ac26976 7391 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7392 needed anymore.
0ac26976
SM
7393 (tramp-error-with-buffer): Show message in minibuffer.
7394 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7395 (with-tramp-progress-reporter): Improve messages.
7396 (tramp-process-actions): Use progress reporter. Delete process in
7397 case of error. Improve messages.
7398
763a086d
JB
7399 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7400 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7401 (tramp-current-connection): Remove.
525c5c77
MA
7402 (tramp-maybe-open-connection): The car of
7403 `tramp-current-connection' are the first 3 slots of the vector.
7404
c7a4d368
TZ
74052013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7406
7407 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7408 inside continued strings.
7409
954b166e
PE
74102013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7411
7412 Timestamp fixes for undo (Bug#14824).
7413 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7414
56973319
LL
74152013-07-10 Leo Liu <sdl.web@gmail.com>
7416
7417 * files.el (require-final-newline): Allow safe local value.
7418 (Bug#14834)
7419
5550a72c
LL
74202013-07-09 Leo Liu <sdl.web@gmail.com>
7421
7422 * ido.el (ido-read-directory-name): Handle fallback.
7423 (ido-read-file-name): Update DIR to ido-current-directory.
7424 (Bug#1516)
c28b9050 7425 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7426
70c46b28
DG
74272013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7428
7429 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7430 "autoload". Remove "warn lower camel case" section, previously
7431 commented out. Highlight negation char. Do not highlight the
7432 target in singleton method definitions.
7433
0b64b838
SM
74342013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7fd72e2c
SM
7436 * faces.el (tty-setup-hook): Declare the hook.
7437
0b64b838
SM
7438 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7439 and detect when a guard/pred depends on local vars (bug#14773).
7440 (pcase--u1): Adjust caller.
7441
ab49d60b
EZ
74422013-07-08 Eli Zaretskii <eliz@gnu.org>
7443
7444 * simple.el (line-move-partial, line-move): Account for
7445 line-spacing.
701d79aa
EZ
7446 (line-move-partial): Avoid setting vscroll when the last
7447 partially-visible line in window is of default height.
ab49d60b 7448
2d756ae0
LMI
74492013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7450
7451 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7452 been used a while.
7453
ed095bd7
JB
74542013-07-07 Juanma Barranquero <lekktu@gmail.com>
7455
7456 * subr.el (read-quoted-char): Remove unused local variable `char'.
7457
f1e6674b
MK
74582013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7459
584ee3fc
GM
7460 * ediff.el (ediff-version): Version update.
7461 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7462 (ediff-merge-with-ancestor-command, ediff-directories-command)
7463 (ediff-directories3-command, ediff-merge-directories-command)
7464 (ediff-merge-directories-with-ancestor-command): New functions.
7465 All are command-line interfaces to ediff: to facilitate calling
7466 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7467
7468 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7469 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7470
584ee3fc
GM
7471 * viper.el (viper-version): Version update.
7472 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7473
584ee3fc
GM
74742013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7477 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7478 (viper-intercept-ESC-key): Simplify.
7479 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7480 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7481 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7482 (viper-setup-ESC-to-escape): New functions.
7483 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7484 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7485
9aff9b38
EZ
74862013-07-07 Eli Zaretskii <eliz@gnu.org>
7487
5165d44a
JB
7488 * simple.el (default-font-height, window-screen-lines):
7489 New functions.
9aff9b38
EZ
7490 (line-move, line-move-partial): Use them instead of
7491 frame-char-height and window-text-height. This makes scrolling
7492 text smoother when the buffer's default face uses a font that is
7493 different from the frame's default font.
7494
1afb1d07
JD
74952013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7496
7497 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7498 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7499
23de972a
EZ
75002013-07-06 Eli Zaretskii <eliz@gnu.org>
7501
7502 * simple.el (line-move-partial): Adjust the row returned by
7503 posn-at-point for the current window-vscroll. (Bug#14567)
7504
54a42486
MA
75052013-07-06 Michael Albinus <michael.albinus@gmx.de>
7506
7507 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7508 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7509 spaces.
7510
34ada5f4
MR
75112013-07-06 Martin Rudalics <rudalics@gmx.at>
7512
7513 * window.el (window-state-put-stale-windows): New variable.
7514 (window--state-put-2): Save list of windows without matching buffer.
7515 (window-state-put): Remove "bufferless" windows if possible.
7516
11e03d89
JB
75172013-07-06 Juanma Barranquero <lekktu@gmail.com>
7518
7519 * simple.el (alternatives-define): Remove leftover :group keyword.
7520 Tweak docstring.
7521
3504a4be
LL
75222013-07-06 Leo Liu <sdl.web@gmail.com>
7523
7524 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7525 (ido-enable-virtual-buffers): New variable.
7526 (ido-buffer-internal, ido-toggle-virtual-buffers)
7527 (ido-make-buffer-list): Use it.
7528 (ido-exhibit): Support turning on and off virtual buffers
7529 automatically.
7530
61e56e2c
JB
75312013-07-06 Juanma Barranquero <lekktu@gmail.com>
7532
7533 * simple.el (alternatives-define): New macro.
7534
321e1a9c
SM
75352013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * subr.el (read-quoted-char): Use read-key.
7538 (sit-for): Let read-event decode tty input (bug#14782).
7539
d610f6dd
SB
75402013-07-05 Stephen Berman <stephen.berman@gmx.net>
7541
7542 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7543 mode command and externally. Fix various related bugs.
7544 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7545 (todo-delete-file): New command.
7546 (todo-check-file): New function.
7547 (todo-show): Handle external deletion of the file we're trying to
7548 show (bug#14688). Replace called-interactively-p by an optional
7549 prefix argument to avoid problematic interaction with catch form
7550 when byte compiled (bug#14702).
7551 (todo-quit): Handle external deletion of the archive's todo file.
7552 Make sure the buffer that was visiting the archive file is still
7553 live before trying to bury it.
7554 (todo-category-completions): Handle external deletion of any
7555 category completion files.
7556 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7557 of todo files, in case of external deletion.
7558 (todo-add-file): Replace unnecessary setq by let-binding.
7559 (todo-find-archive): Check whether there are any archives.
7560 Replace unnecessary setq by let-binding.
7561 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7562 archive buffer whether or not the archive already exists.
7563 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7564 check if the archive is new; if it is, update list of archives.
7565 (todo-default-todo-file): Allow nil to be a valid value for when
7566 there are no todo files.
7567 (todo-reevaluate-default-file-defcustom): Use corrected definition
7568 of todo-default-todo-file.
7569 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7570 (todo-delete-category, todo-show-categories-table)
7571 (todo-category-number): Clarify comment.
7572 (todo-filter-items): Clarify documentation string.
7573 (todo-show-current-file, todo-display-as-todo-file)
7574 (todo-reset-and-enable-done-separator): Tweak documentation string.
7575 (todo-done-separator): Make separator length window-width, since
7576 bug#2749 is now fixed.
7577
ddbdfd6f
MA
75782013-07-05 Michael Albinus <michael.albinus@gmx.de>
7579
321e1a9c
SM
7580 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7581 Support both "gvfs-monitor-dir" and "inotifywait".
7582 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7583 `tramp-sh-file-notify-process-filter'.
7584 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7585 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7586
96eb829a
LL
75872013-07-05 Leo Liu <sdl.web@gmail.com>
7588
7589 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7590
cf13177e
YM
75912013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7592
7593 * frame.el (display-pixel-height, display-pixel-width)
7594 (display-mm-height, display-mm-width): Mention behavior on
7595 multi-monitor setups in docstrings.
7596 (w32-display-monitor-attributes-list): Declare function.
7597 (display-monitor-attributes-list): Use it.
7598
864c58ca
MA
75992013-07-04 Michael Albinus <michael.albinus@gmx.de>
7600
7601 * filenotify.el: New package.
7602
7603 * autorevert.el (top): Require filenotify.el.
7604 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7605 instead.
7606 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7607 (auto-revert-notify-handler): Use `file-notify-*' functions.
7608
7609 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7610
321e1a9c
SM
7611 * net/tramp.el (tramp-file-name-for-operation):
7612 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7613
7614 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7615 for `file-notify-add-watch' and `file-notify-rm-watch'.
7616 (tramp-process-sentinel): Improve trace.
7617 (tramp-sh-handle-file-notify-add-watch)
7618 (tramp-sh-file-notify-process-filter)
7619 (tramp-sh-handle-file-notify-rm-watch)
7620 (tramp-get-remote-inotifywait): New defuns.
7621
96673afe
JL
76222013-07-03 Juri Linkov <juri@jurta.org>
7623
7624 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7625 call of `occur-read-primary-args' to interactive spec.
7626
7627 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7628 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7629
924494f4
MM
76302013-07-03 Matthias Meulien <orontee@gmail.com>
7631
7632 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7633 `Buffer-menu-multi-occur'. Add it to the menu.
7634 (Buffer-menu-mode): Document it in docstring.
7635 (Buffer-menu-multi-occur): New command. (Bug#14673)
7636
56f75efc
DG
76372013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7638
7639 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7640 keywords and built-ins.
7641
9b057d61
GM
76422013-07-03 Glenn Morris <rgm@gnu.org>
7643
208dee4d
GM
7644 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7645
9b057d61
GM
7646 Make info-xref checks case-sensitive by default
7647 * info.el (Info-find-node, Info-find-in-tag-table)
7648 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7649 Add option for exact case matching of nodes.
7650 * info-xref.el (info-xref): New custom group.
7651 (info-xref-case-fold): New option.
7652 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7653
e01aa29c
LL
76542013-07-03 Leo Liu <sdl.web@gmail.com>
7655
7656 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7657
3086ca2e
DG
76582013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7659
7660 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7661 middle of block statement initially, lower the depth. Remove
7662 FIXME comment, not longer valid. Remove middle of block statement
7663 detection, no need to do that anymore since we've been using
7664 `ruby-parse-region' here.
7665
a3b49114
JD
76662013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7667
7668 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7669
08e5c823 76702013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7671
7672 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7673
2addf922
JB
76742013-07-01 Juanma Barranquero <lekktu@gmail.com>
7675
7676 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7677 (desktop-restore-in-current-display): New customization option.
7678 (desktop--excluded-frame-parameters): Add `font'.
7679 (desktop--save-frames): Rename from desktop--save-windows.
7680 (desktop--restore-in-this-display-p): New function.
7681 (desktop--make-full-frame): Remove unwanted width/height from
7682 full(width|height) frames.
7683 (desktop--restore-frames): Rename from desktop--restore-windows.
7684 Obey desktop-restore-current-display. Do not delete old frames or
7685 select a new frame unless we were able to restore at least one frame.
7686
ef099a94
MN
76872013-06-30 Michal Nazarewicz <mina86@mina86.com>
7688
7689 * files.el (find-file-noselect): Simplify conditional expression.
7690
a12bf61e 7691 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7692 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7693
7694 Add `remember-notes' function to store random notes across Emacs
7695 restarts.
a12bf61e 7696 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7697 notes buffer (if any).
7698 (remember-notes): New command.
7699 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7700 New defcustoms for the `remember-notes' function.
7701 (remember-notes-save-and-bury-buffer): New command.
7702 (remember-notes-mode-map): New variable.
7703 (remember-mode): New minor mode.
7704 (remember-notes--kill-buffer-query): New function.
7705 * startup.el (initial-buffer-choice): Add notes to custom type.
7706
0865d506
EZ
77072013-06-30 Eli Zaretskii <eliz@gnu.org>
7708
0ba54312
EZ
7709 * bindings.el (right-char, left-char): Don't call sit-for, this is
7710 no longer needed. Use arithmetic comparison only for numerical
7711 arguments.
7712
ef099a94
MN
7713 * international/mule-cmds.el (select-safe-coding-system):
7714 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7715
2fae38e5
LMI
77162013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7717
7718 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7719 progression on degenerate tables.
ef099a94 7720 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7721
a47cbd64
JB
77222013-06-30 Juanma Barranquero <lekktu@gmail.com>
7723
7724 Some fixes and improvements for desktop frame restoration.
7725 It is still experimental and disabled by default.
7726 * desktop.el (desktop--save-windows): Put the selected frame at
7727 the head of the list.
7728 (desktop--make-full-frame): New function.
7729 (desktop--restore-windows): Try to re-select the frame that was
7730 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7731 just show an error message and continue. Set up maximized frames
7732 so they have default non-maximized dimensions.
a47cbd64 7733
6dbafa30
DG
77342013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7735
ef099a94
MN
7736 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7737 Don't start heredoc inside a string or comment.
6dbafa30 7738
4c672a0f
EZ
77392013-06-29 Eli Zaretskii <eliz@gnu.org>
7740
7741 * bindings.el (visual-order-cursor-movement): New defcustom.
7742 (right-char, left-char): Provide visual-order cursor motion by
7743 calling move-point-visually. Update the doc strings.
7744
50960f36
KH
77452013-06-28 Kenichi Handa <handa@gnu.org>
7746
7747 * international/mule.el (define-coding-system): New coding system
7748 properties :inhibit-null-byte-detection,
7749 :inhibit-iso-escape-detection, and :prefer-utf-8.
7750 (set-buffer-file-coding-system): If :charset-list property of
7751 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7752 appropriate for setting.
7753
c1ea3abf
JB
7754 * international/mule-cmds.el (select-safe-coding-system):
7755 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7756 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7757
7758 * international/mule-conf.el (prefer-utf-8): New coding system.
7759 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7760 files.
7761
75dbaf9d
IK
77622013-06-28 Ivan Kanis <ivan@kanis.fr>
7763
eadb6068
IK
7764 * net/shr.el (shr-render-region): New function.
7765
75dbaf9d
IK
7766 * net/eww.el: Autoload `eww-browse-url'.
7767
9ea5cf9f
DG
77682013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7769
c1ea3abf
JB
7770 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7771 Adapt to `package-desc-version' being a list.
7772 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7773 archive element.
7774
39c0e36f
JB
77752013-06-27 Juanma Barranquero <lekktu@gmail.com>
7776
7777 New experimental feature to save&restore window and frame setup.
7778 * desktop.el (desktop-save-windows): New defcustom.
7779 (desktop--saved-states): New var.
7780 (desktop--excluded-frame-parameters): New defconst.
7781 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7782 (desktop--restore-windows, desktop--save-windows): New functions.
7783 (desktop-save): Call `desktop--save-windows'.
7784 (desktop-read): Call `desktop--restore-windows'.
7785
7f13406b
LMI
77862013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7787
ef099a94 7788 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7789
1e072639
SB
77902013-06-27 Stephen Berman <stephen.berman@gmx.net>
7791
7792 * info.el (Info-try-follow-nearest-node): Move search for footnote
7793 above search for node name to prevent missing a footnote (bug#14717).
7794
f3e2cbde
SB
77952013-06-27 Stephen Berman <stephen.berman@gmx.net>
7796
7797 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7798
99906aa0
LL
77992013-06-27 Leo Liu <sdl.web@gmail.com>
7800
7801 * net/eww.el (eww-read-bookmarks): Check file size.
7802
539f75f4
SM
78032013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7806 advice--pending if newdef is nil or an autoload (bug#13820).
7807 (advice-mapc): New function.
7808
843571cb
LMI
78092013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810
7811 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7812 probably.
23a75d7f 7813 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7814 (eww-add-bookmark): New command.
7815 (eww-bookmark-mode): New mode and commands.
a285ce99 7816 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7817 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7818
f2136e1e
GM
78192013-06-26 Glenn Morris <rgm@gnu.org>
7820
eab35f39
GM
7821 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7822 (hfy-size): Handle ttys. (Bug#14668)
7823
f2136e1e
GM
7824 * info-xref.el: Update for Texinfo 5 change in *note format.
7825 (info-xref-node-re, info-xref-note-re): New constants.
7826 (info-xref-check-buffer): Use info-xref-note-re.
7827
a49ff80c
SM
78282013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7829
a343d218
SM
7830 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7831
a49ff80c
SM
7832 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7833 nil terminate the loop (bug#14718).
7834
8308f184
LMI
78352013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7836
7837 * net/eww.el: Rework history traversal. When going forward/back,
7838 put these actions into the history, too, so that they can be
7839 replayed.
26bf2b82 7840 (eww-render): Move the history reset to the correct buffer.
8308f184 7841
ec64c273
JL
78422013-06-25 Juri Linkov <juri@jurta.org>
7843
7844 * files-x.el (modify-dir-local-variable): Change the header comment
7845 in the file with directory local variables. (Bug#14692)
7846
e080a9d7
JL
7847 * files-x.el (read-file-local-variable-value): Add `default'.
7848 (Bug#14710)
7849
bfbc93a1
IK
78502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851
7852 * net/eww.el (eww-make-unique-file-name): Create a unique file
7853 name before saving to entering `y' accidentally asynchronously.
7854
78552013-06-25 Ivan Kanis <ivan@kanis.fr>
7856
7857 * net/eww.el (eww-download): New command and keystroke.
7858
16f74f10
LMI
78592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7860
a49ff80c 7861 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7862
7863 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7864 be more consistent with Info and dired.
7865
7866 * net/eww.el (eww-mode-map): Ditto.
7867
12059709
SM
78682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7871 packages from archives.
7872 (package-archive-contents): Change format; include obsolete packages.
7873 (package-desc): Use `dir' to mark builtin packages.
7874 (package--from-builtin): Set the `dir' field to `builtin'.
7875 (generated-autoload-file, version-control): Declare.
7876 (package-compute-transaction): Change first arg and return value to be
7877 lists of package-descs. Adjust to new package-archive-contents format.
7878 (package--add-to-archive-contents): Adjust to new
7879 package-archive-contents format.
7880 (package-download-transaction): Arg is now a list of package-descs.
7881 (package-install): If `pkg' is a package name, pass it as
7882 a requirement, so it is subject to the usual (e.g. disabled) checks.
7883 (describe-package): Accept package-desc as well.
7884 (describe-package-1): Describe a specific package-desc. Add links to
7885 other package-descs for the same package name.
7886 (package-menu-describe-package): Pass the actual package-desc.
7887 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7888 works correctly.
7889 (package-desc-status): New function.
7890 (package-menu--refresh): New function, extracted
7891 from package-menu--generate.
7892 (package-menu--generate): Use it.
7893 (package-delete): Update package-alist.
7894 (package-menu-execute): Don't call package-initialize.
7895
7896 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7897 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7898 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7899 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7900 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7901 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7902
8bbdea0f
MR
79032013-06-25 Martin Rudalics <rudalics@gmx.at>
7904
7905 * window.el (window--state-get-1): Workaround for bug#14527.
7906 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7907
e82b0991
LMI
79082013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7909
7910 * net/eww.el (eww-back-url): Implement the history by stashing all
7911 the data into a list.
d3f0f918 7912 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7913
c763842b
SM
79142013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7917 for values and use read--expression for expressions (bug#14710).
7918 (read-file-local-variable): Avoid setq.
7919 (read-file-local-variable-mode): Use minor-mode-list.
7920
bceff189
RW
79212013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7922
864c58ca 7923 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7924 for DOI URLs.
7925
45f431c6
RW
79262013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7927
864c58ca 7928 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7929 Update imenu-support when dialect changes.
7930
f42d8237
LL
79312013-06-25 Leo Liu <sdl.web@gmail.com>
7932
7933 * ido.el (ido-read-internal): Allow forward slash on windows.
7934
be549ce6
LMI
79352013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7936
7937 * net/eww.el (eww): Start of strings is \\`, not ^.
7938
71d4c19d
IK
79392013-06-24 Ivan Kanis <ivan@kanis.fr>
7940
5196f88a
IK
7941 * net/shr.el (shr-browse-url): Fix interactive spec.
7942
71d4c19d
IK
7943 * net/eww.el (eww): Add a trailing slash to domain names.
7944
ae36ca55
JB
79452013-06-24 Juanma Barranquero <lekktu@gmail.com>
7946
7947 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7948
0ebd92a3
LMI
79492013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7950
bdaa086b
LMI
7951 * net/shr.el (shr-browse-url): Use an external browser if given a
7952 prefix.
7953
c763842b 7954 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7955
b89fc156
IK
79562013-06-24 Ivan Kanis <ivan@kanis.fr>
7957
7958 * net/eww.el (eww): Work more correctly for file: URLs.
7959 (eww-detect-charset): Allow quoted charsets.
7960 (eww-yank-page-url): New command and keystroke.
7961
18eb4bca
DU
79622013-06-24 Daiki Ueno <ueno@gnu.org>
7963
7964 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7965 file name of gpg executable.
7966 (epg-context-program): New function.
7967 (epg-context-home-directory): New function.
7968 (epg-context-set-program): New function.
7969 (epg-context-set-home-directory): New function.
7970 (epg--start): Use `epg-context-program' instead of
7971 'epg-gpg-program'.
7972 (epg--list-keys-1): Likewise.
7973
6c6268c8
LL
79742013-06-24 Leo Liu <sdl.web@gmail.com>
7975
7976 * ido.el (ido-read-internal): Fix bug#14620.
7977
5e400cb3
JB
79782013-06-23 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * faces.el (face-documentation): Simplify.
7981 (read-face-attribute, tty-find-type, x-resolve-font-name):
7982 Use `string-match-p'.
7983 (list-faces-display): Use `string-match-p'. Simplify.
7984 (face-spec-recalc): Check face to avoid face alias loops.
7985 (read-color): Use `string-match-p' and non-capturing parenthesis.
7986
f3f9606c
LMI
79872013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7988
7989 * net/shr.el (shr-rescale-image): Use the new
7990 :max-width/:max-height functionality.
7991
a3ca09b9
IK
79922013-06-23 Ivan Kanis <ivan@kanis.fr>
7993
7994 * net/eww.el (eww-search-prefix): New variable.
7995 (eww): Use it.
f865b474
IK
7996 (eww-external-browser): New variable.
7997 (eww-mode-map): New keystroke.
7998 (eww-browse-with-external-browser): New command.
a3ca09b9 7999
e854cfc7
IK
8000 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8001
18bb9e21
JB
80022013-06-23 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8005 Don't skip aligning the next header field when padding is 0;
8006 otherwise, field width is not respected unless the title is as
8007 wide as the field.
8008
5b165ade
SM
80092013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * emacs-lisp/package.el (package-el-version): Remove.
8012 (package-process-define-package): Fix inf-loop.
8013 (package-install): Allow symbols as arguments again.
8014
12adebe9
DG
80152013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8016
8017 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8018 add some more keyword-like methods.
8019 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8020
388573ee
JB
80212013-06-22 Juanma Barranquero <lekktu@gmail.com>
8022
8023 * bs.el (bs-buffer-show-mark): Make defvar-local.
8024 (bs-mode): Use setq-local.
8025
8026 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8027 (emacs-lock--try-unlocking): Make defvar-local.
8028
4582a01c 80292013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8030
2663dd23
GM
8031 * play/cookie1.el (cookie-apropos): Minor simplification.
8032
3d94f3ad
GM
8033 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8034
f72e2fdb
DG
80352013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8036
8037 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8038 `regexp-opt', it breaks the build during dumping.
8039
73eab938
DG
80402013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8041
c763842b
SM
8042 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8043 Highlight keyword-like methods on Kernel and Module with
73eab938 8044 font-lock-builtin-face.
5cf8176d
DG
8045 (auto-mode-alist): Consolidate different entries into one regexp
8046 and add more *file-s.
73eab938 8047
d26255f6
SB
80482013-06-21 Stephen Berman <stephen.berman@gmx.net>
8049
8050 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8051
8052 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8053 (diary-entry): Use it in the action of this button type instead of
8054 diary-goto-entry.
8055
8056 * calendar/todo-mode.el: New version.
8057 (todo-add-category): Append new category to end of file and give
8058 it the highest number, instead of putting it at the beginning and
8059 giving it 0. Incorporate noninteractive functionality.
8060 (todo-forward-category): Adapt to 1-based category numbering.
8061 Allow skipping over archived categories.
8062 (todo-backward-category): Derive from todo-forward-category.
8063 (todo-backward-item, todo-forward-item): Make noninteractive and
8064 delegate interactive part to new commands. Make sensitive to done items.
8065 (todo-categories): Make value an alist of category names and
8066 vectors of item counts.
8067 (todo-category-beg): Make a defconst.
8068 (todo-category-number): Use 1 instead of 0 as initial value.
8069 (todo-category-select): Make sensitive to overlays, optional item
8070 highlighting and done items.
8071 (todo-delete-item): Make sensitive to overlays and marked and done items.
8072 (todo-edit-item): Make sensitive to overlays and editing of
8073 date/time header optional. Add format checks.
8074 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8075 no-op if point is not on an item. Advertise using todo-edit-quit.
8076 (todo-edit-mode): Make sensitive to new format, font-locking, and
8077 multiple todo files.
8078 (todo-insert-item, todo-insert-item-here): Derive from
8079 todo-basic-insert-item and extend functionality.
8080 (todo-item-end, todo-item-start): Make sensitive to done items.
8081 (todo-item-string): Don't return text properties. Restore point.
8082 (todo-jump-to-category): Make sensitive to multiple todo files and
8083 todo archives. Use extended category completion.
8084 (todo-lower-item, todo-raise-item): Rename to *-priority and
8085 derive from todo-set-item-priority.
8086 (todo-mode): Derive from special-mode. Make sensitive to new
8087 format, font-locking and multiple todo files. Make read-only.
8088 (todo-mode-map): Don't suppress digit keys, so they can supply
8089 prefix arguments. Add many new key bindings.
8090 (todo-prefix): Insert as an overlay instead of file text.
8091 Change semantics from diary date expression to purely visual mark.
8092 (todo-print): Rename to todo-print-buffer. Make buffer display
8093 features printable. Remove option to restrict number of items
8094 printed. Add option to print to file.
8095 (todo-print-function): Rename to todo-print-buffer-function.
8096 (todo-quit): Extend to handle exiting new todo modes.
8097 (todo-remove-item): Make sensitive to overlays.
8098 (todo-save): Extend to buffers of filtered items.
8099 (todo-show): Make sensitive to done items, multiple todo files and
8100 new todo modes. Offer to convert legacy todo file before creating
8101 first new todo file.
8102 (todo-show-priorities): Rename to todo-top-priorities.
8103 Change semantics of value 0.
8104 (todo-top-priorities): Rename to todo-filter-top-priorities,
8105 derive from todo-filter-items and extend functionality.
8106 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8107 and extend functionality to other types of filtered items.
8108 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8109 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8110 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8111 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8112 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8113 (todo-edit-mode-hook, todo-entry-prefix-function)
8114 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8115 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8116 (todo-initials, todo-insert-threshold, todo-item-string-start)
8117 (todo-line-string, todo-menu, todo-mode-hook)
8118 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8119 (todo-print-priorities, todo-remove-separator)
8120 (todo-save-top-priorities-too, todo-string-count-lines)
8121 (todo-string-multiline-p, todo-time-string-format)
8122 (todo-tmp-buffer-name): Remove.
8123 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8124 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8125 (todo-edit-category-diary-inclusion)
8126 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8127 (todo-edit-file, todo-edit-item-date-day)
8128 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8129 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8130 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8131 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8132 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8133 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8134 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8135 (todo-filter-top-priorities-multifile, todo-find-archive)
8136 (todo-find-filtered-items-file, todo-go-to-source-item)
8137 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8138 (todo-jump-to-archive-category, todo-lower-category)
8139 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8140 (todo-move-category, todo-move-item, todo-next-button)
8141 (todo-next-item, todo-padded-string, todo-powerset)
8142 (todo-previous-button, todo-previous-item)
8143 (todo-print-buffer-to-file, todo-raise-category)
8144 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8145 (todo-set-category-number, todo-set-item-priority)
8146 (todo-set-top-priorities-in-category)
8147 (todo-set-top-priorities-in-file, todo-show-categories-table)
8148 (todo-sort-categories-alphabetically-or-numerically)
8149 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8150 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8151 (todo-toggle-item-header, todo-toggle-item-highlighting)
8152 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8153 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8154 (todo-unarchive-items, todo-unmark-category): New commands.
8155 (todo-absolute-file-name, todo-add-to-buffer-list)
8156 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8157 (todo-basic-insert-item, todo-category-completions)
8158 (todo-category-number, todo-category-string-matcher-1)
8159 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8160 (todo-check-format, todo-clear-matches)
8161 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8162 (todo-current-category, todo-date-string-matcher)
8163 (todo-define-insertion-command, todo-diary-expired-matcher)
8164 (todo-diary-goto-entry, todo-diary-item-p)
8165 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8166 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8167 (todo-done-item-section-p, todo-done-separator)
8168 (todo-done-string-matcher, todo-files, todo-filter-items)
8169 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8170 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8171 (todo-insert-category-line, todo-insert-item-from-calendar)
8172 (todo-insert-sort-button, todo-insert-with-overlays)
8173 (todo-insertion-command-name, todo-insertion-key-bindings)
8174 (todo-label-to-key, todo-longest-category-name-length)
8175 (todo-make-categories-list, todo-mode-external-set)
8176 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8177 (todo-modes-set-3, todo-multiple-filter-files)
8178 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8179 (todo-read-category, todo-read-date, todo-read-dayname)
8180 (todo-read-file-name, todo-read-time)
8181 (todo-reevaluate-category-completions-files-defcustom)
8182 (todo-reevaluate-default-file-defcustom)
8183 (todo-reevaluate-filelist-defcustoms)
8184 (todo-reevaluate-filter-files-defcustom)
8185 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8186 (todo-reset-done-separator, todo-reset-done-separator-string)
8187 (todo-reset-done-string, todo-reset-global-current-todo-file)
8188 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8189 (todo-reset-prefix, todo-set-categories)
8190 (todo-set-date-from-calendar, todo-set-show-current-file)
8191 (todo-set-top-priorities, todo-short-file-name)
8192 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8193 (todo-total-item-counts, todo-update-buffer-list)
8194 (todo-update-categories-display, todo-update-categories-sexp)
8195 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8196 New functions.
8197 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8198 New major modes.
8199 (todo-categories, todo-display, todo-edit, todo-faces)
8200 (todo-filtered): New defgroups.
8201 (todo-archived-only, todo-button, todo-category-string, todo-date)
8202 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8203 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8204 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8205 (todo-add-item-if-new-category, todo-always-add-time-string)
8206 (todo-categories-align, todo-categories-archived-label)
8207 (todo-categories-category-label, todo-categories-diary-label)
8208 (todo-categories-done-label, todo-categories-number-separator)
8209 (todo-categories-todo-label, todo-categories-totals-label)
8210 (todo-category-completions-files, todo-completion-ignore-case)
8211 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8212 (todo-done-separator-string, todo-done-string)
8213 (todo-files-function, todo-filter-done-items, todo-filter-files)
8214 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8215 (todo-initial-category, todo-initial-file, todo-item-mark)
8216 (todo-legacy-date-time-regexp, todo-mode-line-function)
8217 (todo-nondiary-marker, todo-number-prefix)
8218 (todo-print-buffer-function, todo-show-current-file)
8219 (todo-show-done-only, todo-show-first, todo-show-with-done)
8220 (todo-skip-archived-categories, todo-top-priorities-overrides)
8221 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8222 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8223 New defcustoms.
8224 (todo-category-done, todo-date-pattern, todo-date-string-start)
8225 (todo-diary-items-buffer, todo-done-string-start)
8226 (todo-filtered-items-buffer, todo-item-start)
8227 (todo-month-abbrev-array, todo-month-name-array)
8228 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8229 (todo-top-priorities-buffer): New defconsts.
8230 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8231 (todo-categories-with-marks, todo-category-string-face)
8232 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8233 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8234 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8235 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8236 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8237 (todo-font-lock-keywords, todo-global-current-todo-file)
8238 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8239 (todo-insertion-commands-args)
8240 (todo-insertion-commands-args-genlist)
8241 (todo-insertion-commands-names, todo-insertion-map)
8242 (todo-key-bindings-t, todo-key-bindings-t+a)
8243 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8244 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8245 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8246 (todo-visited): New variables.
8247
cad5d1cb
GM
82482013-06-21 Glenn Morris <rgm@gnu.org>
8249
8250 * play/cookie1.el (cookie-apropos): Add optional display argument.
8251 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8252 (psychoanalyze-pinhead): Use cookie-doctor.
8253
9e277302
JB
82542013-06-21 Juanma Barranquero <lekktu@gmail.com>
8255
8256 * emacs-lisp/package.el (tar-get-file-descriptor)
8257 (tar--extract): Declare.
8258
c5b0993e
EW
82592013-06-21 Eduard Wiebe <usenet@pusto.de>
8260
8261 Extend flymake's warning predicate to be a function (bug#14217).
8262 * progmodes/flymake.el (flymake-warning-predicate): New.
8263 (flymake-parse-line): Use it.
8264 (flymake-warning-re): Make obsolete alias to
8265 `flymake-warning-predicate'.
8266
a7d2d465
SM
82672013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8270 (package-obsolete-list): Remove.
8271 (package-activate): Remove min-version argument. Add `force' argument.
8272 Adjust to new package-alist format.
8273 (package-mark-obsolete): Remove.
8274 (package-unpack): Force reload of the package's autoloads.
8275 (package-installed-p): Check builtins if the installed package is not
8276 recent enough.
8277 (package-initialize): Don't reset package-obsolete-list.
8278 Don't specify which package version to activate.
8279 (package-process-define-package, describe-package-1)
8280 (package-menu--generate): Adjust to new package-alist format.
8281
cedf5c9d
JB
82822013-06-21 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * allout-widgets.el (allout-widgets-mode-off)
8285 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8286 (allout-widgets-post-command-business)
8287 (allout-widgets-after-copy-or-kill-function)
8288 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8289 (allout-decorate-item-and-context)
8290 (allout-graphics-modification-handler): Fix typos in docstrings.
8291 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8292
8293 * cmuscheme.el (scheme-start-file): Doc fix.
8294 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8295 (scheme-input-filter): Use `string-match-p'.
8296
8297 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8298
8299 * dired-x.el: Use Dired consistently in docstrings.
8300
8301 * dired.el: Use Dired consistently in docstrings.
8302 (dired-readin, dired-mode): Use `setq-local'.
8303 (dired-switches-alist): Make defvar-local.
8304 (dired-buffers-for-dir): Use `zerop'.
8305 (dired-safe-switches-p, dired-switches-escape-p)
8306 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8307 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8308 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8309 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8310 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8311 (dired-toggle-marks, dired-mark-files-containing-regexp)
8312 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8313 (dired-flag-auto-save-files, dired-flag-backup-files):
8314 Use `looking-at-p'.
8315 (dired-mark-files-regexp, dired-build-subdir-alist):
8316 Use `string-match-p', `looking-at-p'.
8317
8318 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8319 (direct-print-region-helper): Use `string-match-p'.
8320
aed838b5
LL
83212013-06-21 Leo Liu <sdl.web@gmail.com>
8322
cedf5c9d
JB
8323 * comint.el (comint-redirect-results-list-from-process):
8324 Fix infinite loop.
aed838b5 8325
d80a808f
LMI
83262013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8327
8328 * net/eww.el (eww-update-header-line-format): Quote % characters.
8329
e7a526e3
GM
83302013-06-21 Glenn Morris <rgm@gnu.org>
8331
8332 * play/cookie1.el (cookie): New custom group.
8333 (cookie-file): New option.
8334 (cookie-check-file): New function.
8335 (cookie): Make it interactive. Make start and end messages optional.
8336 Interactively, display the result. Default to cookie-file.
8337 (cookie-insert): Default to cookie-file.
8338 (cookie-snarf): Make start and end messages optional.
8339 Default to cookie-file. Use with-temp-buffer.
8340 (cookie-read): Rename from read-cookie.
8341 Make start and end messages optional. Default to cookie-file.
8342 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8343 Do not autoload it.
e7a526e3
GM
8344 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8345 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8346
62efb35e
LL
83472013-06-21 Leo Liu <sdl.web@gmail.com>
8348
8349 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8350
21e3f963
GM
83512013-06-21 Glenn Morris <rgm@gnu.org>
8352
8353 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8354
fd846ab4
SM
83552013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8356 Daniel Hackney <dan@haxney.org>
8357
8358 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8359 Consolidate the single-file vs tarball code.
8360 (package-desc-suffix): New function.
8361 (package-desc-full-name): Don't bother inlining it.
8362 (package-load-descriptor): Return the new package-desc.
8363 (package-mark-obsolete): Remove unused arg `package'.
8364 (package-unpack): Make it work for single files as well.
8365 Make it update package-alist.
8366 (package--make-autoloads-and-stuff): Rename from
8367 package--make-autoloads-and-compile. Don't compile any more.
8368 (package--compile): New function.
8369 (package-generate-description-file): New function, extracted from
8370 package-unpack-single.
8371 (package-unpack-single): Remove.
8372 (package--with-work-buffer): Add indentation and debugging info.
8373 (package-download-single): Remove.
8374 (package-install-from-archive): Rename from package-download-tar, make
8375 it take a pkg-desc, and make it work for single files as well.
8376 (package-download-transaction): Simplify.
8377 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8378 external tar program.
8379 (package-install-from-buffer): Remove `pkg-desc' argument.
8380 Use package-tar-file-info for tar-mode buffers.
8381 (package-install-file): Simplify accordingly.
8382 (package-archive-base): Change to take a pkg-desc.
8383 * tar-mode.el (tar--check-descriptor): New function, extracted from
8384 tar-get-descriptor.
8385 (tar-get-descriptor): Use it.
8386 (tar-get-file-descriptor): New function.
8387 (tar--extract): New function, extracted from tar-extract.
8388 (tar--extract): Use it.
8389 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8390 case the summary uses non-ascii. Adjust to new calling convention of
8391 package-tar-file-info.
8392
b7deae5e
LL
83932013-06-21 Leo Liu <sdl.web@gmail.com>
8394
fd846ab4
SM
8395 * comint.el (comint-redirect-results-list-from-process):
8396 Fix random delay. (Bug#14681)
b7deae5e 8397
7a65a0b2
JB
83982013-06-21 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * profiler.el (profiler-format-number): Use log, not log10.
8401
1493c2af
JB
84022013-06-20 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8405
aff6371e
SM
84062013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8409 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8410 yet available.
8411 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8412 (AUTOGENEL): ... here.
8413 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8414 (cl--defsubst-expand): Use it.
8415
89561f72
PE
84162013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8417
8418 * subr.el (log10): Move here from C code, and declare as obsolete.
8419 All uses of (log10 X) replaced with (log X 10).
8420
47199123
JB
84212013-06-20 Juanma Barranquero <lekktu@gmail.com>
8422
8423 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8424 Declare with `defvar-local'.
8425 (tabulated-list-use-header-line, tabulated-list-entries)
8426 (tabulated-list-padding, tabulated-list-printer)
8427 (tabulated-list-sort-key): Declare with `defvar-local'.
8428 (tabulated-list-init-header, tabulated-list-print-fake-header):
8429 Use `setq-local'.
8430
4a172eab
MA
84312013-06-20 Michael Albinus <michael.albinus@gmx.de>
8432
47199123
JB
8433 * arc-mode.el (archive-mode): Add `archive-write-file' to
8434 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8435
5fc0acc0
JB
84362013-06-20 Juanma Barranquero <lekktu@gmail.com>
8437
d5b27848
JB
8438 * cus-edit.el (custom-commands): Fix typos.
8439 (custom-display): Fix tooltip text.
8440 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8441 Fix typos in docstrings.
8442 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8443 (custom-unlispify-menu-entry, custom-magic-value-create)
8444 (custom-add-see-also, custom-group-value-create): Use ?\s.
8445 (custom-guess-type, customize-apropos, editable-field)
8446 (custom-face-value-create): Use `string-match-p'.
8447 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8448
8449 * custom.el (custom-load-symbol): Use `string-match-p'.
8450
a5c581d8
JB
8451 * ansi-color.el: Convert to lexical binding.
8452 (ansi-colors): Fix URL.
8453 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8454 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8455 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8456
970ad972
G
84572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8458
8459 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8460
8461 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8462
84632013-06-19 Tom Tromey <tromey@redhat.com>
8464
8465 * net/eww.el (eww-top-url): Remove.
8466 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8467 (eww-render): Set new variables. Don't set eww-top-url.
8468 (eww-handle-link): Handle "prev", "home", and "contents".
8469 Downcase the rel text.
8470 (eww-top-url): Choose best top URL.
8471
84722013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8473
8474 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8475 relying in widget.el. Using widget.el leads to too many
8476 user interface inconsistencies.
8477 (eww-self-insert): Implement entering commands in text fields.
8478 (eww-process-text-input): New function to make text input field editing
8479 work.
8480 (eww-submit): Rewrite to use the new-style form methods.
8481 (eww-select-display): Display the correct selected item.
8482 (eww-change-select): Implement changing the select value.
8483 (eww-toggle-checkbox): Implement radio/checkboxes.
8484 (eww-update-field): Fix compilation error.
8485 (eww-tag-textarea): Implement <textarea>.
8486
8487 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8488 we don't shadow mode-specific bindings.
8489
8490 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8491 nothing to push.
8492
8493 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8494
4582a01c 84952013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8496
8497 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8498
15b263dc
MA
84992013-06-19 Michael Albinus <michael.albinus@gmx.de>
8500
8501 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8502 not needed.
8503
8504 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8505
8f5297f7
LMI
85062013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8507
8508 * net/browse-url.el (browse-url-browser-function):
8509 `eww-browse-url' has the right calling signature, `eww' does not.
8510
011c4552
GM
85112013-06-19 Glenn Morris <rgm@gnu.org>
8512
2285bd27
GM
8513 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8514 Only eval autoloaded macros.
8515 (byte-compile-autoload): Only give the macro warning for macros.
8516
1d653303
GM
8517 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8518 (ps-underlined-faces): Declare.
8519
bdd779ec
GM
8520 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8521 (speedbar-add-supported-extension): Declare.
8522
011c4552
GM
8523 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8524 Don't include a date stamp in the header of the generated file;
8525 it leads to needless differences between output files.
8526
e59dfb0e
MA
85272013-06-19 Michael Albinus <michael.albinus@gmx.de>
8528
c763842b
SM
8529 * net/secrets.el (secrets-struct-secret-content-type):
8530 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8531 Some servers do not offer introspection.
e59dfb0e 8532
102626e2
SM
85332013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * electric.el (electric-pair-mode): Improve interaction with
8536 electric-layout-mode.
8537 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8538 (electric-pair-syntax): Use text-mode-syntax-table in comments
8539 and strings.
8540 (electric-pair--insert): New function.
8541 (electric-pair-post-self-insert-function): Use it and
8542 electric--after-char-pos.
8543
ad528125
LL
85442013-06-19 Leo Liu <sdl.web@gmail.com>
8545
8546 * progmodes/octave.el (octave-help): Fix regexp.
8547
924d6997
G
85482013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8549
8550 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8551 (shr-table-horizontal-line): Allow nil as a value, and change the
8552 default.
8553 (shr-insert-table-ruler): Respect the nil value.
8554
85552013-06-18 Tom Tromey <tromey@barimba>
8556
8557 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8558 New defvars.
8559 (eww-open-file): New defun.
8560 (eww-render): Initialize new variables.
8561 (eww-display-html): Handle "link" and "a".
8562 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8563 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8564 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8565 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8566 New defuns.
924d6997 8567
d1bbba4f
DG
85682013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8569
8570 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8571 Distinguish ternary operator tokens from slash symbol and slash
8572 char literal.
8573
14dd22d2
JB
85742013-06-18 Juanma Barranquero <lekktu@gmail.com>
8575
8576 Convert symbol prettification into minor mode and global minor mode.
8577
8578 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8579 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8580 (prettify-symbols--keywords): Rename from
8581 `prog-prettify-symbols-alist' and make a local defvar.
8582 (prettify-symbols--compose-symbol): Rename from
8583 `prog--prettify-font-lock-compose-symbol'.
8584 (prettify-symbols--make-keywords): Rename from
8585 `prog-prettify-font-lock-symbols-keywords' and simplify.
8586 (prog-prettify-install): Remove.
8587 (prettify-symbols-mode): New minor mode, based on
8588 `prog-prettify-install'.
8589 (turn-on-prettify-symbols-mode): New function.
8590 (global-prettify-symbols-mode): New globalized minor mode.
8591
8592 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8593 * progmodes/cfengine.el (cfengine3-mode):
8594 * progmodes/perl-mode.el (perl-mode): Don't call
8595 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8596
292c880c
JL
85972013-06-18 Juri Linkov <juri@jurta.org>
8598
8599 * files-x.el (modify-file-local-variable-message): New function.
8600 (modify-file-local-variable)
8601 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8602 and call `modify-file-local-variable-message' when it's non-nil.
8603 (add-file-local-variable, delete-file-local-variable)
8604 (add-file-local-variable-prop-line)
8605 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8606 and use it. (Bug#9820)
8607
0950aa27
JL
86082013-06-18 Juri Linkov <juri@jurta.org>
8609
8610 * emulation/vi.el (vi-shell-op):
8611 * emulation/vip.el (vip-execute-com, ex-command):
8612 * emulation/viper-cmd.el (viper-exec-bang):
8613 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8614 the call of `shell-command-on-region'. (Bug#14637)
8615
8616 * simple.el (shell-command-on-region): Doc fix.
8617
8fbcca16
SM
86182013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8621 (bug#14633).
8622
dd7426ea
GM
86232013-06-18 Glenn Morris <rgm@gnu.org>
8624
4ba54f7d
GM
8625 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8626
dd7426ea
GM
8627 * newcomment.el (comment-search-forward, comment-search-backward):
8628 Doc fix. (Bug#14376)
8629
58aa805b
JB
86302013-06-18 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8633 (buffer-face-mode-invoke): Doc fix.
8634
9a08a617
MM
86352013-06-18 Matthias Meulien <orontee@gmail.com>
8636
8637 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8638 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8639
f2f426ca
GM
86402013-06-18 Glenn Morris <rgm@gnu.org>
8641
9445f99b
GM
8642 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8643 Replace obsolete function generic-make-keywords with its expansion.
8644
e0df2d14
GM
8645 * progmodes/python.el (ffap-alist): Declare.
8646
f2f426ca
GM
8647 * textmodes/reftex.el (bibtex-mode-map): Declare.
8648
f7f9a720
SM
86492013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8652 (package-unpack, package-unpack-single): Return the pkg-dir.
8653 (package-download-transaction): Use it to update package-alist.
8654
57ff04e0
LMI
86552013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8656
8657 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8658 possible choice.
8659
c048c022
JL
86602013-06-17 Juri Linkov <juri@jurta.org>
8661
8662 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8663
b5bcaee5
DG
86642013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8665
a020afb9
JB
8666 * emacs-lisp/package.el (package-load-descriptor):
8667 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8668 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8669
551e07e5
JB
86702013-06-17 Juanma Barranquero <lekktu@gmail.com>
8671
8672 * startup.el (command-line): Expand package name returned by
8673 `package--description-file' (bug#14639).
8674
d363bffb
DG
86752013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8676
8677 * emacs-lisp/package.el (package-load-descriptor): Do not call
8678 `emacs-lisp-mode', just use its syntax table.
8679
f612933b
JB
86802013-06-17 Juanma Barranquero <lekktu@gmail.com>
8681
8682 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8683 `font-lock-extra-managed-props' if any prettifying keyword is added.
8684 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8685 (prog-mode): Use `setq-local'.
8686
db3b7db5
SM
86872013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8688
8689 * international/characters.el (standard-case-table): Set syntax of ?»
8690 and ?« to punctuation.
8691
f3d674df
JB
86922013-06-16 Juanma Barranquero <lekktu@gmail.com>
8693
8694 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8695 Save relevant match data before calling `syntax-ppss' (bug#14595).
8696
31489a32
JL
86972013-06-15 Juri Linkov <juri@jurta.org>
8698
8699 * files-x.el (modify-file-local-variable-prop-line): Add local
8700 variables to the end of the existing comment on the first line.
8701 Use `file-auto-mode-skip' to skip interpreter magic line,
8702 and also skip XML declaration.
8703
66bd25ab
SM
87042013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * startup.el (package--builtin-versions): New var.
8707 (package-subdirectory-regexp): Remove.
8708 (package--description-file): Hard code its value instead.
8709
8710 * emacs-lisp/package.el: Don't activate packages older than builtin.
8711 (package-obsolete-list): Rename from package-obsolete-alist, and make
8712 it into a simple list of package-desc.
8713 (package-strip-version): Remove.
8714 (package-built-in-p): Use package--builtin-versions.
8715 (package-mark-obsolete): Simplify.
8716 (package-process-define-package): Mark it obsolete if older than the
8717 builtin version.
8718 (package-handle-response): Use line-end-position.
8719 (package-read-archive-contents, package--download-one-archive):
8720 Simplify.
8721 (package--add-to-archive-contents): Skip if older than the builtin or
8722 installed version.
8723 (package-menu-describe-package): Fix last change.
8724 (package-list-unversioned): New var.
8725 (package-menu--generate): Use it.
8726
8727 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8728 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8729 (autoload-builtin-package-versions): New variable.
8730 (autoload-generate-file-autoloads): Use them.
8731 Remove the list of autoloaded functions/macros from the
8732 (autoload...) comments.
8733
8734 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8735
9583ec36
EZ
87362013-06-15 Eli Zaretskii <eliz@gnu.org>
8737
8738 * simple.el (line-move-partial): Don't jump to the next screen
8739 line as soon as it becomes visible. Instead, continue enlarging
8740 the vscroll until the portion of a tall screen line that's left on
8741 display is about the height of the frame's default font.
8742 (Bug#14567)
8743
f0100d8a
GM
87442013-06-15 Glenn Morris <rgm@gnu.org>
8745
b86a85ca
GM
8746 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8747 compilation-error-regexp-alist void, or local while let-bound.
8748
f0100d8a
GM
8749 * progmodes/make-mode.el (makefile-mode-syntax-table):
8750 Treat "=" as punctuation. (Bug#14614)
8751
05e7ce90
JB
87522013-06-15 Juanma Barranquero <lekktu@gmail.com>
8753
8754 * help-fns.el (describe-variable):
8755 Add extra line for permanent-local variables.
8756
12e5e86e
SH
87572013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8758
8759 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8760 Add export, import, library. (Bug#9164)
8761 (library): Set indent function.
8762
230dcbaf
GM
87632013-06-14 Glenn Morris <rgm@gnu.org>
8764
8765 * term/xterm.el (xterm--query):
8766 Stop after first matching handler. (Bug#14615)
8767
e36b2d20 87682013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8769
8770 Add support for dired in saveplace.
8771 * dired.el (dired-initial-position-hook): New variable.
8772 (dired-initial-position): Call hook to place cursor position.
8773 * saveplace.el (save-place-to-alist): Add dired position.
8774 (save-place-dired-hook): New function.
8775
0b31660d
SM
87762013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8777
bf1e6ae8
SM
8778 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8779 through a symbol rather than letrec.
8780
1b8dff23
SM
8781 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8782 (package-desc): Add `dir' field.
8783 (package-desc-full-name): New function.
8784 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8785 (package-maybe-load-descriptor): Remove.
8786 (package-load-all-descriptors): Just call package-load-descriptor.
8787 (package--disabled-p): New function.
8788 (package-desc-vers, package-desc-doc): Remove aliases.
8789 (package--dir): Remove function.
8790 (package-activate): Check if a package is disabled.
8791 (package-process-define-package): New function, extracted from
8792 define-package.
8793 (define-package): Turn into a place holder.
8794 (package-unpack-single, package-tar-file-info):
8795 Use package--description-file.
8796 (package-compute-transaction): Use package--disabled-p.
8797 (package-download-transaction): Don't call
8798 package-maybe-load-descriptor since they're all loaded anyway.
8799 (package-install): Change argument to be a pkg-desc.
8800 (package-delete): Use a single pkg-desc argument.
8801 (describe-package-1): Use package-desc-dir instead of package--dir.
8802 Use package-desc property instead of package-symbol.
8803 (package-install-button-action): Adjust accordingly.
8804 (package--push): Rewrite.
8805 (package-menu--print-info): Adjust accordingly. Change the ID format
8806 to be a pkg-desc.
8807 (package-menu-describe-package, package-menu-get-status)
8808 (package-menu--find-upgrades, package-menu-mark-upgrades)
8809 (package-menu-execute, package-menu--name-predicate):
8810 Adjust accordingly.
8811 * startup.el (package--description-file): New function.
8812 (command-line): Use it.
8813 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8814 Use package-desc-version.
8815
0b31660d
SM
8816 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8817 (byte-compile-preprocess): Use it.
8818 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8819 can't quite recognize.
8820 (byte-compile-add-to-list): Remove.
8821 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8822 (cconv-closure-convert): Add assertion.
8823
8824 * emacs-lisp/map-ynp.el: Use lexical-binding.
8825 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8826 Factor out some repeated code.
8827
de0503df
SM
88282013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * subr.el (with-eval-after-load): New macro.
8831 (eval-after-load): Allow form to be a function.
8832 take advantage of lexical-binding.
8833 (do-after-load-evaluation): Use dolist and adjust to new format.
8834 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8835
bc5c8c5a
JL
88362013-06-13 Juri Linkov <juri@jurta.org>
8837
8838 * replace.el (perform-replace): Display "symbol " and other search
8839 modes from `isearch-message-prefix' in the *Help* buffer.
8840
8841 * isearch.el (isearch-query-replace): Add " symbol" and other
8842 possible search modes from `isearch-message-prefix' to the prompt.
8843 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8844 when reading a regexp to collect.
8845
a22289f7
JL
88462013-06-13 Juri Linkov <juri@jurta.org>
8847
8848 * isearch.el (word-search-regexp): Match whitespace if the search
8849 string begins or ends in whitespace. The LAX arg is applied to
8850 both ends of the search string. Use `regexp-quote' and explicit
8851 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8852 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8853 boundaries are replaced with symbol boundaries, and characters
8854 between symbols match non-word non-symbol syntax. (Bug#14602)
8855
cb89acab
JL
88562013-06-13 Juri Linkov <juri@jurta.org>
8857
8858 * isearch.el (isearch-del-char): Don't exceed the length of
8859 `isearch-string' by the prefix arg. (Bug#14563)
8860
6e8cfc81
JL
88612013-06-13 Juri Linkov <juri@jurta.org>
8862
8863 * isearch.el (isearch-yank-word, isearch-yank-line)
8864 (isearch-char-by-name, isearch-quote-char)
8865 (isearch-printing-char, isearch-process-search-char):
8866 Add optional count prefix arg. (Bug#14563)
8867
8868 * international/isearch-x.el
8869 (isearch-process-search-multibyte-characters):
8870 Add optional count prefix arg.
8871
c23d55f4
VS
88722013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8875 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8876 lexical-binding.
8877
88782013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8879
8880 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8881
ba947bc4
GM
88822013-06-13 Glenn Morris <rgm@gnu.org>
8883
8baeb37a
GM
8884 * startup.el (tty-handle-args):
8885 Don't just discard "--" and anything after. (Bug#14608)
8886
ba947bc4
GM
8887 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8888
9abefce4
MA
88892013-06-13 Michael Albinus <michael.albinus@gmx.de>
8890
8891 Implement changes in Secret Service API. Make it backward compatible.
8892 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8893 (secrets-create-item): Use it. Prefix properties with interface.
8894
5755011f
MH
88952013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8896
8897 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8898 (term-emulate-terminal): Respect term-suppress-hard-newline.
8899
1261d2da
S
89002013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8901
8902 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8903 Only remove a `thumb-file' overlay. (Bug#14548)
8904
868490bb
GJ
89052013-06-12 Grégoire Jadi <daimrod@gmail.com>
8906
8907 * mail/reporter.el (reporter-submit-bug-report):
8908 Handle missing package-name. (Bug#14600)
8909
79d7167f
TH
89102013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8911
8912 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8913 (reftex-citation-prompt, reftex-default-bibliography)
8914 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8915 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8916 (reftex-bib-sort-author, reftex-bib-sort-year)
8917 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8918 (reftex-extract-bib-entries-from-thebibliography)
8919 (reftex-get-bibkey-default, reftex-get-bib-names)
8920 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8921 (reftex-format-bib-entry, reftex-parse-bibitem)
8922 (reftex-format-bibitem, reftex-do-citation)
8923 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8924 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8925 (reftex-insert-bib-matches, reftex-format-citation)
8926 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8927 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8928 existing comments into docstrings.
8929
5f9dbd7a
XF
89302013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8931
8932 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8933
94df41ab
AS
89342013-06-12 Andreas Schwab <schwab@suse.de>
8935
8936 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8937 for auto-save files.
8938
a7f3fecc
GM
89392013-06-12 Glenn Morris <rgm@gnu.org>
8940
001809f6
GM
8941 * ido.el (ido-delete-ignored-files): Remove.
8942 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8943 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8944
834b5ded
EL
89452013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8946
08c73ed2
EL
8947 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8948
834b5ded
EL
8949 * ido.el (ido-delete-ignored-files): New function,
8950 split from ido-make-file-list-1.
8951 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8952 (ido-make-file-list-1): Use ido-delete-ignored-files.
8953
daabf15a
LL
89542013-06-12 Leo Liu <sdl.web@gmail.com>
8955
8956 * progmodes/octave.el (inferior-octave-startup)
8957 (inferior-octave-completion-table)
8958 (inferior-octave-track-window-width-change)
8959 (octave-eldoc-function-signatures, octave-help)
8960 (octave-find-definition): Use single quoted strings.
8961 (inferior-octave-startup-args): Change default value.
8962 (inferior-octave-startup): Do not hard code "-i" and
8963 "--no-line-editing".
8964 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8965 (inferior-octave-directory-tracker): Use it.
8966 (octave-goto-function-definition): Robustify.
8967 (octave-help): Support highlighting operators in 'See also'.
8968 (octave-find-definition): Find subfunctions only in Octave mode.
8969
cf4e5178
SM
89702013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * help-fns.el (help-fns--compiler-macro): If the handler function is
8973 named, then put a link to it.
8974 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8975 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8976 (cl-typep): Use it.
8977 (cl-eval-when): Simplify debug spec.
8978 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8979 compiler-macro function instead of setting `compiler-macro-file'.
8980
99c81280 89812013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8982
8983 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8984 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8985
f56be016
SM
89862013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8987 Daniel Hackney <dan@haxney.org>
8988
8989 First part of Daniel Hackney's patch to package.el.
8990 * emacs-lisp/package.el: Use defstruct.
8991 (package-desc): New, main struct.
8992 (package--bi-desc, package--ac-desc): New structs, used to describe the
8993 format in external files.
8994 (package-desc-vers): Replace with package-desc-version accessor.
8995 (package-desc-doc): Replace with package-desc-summary accessor.
8996 (package-activate-1): Remove `package' arg since the pkg-vec now
8997 includes the name.
8998 (define-package): Use package-desc-from-define.
8999 (package-unpack-single): Change file-name arg to be a symbol.
9000 (package--add-to-archive-contents): Use package-desc-create and new
9001 accessor functions to package--ac-desc.
9002 (package-buffer-info, package-tar-file-info): Return a package-desc.
9003 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9004 arg to be a package-desc.
9005 (package-install-file): Adjust accordingly. Use \' to match EOS.
9006 (package--from-builtin): New function.
9007 (describe-package-1, package-menu--generate): Use it.
9008 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9009 (package-generate-autoloads): Idem and return the name of the file.
9010 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9011 Change pkg-info arg to be a package-desc.
9012 Use package-make-ac-desc.
9013 (package-upload-file): Use \' to match EOS.
9014 * finder.el (finder-compile-keywords): Use package-make-builtin.
9015
31119d63
SM
90162013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9017
931a2762
SM
9018 * vc/vc.el (vc-deduce-fileset): Change error message.
9019 (vc-read-backend): New function.
9020 (vc-next-action): Use it.
9021
5a3eb0c6
SM
9022 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9023
e3eb1bb7
SM
9024 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9025 (prolog-font-lock-keywords): Use regexp-opt instead.
9026 Don't manually highlight strings.
9027 (prolog-mode-variables): Simplify comment-start-skip.
9028 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9029
31119d63
SM
9030 * emacs-lisp/generic.el (generic--normalise-comments)
9031 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9032 (generic-mode-set-comments): Use them.
9033 (generic-bracket-support): Use setq-local.
9034 (generic-make-keywords-list): Declare obsolete.
9035
7de135d0
GM
90362013-06-11 Glenn Morris <rgm@gnu.org>
9037
9038 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9039 Prettify after setting font-lock-defaults. (Bug#14574)
9040
fa6bc6fd
JB
90412013-06-11 Juanma Barranquero <lekktu@gmail.com>
9042
9043 * replace.el (query-replace, occur-read-regexp-defaults-function)
9044 (replace-search):
9045 * subr.el (declare-function, number-sequence, local-set-key)
9046 (substitute-key-definition, locate-user-emacs-file)
9047 (with-silent-modifications, split-string, eval-after-load):
9048 Fix typos, remove unneeded backslashes and reflow some docstrings.
9049
cf1f9b9a
SM
90502013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9053 default for Elisp files.
9054
56602a4b
GM
90552013-06-11 Glenn Morris <rgm@gnu.org>
9056
9057 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9058 although define-derived-mode was doing this anyway. (Bug#14583)
9059
30ae0b2c
JB
90602013-06-10 Juanma Barranquero <lekktu@gmail.com>
9061
9062 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9063 Fix make-variable-buffer-local call to refer to the correct variable.
9064
fa472906
AG
90652013-06-10 Aidan Gauland <aidalgol@amuri.net>
9066
9067 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9068 (eshell-visual-subcommands, eshell-visual-options):
9069 Add summary line to docstrings. Add cross-references.
fa472906 9070
ff4871b9
GM
90712013-06-10 Glenn Morris <rgm@gnu.org>
9072
9073 * epa.el (epa-read-file-name): New function. (Bug#14510)
9074 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9075
04fcf1b0
AG
90762013-06-09 Aidan Gauland <aidalgol@amuri.net>
9077
9078 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9079 output redirection to be ignored with visual commands.
9080
88b00caa
AG
90812013-06-09 Aidan Gauland <aidalgol@amuri.net>
9082
9083 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9084 (eshell-term-initialize): Move long lambda to separate function
9085 eshell-visual-command-p.
e7b41c4c
JB
9086 * eshell/em-dirs.el (eshell-dirs-initialise):
9087 * eshell/em-script.el (eshell-script-initialize):
9088 Add missing #' to lambda.
88b00caa 9089
fda74125
LL
90902013-06-08 Leo Liu <sdl.web@gmail.com>
9091
9092 * progmodes/octave.el (octave-add-log-current-defun): New function.
9093 (octave-mode): Set add-log-current-defun-function.
9094 (octave-goto-function-definition): Do not move point if not found.
9095 (octave-find-definition): Enhance to try subfunctions first.
9096
467f3b33
GM
90972013-06-08 Glenn Morris <rgm@gnu.org>
9098
9099 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9100 (byte-compile-backward-char, byte-compile-backward-word):
9101 Improve previous change, to handle non-explicit nil.
9102
544badc3
SM
91032013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9106 (smie--opener/closer-at-point): New function.
9107 (smie--matching-block-data): Use it. Don't match from right after an
9108 opener or right before a closer. Obey smie-blink-matching-inners.
9109 Don't signal a mismatch for repeated inners like "switch..case..case".
9110
a175bf33
LL
91112013-06-07 Leo Liu <sdl.web@gmail.com>
9112
9113 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9114 to t. (Bug#14303)
ce8209d4
LL
9115 (octave-function-header-regexp): Fix. (Bug#14570)
9116 (octave-help-mode-finish-hook, octave-help-mode-finish):
9117 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9118
9119 * newcomment.el (comment-search-backward): Revert last change.
9120 (Bug#14434)
9121
9122 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9123
a822acff
EZ
91242013-06-07 Eli Zaretskii <eliz@gnu.org>
9125
9126 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9127 through xargs, to avoid failure due to MS-Windows limitations on
9128 command-line length.
9129
961166f5
GM
91302013-06-06 Glenn Morris <rgm@gnu.org>
9131
d0341459
GM
9132 * font-lock.el (lisp-font-lock-keywords-2):
9133 Treat user-error like error.
9134
961166f5
GM
9135 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9136 (byte-compile-backward-char, byte-compile-backward-word):
9137 Handle explicit nil arguments. (Bug#14565)
9138
80fa505f
AM
91392013-06-05 Alan Mackenzie <acm@muc.de>
9140
9141 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9142 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9143 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9144 (Bug#9706)
80fa505f 9145
fccdc796
SM
91462013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * autorevert.el (auto-revert-notify-handler): Use memq.
9149 Hide assertion failure.
9150
9151 * skeleton.el: Use cl-lib.
9152 (skeleton-further-elements): Use defvar-local.
9153 (skeleton-insert): Use cl-progv.
9154
9bfff84b
TZ
91552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9156
9157 * progmodes/prog-mode.el (prog-prettify-symbols)
9158 (prog-prettify-install): Update docstrings.
9159
55577e7c
SM
91602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * simple.el: Move all the prog-mode code to prog-mode.el.
9163 * progmodes/prog-mode.el: New file.
9164 * loadup.el: Add prog-mode.el.
9165
8fc57765
TZ
91662013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9167
9168 * simple.el (prog-prettify-symbols): Add version.
9169 (prog-prettify-install): Add convenience function to prettify symbols.
9170
9171 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9172 (perl--augmented-font-lock-keywords-1)
9173 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9174 variables and use it.
9175
9176 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9177 (cfengine3-mode): Remove unneeded variable and use it.
9178
9179 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9180 (lisp--augmented-font-lock-keywords-1)
9181 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9182 Remove unneeded variables and use it.
9183
650645d5 91842013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9185
9186 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9187 to point when opening the connection. (Bug#14380)
28f5da6d 9188
781b4af6
SM
91892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * subr.el (load-history-regexp, load-history-filename-element)
9192 (eval-after-load, after-load-functions, do-after-load-evaluation)
9193 (eval-next-after-load, display-delayed-warnings)
9194 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9195 definition of save-match-data.
9196 (overriding-local-map): Remove accidental obsolescence declaration.
9197
9198 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9199
3ca0d0b4
TZ
92002013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9201
9202 Generalize symbol prettify support to prog-mode and implement it
9203 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9204 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9205 (prog--prettify-font-lock-compose-symbol)
9206 (prog-prettify-font-lock-symbols-keywords): New variables and
9207 functions to support symbol prettification.
9208 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9209 (lisp--augmented-font-lock-keywords-1)
9210 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9211 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9212 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9213 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9214 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9215 * progmodes/perl-mode.el (perl-prettify-symbols)
9216 (perl--font-lock-compose-symbol)
9217 (perl--font-lock-symbols-keywords): Move to prog-mode.
9218 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9219 (perl-font-lock-keywords-1)
9220 (perl-font-lock-keywords-2): Remove explicit prettify support.
9221 (perl--augmented-font-lock-keywords)
9222 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9223 (perl--augmented-font-lock-keywords-2, perl-mode):
9224 Implement prettify support.
3ca0d0b4 9225
976cb066
LL
92262013-06-05 Leo Liu <sdl.web@gmail.com>
9227
9228 Re-implement smie matching block highlight using
9229 show-paren-data-function. (Bug#14395)
9230 * emacs-lisp/smie.el (smie-matching-block-highlight)
9231 (smie--highlight-matching-block-overlay)
9232 (smie--highlight-matching-block-lastpos)
9233 (smie-highlight-matching-block)
9234 (smie-highlight-matching-block-mode): Remove.
9235 (smie--matching-block-data-cache): New variable.
9236 (smie--matching-block-data): New function.
9237 (smie-setup): Use smie--matching-block-data for
9238 show-paren-data-function.
9239
9240 * progmodes/octave.el (octave-mode-menu): Fix.
9241 (octave-find-definition): Skip garbage lines.
9242
208d0342
SM
92432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9244
9245 Fix compilation error with simultaneous dynamic+lexical scoping.
9246 Add warning when a defvar appears after the first let-binding.
9247 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9248 (byte-compile-close-variables): Initialize it.
9249 (byte-compile--declare-var): New function.
9250 (byte-compile-file-form-defvar)
9251 (byte-compile-file-form-define-abbrev-table)
9252 (byte-compile-file-form-custom-declare-variable): Use it.
9253 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9254 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9255 (byte-compile-bind): Handle dynamic bindings that shadow
9256 lexical bindings.
9257 (byte-compile-unbind): Make arg non-optional.
9258 (byte-compile-let): Simplify.
9259 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9260 (cconv--analyse-function, cconv-analyse-form): Populate it.
9261 Protect byte-compile-bound-variables to limit the scope of defvars.
9262 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9263 Remove unneeded rule for `declare'.
9264
9265 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9266 so as to avoid depending on cl-adjoin at run-time.
9267 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9268
9269 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9270 (macroexp--warn-and-return): Use it.
9271
1ac2891e
GM
92722013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9273
a12bf61e 9274 * subr.el: Convert to lexical binding.
1ac2891e
GM
9275 (overriding-local-map): Make obsolete.
9276 (add-to-list): Doc fix. Add compiler macro.
9277 (read-key): Swap values of local maps.
9278
2587b005
LL
92792013-06-05 Leo Liu <sdl.web@gmail.com>
9280
9281 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9282
f1da3c88
LL
92832013-06-04 Leo Liu <sdl.web@gmail.com>
9284
9285 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9286 (compilation-auto-jump): Suppress the "Mark set" message to give
9287 way to exit message.
9288
3caa391f
AM
92892013-06-04 Alan Mackenzie <acm@muc.de>
9290
9291 Remove faulty optimisation from indentation calculation.
9292 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9293 search limit based on 2000 characters back from indent-point.
9294
068922a2
TH
92952013-06-03 Tassilo Horn <tsdh@gnu.org>
9296
9297 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9298
1f8fdd53
SM
92992013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9300
bbcc4d97
SM
9301 * emacs-lisp/lisp.el: Use lexical-binding.
9302 (lisp--local-variables-1, lisp--local-variables): New functions.
9303 (lisp--local-variables-completion-table): New var.
208d0342 9304 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9305
1f8fdd53
SM
9306 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9307 eagerly (bug#14422).
9308
c9628c79
MA
93092013-06-03 Michael Albinus <michael.albinus@gmx.de>
9310
9311 * autorevert.el (auto-revert-notify-enabled)
9312 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9313 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9314 (auto-revert-notify-handler): Handle also gfilenotify.
9315
e7b41c4c 9316 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9317 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9318 Remove.
c9628c79 9319
e5e4a942
JL
93202013-06-03 Juri Linkov <juri@jurta.org>
9321
9322 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9323 `M-s h .'. (Bug#14427)
9324
9325 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9326 command `hi-lock-face-symbol-at-point'.
9327 (hi-lock-face-symbol-at-point): New command.
9328 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9329 (hi-lock-menu): Add `highlight-symbol-at-point'.
9330 (hi-lock-mode): Doc fix.
9331
9332 * isearch.el (isearch-forward-symbol-at-point): New command.
9333 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9334 (isearch-highlight-regexp): Add a regexp which matches
9335 words/symbols for word/symbol mode.
9336
9337 * subr.el (find-tag-default-bounds): New function with the body
9338 mostly moved from `find-tag-default'.
9339 (find-tag-default): Move most code to `find-tag-default-bounds',
9340 call it and apply `buffer-substring-no-properties' afterwards.
9341
26b3353a
TH
93422013-06-03 Tassilo Horn <tsdh@gnu.org>
9343
781b4af6
SM
9344 * eshell/em-term.el (eshell-term-initialize):
9345 Use `cl-intersection' rather than `intersection'.
26b3353a 9346
51b60f53
XF
93472013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9348
fe054b63 9349 * vc/log-view.el: Doc fix.
d3ffe17c 9350 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9351
a0eb10b3 93522013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9353
9354 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9355 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9356 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9357 (eieio-unbound, eieio-default-superclass)
9358 (eieio--define-field-accessors, method-static, method-before)
9359 (method-primary, method-after, method-num-lists)
9360 (method-generic-before, method-generic-primary)
9361 (method-generic-after, method-num-slots)
9362 (eieio-specialized-key-to-generic-key)
9363 (eieio--check-type, class-v, class-p)
9364 (eieio-class-name, define-obsolete-function-alias)
9365 (eieio-class-parents-fast, eieio-class-children-fast)
9366 (same-class-fast-p, class-constructor, generic-p)
9367 (generic-primary-only-p, generic-primary-only-one-p)
9368 (class-option-assoc, class-option, eieio-object-p)
9369 (class-abstract-p, class-method-invocation-order)
9370 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9371 (eieio-class-un-autoload, eieio-defclass)
9372 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9373 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9374 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9375 (eieio-defgeneric-reset-generic-form)
9376 (eieio-defgeneric-form-primary-only)
9377 (eieio-defgeneric-reset-generic-form-primary-only)
9378 (eieio-defgeneric-form-primary-only-one)
9379 (eieio-defgeneric-reset-generic-form-primary-only-one)
9380 (eieio-unbind-method-implementations)
9381 (eieio--defmethod, eieio--typep)
9382 (eieio-perform-slot-validation, eieio-validate-slot-value)
9383 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9384 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9385 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9386 (eieio-slot-name-index, eieio-class-slot-name-index)
9387 (eieio-set-defaults, eieio-initarg-to-attribute)
9388 (eieio-attribute-to-initarg, eieio-c3-candidate)
9389 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9390 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9391 (eieio-class-precedence-list, eieio-generic-call-methodname)
9392 (eieio-generic-call-arglst, eieio-generic-call-key)
9393 (eieio-generic-call-next-method-list)
9394 (eieio-pre-method-execution-functions, eieio-generic-call)
9395 (eieio-generic-call-primary-only, eieiomt-method-list)
9396 (eieiomt-optimizing-obarray, eieiomt-install)
9397 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9398 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9399 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9400 (defclass): Remove `eval-and-compile' from macro.
9401 (call-next-method, shared-initialize): Instead of using
9402 `scoped-class' variable, use new eieio--scoped-class, and
9403 eieio--with-scoped-class.
9404 (initialize-instance): Rename local variable 'scoped-class' to
9405 'this-class' to remove ambiguitity from old global.
9406
9407 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9408 eieio.el.
4f405069
JB
9409 (eieio--scoped-class-stack): New variable.
9410 (eieio--scoped-class): New fcn.
890f7890
DE
9411 (eieio--with-scoped-class): New scoping macro.
9412 (eieio-defclass): Use pushnew instead of add-to-list.
9413 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9414 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9415 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9416 `scoped-class' variable, use new eieio--scoped-class, and
9417 eieio--with-scoped-class.
9418
9419 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9420
d105b0e2
TH
94212013-06-02 Tassilo Horn <tsdh@gnu.org>
9422
9423 * eshell/esh-ext.el (eshell-external-command): Pass args to
9424 `eshell-find-interpreter'.
9425 (eshell-find-interpreter): Add new second parameter ARGS.
9426
9427 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9428 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9429
9430 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9431 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9432
9433 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9434 (eshell-visual-options): New defcustom.
9435 (eshell-escape-control-x): Adapt docstring.
9436 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9437 `eshell-visual-options' in addition to `eshell-visual-commands'.
9438 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9439
f46305c8 94402013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9441
9442 * progmodes/python.el (python-indent-block-enders): Add break,
9443 continue and raise keywords.
9444
d870df21
GM
94452013-06-01 Glenn Morris <rgm@gnu.org>
9446
9133b82e
GM
9447 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9448
02c992ec 9449 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9450 * progmodes/cc-cmds.el (delete-forward-p):
9451 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9452 * progmodes/cc-engine.el (buffer-syntactic-context):
9453 * progmodes/cc-fonts.el (face-property-instance):
9454 * progmodes/cc-mode.el (set-keymap-parents):
9455 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9456 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9457 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9458 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9459 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9460
31e7b090
GM
9461 * progmodes/cc-vars.el (other): Emacs has this widget since
9462 at least 21.1, so don't (re)define it.
9463
d870df21
GM
9464 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9465 Replace the obsolete alias pcomplete-arg-quote-list.
9466
c75c93c7
LL
94672013-06-01 Leo Liu <sdl.web@gmail.com>
9468
9469 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9470 punctuation syntax.
9471 (inferior-octave-minimal-columns)
9472 (inferior-octave-last-column-width): New variables.
9473 (inferior-octave-track-window-width-change): New function.
9474 (inferior-octave-mode): Adjust column width so that Octave output,
9475 for example from 'ls', can fit into the window nicely.
9476
973d1e12
DG
94772013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9478
9479 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9480 Highlight expansions inside regexp literals.
9481
0888c286
GM
94822013-05-31 Glenn Morris <rgm@gnu.org>
9483
e26aac1f
GM
9484 * obsolete/sym-comp.el (symbol-complete):
9485 Replace obsolete completion-annotate-function.
9486
0888c286
GM
9487 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9488
19bb8e62
DG
94892013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9490
781b4af6
SM
9491 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9492 New function, checks if point is inside a literal that allows
19bb8e62
DG
9493 expression expansion.
9494 (ruby-syntax-propertize-expansion): Use it.
9495 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9496 around the body.
9497
01dea85f
JL
94982013-05-30 Juri Linkov <juri@jurta.org>
9499
9500 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9501 to "\M-si".
9502 (isearch-invisible): New variable.
9503 (isearch-forward): Doc fix.
9504 (isearch-mode): Set `isearch-invisible'
9505 to the value of `search-invisible'.
9506 (isearch-toggle-case-fold): Doc fix.
9507 (isearch-toggle-invisible): New command.
9508 (isearch-query-replace): Let-bind `search-invisible'
9509 to the value of `isearch-invisible'.
9510 (isearch-search): Use `isearch-invisible' instead of
9511 `search-invisible'. Let-bind `search-invisible'
9512 to the value of `isearch-invisible'. (Bug#11378)
9513
ab1bdce5
JL
95142013-05-30 Juri Linkov <juri@jurta.org>
9515
9516 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9517 call when `query-flag' is nil and `search-invisible' is non-nil.
9518 (Bug#11746)
9519
d6d236e2
GM
95202013-05-30 Glenn Morris <rgm@gnu.org>
9521
8accd027
GM
9522 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9523
2a8bed1c
GM
9524 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9525 (cc-require): Suppress spurious "noruntime" warnings.
9526 (cc-require-when-compile): Use fboundp, for sake of compiler.
9527
d6d236e2
GM
9528 * progmodes/cc-mode.el: Move load of cc-vars before that of
9529 cc-langs (which in turn loads cc-vars), to quieten compiler.
9530
9190b35b
SM
95312013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * paren.el: Simplify the code.
9534 (show-paren-mode): Always start the timer.
9535 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9536 (show-paren--overlay, show-paren--overlay-1): Rename from
9537 show-paren-overlay and show-paren-overlay-1, and initialize to an
9538 overlay rather than to nil.
9539 (show-paren-function): Misc cleanup and simplifications.
9540
4f8d1cf6
SM
95412013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * paren.el (show-paren-data-function): New hook.
9544 (show-paren--default): New function, extracted from show-paren-function.
9545 (show-paren-function): Use show-paren-data-function.
9546
02d844b5
GM
95472013-05-30 Glenn Morris <rgm@gnu.org>
9548
d209d4a9
GM
9549 * ielm.el (ielm-map, ielm-complete-symbol):
9550 Use completion-at-point rather than obsolete functions.
9551 (inferior-emacs-lisp-mode): Doc fix.
9552 Set completion-at-point-functions, rather than
9553 comint-dynamic-complete-functions.
9554
2082faa6
GM
9555 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9556 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9557 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9558
dd8620de
GM
9559 * image.el (image-animated-p): Tweak definition.
9560
ceca95b1
GM
9561 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9562 (rlogin-process-connection-type): Tweak default. Add set-after.
9563 (rlogin-host): Doc fix.
9564 (rlogin): Tweak prompt.
9565 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9566
ee9f1acc
GM
9567 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9568 * progmodes/tcl.el (inferior-tcl-mode-map):
9569 Use completion-at-point rather than obsolete alias.
9570
45ce222e
GM
9571 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9572
02d844b5
GM
9573 * minibuffer.el (read-file-name-completion-ignore-case):
9574 Move before completion--in-region, for eager macro expansion.
9575
ac44d6c1
JL
95762013-05-29 Juri Linkov <juri@jurta.org>
9577
9578 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9579 for total count of matching lines. Add `global-matches' for total
9580 count of matches. Rename `matches' to `lines' for count of
9581 matching lines. Add `matches' for count of matches.
9582 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9583 to `prev-line' for line number of prev match endpt.
9584 Increment `matches' for every match. Print the number of
9585 matching lines in the header.
9586 (occur-context-lines): Rename `lines' to `curr-line'.
9587 Rename `prev-lines' to `prev-line'. (Bug#14017)
9588
3c9c9d38
JL
95892013-05-29 Juri Linkov <juri@jurta.org>
9590
9591 * replace.el (perform-replace): Add `skip-read-only-count',
9592 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9593 Increment them for corresponding conditions and report the number
9594 of skipped occurrences in the final message. (Bug#11746)
9595 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9596 (replace-string, replace-regexp): Doc fix.
9597
33e249a2
SM
95982013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9599
8e399682
SM
9600 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9601
33e249a2 9602 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9603 prog-mode-map (bug#14504).
33e249a2 9604
f236dd84
LL
96052013-05-29 Leo Liu <sdl.web@gmail.com>
9606
9607 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9608 (octave-help): Small simplification.
9609
9610 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9611 off the highlight first.
9612
3694d13f
GM
96132013-05-29 Glenn Morris <rgm@gnu.org>
9614
03983bdc
GM
9615 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9616 Handle idlwave-last-system-routine-info-cons-cell being nil.
9617
bc74a74a
GM
9618 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9619 (idlwave-write-paths): Simplify via with-temp-buffer.
9620
8b394200
GM
9621 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9622 * emulation/cua-rect.el: Also load cua-base at run time.
9623
3694d13f
GM
9624 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9625 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9626 (cperl-imenu-on-info): Require imenu.
9627
336d7284
AM
96282013-05-28 Alan Mackenzie <acm@muc.de>
9629
9630 Handle "capitalised keywords" correctly.
33e249a2 9631 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9632
cb29c582
AG
96332013-05-28 Aidan Gauland <aidalgol@amuri.net>
9634
781b4af6 9635 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9636
690e44b2
GM
96372013-05-28 Glenn Morris <rgm@gnu.org>
9638
e658d75c
GM
9639 * vc/vc-arch.el (vc-exec-after): Declare.
9640 (vc-switches): Autoload.
9641 * vc/vc-bzr.el: No need to require vc when compiling.
9642 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9643 (vc-resynch-buffer, vc-dir-refresh): Declare.
9644 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9645 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9646 (vc-resynch-buffer): Declare.
9647 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9648 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9649 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9650 (grep-read-regexp, grep-read-files, grep-expand-template)
9651 (vc-dir-refresh): Declare.
9652 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9653 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9654 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9655 * vc/vc-mtn.el (vc-exec-after): Declare.
9656 (vc-switches): Autoload.
9657 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9658 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9659 (vc-file-tree-walk): Declare.
712b9732
GM
9660 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9661 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9662 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9663 * vc/vc-svn.el (vc-exec-after): Declare.
9664 (vc-switches, vc-setup-buffer): Autoload.
9665 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9666 Autoload.
9667 (vc-resynch-buffer): Declare.
9668
98e87fb3
GM
9669 * obsolete/fast-lock.el (byte-compile-warnings):
9670 Don't warn about obsolete features in this obsolete file.
9671
f5379553
GM
9672 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9673 Move definition before use.
9674
7a20ef83
GM
9675 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9676 (dun-unix-verbs): Remove dun-zippy.
9677 (dun-zippy): Remove function.
9678
690e44b2
GM
9679 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9680
3a52ccf7
JL
96812013-05-27 Juri Linkov <juri@jurta.org>
9682
9683 * replace.el (replace-search): New function with code moved out
9684 from `perform-replace'.
9685 (replace-highlight, replace-dehighlight): Move function definitions
9686 up closer to `replace-search'. (Bug#11746)
9687
d289938a
JL
96882013-05-27 Juri Linkov <juri@jurta.org>
9689
9690 * replace.el (perform-replace): Ignore invisible matches.
9691 In addition to checking `query-replace-skip-read-only', also
9692 filter out matches by calling `run-hook-with-args-until-failure'
9693 on `isearch-filter-predicates', and also check `search-invisible'
9694 for t or call `isearch-range-invisible'.
9695 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9696
66fc57e3
JL
96972013-05-27 Juri Linkov <juri@jurta.org>
9698
9699 * isearch.el (isearch-filter-predicates): Rename from
9700 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9701 (isearch-message-prefix): Display text from the property
9702 `isearch-message-prefix' of the currently active filters.
9703 (isearch-search): Don't compare `isearch-filter-predicate' with
9704 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9705 on `isearch-filter-predicates'. Also check `search-invisible' for t
9706 or call `isearch-range-invisible'.
9707 (isearch-filter-visible): Make obsolete.
9708 (isearch-lazy-highlight-search):
9709 Call `run-hook-with-args-until-failure' on
9710 `isearch-filter-predicates' and use `isearch-range-invisible'.
9711
9712 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9713 `isearch-filter-predicates' instead of `funcall'ing
9714 `isearch-filter-predicate'.
9715 (Info-mode): Set `Info-isearch-filter' to
9716 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9717
9718 * dired-aux.el (dired-isearch-filter-predicate-orig):
9719 Remove variable.
9720 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9721 (dired-isearch-filenames-end): Add and remove
9722 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9723 instead of changing the value of `isearch-filter-predicate'.
9724 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9725 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9726 Put property `isearch-message-prefix' to "filename " on
9727 `dired-isearch-filter-filenames'.
9728
9729 * wdired.el (wdired-change-to-wdired-mode):
9730 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9731 locally instead of changing `isearch-filter-predicate'.
9732 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9733
f1a60a0f
DG
97342013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9735
9736 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9737 return the commit hash (Bug#14459). Also set the
9738 `vc-git-detached' property.
9739 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9740 (vc-git-mode-line-string): Use the same help-echo format whether
9741 in detached mode or not, because we know the actual revision now.
9742 When in detached mode, shorten the revision to 7 chars.
9743
7f17cc40
SM
97442013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * emacs-lisp/easy-mmode.el (define-minor-mode):
9747 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9748 mode hook and provide a docstring.
9749
25c8401c
AM
97502013-05-27 Alan Mackenzie <acm@muc.de>
9751
9752 Remove spurious syntax-table text properties inserted by C-y.
9753 * progmodes/cc-mode.el (c-after-change): Also clear hard
9754 syntax-table property with value nil.
9755
dde84790
MA
97562013-05-27 Michael Albinus <michael.albinus@gmx.de>
9757
9758 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9759 when reading the events; the buffer layout shall not be changed.
9760
837fd9af
LL
97612013-05-27 Leo Liu <sdl.web@gmail.com>
9762
9763 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9764 New variable.
9765 (inferior-octave-directory-tracker): Automatically re-sync
9766 default-directory.
9767 (octave-help): Improve handling of 'See also'.
9768
4fd996b3
SM
97692013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9770
416f1802
SM
9771 * doc-view.el: Minor naming convention tweaks.
9772 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9773
4fd996b3
SM
9774 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9775 even if there's no `display' property yet (bug#14435).
9776
a052ef3b
EZ
97772013-05-25 Eli Zaretskii <eliz@gnu.org>
9778
4fd996b3 9779 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9780
9781 * Makefile.in (custom-deps, finder-data, autoloads)
9782 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9783 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9784 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9785
c9023370
SM
97862013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9789 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9790 Don't burp at EOB.
c9023370 9791
24d699fa
LL
97922013-05-25 Leo Liu <sdl.web@gmail.com>
9793
9794 * comint.el (comint-previous-matching-input): Do not flood the
9795 *Messages* buffer with trivial messages.
9796
17e5c0cc
SM
97972013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 * progmodes/flymake.el (flymake-nop): Don't return a string.
9800 (flymake-set-at): Fix typo.
9801
9802 * simple.el (read--expression): New function, extracted from
9803 eval-expression. Set completion-at-point-functions (bug#14465).
9804 (eval-expression, eval-minibuffer): Use it.
9805
5d028165
XF
98062013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9807
9808 * progmodes/flymake.el (flymake-save-buffer-in-file)
9809 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9810 (flymake-selected-frame, flymake-log, flymake-ins-after)
9811 (flymake-set-at, flymake-get-buildfile-from-cache)
9812 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9813 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9814 Refine the doc string.
9815 (flymake-get-file-name-mode-and-masks): Reformat.
9816 (flymake-get-real-file-name-function): Fix a minor bug.
9817
7a1d7ba7
JL
98182013-05-24 Juri Linkov <juri@jurta.org>
9819
9820 * progmodes/grep.el (grep-mode-font-lock-keywords):
9821 Support =linenumber= format used by git-grep for lines with
9822 function names. (Bug#13549)
9823
650cff3d
SM
98242013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9827 0 after a semi-colon; it works better for smie-auto-fill.
9828 (octave--indent-new-comment-line): New function.
9829 (octave-indent-new-comment-line): Use it (indirectly).
9830 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9831 modify comment-line-break-function.
9832
9833 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9834 (smie-setup): Use add-function to set it.
9835
9631677d
SS
98362013-05-24 Sam Steingold <sds@gnu.org>
9837
9838 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9839 argument (before the `interactive' argument).
9840
50105835
SM
98412013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * image-mode.el (image-mode-winprops): Add winprops to
9844 image-mode-winprops-alist before running
9845 image-mode-new-window-functions.
9846 * doc-view.el (doc-view-new-window-function): Don't delay
9847 doc-view-goto-page via timers (bug#14435).
9848
57b9823e
TH
98492013-05-24 Tassilo Horn <tsdh@gnu.org>
9850
9851 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9852 (doc-view-desktop-save-buffer): New function.
9853 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9854 (desktop-buffer-mode-handlers):
9855 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9856 handler.
9857 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9858 `desktop-save-buffer' function.
9859
91aafa16
MA
98602013-05-24 Michael Albinus <michael.albinus@gmx.de>
9861
9862 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9863 (tramp-gvfs-file-name-handler): Raise a user error when
9864 `tramp-gvfs-enabled' is nil.
9865 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9866 Do not raise a user error when loading package. (Bug#14447)
9867
ec076379
MA
9868 * net/xesam.el: Move to obsolete/.
9869
db785726
GM
98702013-05-24 Glenn Morris <rgm@gnu.org>
9871
af5c7606
GM
9872 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9873
e5d1916a
GM
9874 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9875
ded62b08
GM
9876 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9877 (Info-find-node, Man-getpage-in-background): Declare.
9878
9e614a3f
GM
9879 * mail/unrmail.el (unrmail):
9880 Replace obsolete detect-coding-with-priority.
9881
892f8ca3
GM
9882 * net/socks.el (socks-split-string): Use this rather than split-string.
9883 (socks-nslookup-host): Update for above change.
9884 (dynamic-choice, s5-dynamic-choice-match)
9885 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9886 Comment out unused code.
9887
3c291973
GM
9888 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9889 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9890 (gud-tooltip-echo-area): Make obsolete.
9891 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9892
43cc956b
GM
9893 * progmodes/js.el (js--optimize-arglist): Declare.
9894
dab49a3b
GM
9895 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9896
36b9d085
GM
9897 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9898 (ediff-window-C): Declare.
9899
e354ae76
GM
9900 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9901 Tweak requires to silence compiler.
9902
b8e57bf4
GM
9903 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9904 (he-search-string, he-tried-table, he-expand-list)
9905 (he-init-string, he-string-member, he-substitute-string)
9906 (he-reset-string): Declare.
9907
db785726
GM
9908 * obsolete/options.el (list-options): Use custom-variable-p,
9909 rather than obsolete alias.
9910
b3531901
SS
99112013-05-23 Sam Steingold <sds@gnu.org>
9912
9913 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9914 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9915 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9916
bdda4c66
SM
99172013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * emacs-lisp/smie.el (smie-indent-forward-token)
9920 (smie-indent-backward-token): Handle string tokens (bug#14381).
9921
c43d45f9
TH
99222013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9923
fe1eb856
RS
9924 * ielm.el (ielm-menu): New menu.
9925 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9926
fe1eb856
RS
99272013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9928
a12bf61e 9929 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
9930 Fix deactivate action.
9931
a12bf61e 9932 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 9933 Add cleveref macros.
074dd971 9934
a12bf61e 9935 * textmodes/reftex-parse.el
c43d45f9
TH
9936 (reftex-locate-bibliography-files): Accept options for
9937 bibliography commands.
a12bf61e 9938 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
9939 Add addbibresource. Basic Biblatex support.
9940
7764286e
MA
99412013-05-23 Michael Albinus <michael.albinus@gmx.de>
9942
9943 * net/tramp-gvfs.el (top):
9944 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9945 when loading package. (Bug#14447)
9946
d361bc10
GM
99472013-05-23 Glenn Morris <rgm@gnu.org>
9948
8fa23984
GM
9949 * progmodes/js.el: No need to load comint when compiling.
9950 (ring-insert, comint-send-string, comint-send-input)
9951 (comint-last-input-end, ido-chop): Declare.
9952
a5c7df1a
GM
9953 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9954 * vc/ediff-mult.el: Adjust requires.
9955 (ediff-directories-internal, ediff-directory-revisions-internal)
9956 (ediff-patch-file-internal): Declare.
9957 * vc/ediff-ptch.el: Adjust requires.
9958 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9959 (ediff-find-file): Autoload.
9960 * vc/ediff-util.el: No need to load ediff when compiling.
9961 (ediff-regions-internal): Declare.
9962 * vc/ediff-wind.el: Adjust requires.
9963 (ediff-compute-toolbar-width): Define when compiling.
9964 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9965 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9966 (dired-get-filename, dired-get-marked-files)
9967 (ediff-last-dir-patch, ediff-patch-default-directory)
9968 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9969 (ediff-patch-buffer-internal): Declare.
9970
e2aec513
GM
9971 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9972 (ispell-process, ispell-buffer-local-words, lm-summary)
9973 (lm-section-start, lm-section-end): Declare.
9974 (checkdoc-ispell-init): Simplify.
9975
e68bbd7c
GM
9976 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9977 (he-string-member, he-reset-string, he-substitute-string): Declare.
9978
7efe0991
GM
9979 * eshell/em-ls.el: Adjust requires.
9980 (eshell-glob-regexp): Declare.
f87b1284
GM
9981 * eshell/em-tramp.el: Adjust requires.
9982 (eshell-parse-command): Autoload.
9983 * eshell/em-xtra.el: Adjust requires.
9984 (eshell-parse-command): Autoload.
9985 * eshell/esh-ext.el: Adjust requires.
9986 (eshell-parse-command, eshell-close-handles): Autoload.
9987 * eshell/esh-io.el: Adjust requires.
9988 (eshell-output-filter): Autoload.
9989 * eshell/esh-util.el: No need to load tramp when compiling.
9990 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9991 Declare.
9992 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9993 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9994 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9995 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9996 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9997 * eshell/esh-opt.el, eshell/esh-proc.el:
9998 * eshell/esh-var.el: Adjust requires.
9999 * eshell/eshell.el: Do not require esh-util twice.
10000 (eshell-add-input-to-history): Declare.
10001 (eshell-command): Check history module is active before using it.
10002
d361bc10
GM
10003 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10004
85d090a9
LL
100052013-05-22 Leo Liu <sdl.web@gmail.com>
10006
10007 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10008
5d0acd9d
MA
100092013-05-22 Michael Albinus <michael.albinus@gmx.de>
10010
10011 * autorevert.el (auto-revert-notify-add-watch)
10012 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10013 it indicates changes in file modification time.
10014
0cdffd7d
GM
100152013-05-22 Glenn Morris <rgm@gnu.org>
10016
ca5995ec
GM
10017 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10018 Always delete the autoloaded function from the noruntime and
10019 unresolved functions lists.
10020
6450907e
GM
10021 * allout.el: No need to load epa, epg, overlay when compiling.
10022 (epg-context-set-passphrase-callback, epg-list-keys)
10023 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10024 (epg-key-user-id-list): Declare.
10025
9c6906f6
GM
10026 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10027 (viper-set-parsing-style-toggling-macro)
10028 (viper-set-emacs-state-searchstyle-macros):
10029 Use called-interactively-p on Emacs.
10030 (viper-looking-back): Make it an obsolete alias. Update callers.
10031 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10032 Use looking-back rather than viper-looking-back.
10033 (viper-tmp-insert-at-eob, viper-enlarge-region)
10034 (viper-read-string-with-history, viper-register-to-point)
10035 (viper-append-to-register, viper-change-state-to-vi)
10036 (viper-backward-char-carefully, viper-forward-char-carefully)
10037 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10038 (viper-change-state-to-emacs): Declare.
10039 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10040 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10041 * emulation/viper-mous.el: Do not load viper-cmd.
10042 (viper-backward-char-carefully, viper-forward-char-carefully)
10043 (viper-forward-word, viper-adjust-window): Declare.
10044
5f70c169
GM
10045 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10046
b1b7f300
GM
10047 * progmodes/idlw-help.el (idlwave-help-fontify):
10048 Use called-interactively-p.
10049
f6ebbb46
GM
10050 * term/w32console.el (w32-get-console-codepage)
10051 (w32-get-console-output-codepage): Declare.
10052
0cdffd7d
GM
10053 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10054 Remove unnecessary declarations.
10055 (dframe-message): Doc fix.
10056
10057 * info.el (dframe-select-attached-frame, dframe-current-frame):
10058 Declare.
10059
10060 * speedbar.el (speedbar-message): Make it an obsolete alias.
10061 Update all callers.
10062 (speedbar-with-attached-buffer)
10063 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10064 (speedbar-with-writable): Use backquote.
10065 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10066 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10067 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10068 rather than speedbar- aliases.
10069 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10070 (speedbar-make-specialized-keymap, speedbar-insert-button)
10071 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10072 (speedbar-do-function-pointer): Declare.
10073 (rmail-speedbar-button, rmail-speedbar-find-file)
10074 (rmail-speedbar-move-message):
10075 Use dframe-with-attached-buffer rather than speedbar- alias.
10076 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10077 (dframe-message, speedbar-make-specialized-keymap)
10078 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10079 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10080 (speedbar-insert-button, dframe-select-attached-frame)
10081 (dframe-maybee-jump-to-attached-frame)
10082 (speedbar-change-initial-expansion-list)
10083 (speedbar-previously-used-expansion-list-name): Declare.
10084 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10085 Use dframe-message, dframe-with-attached-buffer rather than
10086 speedbar- aliases.
10087 (gud-sentinel): Silence compiler.
10088 * progmodes/vhdl-mode.el (speedbar-refresh)
10089 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10090 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10091 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10092 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10093 (speedbar-file-lists, speedbar-make-tag-line)
10094 (speedbar-line-directory, speedbar-goto-this-file)
10095 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10096 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10097 (speedbar-make-button, speedbar-reset-scanners)
10098 (speedbar-files-item-info, speedbar-line-text)
10099 (speedbar-find-file-in-frame, speedbar-set-timer)
10100 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10101 (speedbar-with-writable): Do not (re)define it.
10102 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10103 rather than speedbar- alias.
10104
ee44b62a
LL
101052013-05-21 Leo Liu <sdl.web@gmail.com>
10106
10107 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10108 menu items.
10109 (octave-mode): Tweak fill-nobreak-predicate.
10110 (inferior-octave-startup): Check process to avoid infinite loop.
10111 (inferior-octave): Pop to buffer first to show abornmal process
10112 exit information.
10113
640f050f
GM
101142013-05-21 Glenn Morris <rgm@gnu.org>
10115
79458038
GM
10116 * printing.el (pr-menu-bar): Define when compiling.
10117
9cc3e83f
LL
101182013-05-21 Leo Liu <sdl.web@gmail.com>
10119
10120 * progmodes/octave.el (octave-auto-fill): Remove.
10121 (octave-indent-new-comment-line): Improve.
10122 (octave-mode): Use auto fill mode through
4f405069 10123 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10124 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10125 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10126 (octave-help): Show parent directory.
10127
f440830d
GM
101282013-05-21 Glenn Morris <rgm@gnu.org>
10129
10130 * files.el (dired-unmark):
10131 * progmodes/gud.el (gdb-input): Update declarations.
10132
10133 * calculator.el (electric, ehelp): No need to load when compiling.
10134 (Electric-command-loop, electric-describe-mode): Declare.
10135
10136 * doc-view.el (doc-view-current-converter-processes): Move before use.
10137
10138 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10139 Move MODE-set-explicitly definition before use.
10140
10141 * international/mule-diag.el (mule-diag):
10142 Don't use obsolete window-system-version.
10143
10144 * mail/feedmail.el (smtpmail): No need to load when compiling.
10145 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10146
10147 * mail/mail-utils.el (rfc822): No need to load when compiling.
10148 (rfc822-addresses): Autoload it.
10149 (mail-strip-quoted-names): Trivial simplification.
10150
10151 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10152 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10153
10154 * net/snmp-mode.el (tempo): Don't duplicate requires.
10155
10156 * progmodes/prolog.el (info): No need to load when compiling.
10157 (comint): Require before shell requires it.
10158 (Info-goto-node): Autoload it.
10159 (Info-follow-nearest-node): Declare.
10160 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10161
10162 * textmodes/artist.el (picture-mode-exit): Declare.
10163
10164 * textmodes/reftex-parse.el (reftex-parse-from-file):
10165 Trivial rewrite so the compiler can parse it better.
10166
b4da2cbb
LL
101672013-05-20 Leo Liu <sdl.web@gmail.com>
10168
10169 * progmodes/octave.el (octave-help-mode-map)
10170 (octave-help-mode-finish-hook): New variables.
10171 (octave-help-mode, octave-help-mode-finish): New functions.
10172 (octave-help): Use octave-help-mode.
10173
33c0f65b
GM
101742013-05-20 Glenn Morris <rgm@gnu.org>
10175
10176 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10177
1a0a0a8a
DG
101782013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10179
10180 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10181 start at point, so that expansion starting right after opening
10182 slash in a regexp is recognized.
10183 (ruby-syntax-before-regexp-re): New defvar, extracted from
10184 ruby-syntax-propertize-function. Since the value of this regexp
10185 is looked up at runtime now, we should be able to turn
10186 `ruby-syntax-methods-before-regexp' into a defcustom later.
10187 (ruby-syntax-propertize-function): Split regexp matching into two
10188 parts, for opening and closing slashes. That allows us to skip
10189 over string interpolations and support multiline regexps.
10190 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10191 for them, which calls `ruby-syntax-propertize-expansion'.
10192 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10193 call to `ruby-syntax-propertize-function'.
10194 (ruby-syntax-propertize-expansion): Extracted from
10195 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10196 (ruby-syntax-propertize-percent-literal): Leave point right after
10197 the percent symbol, so that the expression expansion rule can
10198 propertize the contents.
462388b6
DG
10199 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10200 heredoc openers.
10201 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10202
c1a6c0a4
JL
102032013-05-18 Juri Linkov <juri@jurta.org>
10204
10205 * man.el (Man-default-man-entry): Remove `-' from the end
10206 of the default value. (Bug#14400)
10207
8051fccd
GM
102082013-05-18 Glenn Morris <rgm@gnu.org>
10209
10210 * comint.el (comint-password-prompt-regexp):
10211 Allow "password for XXX" where XXX contains colons (eg https://...).
10212
5e80b74f
LL
102132013-05-18 Leo Liu <sdl.web@gmail.com>
10214
10215 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10216 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10217 (octave-source-directories): Don't check process.
10218 (octave-source-directories, octave-find-definition): Doc fix.
10219
521a54c5
GM
102202013-05-18 Glenn Morris <rgm@gnu.org>
10221
86a94b05
GM
10222 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10223 Remove backspace/delete bindings. (Bug#14392)
10224
521a54c5
GM
10225 * cus-dep.el (custom-make-dependencies): Sort the output.
10226 (custom-versions-load-alist): Convert comment to doc.
10227
42caeb89
LL
102282013-05-17 Leo Liu <sdl.web@gmail.com>
10229
10230 * newcomment.el (comment-search-backward): Stricter in finding
10231 comment start. (Bug#14303)
10232
10233 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10234 (octave-comment-start-skip): Properly anchored.
10235
e219dd97
LL
102362013-05-17 Leo Liu <sdl.web@gmail.com>
10237
fe1eb856
RS
10238 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10239 Clean up when turned off. (Bug#14395)
e219dd97
LL
10240 (smie--highlight-matching-block-overlay): No longer buffer-local.
10241 (smie-highlight-matching-block): Adjust.
10242
dc5dcb4b
PE
102432013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10244
10245 Doc string fix for "nanoseconds" (Bug#14406).
10246 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10247 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10248
1db165f0
JB
102492013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10250
10251 * calc/calc-units.el (math-extract-units): Preserve powers
10252 of units.
10253
c7a8fcac
LL
102542013-05-17 Leo Liu <sdl.web@gmail.com>
10255
10256 * subr.el (delete-consecutive-dups): New function.
10257 * ido.el (ido-set-matches-1): Use it.
10258 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10259 * ido.el (ido-remove-consecutive-dups): Remove.
10260
f678b18a
SM
102612013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10264 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10265 regexp-opt's `words'.
10266
ebfe68e8
LL
102672013-05-16 Leo Liu <sdl.web@gmail.com>
10268
10269 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10270 (smie--highlight-matching-block-overlay)
10271 (smie--highlight-matching-block-lastpos)
10272 (smie--highlight-matching-block-timer): New variables.
10273 (smie-highlight-matching-block): New function.
10274 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10275 (smie-setup): Conditionally enable smie-blink-matching-open.
10276
bc8bc17d
WS
102772013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10278
10279 Sync with upstream verilog-mode r840.
10280 * progmodes/verilog-mode.el (verilog-mode-version)
10281 (verilog-mode-release-date): Update.
10282 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10283 (verilog-sig-tieoff): Fix string error on
10284 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10285 (verilog-read-decls): Fix parameters confusing
10286 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10287
df065a0b
EZ
102882013-05-16 Eli Zaretskii <eliz@gnu.org>
10289
10290 * subr.el (reveal-filename): New function.
10291
10292 * loadup.el: Compute Emacs executable versions on MS-Windows,
10293 where executables have the .exe extension. Add a hard link
10294 emacs-XX.YY.ZZ.exe on MS-Windows.
10295
10296 * Makefile.in (XARGS_LIMIT): New variable.
10297 (custom-deps, finder-data, autoloads)
10298 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10299 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10300 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10301 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10302
2d4bf34b
LL
103032013-05-16 Leo Liu <sdl.web@gmail.com>
10304
10305 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10306 (octave-mode-menu, octave-mode-map): Remove its uses.
10307
6b9c2d85
RZ
103082013-05-16 Reto Zimmermann <reto@gnu.org>
10309
10310 Sync with upstream vhdl mode v3.34.2.
10311 * progmodes/vhdl-mode.el: Use `push' throughout.
10312 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10313 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10314 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10315 (vhdl-actual-generic-name): New option to derive actual generic name.
10316 (vhdl-port-paste-signals): Replace formal by actual generics.
10317 (vhdl-beautify): New name for old group vhdl-align. Update users.
10318 (vhdl-beautify-options): New option.
10319 (vhdl-last-input-event): New compat alias. Use throughout.
10320 (vhdl-goto-line): Replace user level function `goto-line'.
10321 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10322 vhdl-fix-statement-buffer.
10323 (vhdl-create-mode-menu): Add some entries.
10324 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10325 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10326 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10327 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10328 to force statements on one line.
10329 (vhdl-remove-trailing-spaces-region):
10330 New, split from vhdl-remove-trailing-spaces.
10331 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10332 Respect vhdl-beautify-options.
10333 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10334 (vhdl-update-sensitivity-list): Not add with index if exists without.
10335 Not include array index with signal. Ignore keywords in comments.
10336 (vhdl-get-visible-signals): Regexp tweaks.
10337 (vhdl-template-component-inst): Handle empty library.
10338 (vhdl-template-type): Add template for 'enum' type.
10339 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10340 Use vhdl-replace-string.
10341 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10342 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10343 (vhdl-speedbar-initialize): Update for above name change.
10344 (vhdl-compose-wire-components): Fix in handling of constants.
10345 (vhdl-error-regexp-emacs-alist): New variable.
10346 (vhdl-error-regexp-add-emacs): New function;
10347 adds support for new compile.el (Emacs 22+)
10348 (vhdl-generate-makefile-1): Change target order for single lib. units.
10349 Allow use of absolute file names.
10350
9df4ec5e
LL
103512013-05-16 Leo Liu <sdl.web@gmail.com>
10352
10353 * simple.el (prog-indent-sexp): Indent enclosing defun.
10354
f5ba00a6
GM
103552013-05-15 Glenn Morris <rgm@gnu.org>
10356
ed8be7ff
GM
10357 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10358 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10359 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10360 (whitespace-highlight): Move to whitespace group.
10361
10362 * comint.el (comint-source):
10363 * pcmpl-linux.el (pcmpl-linux):
10364 * shell.el (shell-faces):
10365 * eshell/esh-opt.el (eshell-opt):
10366 * international/ccl.el (ccl): Remove empty custom groups.
10367
10368 * completion.el (dynamic-completion-mode):
10369 * jit-lock.el (jit-lock-debug-mode):
10370 * minibuffer.el (completion-in-region-mode):
10371 * type-break.el (type-break-mode-line-message-mode)
10372 (type-break-query-mode):
10373 * emulation/tpu-edt.el (tpu-edt-mode):
10374 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10375 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10376 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10377
10378 * term/xterm.el (xterm): Change parent group to terminals.
10379
10380 * master.el (master): Remove empty custom group.
10381 (master-mode): Remove unused :group argument.
10382 * textmodes/refill.el (refill): Remove empty custom group.
10383 (refill-mode): Remove unused :group argument.
10384
10385 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10386
82a7c41b
GM
10387 * cus-dep.el: Provide a feature.
10388 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10389 Don't mistakenly ignore files whose basenames match a basename
10390 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10391 Add a fallback method for getting :group.
f5ba00a6 10392
6d65486d
JL
103932013-05-15 Juri Linkov <juri@jurta.org>
10394
da547b32
JL
10395 * isearch.el (isearch-char-by-name): Rename from
10396 `isearch-insert-char-by-name'. Doc fix.
10397 (isearch-forward): Mention `isearch-char-by-name' in
10398 the docstring. (Bug#13348)
10399
6d65486d
JL
10400 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10401 `exit-minibuffer' instead of
10402 `isearch-nonincremental-exit-minibuffer'.
10403 (isearch-edit-string): Remove mention of
10404 `isearch-nonincremental-exit-minibuffer' from docstring.
10405 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10406 (isearch-forward-exit-minibuffer)
10407 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10408
c9990474
SM
104092013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10410
6e911150
SM
10411 * loadup.el: Just use unversioned DOC.
10412
c9990474
SM
10413 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10414 literals as extending to EOB.
10415 (nxml-last-fontify-end): Remove unused variable.
10416 (nxml-after-change1): Use with-silent-modifications.
10417 (nxml-extend-after-change-region): Simplify.
10418 (nxml-extend-after-change-region1): Remove function.
10419 (nxml-after-change1): Don't adjust for dependent regions.
10420 (nxml-fontify-matcher): Simplify.
10421 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10422 (xmltok-add-dependent): Remove function.
10423 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10424 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10425 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10426 unclosed <[[, <?, comment, and other literals as extending to EOB.
10427 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10428 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10429 Remove functions.
10430 (rng-do-some-validation-1): Don't mark dependent regions.
10431 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10432 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10433 (nxml-clear-dependent-regions): Remove functions.
10434 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10435 (nxml-ensure-scan-up-to-date):
10436 Don't clear&mark dependent regions.
10437
e3772e98
LL
104382013-05-15 Leo Liu <sdl.web@gmail.com>
10439
c9990474
SM
10440 * progmodes/octave.el (octave-goto-function-definition):
10441 Improve and fix callers.
e3772e98 10442
5ac2eb34
SM
104432013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10444
c46c57b0
SM
10445 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10446 the setter (bug#14387).
10447
5ac2eb34
SM
10448 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10449 surrounding group (bug#14402).
10450
180ed218
JL
104512013-05-14 Juri Linkov <juri@jurta.org>
10452
10453 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10454 (Bug#14390)
10455
0ac0fecb
GM
104562013-05-14 Glenn Morris <rgm@gnu.org>
10457
10458 * progmodes/f90.el (f90-imenu-generic-expression):
10459 Fix typo in 2013-05-08 change. (Bug#14402)
10460
2e78e6a7
JPG
104612013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10462
5ac2eb34
SM
10463 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10464 Remove signals for which replies are never received.
2e78e6a7 10465
53267cca
JPG
104662013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10467
10468 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10469 (gdb-handler-alist, gdb-handler-number): Remove variables.
10470 (gdb-handler-list): New variable.
10471 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10472 (gdb-pending-handler-p, gdb-handle-reply)
10473 (gdb-remove-all-pending-triggers): New functions.
10474 (gdb-discard-unordered-replies): New defcustom.
10475 (gdb-handler): New defstruct.
10476 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10477 instead of gdb-pending-triggers. Update docstring.
10478 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10479 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10480 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10481 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10482 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10483 (gdb-frame-handler): Pending triggers are now automatically managed.
10484 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10485 Remove argument.
10486 (gdb-input): Automatically handles pending triggers. Update docstring.
10487 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10488 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10489 Update comments.
10490 (gdb-done-or-error): Now use gdb-handle-reply.
10491
d04ce803
JPG
104922013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10493
10494 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10495 gdb-debug-log.
10496
0114073a
GM
104972013-05-14 Glenn Morris <rgm@gnu.org>
10498
10499 * subr.el (user-emacs-directory-warning): New option.
10500 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10501
4d25fd7e
LL
105022013-05-14 Leo Liu <sdl.web@gmail.com>
10503
10504 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10505 during redisplay.
10506 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10507 (octave-font-lock-texinfo-comment): Fix invalid search bound
10508 error: wrong side of point.
4d25fd7e 10509
27c8b6eb
GM
105102013-05-14 Glenn Morris <rgm@gnu.org>
10511
61aaeb01
GM
10512 * progmodes/flymake.el (flymake-xml-program): New option.
10513 (flymake-xml-init): Use it.
10514
5bf90bc5
GM
10515 * term/xterm.el: Provide a feature.
10516
10517 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10518
f4c7dfd2
GM
105192013-05-13 Glenn Morris <rgm@gnu.org>
10520
10521 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10522 Add compat aliases as a hack workaround. (Bug#14384)
10523
2aeb3a1d
LL
105242013-05-13 Leo Liu <sdl.web@gmail.com>
10525
b0e069c2
LL
10526 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10527 ###, and %!.
f5a9432f
LL
10528 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10529 C-M-q.
b0e069c2
LL
10530 (octave-comment-start-skip): Include %!.
10531 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10532
30ea8374
LL
105332013-05-12 Leo Liu <sdl.web@gmail.com>
10534
10535 * progmodes/octave.el (inferior-octave-startup): Store the value
10536 of __octave_srcdir__ for octave-source-directories.
10537 (inferior-octave-check-process): New function refactored out of
10538 inferior-octave-send-list-and-digest.
10539 (octave-source-directories)
10540 (octave-find-definition-filename-function): New variables.
10541 (octave-source-directories)
10542 (octave-find-definition-default-filename): New functions.
10543 (octave-find-definition): Improve to find functions implemented in C++.
10544
472a3834
GM
105452013-05-12 Glenn Morris <rgm@gnu.org>
10546
10547 * calendar/diary-lib.el (diary-outlook-format-1):
10548 Don't include dayname in the output. (Bug#14349)
10549
3191b52f
GM
105502013-05-11 Glenn Morris <rgm@gnu.org>
10551
0060ac73
GM
10552 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10553
3191b52f
GM
10554 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10555 Treat cc-provide like provide.
10556
e065ba74
KR
105572013-05-11 Kevin Ryde <user42@zip.com.au>
10558
10559 * cus-dep.el (custom-make-dependencies):
10560 Use generated-autoload-load-name for the sake of files such
10561 such cedet/semantic/bovine/c.el, where the base file name
10562 is not in load-path. (Bug#5277)
10563
36f84c37
GM
105642013-05-11 Glenn Morris <rgm@gnu.org>
10565
10566 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10567 Provide features.
10568
c8730c3a
LL
105692013-05-11 Leo Liu <sdl.web@gmail.com>
10570
10571 * progmodes/octave.el (octave-indent-comment): Improve.
10572 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10573 (octave-eldoc-function-signatures, octave-eldoc-function):
10574 New functions.
c8730c3a
LL
10575 (octave-mode, inferior-octave-mode): Add eldoc support.
10576
212e29f2
RS
105772013-05-11 Richard Stallman <rms@gnu.org>
10578
10579 * epa.el (epa-decrypt-file): Take output file name as argument
10580 and read it using `interactive'.
10581
083fe0d7
LL
105822013-05-11 Leo Liu <sdl.web@gmail.com>
10583
10584 * progmodes/octave.el (octave-beginning-of-line)
10585 (octave-end-of-line): Check before using up-list because it jumps
10586 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10587 (octave-indent-comment): New function.
10588 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10589 (octave-begin-keywords, octave-end-keywords)
10590 (octave-reserved-words, octave-smie-bnf-table)
10591 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10592
8582e4c4
GM
105932013-05-11 Glenn Morris <rgm@gnu.org>
10594
f20def1f
GM
10595 * faces.el (internal-face-x-get-resource):
10596 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10597 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10598 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10599 Fix declarations.
f20def1f 10600
445f95e2
GM
10601 * calc/calc-menu.el: Make it loadable in isolation.
10602
10603 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10604 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10605 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10606 (eudc-bbdb-query-internal): Require 'bbdb.
10607
99fb2756
GM
10608 * lpr.el (lpr-headers-switches):
10609 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10610
10611 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10612
0da7ad96
GM
10613 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10614
8582e4c4
GM
10615 * term.el (term-set-escape-char): Make it idempotent.
10616
f71c50d0
LL
106172013-05-10 Leo Liu <sdl.web@gmail.com>
10618
5ac2eb34
SM
10619 * progmodes/octave.el (inferior-octave-completion-table):
10620 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10621 completion due to bug#11906.
10622 (octave-beginning-of-defun): Re-write to be more general.
10623
d5837773
GM
106242013-05-10 Glenn Morris <rgm@gnu.org>
10625
10626 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10627
027c0f75
SM
106282013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * comint.el (comint-redirect-send-command-to-process): Use :around
10631 rather than :override for comint-redirect-filter.
10632 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10633 Call it instead of comint-redirect-original-filter-function (which
10634 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10635
4465bfb4
JD
106362013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10637
10638 * frame.el (display-monitor-attributes-list): Add NS case.
10639 (ns-display-monitor-attributes-list): Declare.
10640
2d809ffa 106412013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10642
10643 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10644
e54eeb9b
GM
106452013-05-09 Glenn Morris <rgm@gnu.org>
10646
56cd351d
GM
10647 * international/fontset.el (vertical-centering-font-regexp):
10648 Set standard-value.
10649
d84b6108
GM
10650 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10651
a931698a
GM
10652 * bookmark.el (bookmark-search-delay):
10653 * cus-start.el (vertical-centering-font-regexp):
10654 * ps-mule.el (ps-mule-font-info-database-default):
10655 * ps-print.el (ps-default-fg, ps-default-bg):
10656 * type-break.el (type-break-good-break-interval):
10657 * whitespace.el (whitespace-indentation-regexp)
10658 (whitespace-space-after-tab-regexp):
10659 * emacs-lisp/testcover.el (testcover-1value-functions)
10660 (testcover-noreturn-functions, testcover-progn-functions)
10661 (testcover-prog1-functions):
10662 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10663 * eshell/em-glob.el (eshell-glob-translate-alist):
10664 * play/tetris.el (tetris-tty-colors):
10665 * progmodes/cpp.el (cpp-face-default-list):
10666 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10667 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10668 (idlwave-help-browser-generic-args):
10669 * progmodes/make-mode.el (makefile-special-targets-list):
10670 * progmodes/python.el (python-shell-virtualenv-path):
10671 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10672 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10673 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10674 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10675 * textmodes/reftex-vars.el (reftex-format-label-function):
10676 * textmodes/remember.el (remember-diary-file): Fix custom types.
10677
e54eeb9b
GM
10678 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10679 Add :version.
10680
455851dd
LL
106812013-05-09 Leo Liu <sdl.web@gmail.com>
10682
10683 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10684 Restore file completion. (Bug#14300)
455851dd
LL
10685 (inferior-octave-startup): Fix incorrect highlighting for the
10686 first prompt.
10687
a9e4425b
SM
106882013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * progmodes/ruby-mode.el: First cut at SMIE support.
10691 (ruby-use-smie): New var.
10692 (ruby-smie-grammar): New constant.
10693 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10694 (ruby-smie--forward-token, ruby-smie--backward-token)
10695 (ruby-smie-rules): New functions.
10696 (ruby-mode-variables): Setup SMIE if applicable.
10697
060ca408
EZ
106982013-05-08 Eli Zaretskii <eliz@gnu.org>
10699
10700 * simple.el (line-move-visual): Signal beginning/end of buffer
10701 only if vertical-motion moved less than it was requested. Avoids
10702 silly incorrect error messages when there are display strings with
10703 multiple newlines at EOL.
10704
1d5963cc
SM
107052013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10706
10707 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10708 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10709 (prolog-char-quote-workaround):
10710 * progmodes/cperl-mode.el (cperl-under-as-char):
10711 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10712 Mark as obsolete.
10713 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10714 their declaration.
10715 (vhdl-mode-syntax-table-init): Remove.
10716
c9990474
SM
10717 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10718 last change.
1d5963cc
SM
10719
10720 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10721 syntax for "_".
10722 (ld-script-font-lock-keywords):
10723 Change regexps to use things like \_< and \_>.
10724
10725 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10726 Change all regexps to use things like \_< and \_>.
10727
10728 * progmodes/autoconf.el (autoconf-definition-regexp)
10729 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10730 Handle a _ with symbol syntax.
10731 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10732
c9990474
SM
10733 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10734 Consolidate declaration.
1d5963cc
SM
10735 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10736 the declaration.
10737 (ada-create-syntax-table): Remove.
10738 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10739 already has the right syntax nowadays.
10740 (ada-goto-next-word): Don't change the syntax of "_".
10741
10742 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10743 with-wrapper-hook.
10744
72d3cfca
SS
107452013-05-08 Sam Steingold <sds@gnu.org>
10746
10747 * thingatpt.el (thing-at-point): Accept optional second argument
10748 NO-PROPERTIES to strip the text properties from the return value.
10749 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10750 to `thing-at-point' instead of stripping the properties ourselves.
10751 Also, when `thing-at-point' fails to find a url, prepend "http://"
10752 to the filename at point on the assumption that the user is
10753 pointing at something like gnu.org/gnu.
10754
5cb15713
JB
107552013-05-08 Juanma Barranquero <lekktu@gmail.com>
10756
10757 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10758 * faces.el (crm-separator):
10759 Silence byte-compiler.
10760
10761 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10762 (tool-bar-map): Remove unneeded defvars.
10763
ea78b95b
LL
107642013-05-08 Leo Liu <sdl.web@gmail.com>
10765
10766 Re-work a fix for bug#10994 based on Le Wang's patch.
10767 * ido.el (ido-remove-consecutive-dups): New helper.
10768 (ido-completing-read): Use it.
10769 (ido-chop): Revert fix for bug#10994.
10770
dc7466df
AS
107712013-05-08 Adam Spiers <emacs@adamspiers.org>
10772
10773 * cus-edit.el (custom-save-variables):
10774 Pretty-print long values. (Bug#14187)
10775
9ecf672a
GM
107762013-05-08 Glenn Morris <rgm@gnu.org>
10777
10778 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10779 (m4-mode-syntax-table): Init in the defvar.
10780 (m4-mode-abbrev-table): Let define-derived-mode define it.
10781
3f555be8
TT
107822013-05-08 Tom Tromey <tromey@redhat.com>
10783
10784 * progmodes/m4-mode.el (m4-mode-syntax-table):
10785 Do not treat "_" as word constituent. (Bug#14167)
10786
7cc8ae06
GM
107872013-05-07 Glenn Morris <rgm@gnu.org>
10788
4f58bc06
GM
10789 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10790 Remove explicit eshell-isearch-cancel-map.
10791
7cc8ae06
GM
10792 * progmodes/f90.el (f90-smart-end-names): New option.
10793 (f90-smart-end): Doc fix.
10794 (f90-end-block-optional-name): New constant.
10795 (f90-block-match): Respect f90-smart-end-names.
10796
ceb57e59
SM
107972013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10800 about implicit semi-colons (bug#14218).
10801
4e3f9230
YM
108022013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10803
10804 * frame.el (display-monitor-attributes-list)
10805 (frame-monitor-attributes): New functions.
10806
203a5572
LL
108072013-05-06 Leo Liu <sdl.web@gmail.com>
10808
10809 * progmodes/octave.el (octave-syntax-propertize-function): Change
10810 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10811 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10812 (octave-completion-at-point): Rename from
203a5572
LL
10813 octave-completion-at-point-function.
10814 (inferior-octave-directory-tracker): Robustify.
10815 (octave-text-functions): Remove and fix its uses. No such things
10816 any more.
10817
ee6cff99
SM
108182013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * emacs-lisp/trace.el (trace--display-buffer): New function.
10821 (trace-make-advice): Use it.
10822
32985194
JL
108232013-05-06 Juri Linkov <juri@jurta.org>
10824
10825 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10826 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10827 Doc fix.
10828 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10829 in the help string. (Bug#12985)
10830
a1c700de
KD
108312013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10832
10833 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10834
c67c0839
SM
108352013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10836
323885fd
SM
10837 * progmodes/perl-mode.el: Add support for here documents.
10838 (perl-syntax-propertize-function): Match here-doc markers.
10839 (perl-syntax-propertize-special-constructs): Find their end.
10840 (perl-imenu-generic-expression): Use [:alnum:].
10841
c67c0839
SM
10842 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10843 (advice--add-function): Refresh the advice if already present
10844 (bug#14317).
10845
d491e7a8
IA
108462013-05-06 Ivan Andrus <darthandrus@gmail.com>
10847
10848 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10849
ddf9925e
GM
108502013-05-06 Glenn Morris <rgm@gnu.org>
10851
7cc3af27
GM
10852 * w32-fns.el (w32-charset-info-alist): Declare.
10853
16e343d6
GM
10854 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10855 of its defcustom properties.
10856 (eshell-cmpl-initialize): No need to load pcomplete.
10857
7d889a47
GM
10858 * generic-x.el: No need to require comint when compiling.
10859
ddf9925e
GM
10860 * net/eudc-export.el: Make it loadable without bbdb.
10861 (top-level): Use require rather than load-library.
10862 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10863 (eudc-batch-export-records-to-bbdb)
10864 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10865 Require bbdb.
10866
1e2c18df
SM
108672013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10870 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10871 some tweaks, instead.
10872
02502a5f
LL
108732013-05-05 Leo Liu <sdl.web@gmail.com>
10874
10875 * progmodes/octave.el (octave-font-lock-keywords)
10876 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10877 (inferior-octave-send-list-and-digest): Improve error message.
10878 (octave-mode, inferior-octave-mode): Use setq-local.
10879 (octave-help): Set info-lookup-mode.
10880
0dc04f42
RS
108812013-05-05 Richard Stallman <rms@gnu.org>
10882
6c54491c
RS
10883 * vc/compare-w.el (compare-windows-whitespace):
10884 Treat no-break space as whitespace.
10885
0dc04f42
RS
10886 * mail/rmailsum.el (rmail-summary-rmail-update):
10887 Detect empty summary and don't change selected message.
10888 (rmail-summary-goto-msg): Likewise.
10889
df8f35df
RS
10890 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10891 Doc fixes, rename args.
10892
5356e1a3
AM
108932013-05-05 Alan Mackenzie <acm@muc.de>
10894
10895 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10896
d44014cb
JL
108972013-05-05 Juri Linkov <juri@jurta.org>
10898
10899 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10900 to not add the length of the summary segment to the return value.
10901 (Bug#14125)
10902
c129b51f
LL
109032013-05-05 Leo Liu <sdl.web@gmail.com>
10904
10905 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10906 (inferior-octave-output-filter): Remove.
10907 (octave-send-region, inferior-octave-startup): Fix callers.
10908 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10909 (octave-binary-file-extensions): New user variable.
10910 (octave-find-definition): Confirm if opening binary files.
10911 (octave-help-file): Use octave-find-definition to get the binary
10912 confirmation.
10913 (octave-help): Adjust for octave-help-file change.
10914
aa7dab97
SM
109152013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10918 Merge the two entries that handle function definitions.
10919 (pascal--syntax-propertize): New const.
10920 (pascal-mode): Use it. Use setq-local.
10921
fd3a9a6b
GM
109222013-05-04 Glenn Morris <rgm@gnu.org>
10923
10924 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10925 (diary-from-outlook): Respect diary-from-outlook-function.
10926
30c7e542
SM
109272013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10930 Move the declaration from C.
10931 (read-minibuffer, eval-minibuffer): Move from C.
10932 (completion-setup-function): Avoid minibuffer-completion-contents.
10933
b54f978b
LL
109342013-05-03 Leo Liu <sdl.web@gmail.com>
10935
10936 * progmodes/octave.el (octave-font-lock-keywords): Do not
10937 dehighlight 'end' in comments or strings.
30c7e542
SM
10938 (octave-completing-read, octave-goto-function-definition):
10939 New helpers.
d4d0f9b3
LL
10940 (octave-help-buffer): New user variable.
10941 (octave-help-file, octave-help-function): New button types.
10942 (octave-help): New command and bind it to C-h ;.
10943 (octave-find-definition): New command and bind it to M-.
d74a1581 10944 (user-error): Alias to error if not defined.
b54f978b 10945
27135018
LL
109462013-05-02 Leo Liu <sdl.web@gmail.com>
10947
10948 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10949 for \. (bug#14332)
10950 (octave-font-lock-keywords): Include [ and {.
10951
0d634d3a
LL
109522013-05-02 Leo Liu <sdl.web@gmail.com>
10953
10954 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10955 (inferior-octave): Remove calling comint-mode and return the buffer.
10956 (inferior-octave-startup): Cosmetic changes.
10957
b4c8295e
LL
109582013-05-02 Leo Liu <sdl.web@gmail.com>
10959
30c7e542
SM
10960 * progmodes/octave.el (octave-syntax-propertize-function):
10961 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10962
f12ad6ec
GM
109632013-05-02 Glenn Morris <rgm@gnu.org>
10964
10965 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10966 * desktop.el (vc-dir-mode): Just autoload it here.
10967
30cac1e0
AM
109682013-05-02 Alan Mackenzie <acm@muc.de>
10969
10970 Eliminate variable c-standard-font-lock-fontify-region-function.
10971 * progmodes/cc-mode.el
10972 (c-standard-font-lock-fontify-region-function): Remove.
10973 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10974
d8ef28b1
LL
109752013-05-01 Leo Liu <sdl.web@gmail.com>
10976
2640d52e 10977 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10978 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10979 variables were removed from Octave in 2007.
d8ef28b1
LL
10980 (inferior-octave-startup): Fix uses.
10981 (comint-line-beginning-position): Remove compatibility code for
10982 emacs 21.
10983
ac63ec89
JL
109842013-05-01 Juri Linkov <juri@jurta.org>
10985
10986 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10987
9e9be37c
JL
109882013-05-01 Juri Linkov <juri@jurta.org>
10989
10990 * comint.el (comint-previous-matching-input): Don't print message
10991 "History item: %d" when `isearch-mode' is active.
10992 (comint-history-isearch-message): Print message "History item: %d"
10993 when `comint-input-ring-index' is not empty and this function is
10994 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10995
9b92c13b
LL
109962013-05-01 Leo Liu <sdl.web@gmail.com>
10997
10998 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10999 definitions. Use completion-at-point to insert keywords.
11000 (octave-abbrev-start): Remove.
11001 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11002
b12d33d7
LL
110032013-04-30 Leo Liu <sdl.web@gmail.com>
11004
11005 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11006 change.
11007
3d1c39fa
AM
110082013-04-30 Alan Mackenzie <acm@muc.de>
11009
11010 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11011 * progmodes/cc-engine.el (c-back-over-member-initializers):
11012 new function.
3d1c39fa
AM
11013 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11014 (most) member init lists.
11015
5147fc17
RS
110162013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11017
11018 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11019 variable.
11020
5b78d7fc
LL
110212013-04-30 Leo Liu <sdl.web@gmail.com>
11022
11023 * progmodes/octave.el (octave-variables): Remove. No builtin
11024 variables any more. All converted to functions.
11025 (octave-font-lock-keywords, octave-completion-at-point-function):
11026 Fix uses.
11027 (octave-font-lock-texinfo-comment): New user variable.
11028 (octave-texinfo-font-lock-keywords): New variable for texinfo
11029 comment block.
11030 (octave-function-comment-block): New face.
11031 (octave-font-lock-texinfo-comment): New function.
11032 (octave-mode): Font lock texinfo comment block.
11033
38d8527b
LL
110342013-04-29 Leo Liu <sdl.web@gmail.com>
11035
11036 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11037 indexing expression.
11038 (octave-continuation-string): Do not use \.
11039 (inferior-octave-complete-impossible): Remove.
11040 (inferior-octave-completion-table)
11041 (inferior-octave-completion-at-point): Remove its uses.
11042 (inferior-octave-startup): completion_matches was introduced to
11043 Octave in 1996 so safe to assume it.
11044 (octave-function-file-comment): Improve to follow how Octave does it.
11045 (octave-update-function-file-comment): Tweak.
11046
2ec12cb0
LL
110472013-04-29 Leo Liu <sdl.web@gmail.com>
11048
11049 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11050 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11051 (octave-function-file-comment): Fix typo.
11052 (octave-sync-function-file-names): Use read-char-choice.
11053
6eaed048
JB
110542013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11055
11056 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11057 to t for the less important warnings.
11058
3ffa2d4f
DH
110592013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11060
11061 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11062
685c9501
GM
110632013-04-27 Glenn Morris <rgm@gnu.org>
11064
11065 * vc/log-view.el (log-view-current-entry):
11066 Treat "---" separator lines as part of the following rev. (Bug#14169)
11067
0208ede7
JL
110682013-04-27 Juri Linkov <juri@jurta.org>
11069
11070 * subr.el (read-number): Doc fix about using it by interactive
11071 code letter `n'. (Bug#14254)
11072
5db9dace
JL
110732013-04-27 Juri Linkov <juri@jurta.org>
11074
11075 * desktop.el (desktop-auto-save-timeout): New option.
11076 (desktop-file-checksum): New variable.
11077 (desktop-save): Add optional arg `auto-save' and don't auto-save
11078 if nothing changed.
11079 (desktop-auto-save-timer): New variable.
11080 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11081 (after-init-hook): Call `desktop-auto-save-set-timer'.
11082 Suggested by Reuben Thomas <rrt@sc3d.org> in
11083 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11084
b7260dd4
LL
110852013-04-27 Leo Liu <sdl.web@gmail.com>
11086
11087 * progmodes/octave.el (octave-function-file-p)
11088 (octave-skip-comment-forward, octave-function-file-comment)
11089 (octave-update-function-file-comment): New functions.
11090 (octave-mode-map): Bind C-c ; to
11091 octave-update-function-file-comment.
11092 (octave-mode-menu): Add octave-update-function-file-comment.
11093 (octave-mode, inferior-octave-mode): Fix doc-string.
11094 (octave-insert-defun): Conform to Octave's coding convention.
11095 (Bug#14285)
11096
11097 * files.el (basic-save-buffer): Don't let errors in
11098 before-save-hook prevent saving buffer.
11099
c46da669
RW
111002013-04-20 Roland Winkler <winkler@gnu.org>
11101
11102 * faces.el (read-face-name): Use completing-read if arg multiple
11103 is nil.
11104
a81ee1eb
IL
111052013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11106
11107 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11108 displayed, move point to after the totals line.
11109 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11110 for the details.
11111
4fac34ce
SM
111122013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11115 Add current dir to the load-path.
11116 (package-generate-autoloads): Don't rely on
11117 autoload-ensure-default-file.
11118
f6bfc063
RT
111192013-04-26 Reuben Thomas <rrt@sc3d.org>
11120
d40ab5cf
BG
11121 * textmodes/remember.el (remember-store-in-files): Document that
11122 the file name format is passed to `format-time-string'.
f6bfc063 11123
e55d3b04
LL
111242013-04-26 Leo Liu <sdl.web@gmail.com>
11125
11126 * progmodes/octave.el (octave-sync-function-file-names): New function.
11127 (octave-mode): Use it in before-save-hook.
11128
e53052d3
SM
111292013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11130
140ef50c
SM
11131 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11132 (bug#14274).
11133
e53052d3
SM
11134 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11135 \n and comment, even if it's not an implicit ; (bug#14218).
11136
af80458d 111372013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11138
11139 * subr.el (read-number): Once more use `read' rather than
11140 `string-to-number', to trap non-numeric input. (Bug#14254)
11141
af80458d 111422013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11143
11144 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11145 Use `syntax-multiline' text property consistently instead of
8a621d53 11146 `font-lock-multiline'. (Bug#14237)
70203c2e 11147
e6ea1f6c
GM
111482013-04-26 Glenn Morris <rgm@gnu.org>
11149
11150 * emacs-lisp/shadow.el (list-load-path-shadows):
11151 No longer necessary to check for duplicate simple.el, since
11152 2012-07-07 change to init_lread to not include installation lisp
11153 directories in load-path when running uninstalled. (Bug#14270)
11154
070ccca4
LL
111552013-04-26 Leo Liu <sdl.web@gmail.com>
11156
11157 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11158 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11159 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11160 octave-in-string-or-comment-p.
11161 (octave-in-comment-p, octave-in-string-p)
11162 (octave-in-string-or-comment-p): Replace defsubst with defun.
11163
9d1c5fb6
PE
111642013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11165
11166 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11167
c034abda
BG
111682013-04-25 Bastien Guerry <bzg@gnu.org>
11169
11170 * textmodes/remember.el (remember-data-directory)
11171 (remember-directory-file-name-format): Fix custom types.
11172
584ea277
LL
111732013-04-25 Leo Liu <sdl.web@gmail.com>
11174
e53052d3
SM
11175 * progmodes/octave.el (octave-completion-at-point-function):
11176 Make use of inferior octave process.
584ea277
LL
11177 (octave-initialize-completions): Remove.
11178 (inferior-octave-completion-table): New function.
11179 (inferior-octave-completion-at-point): Use it.
11180 (octave-completion-alist): Remove.
11181
1693b06a
SM
111822013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11185 (opascal-mode-syntax-table): New var.
11186 (opascal-literal-kind, opascal-is-literal-end)
11187 (opascal-literal-token-at): Rewrite.
11188 (opascal--literal-start-re, opascal-font-lock-keywords)
11189 (opascal--syntax-propertize): New constants.
11190 (opascal-font-lock-defaults): Adjust.
11191 (opascal-mode): Use them. Set comment-<foo> variables as well.
11192 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11193 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11194 (delphi-other-face, opascal-other-face): Remove face variables.
11195 (opascal-save-state): Remove macro.
11196 (opascal-fontifying-progress-step): Remove constant.
11197 (opascal--ignore-changes): Remove var.
11198 (opascal-set-token-property, opascal-parse-next-literal)
11199 (opascal-is-stable-literal, opascal-complete-literal)
11200 (opascal-is-literal-start, opascal-face-of)
11201 (opascal-parse-region, opascal-parse-region-until-stable)
11202 (opascal-fontify-region, opascal-after-change)
11203 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11204 (opascal-debug-parse-region, opascal-debug-parse-window)
11205 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11206 (opascal-debug-fontify-buffer): Remove.
11207 (opascal-debug-mode-map): Adjust accordingly.
11208
be64c05d
LL
112092013-04-25 Leo Liu <sdl.web@gmail.com>
11210
11211 Merge octave-mod.el and octave-inf.el into octave.el with some
11212 cleanups.
11213 * progmodes/octave.el: New file renamed from octave-mod.el.
11214 * progmodes/octave-inf.el: Merged into octave.el.
11215 * progmodes/octave-mod.el: Renamed to octave.el.
11216
d79d37bd
TH
112172013-04-25 Tassilo Horn <tsdh@gnu.org>
11218
11219 * textmodes/reftex-vars.el
11220 (reftex-label-ignored-macros-and-environments): New defcustom.
11221
11222 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11223
ced3fc5d
SM
112242013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11227 (smie-indent-keyword): Improve the check to ensure that the next
11228 comment is really on the same line.
11229 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11230
11231 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11232 semi-colons if the line is not otherwise empty (bug#14218).
11233
1c141dad
GM
112342013-04-25 Glenn Morris <rgm@gnu.org>
11235
11236 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11237
5058062a
SM
112382013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * progmodes/opascal.el (opascal-set-token-property): Rename from
11241 opascal-set-text-properties and only set `token' (bug#14134).
11242 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11243 (opascal-literal-text-properties): Remove.
11244 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11245 Adjust callers.
11246
5db9dace 112472013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11248
11249 * textmodes/remember.el (remember-handler-functions): Add an
11250 option for a new handler `remember-store-in-files'.
11251 (remember-data-directory, remember-directory-file-name-format):
11252 New options.
11253 (remember-store-in-files): New function to store remember notes
11254 as separate files within a directory.
11255
4391916c
MH
112562013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11257
11258 * progmodes/compile.el (compilation-next-error-function):
11259 Pass "formats" to compilation-find-file (bug#11777).
11260
bb7cdf58
GM
112612013-04-24 Glenn Morris <rgm@gnu.org>
11262
3b8fe752 11263 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11264 * vc/vc-hg.el (vc-hg-print-log):
11265 * vc/vc-svn.el (vc-svn-print-log):
11266 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11267
bb7cdf58
GM
11268 * vc/vc-bzr.el (vc-bzr-print-log):
11269 * vc/vc-cvs.el (vc-cvs-print-log):
11270 * vc/vc-git.el (vc-git-print-log):
11271 * vc/vc-hg.el (vc-hg-print-log):
11272 * vc/vc-mtn.el (vc-mtn-print-log):
11273 * vc/vc-rcs.el (vc-rcs-print-log):
11274 * vc/vc-sccs.el (vc-sccs-print-log):
11275 * vc/vc-svn.el (vc-svn-print-log):
11276 * vc/vc.el (vc-print-log-internal): Doc fixes.
11277
b46a056e
GM
112782013-04-23 Glenn Morris <rgm@gnu.org>
11279
11280 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11281 Remove venerable code attempting to avoid substitute-command-keys.
11282
0aecf718
TH
112832013-04-23 Tassilo Horn <tsdh@gnu.org>
11284
4391916c
MH
11285 * textmodes/reftex-vars.el (reftex-label-regexps):
11286 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11287
117f94cf
SM
112882013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11289
4391916c 11290 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11291 Use lexical-binding.
11292 (jit-lock-force-redisplay): Use markers, check buffer's continued
11293 existence and beware narrowed buffers.
11294 (jit-lock-fontify-now): Adjust call accordingly.
11295
1d829c64
SM
112962013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11299 to avoid misleading the user.
11300
72d548a9
LL
113012013-04-22 Leo Liu <sdl.web@gmail.com>
11302
11303 * info-look.el: Prefer latex2e.info. (Bug#14240)
11304
d0853629
MA
113052013-04-22 Michael Albinus <michael.albinus@gmx.de>
11306
11307 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11308
11309 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11310 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11311 (tramp-set-completion-function, tramp-parse-putty):
11312 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11313 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11314 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11315 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11316 (tramp-call-local-coding-command): Use `tramp-call-process'
11317 instead of `tramp-compat-call-process'.
11318
11319 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11320 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11321 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11322 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11323 (tramp-maybe-send-script): Check for Perl binary.
11324 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11325
38cc0210
DU
113262013-04-22 Daiki Ueno <ueno@gnu.org>
11327
11328 * epg.el (epg-context-pinentry-mode): New function.
11329 (epg-context-set-pinentry-mode): New function.
11330 (epg--start): Pass --pinentry-mode option to gpg command.
11331
cc641ee1
XF
113322013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11333
02d844b5 11334 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11335 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11336 `completion-at-point'. (Bug#13774)
5d4e5c31 11337
cc641ee1
XF
11338 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11339 default key binding for `describe-distribution' has been moved to
11340 `C-h C-o'. (Bug#13970)
11341
1b42ee43
GM
113422013-04-21 Glenn Morris <rgm@gnu.org>
11343
11344 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11345 Add doc strings.
11346 (vc-print-log): Clarify interactive prompt.
11347
a6d63d97
GM
113482013-04-20 Glenn Morris <rgm@gnu.org>
11349
11350 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11351 No longer include timestamp etc information.
11352
d7f5c16f
RW
113532013-04-20 Roland Winkler <winkler@gnu.org>
11354
11355 * faces.el (read-face-name): Bug fix, return just one face if arg
11356 multiple is nil. (Bug#14209)
11357
bcd7a0a4
SM
113582013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11361 (remove-function): Autoload.
11362
11363 * comint.el (comint-redirect-original-filter-function): Remove.
11364 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11365 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11366 (vc-cvs-annotate-command):
bcd7a0a4
SM
11367 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11368 * progmodes/prolog.el (prolog-consult-compile):
11369 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11370 Use add/remove-function instead.
11371 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11372 (gud-tooltip-process-output, gud-tooltip-tips):
11373 Use add/remove-function instead.
11374 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11375 (scheme-interaction-mode, exit-scheme-interaction-mode):
11376 Use add/remove-function instead.
11377
11378 * vc/vc-dispatcher.el: Use lexical-binding.
11379 (vc--process-sentinel): Rename from vc-process-sentinel.
11380 Change last arg to be the code to run. Don't use vc-previous-sentinel
11381 and vc-sentinel-commands any more.
11382 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11383 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11384
e36b2d20 113852013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11386
bcd7a0a4 11387 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11388 Handle function names with a single character. (Bug#14111)
4d3268ba 11389
781b4af6 113902013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11391
11392 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11393 for subroutines defined in an eval (bug#14182).
11394
7d688336
TV
113952013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11396
11397 * bookmark.el (bookmark-completing-read): Improve handling of empty
11398 string (bug#14176).
11399
31dcede0
SM
114002013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11403
adc31213
FEG
114042013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11405
11406 New faster Imenu implementation (bug#14058).
11407 * progmodes/python.el:
11408 (python-imenu-prev-index-position):
11409 (python-imenu-format-item-label-function)
11410 (python-imenu-format-parent-item-label-function)
11411 (python-imenu-format-parent-item-jump-label-function):
11412 New vars.
11413 (python-imenu-format-item-label)
11414 (python-imenu-format-parent-item-label)
11415 (python-imenu-format-parent-item-jump-label)
11416 (python-imenu--put-parent, python-imenu--build-tree)
11417 (python-imenu-create-index, python-imenu-create-flat-index)
11418 (python-util-popn): New functions.
11419 (python-mode): Set imenu-create-index-function to
11420 python-imenu-create-index.
11421
cdca8255
SM
114222013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * winner.el (winner-active-region): Use region-active-p, activate-mark
11425 and deactivate-mark (bug#14225).
11426
11427 * simple.el (deactivate-mark): Don't inline it.
11428
beb42340
MA
114292013-04-18 Michael Albinus <michael.albinus@gmx.de>
11430
11431 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11432
fc7f4d7e
TH
114332013-04-18 Tassilo Horn <tsdh@gnu.org>
11434
11435 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11436 file extensions from the archive-mode entry in order to prefer
11437 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11438
29f47822
LL
114392013-04-18 Leo Liu <sdl.web@gmail.com>
11440
11441 * bindings.el (help-event-list): Add ?\?.
11442
d36ed1c8
SM
114432013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11444
11445 * subr.el (with-wrapper-hook): Declare obsolete.
11446 * simple.el (filter-buffer-substring-function): New hook.
11447 (filter-buffer-substring): Use it.
11448 (filter-buffer-substring-functions): Mark obsolete.
11449 * minibuffer.el (completion-in-region-function): New hook.
11450 (completion-in-region): Use it.
11451 (completion-in-region-functions): Mark obsolete.
11452 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11453 * abbrev.el (abbrev-expand-function): New hook.
11454 (expand-abbrev): Use it.
11455 (abbrev-expand-functions): Mark obsolete.
11456 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11457 and :filter-return.
11458
04754d36
FEG
114592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11460
11461 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11462 and do not care about match data.
11463
dd8791e9
SM
114642013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11467 completion tables when completing error conditions and
11468 `declare' arguments.
11469 (lisp-complete-symbol, field-complete): Mark as obsolete.
11470 (check-parens): Unmatched parens are user errors.
11471 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11472
ffe54a13
AM
114732013-04-17 Michal Nazarewicz <mina86@mina86.com>
11474
dd8791e9
SM
11475 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11476 command changed buffer (ie. `flyspell-pre-buffer' is not current
11477 buffer), which prevents making decisions based on invalid value of
11478 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11479 cause an error when `flyspell-pre-point' was nil after switching
11480 buffers.
11481 (flyspell-post-command-hook): No longer needs to change buffers when
11482 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11483
ec7e39f2
AM
114842013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11485
11486 * textmodes/ispell.el (ispell-add-per-file-word-list):
11487 Fix `flyspell-correct-word-before-point' error when accepting
11488 words and `coment-padding' is an integer by using
11489 `comment-normalize-vars' (Bug #14214).
11490
083850a6
FEG
114912013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11492
11493 New defun movement commands.
11494 * progmodes/python.el (python-nav--syntactically)
11495 (python-nav--forward-defun, python-nav-backward-defun)
11496 (python-nav-forward-defun): New functions.
11497
619ed6e1
FEG
114982013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11499
11500 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11501 (python-syntax-context): Use named compiler-macro for backwards
11502 compatibility with Emacs 24.x.
11503
7a1beb6c
LL
115042013-04-17 Leo Liu <sdl.web@gmail.com>
11505
11506 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11507 octave-hide-process-buffer.
11508
2d3fa3e5
SM
115092013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11512 (bug#14216).
11513
7ce5be54
JPG
115142013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11515
11516 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11517 Fix adjustment of offset when receiving incomplete responses from GDB
11518 (bug#14129).
11519
351edece
SM
115202013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11521
11522 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11523 python-mode-abbrev-table.
11524 (python-skeleton-define): Adjust accordingly.
11525 (python-mode-abbrev-table): New table that inherits from it so that
11526 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11527
11528 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11529 (abbrev-symbol): Use it.
11530 (abbrev--before-point): Use it since we already handle inheritance.
11531
613f9481
LL
115322013-04-16 Leo Liu <sdl.web@gmail.com>
11533
11534 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11535 binding to info-lookup-symbol.
11536
51646b62
JB
115372013-04-16 Juanma Barranquero <lekktu@gmail.com>
11538
11539 * minibuffer.el (completion--twq-all):
11540 * term/ns-win.el (ns-initialize-window-system):
11541 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11542
efb3f01d
SM
115432013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11544
36c0a301
SM
11545 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11546 global bindings.
11547
efb3f01d
SM
11548 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11549
fb549d64
DG
115502013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11551
11552 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11553 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11554 to nil.
11555 (ruby-end-of-defun): Remove the unused arg, change the docstring
11556 to reflect that this function is only used as the value of
11557 `end-of-defun-function'.
11558 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11559 to reflect an earlier change that beginning/end-of-defun functions
11560 jump between methods in a class definition, as well as top-level
11561 functions.
11562
21e8fe2f
SM
115632013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * minibuffer.el (minibuffer-complete): Don't just scroll
11566 a *Completions* that's been iconified.
11567 (minibuffer-force-complete): Make sure repetitions do cycle when going
11568 through completion-in-region -> minibuffer-complete.
11569
20e527d0
AM
115702013-04-15 Alan Mackenzie <acm@muc.de>
11571
11572 Correct the placement of c-cpp-delimiters when there're #s not at
11573 col 0.
11574
11575 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11576 place a submatch around the #.
21e8fe2f
SM
11577 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11578 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11579 on the #, not BOL.
11580
dabefae5
SM
115812013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11584 (advice--member-p): New arg `name'.
11585 (advice--add-function, advice-member-p): Use it (bug#14202).
11586
85c9ab64
AM
115872013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11588
11589 Reformulate java imenu-generic-expression.
11590 The old expression contained ill formed regexps.
11591
11592 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11593 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11594 (cc-imenu-java-method-arg-regexp): New defconsts.
11595 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11596 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11597 handling of spaces in the regexp.
11598
0f821d99
AM
115992013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11600
11601 * textmodes/ispell.el (ispell-command-loop): Remove
11602 flyspell highlight of a word when ispell accepts it (bug #14178).
11603
eb922adf
MA
116042013-04-15 Michael Albinus <michael.albinus@gmx.de>
11605
11606 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11607 uses code from the previous `ange-ftp-run-real-handler'.
11608 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11609 only in case that function exist. This is needed for proper
11610 unloading of Tramp.
11611
4d9a0979
TH
116122013-04-15 Tassilo Horn <tsdh@gnu.org>
11613
11614 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11615
11616 * textmodes/reftex.el (reftex-compile-variables): Use it.
11617
a829b0dc
SM
116182013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11619
91e8293c
SM
11620 * files.el (normal-mode): Only use default major-mode if no other mode
11621 was specified.
11622
830aed4d
SM
11623 * emacs-lisp/trace.el (trace-values): New function.
11624
a829b0dc
SM
11625 * files.el: Allow : in local variables (bug#14089).
11626 (hack-local-variable-regexp): New var.
11627 (hack-local-variables-prop-line, hack-local-variables): Use it.
11628
7ae9f0fb
RW
116292013-04-13 Roland Winkler <winkler@gnu.org>
11630
11631 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11632 data before it gets modified by bibtex-beginning-of-entry.
11633
6646e848
RW
116342013-04-13 Roland Winkler <winkler@gnu.org>
11635
11636 * textmodes/bibtex.el (bibtex-url): Doc fix.
11637
116382013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11639
11640 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11641 does not visit a BibTeX file, exclude it from the list of buffers
11642 returned by bibtex-initialize.
11643
0aa3616e
SB
116442013-04-13 Stephen Berman <stephen.berman@gmx.net>
11645
11646 * window.el (split-window): Remove interactive form, since as a
11647 command this function is a special case of split-window-below.
11648 Correct doc string.
11649
011cddd6
RW
116502013-04-12 Roland Winkler <winkler@gnu.org>
11651
11652 * faces.el (read-face-name): Do not override value of arg default.
11653 Allow single faces and strings as default values. Remove those
11654 elements from return value that are not faces.
11655 (describe-face): Simplify.
11656 (face-at-point): New optional args thing and multiple so that this
11657 function can provide the same functionality previously provided by
11658 read-face-name.
11659 (make-face-bold, make-face-unbold, make-face-italic)
11660 (make-face-unitalic, make-face-bold-italic, invert-face)
11661 (modify-face, read-face-and-attribute): Use face-at-point.
11662
11663 * cus-edit.el (customize-face, customize-face-other-window)
11664 * cus-theme.el (custom-theme-add-face)
11665 * face-remap.el (buffer-face-set)
11666 * facemenu.el (facemenu-set-face): Use face-at-point.
11667
f24e0036
MA
116682013-04-12 Michael Albinus <michael.albinus@gmx.de>
11669
11670 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11671
da3cda2d
TH
116722013-04-10 Tassilo Horn <tsdh@gnu.org>
11673
11674 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11675 off leading { and trailing } from field values.
11676
15e54145
SM
116772013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11678
78ce603d
SM
11679 * emacs-lisp/timer.el (timer--check): New function.
11680 (timer--time, timer-set-function, timer-event-handler): Use it.
11681 (timer-set-idle-time): Simplify.
11682 (timer--activate): CSE.
11683 (timer-event-handler): Give more info in error message.
11684 (internal-timer-start-idle): New function, moved from C.
11685
15e54145
SM
11686 * mpc.el (mpc-proc): Add `restart' argument.
11687 (mpc-proc-cmd): Use it.
11688 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11689 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11690 less often.
11691
7144c627
MY
116922013-04-10 Masatake YAMATO <yamato@redhat.com>
11693
11694 * progmodes/sh-script.el: Implement `sh-mode' own
11695 `add-log-current-defun-function' (bug#14112).
11696 (sh-current-defun-name): New function.
11697 (sh-mode): Use the function.
11698
b39792eb
BG
116992013-04-09 Bastien Guerry <bzg@gnu.org>
11700
11701 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11702
8acdeb71
SM
117032013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11704
6fcdab68
SM
11705 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11706
8acdeb71
SM
11707 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11708 timer (bug#14156).
11709
e3e7b504
NF
117102013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11711
11712 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11713 declaration.
11714
201bb296
LL
117152013-04-07 Leo Liu <sdl.web@gmail.com>
11716
11717 * pcmpl-x.el: New file.
11718
ebb19708
DA
117192013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11720
11721 Do not set x-display-name until X connection is established.
11722 This is needed to prevent from weird situation described at
11723 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11724 * frame.el (make-frame): Set x-display-name after call to
11725 window system initialization function, not before.
11726 * term/x-win.el (x-initialize-window-system): Add optional
11727 display argument and use it.
11728 * term/w32-win.el (w32-initialize-window-system):
11729 * term/ns-win.el (ns-initialize-window-system):
11730 * term/pc-win.el (msdos-initialize-window-system):
11731 Add compatible optional display argument.
11732
33bb237a
EZ
117332013-04-06 Eli Zaretskii <eliz@gnu.org>
11734
11735 * files.el (normal-backup-enable-predicate): On MS-Windows and
11736 MS-DOS compare truenames of temporary-file-directory and of the
11737 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11738 don't fail comparison by compare-strings. Also, compare file
11739 names case-insensitively on MS-Windows and MS-DOS.
11740
134abf1f
SM
117412013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11742
11743 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11744 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11745
d695cb94
DG
117462013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11747
e3e7b504
NF
11748 * whitespace.el (whitespace-color-on, whitespace-color-off):
11749 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11750
f4ad7ea1 117512013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11752
11753 * ispell.el (ispell-set-spellchecker-params):
11754 Really set `ispell-args' for all equivs.
11755
632556e4
SM
117562013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * ido.el (ido-completions): Use extra elements of ido-decorations
11759 (bug#14143).
11760 (ido-decorations): Update docstring.
11761
2a417372
MA
117622013-04-05 Michael Albinus <michael.albinus@gmx.de>
11763
11764 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11765 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11766 nil during initialization, in order not to miss changes since the
11767 file was opened. (Bug#14140)
11768
fc164b0c
LL
117692013-04-05 Leo Liu <sdl.web@gmail.com>
11770
11771 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11772
0ccecc08
JB
117732013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11774
11775 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11776
51af1aa2
GM
117772013-04-04 Glenn Morris <rgm@gnu.org>
11778
11779 * electric.el (electric-pair-inhibit-predicate): Add :version.
11780
b208ebc6
SM
117812013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11784 when a package is required several times (bug#14082).
11785
f3d3eaf0
RW
117862013-04-04 Roland Winkler <winkler@gnu.org>
11787
11788 * faces.el (read-face-name): Behave as promised by the docstring.
11789 Assume that arg default is a list of faces.
11790 (describe-face): Call read-face-name with list of default faces.
11791
2575da50
TV
117922013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11793
11794 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11795 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11796 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11797 the header.
11798 (bookmark-exit-hook-internal): Save even if list is empty.
11799
397703b4
YH
118002013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11801
11802 * emacs-lisp/package.el (package-pinned-packages): New var.
11803 (package--add-to-archive-contents): Obey it (bug#14118).
11804
691e26ae
AM
118052013-04-03 Alan Mackenzie <acm@muc.de>
11806
8a621d53
JB
11807 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11808 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11809
11810 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11811 parameter `not-in-delimiter'. Handle being inside comment opener.
11812 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11813 character in case we're typing a '*' after a '/'.
11814 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11815 instead by passing the parameter to c-state-pp-to-literal.
11816
11817 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11818 for elt. 7 of a parse state.
11819
4b725a70
PE
118202013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11821
11822 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11823 * international/latin1-disp.el, international/mule-util.el:
11824 * language/cyril-util.el, language/european.el, language/ind-util.el:
11825 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11826 * language/tibetan.el, language/viet-util.el:
11827 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11828
15c579f0
SM
118292013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11832 (electric-pair-post-self-insert-function): Use it.
11833 (electric-pair-default-inhibit): New function, extracted from
11834 electric-pair-post-self-insert-function.
11835
a77e2924
RW
118362013-03-31 Roland Winkler <winkler@gnu.org>
11837
11838 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11839
2bd8a4a8
SM
118402013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11843
8d3655be 118442013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11845
11846 Un-indent after "pass" and "return" statements (Bug#13888)
11847 * progmodes/python.el (python-indent-block-enders): New var.
11848 (python-indent-calculate-indentation): Use it.
11849
8d3655be 118502013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11851
11852 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11853 defun. Defining it as defalias could introduce too eager
11854 byte-compiler optimization. (Bug#14030)
11855
8d3655be 118562013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11857
11858 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11859
0b1619da
LL
118602013-03-30 Leo Liu <sdl.web@gmail.com>
11861
11862 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11863 (kmacro-execute-from-register): Pass the keyboard macro to
11864 kmacro-call-macro or repeating won't work correctly.
11865
0b938190
TZ
118662013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11867
11868 * progmodes/subword.el: Back to using `forward-symbol'.
11869
11870 * subr.el (forward-whitespace, forward-symbol)
11871 (forward-same-syntax): Move from thingatpt.el.
11872
35710234
LL
118732013-03-29 Leo Liu <sdl.web@gmail.com>
11874
11875 * kmacro.el (kmacro-to-register): New command.
11876 (kmacro-execute-from-register): New function.
11877 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11878
efc0bb73
SM
118792013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * mpc.el: Use defvar-local and setq-local.
11882 (mpc--proc-connect): Connection failures are not bugs.
11883 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11884 (mpc-volume-map): Bind to the up-events.
11885
75a2f981
TZ
118862013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11887
11888 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11889 instead of `forward-symbol'.
11890
17c781d1
SM
118912013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11894 (edebug--recursive-edit): Use it.
11895 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11896 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11897
f67bfbcf
LL
118982013-03-28 Leo Liu <sdl.web@gmail.com>
11899
11900 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11901
b59f639d
EZ
119022013-03-27 Eli Zaretskii <eliz@gnu.org>
11903
11904 * facemenu.el (list-colors-callback): New defvar.
11905 (list-colors-redisplay): New function.
11906 (list-colors-display): Install list-colors-redisplay as the
11907 revert-buffer-function. (Bug#14063)
11908
f557c1b1
SM
119092013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11910
b1da2957
SM
11911 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11912 and suffixes don't overlap (bug#14061).
11913
f557c1b1
SM
11914 * case-table.el: Use lexical-binding.
11915 (case-table-get-table): New function.
11916 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11917
002668e1
TZ
119182013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11919
11920 * progmodes/subword.el: Add `superword-mode' to do word motion
11921 over symbol_words (parallels and leverages `subword-mode' which
11922 does word motion inside MixedCaseWords).
11923
73572c72
AG
119242013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11925
78b8f320 11926 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11927 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11928
69b2c07e
SM
119292013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11932 Change return value to be a sexp. Delay `get-buffer' to after
11933 restoring the desktop (bug#13951).
11934
08bb5ee2
LL
119352013-03-26 Leo Liu <sdl.web@gmail.com>
11936
11937 * register.el: Move semantic tag handling back to
11938 cedet/semantic/senator.el. (Bug#14052)
11939
8d4c974e
SM
119402013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11943 into the prompt either (bug#13963).
11944
b234d92c
SM
119452013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11946
11947 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11948 part of "(error-foo)".
11949
ddfa3cb4
JL
119502013-03-24 Juri Linkov <juri@jurta.org>
11951
11952 * replace.el (list-matching-lines-prefix-face): New defcustom.
11953 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11954 `occur-engine' if `face-differs-from-default-p' returns t.
11955 (occur-engine): Add `,' inside backquote construct to evaluate
11956 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11957 Pass `prefix-face' to the functions `occur-context-lines' and
11958 `occur-engine-add-prefix'.
11959 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11960 `prefix-face' and propertize the prefix with `prefix-face'.
11961 (Bug#14017)
11962
7b0e2f85
LL
119632013-03-24 Leo Liu <sdl.web@gmail.com>
11964
11965 * nxml/rng-valid.el (rng-validate-while-idle)
11966 (rng-validate-quick-while-idle): Guard against deleted buffer.
11967 (Bug#13999)
11968
11969 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11970 is the last entry in kill-buffer-hook.
11971
11972 * files.el (kill-buffer-hook): Doc fix.
11973
b3082f49
DG
119742013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11975
b234d92c
SM
11976 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11977 Make it safe-local.
bde73d27 11978
b3082f49
DG
11979 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11980
a320a2db
LL
119812013-03-23 Leo Liu <sdl.web@gmail.com>
11982
7e74b0fb
LL
11983 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11984 Remove.
11985
11986 * nxml/rng-valid.el (rng-validate-mode)
11987 (rng-after-change-function, rng-do-some-validation):
11988 * nxml/rng-maint.el (rng-validate-buffer):
11989 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11990 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11991 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11992 (nxml-extend-after-change-region): Use with-silent-modifications.
11993
a320a2db
LL
11994 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11995 timer-idle-list.
11996
11997 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11998 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11999 timer-idle-list. (Bug#13999)
12000
e38e6780
JL
120012013-03-23 Juri Linkov <juri@jurta.org>
12002
12003 * info.el (info-index-match): New face.
12004 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12005 main pattern and add text properties with the new face to matches
12006 in index entries relative to the beginning of the index entry.
12007 (Bug#14015)
12008
e8cc7880
DE
120092013-03-21 Eric Ludlam <zappo@gnu.org>
12010
12011 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
12012 Inhibit read only while inserting objects.
12013
9bb0d822
TZ
120142013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12015
12016 * progmodes/cfengine.el: Update docs to mention
12017 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12018 symbol motion. Remove "_" from the word syntax.
12019
aa703640
TZ
120202013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12021
12022 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12023 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12024
afff09d0
JL
120252013-03-20 Juri Linkov <juri@jurta.org>
12026
12027 * info.el (Info-next-reference-or-link)
12028 (Info-prev-reference-or-link): New functions.
12029 (Info-next-reference, Info-prev-reference): Use them.
12030 (Info-try-follow-nearest-node): Handle footnote navigation.
12031 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12032
9a1ff164
SM
120332013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12036 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12037
2667d15d
PE
120382013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12039
12040 Suppress unnecessary non-ASCII chatter during build process.
12041 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12042 (batch-skkdic-convert): Suppress most of the chatter.
12043 It's not needed so much now that machines are faster,
12044 and its non-ASCII component was confusing; see Dmitry Gutov in
12045 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12046
438b0579
LL
120472013-03-20 Leo Liu <sdl.web@gmail.com>
12048
12049 * ido.el (ido-chop): Fix bug#10994.
12050
c128ab07
DG
120512013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12052
12053 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12054 Remove vars.
9a1ff164
SM
12055 (whitespace-color-on, whitespace-color-off):
12056 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12057
0e6008c5
SM
120582013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12059
12060 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12061 remapping in mode-line.
12062 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12063
627b52b0
DG
120642013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12065
12066 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12067 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12068 (whitespace-font-lock-keywords): Change description.
12069 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12070 the constructed keywords instead.
12071 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12072
50c3a20b
LL
120732013-03-19 Leo Liu <sdl.web@gmail.com>
12074
12075 * progmodes/compile.el (compilation-display-error): New command.
12076 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12077 C-o. (Bug#13992)
12078
2aa2157b
PE
120792013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12080
12081 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12082
e477dbfa
JD
120832013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12084
12085 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12086
64ab82d1
MA
120872013-03-18 Michael Albinus <michael.albinus@gmx.de>
12088
12089 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12090
12091 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12092 * net/tramp-gvfs.el (top):
12093 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12094 (tramp-handle-shell-command): Use it.
12095 (tramp-dissect-file-name): Raise an error when hostname is a
12096 method name, and neither method nor user is specified.
12097
12098 * net/trampver.el: Update release number.
12099
33cef733
LL
121002013-03-18 Leo Liu <sdl.web@gmail.com>
12101
12102 Make sure eldoc can be turned off properly.
12103 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12104 eldoc-mode.
12105 (eldoc-display-message-p): Revert last change.
12106 (eldoc-display-message-no-interference-p)
12107 (eldoc-print-current-symbol-info): Tweak.
12108
2167b7b2
TH
121092013-03-18 Tassilo Horn <tsdh@gnu.org>
12110
12111 * doc-view.el (doc-view-new-window-function): Check the new window
12112 overlay's display property instead the char property of the
12113 buffer's first char. Use `with-selected-window' instead of
12114 `save-window-excursion' with `select-window'.
12115 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12116 display property instead the char property of the buffer's first char.
2167b7b2 12117
982efbcd
PE
121182013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12119
12120 Automate the build of ja-dic.el (Bug#13984).
12121 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12122 from the input, rather than assume that it's been done for us by the
12123 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12124 the current date into a ja-dic.el comment, as that complicates
12125 regression testing.
12126
2fcc7665
SM
121272013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * whitespace.el: Fix double evaluation.
12130 (whitespace-space, whitespace-hspace, whitespace-tab)
12131 (whitespace-newline, whitespace-trailing, whitespace-line)
12132 (whitespace-space-before-tab, whitespace-indentation)
12133 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12134 obsolete defvars.
12135 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12136 (whitespace-color-on): Use a single font-lock-add-keywords call.
12137 Fix double-evaluation of face variables.
12138
67c0a6e6
MA
121392013-03-17 Michael Albinus <michael.albinus@gmx.de>
12140
2fcc7665
SM
12141 * net/tramp-adb.el (tramp-adb-parse-device-names):
12142 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12143 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12144
69489f1d
LL
121452013-03-17 Leo Liu <sdl.web@gmail.com>
12146
12147 Extend eldoc to display info in the mode-line. (Bug#13978)
12148 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12149 (eldoc-mode-line-string): New variable.
12150 (eldoc-minibuffer-message): New function.
12151 (eldoc-message-function): New variable.
12152 (eldoc-message): Use it.
12153 (eldoc-display-message-p)
2fcc7665
SM
12154 (eldoc-display-message-no-interference-p):
12155 Support eldoc-post-insert-mode.
69489f1d
LL
12156
12157 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12158 (eval-expression): Run it.
12159
9c44569e
RW
121602013-03-17 Roland Winkler <winkler@gnu.org>
12161
12162 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12163 strings in the list of return values.
12164
327f1f6f
JB
121652013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12166
12167 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12168 radix before checking for HMS forms.
12169
67ed8fcd
LL
121702013-03-16 Leo Liu <sdl.web@gmail.com>
12171
12172 * progmodes/scheme.el: Add indentation and font-locking for λ.
12173 (Bug#13975)
12174
78be8b64 121752013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12176
12177 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12178 token before point (bug#13942).
12179
78be8b64 121802013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12181
95b43468 12182 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12183
98e775e6
EZ
121842013-03-16 Eli Zaretskii <eliz@gnu.org>
12185
12186 * startup.el (command-line-normalize-file-name): Fix handling of
12187 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12188 <xfq.free@gmail.com> in
12189 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12190
2edd6029
MA
121912013-03-15 Michael Albinus <michael.albinus@gmx.de>
12192
12193 Sync with Tramp 2.2.7.
12194
12195 * net/trampver.el: Update release number.
12196
d35f5864
TH
121972013-03-14 Tassilo Horn <tsdh@gnu.org>
12198
e903c210 12199 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12200 (doc-view-insert-image): Don't modify overlay associated to
12201 non-live windows, and implement horizontal centering of image in
12202 case it's smaller than the window.
12203 (doc-view-new-window-function): Force redisplay of new windows on
12204 doc-view buffers.
d35f5864 12205
1c4a85ed
KF
122062013-03-13 Karl Fogel <kfogel@red-bean.com>
12207
12208 * saveplace.el (save-place-alist-to-file): Don't sort
12209 `save-place-alist', just pretty-print it (bug#13882).
12210
85b66a21
MA
122112013-03-13 Michael Albinus <michael.albinus@gmx.de>
12212
a020afb9
JB
12213 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12214 Check whether `default-file-name-coding-system' is bound.
12215 It isn't in XEmacs.
85b66a21 12216
175600da
SM
122172013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12218
e7f7cb1a
SM
12219 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12220 backquotes for `obsolete' (bug#13929).
12221
175600da
SM
12222 * international/mule.el (find-auto-coding): Include file name in
12223 obsolescence warning (bug#13922).
12224
ca68a22e
TZ
122252013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12226
12227 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12228 for CFEngine 3-specific indentation.
12229 (cfengine3-indent-line): Use it. Fix up category regex.
12230 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12231
940e5099
SM
122322013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * type-break.el (type-break-file-name):
12235 * textmodes/remember.el (remember-data-file):
12236 * strokes.el (strokes-file):
12237 * shadowfile.el (shadow-initialize):
12238 * saveplace.el (save-place-file):
12239 * ps-bdf.el (bdf-cache-file):
12240 * progmodes/idlwave.el (idlwave-config-directory):
12241 * net/quickurl.el (quickurl-url-file):
12242 * international/kkc.el (kkc-init-file-name):
12243 * ido.el (ido-save-directory-list-file):
12244 * emulation/viper.el (viper-custom-file-name):
12245 * emulation/vip.el (vip-startup-file):
12246 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12247 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12248
cc725808
PE
122492013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12250
12251 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12252 * language/thai-word.el: Switch to UTF-8.
12253
a020afb9 12254See ChangeLog.16 for earlier changes.
e3d51b27
MR
12255
12256;; Local Variables:
12257;; coding: utf-8
e3d51b27
MR
12258;; End:
12259
ba318903 12260 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12261
12262 This file is part of GNU Emacs.
12263
12264 GNU Emacs is free software: you can redistribute it and/or modify
12265 it under the terms of the GNU General Public License as published by
12266 the Free Software Foundation, either version 3 of the License, or
12267 (at your option) any later version.
12268
12269 GNU Emacs is distributed in the hope that it will be useful,
12270 but WITHOUT ANY WARRANTY; without even the implied warranty of
12271 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12272 GNU General Public License for more details.
12273
12274 You should have received a copy of the GNU General Public License
12275 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.