* lisp/indent.el (indent-according-to-mode): Flush to column 0 in text-mode
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6ae948d8
SM
12014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4 after an empty line.
5
6137cb82
SM
62014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * net/shr.el (shr-render-region): Autoload.
9
e6344e17
XF
102014-01-12 Xue Fuqiao <xfq.free@gmail.com>
11
12 * net/eww.el (eww-download-directory): Rename from
13 `eww-download-path' (Bug#16419).
14
3b922c70
LL
152014-01-12 Leo Liu <sdl.web@gmail.com>
16
17 * dired-x.el (dired-mode-map): Fix last change.
18
19 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
20
4fa51741
PE
212014-01-12 Paul Eggert <eggert@cs.ucla.edu>
22
23 Spelling fixes.
24 * emacs-lisp/generic.el (generic--normalize-comments):
25 Rename from generic--normalise-comments. All uses changed.
26 * play/bubbles.el (bubbles--neighborhood-score):
27 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
28 (bubbles--neighborhood-available)
29 (bubbles--update-neighborhood-score):
30 Rename from names with 'neighbourhood'. All uses changed.
31
9b335362
LL
322014-01-12 Leo Liu <sdl.web@gmail.com>
33
34 Re-implement the feature of showing eldoc info after editing.
35 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
36 (eldoc-edit-message-commands): New function.
37 (eldoc-print-after-edit): New variable.
38 (eldoc-pre-command-refresh-echo-area): Emit message only by
39 eldoc-message-commands.
40 (eldoc-mode): Restrict eldoc-message-commands to editing commands
41 if eldoc-print-after-edit is set. (Bug#16346)
42
6137cb82 43 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 44
9685190b
ER
452014-01-11 Eric S. Raymond <esr@thyrsus.com>
46
841a6d0c 47 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 48 function works correctly in either a Bazaar or Git repo.
0abf4134 49
6137cb82
SM
50 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
51 Goes with removal of the joke manpages from /etc.
9685190b 52
3923e7bd
KH
532014-01-10 K. Handa <handa@gnu.org>
54
6137cb82
SM
55 * mail/rmail.el (rmail-get-coding-system):
56 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 57
d2f16e93
GM
582014-01-10 Glenn Morris <rgm@gnu.org>
59
60 * emacs-lisp/authors.el (authors-fixed-entries):
61 Update for files that no longer exist.
62
7e03bb32
ER
632014-01-10 Eric S. Raymond <esr@thyrsus.com>
64
65 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 66 24.3 (Tested).
7e03bb32 67
dd806710
BB
682014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
69
70 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
71 and Podfile.
72
ed6ec139
EZ
732014-01-10 Eli Zaretskii <eliz@gnu.org>
74
75 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
76
cc33cac9
CY
772014-01-10 Chong Yidong <cyd@gnu.org>
78
6137cb82 79 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 80
d9d836b5
AL
812014-01-10 Anders Lindgren <andlind@gmail.com>
82
83 * follow.el (follow-cache-command-list): Include right-char and
84 left-char.
85
06827ec8
PE
862014-01-10 Paul Eggert <eggert@cs.ucla.edu>
87
88 Spelling fixes.
89 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
90 * woman.el (woman-mark-horizontal-position):
91 Rename from woman-mark-horizonal-position. Use changed.
92
458dbf5e
GM
932014-01-10 Glenn Morris <rgm@gnu.org>
94
dad6fae7
GM
95 * info.el (info-initialize): If running uninstalled, ensure our
96 own info files are always found first, even if INFOPATH is set.
97
458dbf5e
GM
98 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
99
05e0afce
DE
1002014-01-09 David Engster <deng@randomsample.de>
101
102 * emacs-lisp/eieio-custom.el:
103 * emacs-lisp/eieio-opt.el: Set generated autoload file to
104 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
105 * emacs-lisp/eieio.el: Regenerate autoloads.
106
f29778b3
ER
1072014-01-09 Eric S. Raymond <esr@thyrsus.com>
108
109 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 110 following renames. (Bug#8756)
f29778b3 111
684d44ef
SM
1122014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
115 (bug#16382).
116 (activate-mark): Add `no-tmm' argument.
117 (set-mark, push-mark-command): Use it instead of running
118 activate-mark-hook by hand.
119
9475054f
ER
1202014-01-08 Eric S. Raymond <esr@thyrsus.com>
121
122 In preparation for the move to git, sanitize out some
123 Bazaar-specific names.
124
125 * version.el (emacs-bzr-version): Name changed to
ceb885a1 126 emacs-repository-version. Obsolete-variable alias made.
9475054f 127 * loadup.el: Follow through on this name change.
a12bf61e 128 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
129 assumption about the version control system in use.
130
0f918d96 1312014-01-08 David Engster <deng@randomsample.de>
abb82152 132
684d44ef
SM
133 * help-fns.el (help-fns-describe-function-functions):
134 New variable to call functions for augmenting help buffers.
abb82152
DE
135 (describe-function-1): Remove explicit calls to
136 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
137 `help-fns--obsolete'. Put them in above new variable instead, and
138 call them through `run-hook-with-args'.
139 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
140 `eieio-describe-class'. Not meant for interactive use anymore,
141 but to augment existing help buffers. Remove optional second
684d44ef
SM
142 argument. Create proper button for file location.
143 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
144 possible.
145 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
146 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
147 (describe-method, describe-generic, eieio-describe-method):
148 Remove aliases.
0f918d96
DE
149 (eieio-help-constructor, eieio-help-generic): Rename from
150 `eieio-describe-constructor' and `eieio-describe-generic', resp.
151 Rewrite to use `insert' in the current buffer and use proper help
152 buttons.
153 (eieio-help-find-method-definition)
154 (eieio-help-find-class-definition): Also accept symbols as
155 arguments.
156 (eieio-help-mode-augmentation-maybee): Remove.
157 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
158 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
159 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 160
136b74c5
PE
1612014-01-08 Paul Eggert <eggert@cs.ucla.edu>
162
163 Spelling fixes.
164 * language/china-util.el (hz-ascii-designation):
165 Rename from hz-ascii-designnation.
166 (hz-ascii-designation): Rename from hz-ascii-designnation.
167 All uses changed.
168
ec6c7de2
SM
1692014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
172 package-alist.
173
d6262c7c
BG
1742014-01-08 Bastien Guerry <bzg@gnu.org>
175
4b9e6087
GM
176 * emacs-lisp/package.el (package-delete):
177 Correctly delete the package from package-alist.
d6262c7c 178
0a3eec32
DU
1792014-01-08 Daiki Ueno <ueno@gnu.org>
180
181 * emacs-lisp/package.el (url-recreate-url): Declare.
182 (url-http-target-url): Declare.
4b9e6087 183 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
184 (package--check-signature): Don't re-signal errors from
185 package--with-work-buffer. Suggested by Stefan Monnier.
186
68f0bb97
BG
1872014-01-07 Bastien Guerry <bzg@gnu.org>
188
189 * minibuffer.el (completion--try-word-completion): When both a
190 hyphen and a space are possible candidates for the character
191 following a word, display both candidates. (Bug#15980)
192
7e1899d7
MR
1932014-01-07 Martin Rudalics <rudalics@gmx.at>
194
195 * window.el (balance-windows-2): While rounding don't give a
196 window more than the remainder. Bug#16351, Bug#16383.
197
0030ec15
GM
1982014-01-07 Glenn Morris <rgm@gnu.org>
199
200 * menu-bar.el (menu-bar-help-extra-packages): Remove.
201 (menu-bar-help-menu): Use view-external-packages instead.
202
2b6b4f20
BG
2032014-01-07 Bastien Guerry <bzg@gnu.org>
204
205 * emacs-lisp/package.el (package-delete): Also delete the package
206 name from `package-alist', not its description only.
207
e9be0a13
GM
2082014-01-07 Glenn Morris <rgm@gnu.org>
209
210 * help.el (view-external-packages):
211 * menu-bar.el (menu-bar-help-extra-packages):
212 Visit efaq.info rather than etc/MORE.STUFF.
213
e4f74da9
JL
2142014-01-07 Juri Linkov <juri@jurta.org>
215
216 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
217 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
218
219 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
220 that shadows RET. (Bug#16342)
221
de7ce2d1
CY
2222014-01-07 Chong Yidong <cyd@gnu.org>
223
224 * isearch.el (isearch-yank-char, isearch-yank-word)
225 (isearch-yank-line): Doc fix.
226
6bdd9204
SM
2272014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
230 * emacs-lisp/elint.el (elint-find-builtins):
231 * emacs-lisp/eldoc.el (eldoc-symbol-function):
232 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
233 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
234 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
235 * apropos.el (apropos-safe-documentation):
236 * subr.el (symbol-file): Remove redundant fboundp.
237 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
238
daccca97
BG
2392014-01-06 Bastien Guerry <bzg@gnu.org>
240
241 * hl-line.el (global-hl-line-overlay): Make a local variable.
242 (global-hl-line-overlays): New variable to store all overlays.
243 (global-hl-line-mode): Don't delete overlays from the current
244 buffer when `global-hl-line-sticky-flag' is non-nil.
245 (global-hl-line-highlight): Add new overlays to
246 `global-hl-line-overlays'.
247 (global-hl-line-unhighlight-all): New function to delete all
248 overlays when turning off `global-hl-line-mode'.
249 This fixes Bug#16183.
250
ec00f20f
SM
2512014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * subr.el (set-transient-map): Fix nested case and docstring.
254
a0031f97
TH
2552014-01-06 Tassilo Horn <tsdh@gnu.org>
256
257 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
258 `Texinfo' entry.
259
bf6a77f3
DC
2602014-01-06 Daniel Colascione <dancol@dancol.org>
261
262 Fix defun navigation in vc log view.
263
264 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
265 like `beginning-of-defun'.
266 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
267 log-view-end-of-defun to log-view-end-of-defun-1. Replace
268 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 269 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 270 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 271
d5081c1e
PE
2722014-01-06 Paul Eggert <eggert@cs.ucla.edu>
273
274 Spelling fixes.
275 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
276 * emacs-lisp/debug.el (cancel-debug-on-entry):
277 * epg.el (epg-error-to-string):
278 * files.el (recover-file):
279 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
280 * mail/emacsbug.el (report-emacs-bug-hook):
281 * mail/sendmail.el (mail-recover):
282 * ses.el (ses-yank-resize):
283 * term/ns-win.el (ns-print-buffer):
284 Spelling fixes in diagnostics, mostly for "canceled" with one L.
285 * epg.el (epg-key-capability-alist): Rename from misspelled version.
286 All uses changed.
287 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
288
53f6b148
LL
2892014-01-06 Leo Liu <sdl.web@gmail.com>
290
291 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 292 to avoid shadowing global key. (Bug#16354)
53f6b148 293
b82ace2f
DC
2942014-01-06 Daniel Colascione <dancol@dancol.org>
295
296 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
297 rst-mode.
298
3669b636
MR
2992014-01-05 Martin Rudalics <rudalics@gmx.at>
300
301 * window.el (balance-windows): Add mising t to fix Bug#16351.
302
1a29adc2
LMI
3032014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
304
305 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
306 (bug#16285).
3d95a0f4
LMI
307 (shr-insert): If we have a word that's longer than `shr-width',
308 break after it anyway. Otherwise we'll do no breaking once we get
309 such a long word.
1a29adc2 310
f4018140
KN
3112014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
312
189340f5
KN
313 * net/eww.el (eww): Support single/double quote for search.
314 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
315 (eww-history-quit): Delete and use quit-window.
316 (eww-history-kill): Delete, because it doesn't work well and
317 not necessary.
318 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 319
4e619754
PE
3202014-01-05 Paul Eggert <eggert@cs.ucla.edu>
321
73dbf960
PE
322 Fix misspelling of 'chinese' in rx (Bug#16237).
323 * emacs-lisp/rx.el (rx-categories): Correct spelling of
324 chinese-two-byte.
325
4e619754
PE
326 Change subword regexps back to vars (Bug#16296).
327 * progmodes/subword.el (subword-forward-regexp)
328 (subword-backward-regexp): Change these back to variables.
329
e18b70fc
SM
3302014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
333 syntax-begin-function (bug#16247).
334
0d53f628
CY
3352014-01-03 Chong Yidong <cyd@gnu.org>
336
337 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
338 (advice--docstring): Delete variable.
339 (advice--make-1): Leave the docstring empty.
340 (advice-add): Use function-documentation for advised docstring.
341
342 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
343 Ignore function-documentation property when getting documentation.
344 (ad-activate-advised-definition): Use function-documentation
345 generate the docstring.
346 (ad-make-advised-definition): Don't call
347 ad-make-advised-definition-docstring.
348 (ad-make-advised-definition-docstring, ad-advised-definition-p):
349 Delete functions.
350
351 * progmodes/sql.el (sql-help): Use function-documentation instead
352 of dynamic-docstring-function property. No need to autoload now.
353 (sql--help-docstring): New variable.
354 (sql--make-help-docstring): Use it.
355
6f547583
SM
3562014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
357
6ef9aed8
SM
358 * ielm.el (ielm-tab): Retarget.
359 (ielm-map): Use ielm-tab for tab.
360 (ielm-complete-filename): Use comint-filename-completion.
361 (ielm-complete-symbol): Remove.
362 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
363 remove ielm-tab from completion-at-point-functions (bug#16224).
364
6f547583
SM
365 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
366 Beware signals raised by predicates (bug#16201).
367
a574edbe
RS
3682014-01-02 Richard Stallman <rms@gnu.org>
369
e831604d
RS
370 * dired-aux.el (dired-do-print): Handle printer-name.
371
6f547583
SM
372 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
373 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
374 (rmail-epa-decrypt): Turn off mime processing.
375
376 * mail/rmail.el (rmail-make-in-reply-to-field):
377 Add parens in message-id.
378
379 * mail/rmail.el (rmail-get-coding-function): Variable.
380 (rmail-get-coding-system): Use it.
381
04311a16
KH
3822013-12-31 Eli Zaretskii <eliz@gnu.org>
383
384 * international/mule-conf.el: Unify the charset indian-is13194.
385 (indian-is13194): Specify unify-map.
386
c8d89778
LL
3872013-12-31 Leo Liu <sdl.web@gmail.com>
388
389 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
390
e63ace37
DC
3912013-12-30 Daniel Colascione <dancol@dancol.org>
392
9e0bf19a
DC
393 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
394 of printing a useless when we resume from sleep.
395
e63ace37
DC
396 * progmodes/sh-script.el
397 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
398 in indentation code. (Bug#16233)
399
e9d6c46a
JT
4002013-12-28 João Távora <joaotavora@gmail.com>
401
6f547583
SM
402 * elec-pair.el (electric-pair-post-self-insert-function):
403 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 404
bf7bea5d
EZ
4052013-12-28 Eli Zaretskii <eliz@gnu.org>
406
407 * frame.el (window-system-for-display): Don't allow to create a
408 GUI frame from a -nw session on MS-Windows. (Bug#14739)
409
8449dd1f
GM
4102013-12-28 Glenn Morris <rgm@gnu.org>
411
9c5a5c77
GM
412 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
413 Update callers.
414
415 * apropos.el (apropos-match-face):
416 * calculator.el (calculator-displayer):
417 * dabbrev.el (dabbrev-search-these-buffers-only):
418 * face-remap.el (buffer-face-mode-face):
419 * simple.el (yank-handled-properties):
420 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
421 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
422 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
423 (hashcash-double-spend-database):
424 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
425 (ruby-deep-indent-paren-style):
426 * textmodes/flyspell.el (flyspell-auto-correct-binding):
427 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
428 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
429 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
430 Specify custom types.
431
bb098075
GM
432 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
433 * bookmark.el (bookmark-bmenu-use-header-line):
434 * doc-view.el (doc-view-scale-internally):
435 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
436 * register.el (register-preview-delay):
437 * net/shr.el (shr-bullet):
438 * progmodes/cfengine.el (cfengine-cf-promises)
439 (cfengine-parameters-indent):
440 * progmodes/octave.el (inferior-octave-error-regexp-alist):
441 * textmodes/reftex-vars.el (reftex-label-regexps):
442 * vc/log-edit.el (log-edit-setup-add-author): Add version.
443
9c61f806
GM
444 * net/tls.el (tls-certtool-program): Fix default value.
445
446 * desktop.el (desktop-restore-in-current-display):
447 * newcomment.el (comment-empty-lines):
448 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
449 (idlwave-pad-keyword):
450 * progmodes/tcl.el (tcl-tab-always-indent):
451 * textmodes/reftex-vars.el (reftex-index-default-tag):
452 * elec-pair.el (electric-pair-skip-whitespace):
453 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
454
8449dd1f
GM
455 * emacs-lisp/authors.el (authors-ignored-files)
456 (authors-valid-file-names, authors-renamed-files-alist): Additions.
457
fdadeb49
JC
4582013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
459
72140a0f
GM
460 * shell.el (shell-dynamic-complete-command): Doc fix.
461 (shell--command-completion-data): Shell completion now matches
462 executable filenames from the current buffer's directory, on
da5ecfa9 463 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 464
e572a7d8
LI
4652013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
466
467 * net/shr.el (shr-insert): Don't infloop if the width is zero.
468
7514d3f8
SM
4692013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
470
a4151f3b
SM
471 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
472 (bug#16251).
473
7514d3f8
SM
474 * electric.el: Move all electric-pair-* to elec-pair.el.
475 * elec-pair.el: New file, split from electric.el.
476
ac5758d1
LI
4772013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
478
479 * net/shr.el (shr-find-fill-point): Don't try to fill if the
480 indentation level is larger than the width, because that will
481 infloop.
482 (shr-insert): Fill repeatedly long texts, so that Japanese is
483 formatted correctly (bug#16263).
24a6b65e
LI
484 (shr-find-fill-point): Off by one error in comparison with the
485 indentation.
ac5758d1 486
7514d3f8 4872013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
488
489 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 490 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
491 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
492 if that keeps or improves their balance in buffers.
493 (electric-pair-delete-adjacent-pairs): Delete the pair when
494 backspacing over adjacent matched delimiters.
495 (electric-pair-open-extra-newline): Open extra newline when
496 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
497 (electric--sort-post-self-insertion-hook):
498 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
499 minor-modes are activated.
500 * simple.el (newline-and-indent): Call newline with interactive
501 set to t.
502 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
503 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
504 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
505 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
506 electric-pair-open-newline-between-pairs to nil.
507
fbcc63a3
FEG
5082013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
509
510 * progmodes/python.el: Use lexical-binding.
511 (python-nav-beginning-of-defun): Stop searching ASAP.
512
ed78d16c
XF
5132013-12-25 Xue Fuqiao <xfq.free@gmail.com>
514
515 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
516 Fix interactive spec. Doc fix. (Bug#15754)
517
38b2c142
KY
5182013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
519
520 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 521 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
522 Fix edebug spec (bug#16184).
523
3c856c14
LI
5242013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
525
83fa295c 526 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
527 (shr-insert): Don't infloop if we can't find a good place to break
528 the line (bug#16256).
3c856c14 529
01379221
FEG
5302013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
531
532 * progmodes/python.el:
533 (python-nav--lisp-forward-sexp): New function.
534 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
535 python-nav-lisp-forward-sexp-safe.
536 (python-nav--forward-sexp): New argument SAFE allows switching
537 forward sexp movement behavior for parens.
538 (python-nav-forward-sexp): Throw errors on unterminated parens
539 (Bug#16191).
540 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
541 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
542 (python-shell-buffer-substring):
543 Use `python-nav-forward-sexp-safe'.
01379221 544
99e4926f
LI
5452013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
546
547 * net/shr.el (shr-find-fill-point): Don't break lines before a
548 quotation mark.
c6c20584
LI
549 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
550 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 551 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 552
fec0e828
KN
5532013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
554
555 * net/eww.el (eww-form-textarea): Use a different face for
556 textareas than text input since they have different keymaps
557 (bug#16142).
558
89c868ad
FEG
5592013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
560
7514d3f8
SM
561 * progmodes/python.el (python-nav-beginning-of-statement):
562 Speed up (Bug#15295).
89c868ad 563
eeef121a
LI
5642013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
565
566 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
567 the window configuration.
568
121ea65f
EZ
5692013-12-24 Eli Zaretskii <eliz@gnu.org>
570
571 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
572 we run on MS-Windows or MS-DOS.
573
18cee9ec
MR
5742013-12-24 Martin Rudalics <rudalics@gmx.at>
575
576 * window.el (balance-windows-area): Call window-size instead of
577 window-height and window-width. Bug#16241.
578
58f2b9a5
LI
5792013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
580
581 * net/eww.el (eww-bookmark-quit): Remove.
582 (eww-bookmark-browse): Restore the window configuration when you
583 choose a bookmark (bug#16144).
584
d64b6308
DC
5852013-12-24 Daniel Colascione <dancol@dancol.org>
586
587 * icomplete.el: Remove redundant :group arguments to `defcustom'
588 throughout.
589 (icomplete-show-matches-on-no-input): New customizable variable.
590 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
591 we have something to show.
7514d3f8 592 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 593
0da54898
DC
5942013-12-23 Daniel Colascione <dancol@dancol.org>
595
596 * icomplete.el: Move `provide' to end of file.
597
b90aa4f4
TZ
5982013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
599
600 * net/gnutls.el (gnutls-verify-error): Add version tag.
601
8cd22a08
CY
6022013-12-23 Chong Yidong <cyd@gnu.org>
603
604 * subr.el (set-transient-map): Rename from
605 set-temporary-overlay-map. Doc fix.
606
607 * face-remap.el (text-scale-adjust):
608 * indent.el (indent-rigidly):
609 * kmacro.el (kmacro-call-macro):
610 * minibuffer.el (minibuffer-force-complete):
611 * repeat.el (repeat):
612 * simple.el (universal-argument--mode):
613 * calendar/todo-mode.el (todo-insert-item--next-param):
614 * progmodes/f90.el (f90-abbrev-start): Callers changed.
615
7510b021
CY
616 * indent.el (indent-rigidly): Use substitute-command-keys.
617
72140a0f 6182013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
619
620 * net/eww.el (eww-tag-select): Add text-property to jump to next
621 select field.
e9dc713d 622 (eww): Add non-supported ftp error.
56890ecd 623
1f87a56c
DG
6242013-12-22 Dmitry Gutov <dgutov@yandex.ru>
625
626 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
627 comments. Handle electric indent after typing `?' and `!'.
628
dca38cf9
CY
6292013-12-22 Chong Yidong <cyd@gnu.org>
630
631 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
632 applicable to a frame, fall back on the defface spec.
633 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 634
f2351498
DG
6352013-12-22 Dmitry Gutov <dgutov@yandex.ru>
636
637 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
638 after `{'. We need it after block openers, and it doesn't seem
639 to hurt after hash openers.
640
6cddebc1
DG
6412013-12-22 Dmitry Gutov <dgutov@yandex.ru>
642
643 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
644 extracted from `ruby-smie-rules'.
645 (ruby--electric-indent-chars): New variable.
646 (ruby--electric-indent-p): New function.
647 (ruby-mode): Use `electric-indent-functions' instead of
648 `electric-indent-chars'.
649
65a1da00
DG
6502013-12-22 Dmitry Gutov <dgutov@yandex.ru>
651
652 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
653 docstring.
654 (ruby-smie-rules): Indent plus one level after `=>'.
655
b51ad4cf
RS
6562013-12-21 Richard Stallman <rms@gnu.org>
657
658 * simple.el (newline): Doc fix.
659
72140a0f 6602013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 661
e9dc713d 662 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
663 (eww-history-browse, eww-history-quit, eww-history-kill)
664 (eww-history-mode-map, eww-history-mode): New command and
665 functions to list browser histories.
e9dc713d
JB
666 (eww-form-text): Support text form with disabled
667 and readonly attributes.
668 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 669
5e1901c1
RS
6702013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
671
672 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
673 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
674 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
675 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
676 Use `user-error'.
677 (eww-bookmark-mode-map): Add menu.
678 (eww-render, eww-mode): Use `setq-local'.
679 (eww-tool-bar-map): New variable.
680 (eww-mode): Set `tool-bar-map'.
681 (eww-view-source): Check for `html-mode' with `fboundp'.
682
073d5cfd
LMI
6832013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
684
685 * net/shr.el (shr--extract-best-source): Don't bug out on audio
686 elements with text inside. Also remove debugging.
687
41cf3d11
JD
6882013-12-21 Jan Djärv <jan.h.d@swipnet.se>
689
690 * cus-start.el (all): Add ns-use-srgb-colorspace.
691
aac2b673
CY
6922013-12-21 Chong Yidong <cyd@gnu.org>
693
694 * custom.el (custom-theme-recalc-face): Do nothing if the face is
695 undefined. Thus, theme settings for undefined faces do not take
696 effect until the faces are defined with defface, the same as with
697 theme variables.
698
699 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
700 (face-spec-reset-face): Don't assign extra properties in temacs.
701 (face-spec-recalc): Apply X resources too.
702
bacb0e77
CY
7032013-12-21 Chong Yidong <cyd@gnu.org>
704
705 * faces.el (face-spec-set):
706 * cus-face.el (custom-theme-set-faces, custom-set-faces):
707 * custom.el (defface): Doc fixes (Bug#16203).
708
77221051
CY
709 * indent.el (indent-rigidly-map): Add docstring, and move commands
710 into named functions.
711 (indent-rigidly-left, indent-rigidly-right)
712 (indent-rigidly-left-to-tab-stop)
713 (indent-rigidly-right-to-tab-stop): New functions. Decide on
714 indentation direction based on bidi direction, and accumulate
715 sequential commands in a single undo boundary.
716 (indent-rigidly--pop-undo): New utility function.
717
e0eb0550
JB
7182013-12-20 Juanma Barranquero <lekktu@gmail.com>
719
720 * faces.el (read-face-name): Require crm.el when using crm-separator.
721
3282bd2e
DC
7222013-12-20 Daniel Colascione <dancol@dancol.org>
723
724 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
725 so that we don't reflow comments into the shebang line.
726
1d42e5b6
JL
7272013-12-20 Juri Linkov <juri@jurta.org>
728
729 * saveplace.el (save-place-to-alist): Add `dired-filename' as
730 a position when `dired-directory' is non-nil. Check integer
731 positions with `integerp'.
732 (toggle-save-place, save-places-to-alist): Add check for
733 `dired-directory'.
734 (save-place-find-file-hook): Check integer positions with
735 `integerp'.
736 (save-place-dired-hook): Use `dired-goto-file' when
737 `dired-filename' is found in the assoc list. Check integer
738 positions with `integerp'.
739 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
740
741 * dired.el (dired-initial-position-hook): Rename back from
742 `dired-initial-point-hook'.
743 (dired-initial-position): Rename `dired-initial-point-hook' to
744 `dired-initial-position-hook'.
745 (dired-file-name-at-point): Doc fix. (Bug#15329)
746
24da7273
JL
7472013-12-20 Juri Linkov <juri@jurta.org>
748
749 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
750 (read-regexp-suggestions): New function.
751 (read-regexp): Use `read-regexp-defaults-function' to get default values.
752 Use `read-regexp-suggestions'. Add non-empty default to history
753 for empty input.
754 (occur-read-regexp-defaults-function): Remove function.
755 (occur-read-primary-args): Use `regexp-history-last' instead of
756 `occur-read-regexp-defaults-function'.
757
758 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
759 (hi-lock-line-face-buffer, hi-lock-face-buffer)
760 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
761 `hi-lock-read-regexp-defaults-function'. Doc fix.
762 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
763 with `find-tag-default-as-symbol-regexp'. Doc fix.
764 (hi-lock-read-regexp-defaults): Remove function.
765 (hi-lock-regexp-okay): Add check for null.
766
767 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
768 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
769
770 * subr.el (find-tag-default-as-symbol-regexp): New function.
771 (find-tag-default-as-regexp): Move symbol regexp formatting to
772 `find-tag-default-as-symbol-regexp'.
773
137f57c8
S
7742013-12-20 E Sabof <esabof@gmail.com> (tiny change)
775
776 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
777 (Bug#14179)
778
f3a66082
SB
7792013-12-20 Stephen Berman <stephen.berman@gmx.net>
780
781 * calendar/todo-mode.el: New implementation of item insertion
782 commands and key bindings.
783 (todo-key-prompt): New face.
784 (todo-insert-item): New command.
785 (todo-insert-item--parameters): New defconst, replacing defvar
786 todo-insertion-commands-args-genlist.
787 (todo-insert-item--param-key-alist): New defconst, replacing
788 defvar todo-insertion-commands-arg-key-list.
789 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
790 (todo-insert-item--argsleft, todo-insert-item--apply-args)
791 (todo-insert-item--next-param): New functions.
792 (todo-insert-item--args, todo-insert-item--argleft)
793 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
794 New variables.
795 (todo-key-bindings-t): Change binding of "i" from
796 todo-insertion-map to todo-insert-item.
797 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
798 (todo-insertion-command-name, todo-insertion-commands-names)
799 (todo-define-insertion-command, todo-insertion-commands)
800 (todo-insertion-key-bindings, todo-insertion-map): Remove.
801
2f99433b
SB
8022013-12-20 Stephen Berman <stephen.berman@gmx.net>
803
804 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
805 (todo-toggle-item-highlighting): Use eval-and-compile instead of
806 eval-when-compile.
807 (todo-move-category): Allow choosing a non-existing todo file to
808 move the category to, and create that file.
809 (todo-default-priority): New user option.
810 (todo-set-item-priority): Use it.
811 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
812 (desktop-restore-file-buffer): Declare.
813 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
814 (todo-modes-set-2): Locally set desktop-save-buffer to
815 todo-desktop-save-buffer.
816 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
817 (auto-mode-alist): Add autoload cookie.
818
131e4695
BB
8192013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
820
821 * emacs-lisp/subr-x.el: Renamed from helpers.el.
822 helpers.el was a poor choice of name.
3cbfb935
BB
823 (string-remove-prefix): New function.
824 (string-remove-suffix): New function.
131e4695 825
c44de18d
MR
8262013-12-20 Martin Rudalics <rudalics@gmx.at>
827
828 Fix assignment for new window total sizes.
829 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
830 (window--pixel-to-total-1, window--pixel-to-total):
831 Fix calculation of new total sizes.
c44de18d 832
ca65efcc
VS
8332013-12-20 Vitalie Spinu <spinuvit@gmail.com>
834
835 * comint.el (comint-output-filter): Fix rear-nonsticky property
836 placement (Bug#16010).
837
a9574eb7
CY
8382013-12-20 Chong Yidong <cyd@gnu.org>
839
840 * faces.el (read-color): Minor fix for completion function.
841
b520f210
DG
8422013-12-20 Dmitry Gutov <dgutov@yandex.ru>
843
e0eb0550
JB
844 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
845 New option. (Bug#16182)
b520f210
DG
846 (ruby-smie--indent-to-stmt-p): Use it.
847 (ruby-smie-rules): Revert the logic in the handling of `when'.
848 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
849 (ruby-deep-arglist, ruby-deep-indent-paren)
850 (ruby-deep-indent-paren-style): Update docstrings to note that the
851 vars don't have any effect with SMIE.
852
26b75b45
JB
8532013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
854
855 * calc/calc.el (calc-enter, calc-pop): Use the variable
856 `calc-context-sensitive-enter'.
857
cf91cee7
LMI
8582013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
859
860 * net/shr.el (shr-insert): Protect against infloops in degenerate
861 tables.
862
51d971b4
RS
8632013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
864
865 * progmodes/octave.el (octave): Add link to manual and octave
866 homepage.
867 (octave-mode-menu): Link to octave-mode manual.
868
8c2e462a
LL
8692013-12-20 Leo Liu <sdl.web@gmail.com>
870
871 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
872 insertion using skeleton-end-newline. (Bug#16138)
873
501158bc
JL
8742013-12-20 Juri Linkov <juri@jurta.org>
875
876 * replace.el (occur-engine): Use `add-face-text-property'
877 to add the face property to matches and titles. (Bug#14645)
878
879 * hi-lock.el (hi-green): Use lighter color "light green" closer to
880 the palette of other hi-lock colors.
881 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
882
50ab1da6
JL
8832013-12-19 Juri Linkov <juri@jurta.org>
884
885 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
886 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
887 (minibuffer-history-symbol): Move variable declaration closer to
888 its usage.
889
890 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
891 (Bug#14785)
892
3d6e95e7
JL
8932013-12-19 Juri Linkov <juri@jurta.org>
894
895 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
896 New function.
897 (log-edit-hook): Add it to :options. (Bug#16170)
898
b41594fd
JL
8992013-12-19 Juri Linkov <juri@jurta.org>
900
901 * simple.el (eval-expression-print-format): Don't check for
902 command names and the last command. Always display additional
903 formats of the integer result in the echo area, and insert them
904 to the current buffer only with a zero prefix arg.
905 Display character when char-displayable-p is non-nil.
906 (eval-expression): With a zero prefix arg, set `print-length' and
907 `print-level' to nil, and insert the integer values from
908 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
909
910 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
911 `eval-last-sexp-arg-internal'. Doc fix.
912 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
913 `eval-last-sexp-print-value'. Doc fix.
914 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
915 Set `print-length' and `print-level' to nil when arg is zero.
916 (eval-last-sexp): Doc fix.
917 (eval-defun-2): Print the integer values from
918 `eval-expression-print-format' at the end.
919
920 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
921 values from `eval-expression-print-format' at the end.
922
923 * ielm.el (ielm-eval-input): Print the integer
924 values from `eval-expression-print-format' at the end.
925
8f2be364
TZ
9262013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
927
928 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
929 2013-12-11T19:01:44Z!tzz@lifelogs.com.
930
2230a6e3
SM
9312013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
934 (hl-line-highlight, global-hl-line-highlight): Use it.
935 (hl-line-overlay): Use defvar-local.
936
1269a680
JD
9372013-12-19 Jan Djärv <jan.h.d@swipnet.se>
938
939 * term/ns-win.el: Require dnd.
940 (global-map): Remove drag items.
941 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
942 (ns-set-background-at-mouse):
943 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
944 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
945 New functions.
1269a680 946
049638ad
GM
9472013-12-19 Glenn Morris <rgm@gnu.org>
948
949 * emacs-lisp/ert.el (ert-select-tests):
950 Fix string/symbol mixup. (Bug#16121)
951
ce41edb4
DG
9522013-12-19 Dmitry Gutov <dgutov@yandex.ru>
953
954 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
955 keywords to their parent.
956
7e1549c9
DG
9572013-12-19 Dmitry Gutov <dgutov@yandex.ru>
958
959 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
960 first arg to be a string (fixed dead code), or an operator symbol.
961 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
962 operator symbols.
963 (ruby-smie-rules): Remove parent token check in the `.' clause, it
964 did nothing. Don't respond to `(:after ".")', it will be called
965 with :before anyway. Remove the ` @ ' rule, it didn't seem to
966 change anything. Only return indentation for binary operators
967 when they are hanging. De-dent opening paren when its parent is
968 `.', otherwise it looks bad when the dot is not at bol or eol
969 (bug#16182).
970
3ee4cd64
JL
9712013-12-19 Juri Linkov <juri@jurta.org>
972
973 * replace.el (query-replace-read-args): Split a non-negative arg
974 and a negative arg into separate elements.
975 (query-replace, query-replace-regexp, replace-string)
976 (replace-regexp): Add arg `backward'. Doc fix.
977 (replace-match-maybe-edit): When new arg `backward' is non-nil,
978 move point to the beginning of the match.
979 (replace-search, replace-highlight): Use new arg `backward'
980 to set the value of `isearch-forward'.
981 (perform-replace): Add arg `backward' and use it to perform
982 replacement backward. (Bug#14979)
983
984 * isearch.el (isearch-query-replace): Use a negative prefix arg
985 to call `perform-replace' with a non-nil arg `backward'.
986
0cda6b7b
JL
9872013-12-18 Juri Linkov <juri@jurta.org>
988
989 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
990 to the default list. Move `log-edit-show-files' to the end.
991 Add more available functions to options.
992 (log-edit): Move default specific settings to
993 `log-edit-insert-message-template'. Don't move point.
994 (log-edit-insert-message-template): New function.
995 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
996 (Bug#16170)
997
b216f0a6
JL
9982013-12-18 Juri Linkov <juri@jurta.org>
999
1000 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1001 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1002
1d1c55dc
LL
10032013-12-18 Leo Liu <sdl.web@gmail.com>
1004
e9dc713d
JB
1005 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1006 (Bug#16186)
1d1c55dc 1007
64e4c76e
EZ
10082013-12-18 Eli Zaretskii <eliz@gnu.org>
1009
1010 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1011 formats for displaying file sizes when the -s switch is given.
1012 Instead, compute a separate format for displaying the size in
1013 blocks, which is displayed in addition to the "regular" size.
1014 When -h is given in addition to -s, produce size in blocks in
1015 human-readable form as well. (Bug#16179)
1016
b2984e39
TH
10172013-12-18 Tassilo Horn <tsdh@gnu.org>
1018
2230a6e3
SM
1019 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1020 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1021
50ff2e06
CY
10222013-12-18 Chong Yidong <cyd@gnu.org>
1023
0081bc84
CY
1024 * cus-edit.el (custom-magic-alist): Fix "themed" description
1025 (Bug#14348).
1026
a7ee9424
CY
1027 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1028 is non-nil, do not create a new entry in the symbol's theme-value
1029 or theme-face property; update theme-settings only (Bug#14664).
18874304 1030 (custom-available-themes): Doc fix.
a7ee9424 1031
8f942537
CY
1032 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1033 (Bug#15674).
1034
50ff2e06
CY
1035 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1036
83c60f60
KI
10372013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1038
1039 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1040 (Bug#13914).
1041
e0eb0550 10422013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1043
1044 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1045
1f41ee56
GM
10462013-12-18 Glenn Morris <rgm@gnu.org>
1047
1048 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1049 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1050
e82134b1
LW
10512013-12-18 Le Wang <l26wang@gmail.com>
1052
2230a6e3
SM
1053 * comint.el (comint-previous-matching-input-from-input):
1054 Retain point (Bug#13404).
e82134b1 1055
33f5d4c1
CY
10562013-12-18 Chong Yidong <cyd@gnu.org>
1057
1058 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1059
ccc9f6dc
GM
10602013-12-18 Glenn Morris <rgm@gnu.org>
1061
1062 * mail/emacsbug.el (report-emacs-bug):
1063 Only mention enable-multibyte-characters if non-standard.
1064
33dd8e95
JL
10652013-12-17 Juri Linkov <juri@jurta.org>
1066
1067 * arc-mode.el (archive-extract-by-file): Check if directory exists
1068 before deletion to not show irrelevant errors if it doesn't exist.
1069
7a409b30
JL
10702013-12-17 Juri Linkov <juri@jurta.org>
1071
1072 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1073 (Bug#14751)
1074
1075 * net/eww.el (browse-web): Add alias to `eww'.
1076 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1077 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1078
1079 * net/browse-url.el (browse-url-browser-function): Move `eww'
1080 closer to similar functions.
1081
1082 * startup.el (fancy-startup-screen, fancy-about-screen):
1083 Set browse-url-browser-function to eww-browse-url locally.
1084 (Bug#14751)
1085
2d6b6005
SM
10862013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * window.el (window--pixel-to-total): Remove unused `mini' var.
1089 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1090 (split-window): Remove unused `new' var.
1091 (window--display-buffer): Remove unused `frame' and `delta' vars.
1092 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1093 and display-width'.
1094
cf2b7efc
MR
10952013-12-17 Martin Rudalics <rudalics@gmx.at>
1096
1097 * dired.el (dired-mark-pop-up):
1098 * register.el (register-preview): Don't bind
1099 split-height-threshold here since it's now done in
1100 display-buffer-below-selected.
1101
ed3af8a7 11022013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1103
1104 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1105 xterm-rgb-convert-to-16bit.
1106 (rxvt-register-default-colors): Standardize with
1107 xterm-register-default-colors (Bug#14078).
1108
76da3455
DK
11092013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1110
1111 * simple.el (kill-region): Pass mark first, then point, so that
1112 kill-append works right (Bug#12819).
1113 (copy-region-as-kill, kill-ring-save): Likewise.
1114
2b84d763
LL
11152013-12-17 Leo Liu <sdl.web@gmail.com>
1116
1117 * net/rcirc.el (rcirc-add-face):
1118 * eshell/em-prompt.el (eshell-emit-prompt):
1119 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1120 (Bug#16167)
1121
e2f6a0bc
CY
11222013-12-17 Chong Yidong <cyd@gnu.org>
1123
1124 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1125 Suggested by Xue Fuqiao.
1126
35b249a6
DG
11272013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1128
1129 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1130
e9145444
SM
11312013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * net/shr.el (shr-insert-document): Remove unused var
1134 `shr-preliminary-table-render'.
1135 (shr-rescale-image): Remove unused arg `force'.
1136 (shr-put-image): Update calls accordingly.
1137 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1138
5556c0ce
DG
11392013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1140
1141 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1142 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1143 :close-all, to see which indentation method to use (Bug#16116).
1144 (smie-rules-function): Document the method :close-all.
1145
11bade0a
LMI
11462013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1147
1c4b1e61
LMI
1148 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1149
11bade0a
LMI
1150 * net/eww.el (eww-display-html): If we can't find the anchor we're
1151 looking for, then go to point-min.
1152
8fb8c4f3
PE
11532013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1154
1155 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1156 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1157 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1158 Expand dir too, in case it's relative.
1159
6c8e0ae6
JL
11602013-12-16 Juri Linkov <juri@jurta.org>
1161
1162 * desktop.el (desktop-auto-save-timeout): Change default to
1163 `auto-save-timeout'. Doc fix.
1164 (desktop-save): Skip the timestamp in desktop-saved-frameset
1165 when checking for auto-save changes.
1166 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1167 `desktop-auto-save' is called repeatedly by the idle timer.
1168 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1169 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1170 (Bug#15331)
1171
2178e858
JL
11722013-12-16 Juri Linkov <juri@jurta.org>
1173
1174 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1175 (Bug#16035)
1176 (isearch-pre-command-hook): Check `this-command' for symbolp.
1177
39cb42c6
SM
11782013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1181
5b9b750a
TZ
11822013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1183
1184 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1185 (cfengine3--current-function): Bring in the current-function
1186 functionality from `cfengine3--current-word'.
1187 (cfengine3-completion-function): Bring in the
1188 bounds-of-current-word functionality from
1189 `cfengine3--current-word'.
1190
d144ef06
MR
11912013-12-16 Martin Rudalics <rudalics@gmx.at>
1192
39cb42c6
SM
1193 * window.el (display-buffer-below-selected):
1194 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1195
a8bbe298
LL
11962013-12-16 Leo Liu <sdl.web@gmail.com>
1197
1198 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1199 Remove NOMSG arg and all uses changed.
1200
2013a2f9
SM
12012013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1204 (cua--deactivate-rectangle): Don't deactivate the mark.
1205 (cua-set-rectangle-mark): Don't set mark-active since
1206 cua--activate-rectangle already does it for us.
1207 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1208 non-rectangular region.
1209
1210 * emulation/cua-base.el (cua-repeat-replace-region):
1211 Use with-current-buffer.
1212
1213 * net/gnutls.el: Use cl-lib.
1214 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1215
5ae811dd
TZ
12162013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1217
1218 * emacs-lisp/package.el (package-built-in-p): Support both
1219 built-in and the package.el converted package descriptions.
1220 (package-show-package-list): Allow keywords.
1221 (package-keyword-button-action): Use it instead of
1222 `finder-list-matches'.
1223 (package-menu-filter-interactive): Interactive filtering (by
1224 keyword) function.
1225 (package-menu--generate): Support keywords and change keymappings
1226 and headers when they are given.
1227 (package--has-keyword-p): Helper function.
1228 (package-menu--refresh): Use it.
1229 (package--mapc): Helper function.
1230 (package-all-keywords): Use it.
1231 (package-menu-mode-map): Set up menu items and keybindings to
1232 provide a filtering UI.
1233
31b4827e
TZ
12342013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1235
1236 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1237 the behavior when a certificate fails validation. Defaults to
1238 old behavior: never abort, just warn.
1239 (gnutls-negotiate): Use it.
1240
f93cc74f
MR
12412013-12-14 Martin Rudalics <rudalics@gmx.at>
1242
1243 * window.el (display-buffer-below-selected): Never split window
1244 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1245
f77d7d17
TW
12462013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1247
1248 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1249 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1250
7514d3f8
SM
12512013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1252
aa2bddd7 1253 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1254 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1255
276bc333
DG
12562013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1257
1258 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1259 open-paren tokens when preceded by a open-paren, too.
1260 (ruby-smie-rules): Handle virtual indentation after open-paren
1261 tokens specially. If there is code between it and eol, return the
1262 column where is starts (Bug#16118).
1263
d43957f3
TZ
12642013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1265
a5c1ac0c 1266 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1267 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1268 (cfengine3--current-word): Fix parameters.
1269 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1270 (cfengine3-completion-function, cfengine3--current-function):
1271 Use `assq' for symbols.
d43957f3
TZ
1272 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1273
06a4f110
GM
12742013-12-13 Glenn Morris <rgm@gnu.org>
1275
1276 * loadup.el (load-path): Warn if site-load or site-init changes it.
1277 No more need to reset it when bootstrapping.
1278
978a5fda
TZ
12792013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1280
1281 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1282 locations for cf-promises.
1283 (cfengine-mode-syntax-functions-regex): New caching variable.
1284 (cfengine3-fallback-syntax): Fallback syntax for cases where
1285 cf-promises doesn't run.
1286 (cfengine3--current-word): Reimplement using
1287 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1288 (cfengine3-completion-function, cfengine3--current-function):
1289 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1290 (cfengine3-clear-syntax-cache): New function.
1291 (cfengine3-make-syntax-cache): Simplify and create
1292 `cfengine-mode-syntax-functions-regex' on demand.
1293 (cfengine3-format-function-docstring): Don't call
1294 `cfengine3-make-syntax-cache' explicitly.
1295
71e6691e
MR
12962013-12-13 Martin Rudalics <rudalics@gmx.at>
1297
1298 Fix windmove-find-other-window broken after pixelwise resizing
1299 (Bug#16017).
1300 * windmove.el (windmove-other-window-loc): Revert change from
1301 2013-12-04.
1302 (windmove-find-other-window): Call window-in-direction.
1303 * window.el (window-in-direction): New arguments SIGN, WRAP and
1304 MINI to emulate original windmove-find-other-window behavior.
1305
84c73ba0
DG
13062013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1307
1308 * simple.el (blink-matching--overlay): New variable.
1309 (blink-matching-open): Instead of moving point, highlight the
1310 matching paren with an overlay
1311 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1312
1313 * faces.el (paren-showing-faces, show-paren-match)
1314 (show-paren-mismatch): Move from paren.el.
1315
b9e20952
LL
13162013-12-13 Leo Liu <sdl.web@gmail.com>
1317
1318 * indent.el (indent-region): Disable progress reporter in
1319 minibuffer. (Bug#16108)
1320
1321 * bindings.el (visual-order-cursor-movement): Fix version.
1322
ce030451
FEG
13232013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1324
1325 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1326 Also match after beginning of line.
1327 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1328 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1329
4a9c6865
JL
13302013-12-13 Juri Linkov <juri@jurta.org>
1331
1332 * simple.el <Keypad support>: Remove key bindings duplicated
1333 with bindings.el. (Bug#14397)
1334
2bc170c3
JL
13352013-12-13 Juri Linkov <juri@jurta.org>
1336
1337 * comint.el (comint-mode-map): Replace `delete-char' with
1338 `delete-forward-char'. (Bug#16109)
1339
bc9222c9
FEG
13402013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1341
aa2bddd7 1342 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1343 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1344
cb3a1380
SM
13452013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1348 (advice--make): Pay attention to `depth'.
1349 (advice--make-1): Don't autoload commands eagerly.
1350 * emacs-lisp/elp.el (elp-instrument-function):
1351 * emacs-lisp/trace.el (trace-function-internal):
1352 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1353
1354 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1355
01633a17
EZ
13562013-12-12 Eli Zaretskii <eliz@gnu.org>
1357
1358 * term/w32-win.el (w32-handle-dropped-file):
1359 * startup.el (normal-top-level):
1360 * net/browse-url.el (browse-url-file-url):
1361 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1362 decode file names using 'utf-8' rather than
1363 file-name-coding-system.
1364
09faee72
FEG
13652013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1366
1367 * progmodes/python.el (python-indent-context)
1368 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1369 behavior for comment blocks. (Bug#15916)
09faee72 1370
f4f84024 13712013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1372
cb3a1380
SM
1373 * progmodes/python.el (python-indent-calculate-indentation):
1374 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1375 operators when they are just string constituents. (Bug#15812)
1376
d5ccb7be
JL
13772013-12-12 Juri Linkov <juri@jurta.org>
1378
1379 * uniquify.el (uniquify-buffer-name-style): Change default to
1380 `post-forward-angle-brackets'.
1381
1382 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1383 `uniquify'. Change default to `post-forward-angle-brackets'.
1384
7b3f5679
GM
13852013-12-11 Glenn Morris <rgm@gnu.org>
1386
1387 * emacs-lisp/package.el (finder-list-matches):
1388 Autoload rather than falsely declaring.
1389
f4fe8fdd
TZ
13902013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1391
1392 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1393 (eww-mode-map): Use them.
1394
3c29190f
MR
13952013-12-11 Martin Rudalics <rudalics@gmx.at>
1396
1397 * window.el (display-buffer-in-side-window): Fix doc-string
1398 (Bug#16115).
1399
0cd616a2
JB
14002013-12-11 Juanma Barranquero <lekktu@gmail.com>
1401
1402 * vc/vc-git.el: Silence byte-compiler warnings.
1403 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1404 (log-edit-set-header): Declare.
1405
3ef8e0d1
EZ
14062013-12-11 Eli Zaretskii <eliz@gnu.org>
1407
1408 * Makefile.in (custom-deps, finder-data): Run output file names
1409 through unmsys--file-name. (Bug#16099)
1410
afdadaf7
SM
14112013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1412
7ae3ae39 1413 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1414 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1415
5b4f37ab
SM
1416 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1417 instead of deleting the selection "by hand" (bug#16098).
1418 Rely on insert-for-yank to yank rectangles.
1419 (cua-highlight-region-shift-only): Mark obsolete.
1420 (cua-mode): Don't enable/disable transient-mark-mode,
1421 shift-select-mode (cua-mode works both with and without them), and
1422 pc-selection-mode (obsolete).
1423 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1424 (cua--deactivate-rectangle): Deactivate it.
1425
4b72c12b
SM
1426 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1427 (delete-selection-helper): Make sure yank starts at the top of the
1428 deleted region.
1429 (minibuffer-keyboard-quit): Use region-active-p.
1430
e82af72d
SM
1431 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1432
afdadaf7
SM
1433 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1434 to `delete' (bug#16109).
1435
ed4bc201
RS
14362013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1437
1438 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1439 info manual and show keybindings and set `:group' keyword.
1440
bb8097b9
JL
14412013-12-11 Juri Linkov <juri@jurta.org>
1442
1443 * delsel.el (delete-active-region): Let-bind `this-command'
1444 to prevent `kill-region' from changing its original value.
1445 (delete-selection-helper): Handle `overwrite-mode' for the type
1446 `kill' exactly the same way as for the type `t'.
1447 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1448 Support more commands. (Bug#13312)
1449
c1916ff5
JL
14502013-12-11 Juri Linkov <juri@jurta.org>
1451
1452 * bindings.el: Map kp keys to non-kp keys systematically
1453 with basic modifiers control, meta and shift. (Bug#14397)
1454
7514d3f8 14552013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1456
1457 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1458 "Close browser" menu items. Fix wrong function of "List
1459 bookmarks".
1460
4cc51eaf
JL
14612013-12-11 Juri Linkov <juri@jurta.org>
1462
1463 * misearch.el (multi-isearch-buffers): Set the value of
1464 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1465 arg of isearch-forward to t.
1466 (multi-isearch-buffers-regexp): Set the value of
1467 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1468 arg of isearch-forward-regexp to t.
1469 (multi-isearch-files): Set the value of
1470 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1471 arg of isearch-forward to t.
1472 (multi-isearch-files-regexp): Set the value of
1473 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1474 arg of isearch-forward-regexp to t. (Bug#16035)
1475
1476 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1477 arg of isearch-forward to t.
1478 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1479 arg of isearch-forward-regexp to t.
1480 (dired-isearch-filter-filenames): Remove unnecessary check for
1481 `dired-isearch-filenames'.
1482
1483 * comint.el (comint-history-isearch-backward):
1484 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1485 (comint-history-isearch-backward-regexp):
1486 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1487
ceac12b7
EZ
14882013-12-10 Eli Zaretskii <eliz@gnu.org>
1489
1490 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1491 unmsys--file-name. (Bug#16099)
1492
5a565782
TZ
14932013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1494
cb3a1380
SM
1495 * emacs-lisp/package.el (package-keyword-button-action):
1496 Remove finder.el require dependency.
5a565782 1497
a81fc7ba
TZ
14982013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1499
1500 * emacs-lisp/package.el: Require finder.el.
1501 (describe-package-1): Add keyword buttons.
1502 (package-make-button): New convenience function.
1503 (package-keyword-button-action): Keyword button action using
e0eb0550 1504 `finder-list-matches'.
a81fc7ba 1505
6aaca951
EZ
15062013-12-09 Eli Zaretskii <eliz@gnu.org>
1507
1508 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1509 last commit.
1510
a1099a91
MA
15112013-12-09 Michael Albinus <michael.albinus@gmx.de>
1512
1513 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1514 symlinked files.
1515
8212d9c0
DG
15162013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1517
1518 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1519 after the end of a percent literal.
1520
8f48d131
CD
15212013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1522
cb3a1380
SM
1523 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1524 Handle caret-delimited strings (Bug#16079).
8f48d131 1525
ff8c9764
DG
15262013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1527
cb3a1380
SM
1528 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1529 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1530 `ruby-parse-partial' (Bug#16078).
1531
d64643b4
LL
15322013-12-09 Leo Liu <sdl.web@gmail.com>
1533
1534 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1535
47e59c66
DG
15362013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1537
1538 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1539 (js-switch-indent-offset): New option.
1540 (js--proper-indentation): Use it. And handle the case when
1541 "default" is actually a key in an object literal.
1542 (js--same-line): New function.
1543 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1544 (js--indent-in-array-comp, js--array-comp-indentation):
1545 New functions.
47e59c66
DG
1546 (js--proper-indentation): Use them, to handle array comprehension
1547 continuations.
1548
974ebc9c
LL
15492013-12-08 Leo Liu <sdl.web@gmail.com>
1550
1551 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1552 (flymake-make-overlay): Remove arg MOUSE-FACE.
1553 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1554
27262e39
SM
15552013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1558 New function.
1559 (redisplay-highlight-region-function): Use it.
1560
1561 * emulation/cua-base.el (cua--explicit-region-start)
1562 (cua--last-region-shifted): Remove.
1563 (cua--deactivate): Use deactivate-mark.
1564 (cua--pre-command-handler-1): Don't handle shift-selection.
1565 (cua--post-command-handler-1): Don't change transient-mark-mode.
1566 (cua--select-keymaps): Use region-active-p rather than
1567 cua--explicit-region-start or cua--last-region-shifted.
1568 (cua-mode): Enable shift-select-mode.
1569
6407822c
LL
15702013-12-08 Leo Liu <sdl.web@gmail.com>
1571
27262e39
SM
1572 * progmodes/flymake.el (flymake-popup-current-error-menu):
1573 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1574 (flymake-posn-at-point-as-event, flymake-popup-menu)
1575 (flymake-make-emacs-menu): Remove. (Bug#16077)
1576
00a2b823
SM
15772013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1578
02033d49
SM
1579 * rect.el (rectangle-mark-mode): Activate mark even if
1580 transient-mark-mode is off (bug#16066).
1581 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1582 is > mark and at bolp.
1583
6f8dfccf
SM
1584 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1585 (region-extract-function): Use it.
1586 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1587 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1588 Delete functions.
1589 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1590 kill-ring-save, kill-region, delete-char, delete-forward-char.
1591 Ignore self-insert-iso.
1592
1593 * emulation/cua-gmrk.el (cua--init-global-mark):
1594 Ignore `self-insert-iso'.
1595
1596 * emulation/cua-base.el (cua--prefix-copy-handler)
1597 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1598 checking cua--rectangle.
1599 (cua-delete-region): Use region-extract-function.
1600 (cua-replace-region): Delete function.
1601 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1602 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1603 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1604 (cua--init-keymaps): Don't remap delete-selection commands.
1605 (cua-mode): Use delete-selection-mode instead of rolling our own
1606 (bug#16085).
1607
1608 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1609 Obey region-extract-function.
1610
00a2b823
SM
1611 Make registers and delete-selection-mode work on rectangles.
1612 * register.el (describe-register-1): Don't modify the register's value.
1613 (copy-to-register): Obey region-extract-function.
1614 * delsel.el (delete-active-region): Obey region-extract-function.
1615
a92fa5f1
LL
16162013-12-08 Leo Liu <sdl.web@gmail.com>
1617
1618 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1619 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1620 (flymake-compilation-prevents-syntax-check)
1621 (flymake-start-syntax-check-on-newline)
1622 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1623 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1624 (flymake-xml-program, flymake-master-file-dirs)
1625 (flymake-master-file-count-limit)
1626 (flymake-allowed-file-name-masks): Relocate.
1627 (flymake-makehash, flymake-float-time)
1628 (flymake-replace-regexp-in-string, flymake-split-string)
1629 (flymake-get-temp-dir): Remove.
1630 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1631 (flymake-current-row, flymake-selected-frame)
1632 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1633 related functions. (Bug#16077)
1634
73c8ceea
BB
16352013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1636
1637 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1638
faec28d9
TH
16392013-12-07 Tassilo Horn <tsdh@gnu.org>
1640
1641 * help-fns.el (describe-function-1): Use new advice-* functions
1642 rather than old ad-* functions. Fix function type description and
1643 source links for advised functions and subrs.
1644
e330b646
LMI
16452013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1646
00a2b823 1647 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1648
4803595d
MA
16492013-12-06 Michael Albinus <michael.albinus@gmx.de>
1650
1651 * progmodes/compile.el (compilation-start):
1652 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1653
1654 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1655 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1656
fa834a93
DG
16572013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1658
00a2b823
SM
1659 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1660 Touch up the last change.
fa834a93 1661
b2856a6f
LL
16622013-12-06 Leo Liu <sdl.web@gmail.com>
1663
1664 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1665 (inferior-octave-startup): Always use "octave> " for prompt.
1666 (octave-goto-function-definition)
1667 (octave-sync-function-file-names)
1668 (octave-find-definition-default-filename): Remove redundant backquotes.
1669
af67e79a
DG
16702013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1671
1672 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1673 syntax for `?'.
1674 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1675 where appropriate already.
1676 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1677 end of method names (Bug#15874).
1678
bf093209
JL
16792013-12-06 Juri Linkov <juri@jurta.org>
1680
1681 * isearch.el (isearch--saved-overriding-local-map):
1682 New internal variable.
1683 (isearch-mode): Set it to the initial value of
1684 `overriding-terminal-local-map'.
1685 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1686 with `isearch--saved-overriding-local-map'. (Bug#16035)
1687
16588fad
DG
16882013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1689
00a2b823
SM
1690 * progmodes/octave.el (inferior-octave-completion-table):
1691 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1692 (Bug#11906). Update all references.
1693
1694 * minibuffer.el (completion-table-with-cache): New function.
1695
bf4906d7
CD
16962013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1697
1698 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1699
ff69c18f
TZ
17002013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1701
1702 * net/eww.el (eww-current-source): New variable to store page
1703 source.
1704 (eww-display-html, eww-mode, eww-save-history)
1705 (eww-restore-history): Use it.
1706 (eww-view-source): New command to view page source.
1707 Opportunistically uses `html-mode' to highlight the buffer.
1708 (eww-mode-map): Install it.
1709
b85eff45
MA
17102013-12-05 Michael Albinus <michael.albinus@gmx.de>
1711
1712 * net/dbus.el (dbus-unregister-service)
1713 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1714 Fix docstring.
1715 (dbus-unregister-service): Skip :serial entries in
1716 `dbus-registered-objects-table'.
1717 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1718
39eb0899
TZ
17192013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1720
1721 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1722 around keywords with extra `split-string' argument.
1723
456760a5
MR
17242013-12-04 Martin Rudalics <rudalics@gmx.at>
1725
1726 * windmove.el (windmove-other-window-loc): Handle navigation
1727 between windows (excluding the minibuffer window - Bug#16017).
1728
81961e4c
MA
17292013-12-04 Michael Albinus <michael.albinus@gmx.de>
1730
1731 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1732 in D-Bus type syntax.
1733 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1734 preserve unibyte strings. (Bug#16048)
1735
8497f938
SM
17362013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1739 Call force-mode-line-update is the proper buffer (bug#16042).
1740
dda61916
DG
17412013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1742
1743 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1744 `log-edit-remember-comment', make argument optional. Adjust all
1745 callers.
1746 (log-edit-mode): Add `log-edit-remember-comment' to
1747 `kill-buffer-hook' locally.
1748 (log-edit-kill-buffer): Don't remember comment explicitly since
1749 the buffer is killed anyway.
1750
c085e5b9
JL
17512013-12-04 Juri Linkov <juri@jurta.org>
1752
1753 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1754 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1755
e0eb0550 17562013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1757
1758 * notifications.el (notifications-close-notification): Call the
81961e4c 1759 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1760
39fa32d6
KY
17612013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1762
1763 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1764
9139632a
JL
17652013-12-03 Juri Linkov <juri@jurta.org>
1766
1767 * progmodes/compile.el (compilation-start): Rename window alist
1768 entry `no-display-ok' to `allow-no-window'.
1769
1770 * simple.el (shell-command): Add window alist entry
1771 `allow-no-window' to `display-buffer'.
1772 (async-shell-command): Doc fix.
1773
1774 * window.el (display-buffer-no-window): New action function.
1775 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1776
0f457a37
DG
17772013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * vc/log-edit.el (log-edit-set-header): Extract from
1780 `log-edit-toggle-header'.
1781 (log-edit-extract-headers): Separate the summary, when extracted
1782 from header, from the rest of the message with an empty line.
1783
1784 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1785 line, if present, to the Summary header.
1786
0962f376
SM
17872013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1790 in current-buffer (bug#16029).
1791
f345395c
HE
17922013-12-02 Helmut Eller <eller.helmut@gmail.com>
1793
1794 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1795 (debugger-mode-map): Bind it.
1796 (debugger--backtrace-base): New function.
1797 (debugger-eval-expression): Use it.
1798 (debugger-frame-number): Skip local vars when present.
1799 (debugger--locals-visible-p, debugger--insert-locals)
1800 (debugger--show-locals, debugger--hide-locals): New functions.
1801
a8a15d9d
MA
18022013-12-02 Michael Albinus <michael.albinus@gmx.de>
1803
1804 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1805 "LC_ALL".
1806 (tramp-get-remote-locale): New defun.
1807 (tramp-open-connection-setup-interactive-shell): Use it.
1808
0518b057
LL
18092013-12-02 Leo Liu <sdl.web@gmail.com>
1810
1811 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1812
1813 * progmodes/sh-script.el (sh-shell-process):
1814 * progmodes/octave.el (inferior-octave-process-live-p):
1815 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1816 (gdb-inferior-io-sentinel):
1817 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1818
3adc9c6d
DG
18192013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1820
1821 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1822 `save-selected-window' to `log-edit-hide-buf'. This makes
1823 `log-edit-show-files' idempotent.
1824 (log-edit-show-files): Mark the new window as dedicated.
1825
47e8b74e
DG
18262013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1827
1828 * vc/log-edit.el (log-edit-mode-map): Add binding for
1829 `log-edit-kill-biffer'.
1830 (log-edit-hide-buf): Add a FIXME comment.
1831 (log-edit-add-new-comment): New function, extracted from
1832 `log-edit-done'.
1833 (log-edit-done, log-edit-add-to-changelog): Use it.
1834 (log-edit-kill-buffer): New command.
1835
1f6e1bb0
LMI
18362013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1837
1838 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1839 instead of killing the buffer.
1840
fb651d15
SM
18412013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1842
1843 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1844
8feacce0
RS
18452013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1846
fb651d15 1847 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1848 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1849 (eww-form-checkbox, eww-toggle-checkbox):
1850 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1851
e0eb0550 1852 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1853 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1854 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1855 no :src tag was specified.
1856
fb651d15 1857 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1858 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1859 Use \\` to match beginning of string instead of ^.
1860 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1861 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1862
177948a5
RS
1863 * net/shr.el (shr-tag-video): Display content for video if no
1864 poster is available.
eb2dd24d 1865 (shr-tag-audio): Add support for <audio> tag.
177948a5 1866
e0eb0550 1867 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1868 (eww-process-text-input): Treat input types in
1869 `eww-text-input-types' as text.
1870
8feacce0
RS
1871 * net/shr.el (shr-tag-table): Fix comment typo.
1872
513562a1
LMI
18732013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1874
1875 * net/eww.el (eww-follow-link): New command to avoid reloading
1876 pages when we follow #target links (bug#15243).
de8a5633 1877 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1878
9dd99753
KN
18792013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1880
1881 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1882 forms.
1883
3e9876de
LMI
18842013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1885
1886 * net/eww.el (eww-restore-history): Update the window title after
1887 moving in the history.
ab6dea82 1888 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1889
52789f7f
DG
18902013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1891
1892 * vc/log-edit.el (log-edit-mode-map): Add binding for
1893 `log-edit-beginning-of-line'.
1894 (log-edit-setup-add-author): New user option.
1895 (log-edit-beginning-of-line): New command.
1896 (log-edit): Move major mode call above the contents setup so that
1897 the local variable values are already applied.
1898 (log-edit): Only insert "Author: " when
1899 `log-edit-setup-add-author' is non-nil.
1900 (log-edit): When SETUP is non-nil, position point after ": "
1901 instead of point-min.
1902
2e6710c3
GM
19032013-12-01 Glenn Morris <rgm@gnu.org>
1904
1905 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1906
fadec31f
EZ
19072013-11-30 Eli Zaretskii <eliz@gnu.org>
1908
1909 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1910 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1911 visible. (Bug#16014)
1912
10634b40 19132013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1914
1915 Support resizing frames and windows pixelwise.
1916 * cus-start.el (frame-resize-pixelwise)
1917 (window-resize-pixelwise): New entries.
1918 * emacs-lisp/debug.el (debug): Use window-total-height instead
1919 of window-total-size.
1920 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1921 * help.el (describe-bindings-internal): Call help-buffer
1922 (temp-buffer-max-width): New option.
1923 (resize-temp-buffer-window, help-window-setup)
1924 (with-help-window): Rewrite.
1925 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1926 dragging dividers.
1927 * window.el (frame-char-size, window-min-pixel-height)
1928 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1929 (window-min-pixel-width, window-safe-min-pixel-size)
1930 (window-combination-p, window-safe-min-size)
1931 (window-resizable-p, window--size-to-pixel)
1932 (window--pixel-to-size, window--resize-apply-p): New functions.
1933 (window-safe-min-height): Fix doc-string.
1934 (window-size, window-min-size, window--min-size-1)
1935 (window-sizable, window-sizable-p, window--min-delta-1)
1936 (window-min-delta, window--max-delta-1, window-max-delta)
1937 (window--resizable, window--resizable-p, window-resizable)
1938 (window-full-height-p, window-full-width-p, window-at-side-p)
1939 (window--in-direction-2, window-in-direction)
1940 (window--resize-reset-1, window--resize-mini-window)
1941 (window-resize, window-resize-no-error)
1942 (window--resize-child-windows-normal)
1943 (window--resize-child-windows, window--resize-siblings)
1944 (window--resize-this-window, window--resize-root-window)
1945 (window--resize-root-window-vertically)
1946 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1947 (maximize-window, minimize-window, delete-window)
1948 (quit-restore-window, window-split-min-size, split-window)
1949 (balance-windows-2, balance-windows)
1950 (balance-windows-area-adjust, balance-windows-area)
1951 (window--state-get-1, window-state-get, window--state-put-1)
1952 (window--state-put-2, window-state-put)
fb651d15
SM
1953 (display-buffer-record-window, window--display-buffer):
1954 Make functions handle pixelwise sizing of windows.
880e6158 1955 (display-buffer--action-function-custom-type)
fb651d15
SM
1956 (display-buffer-fallback-action):
1957 Add display-buffer-in-previous-window.
880e6158
MR
1958 (display-buffer-use-some-window): Resize window to height it had
1959 before.
1960 (fit-window-to-buffer-horizontally): New option.
1961 (fit-frame-to-buffer): Describe new values.
1962 (fit-frame-to-buffer-bottom-margin): Replace with
1963 fit-frame-to-buffer-margins.
1964 (window--sanitize-margin): New function.
1965 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1966 using window-text-pixel-size.
1967
f9b697dd
GM
19682013-11-30 Glenn Morris <rgm@gnu.org>
1969
3e2fb4db
GM
1970 * emacs-lisp/bytecomp.el (byte-compile-form):
1971 Make the `interactive-only' warning like the `obsolete' one.
1972 * comint.el (comint-run):
1973 * files.el (insert-file-literally, insert-file):
1974 * replace.el (replace-string, replace-regexp):
1975 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1976 (goto-line, insert-buffer, next-line, previous-line):
1977 Tweak `interactive-only' spec.
1978
f9b697dd
GM
1979 Stop keeping (most) generated cedet grammar files in the repository.
1980 * Makefile.in (semantic): New.
1981 (compile-main): Depend on semantic.
1982
da048127
SM
19832013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1984
7784b779
SM
1985 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1986 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1987
4e36a6a6
SM
1988 * uniquify.el (uniquify-buffer-name-style): Change default.
1989
1990 * loadup.el: Preload "uniquify".
1991
e0ba1308
SM
1992 * time.el (display-time-update): Update all mode lines (bug#15999).
1993
da048127
SM
1994 * electric.el (electric-indent-mode): Enable by default.
1995 * loadup.el: Preload "electric".
1996
015b3b3e
BB
19972013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1998
1999 * emacs-lisp/helpers.el (string-empty-p): New function.
2000 (string-blank-p): New function.
2001
7efb806d
AP
20022013-11-29 Andreas Politz <politza@hochschule-trier.de>
2003
2004 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2005 (Bug#14029).
2006
c8f0efc2
AP
20072013-11-29 Andreas Politz <politza@fh-trier.de>
2008 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2009 allow non-lambda lists as functions.
2010 (imenu--in-alist): Don't recurse into non-subalists.
2011 (imenu): Don't pass function itself as an argument (Bug#14029).
2012
bd15d9d1
SM
20132013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * progmodes/python.el (python-mode-map): Remove binding for ":".
2016 (python-indent-electric-colon): Remove command.
2017 (python-indent-post-self-insert-function): Integrate the previous code
2018 of python-indent-electric-colon. Make it conditional on
2019 electric-indent-mode.
2020 (python-mode): Add ?: to electric-indent-chars.
2021 Move python-indent-post-self-insert-function to the end of
2022 post-self-insert-hook.
2023
1b10adb6
SM
20242013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2025
655ab9a3
SM
2026 * doc-view.el (doc-view-goto-page): Update mode-line.
2027
1b10adb6
SM
2028 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2029
7e3bf78c
GM
20302013-11-27 Glenn Morris <rgm@gnu.org>
2031
2032 * international/charprop.el, international/uni-bidi.el:
2033 * international/uni-category.el, international/uni-combining.el:
2034 * international/uni-comment.el, international/uni-decimal.el:
2035 * international/uni-decomposition.el, international/uni-digit.el:
2036 * international/uni-lowercase.el, international/uni-mirrored.el:
2037 * international/uni-name.el, international/uni-numeric.el:
2038 * international/uni-old-name.el, international/uni-titlecase.el:
2039 * international/uni-uppercase.el:
2040 Remove generated files from VCS repository.
2041
fb6a5d68
EZ
20422013-11-27 Eli Zaretskii <eliz@gnu.org>
2043
2044 * filenotify.el (file-notify-add-watch): Don't special-case
2045 w32notify when computing the directory to watch.
2046
cb6c95a3
GM
20472013-11-27 Glenn Morris <rgm@gnu.org>
2048
20372d0c
GM
2049 Make bootstrap without generated uni-*.el files possible again.
2050 * loadup.el: Update command-line-args checking for unidata-gen.
2051 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2052 * composite.el, international/characters.el:
2053 Handle unicode tables being undefined.
2054
52d6635f 2055 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2056 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2057 (compile-main): Depend on leim rule.
2058 (leim): New rule.
2059 * loadup.el: Move leim-list.el to leim/ subdirectory.
2060 * startup.el (normal-top-level): No more leim directory.
2061 * international/ja-dic-cnv.el (skkdic-convert):
2062 Disable version-control and autoloads in output files.
2063 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2064 Disable version-control and autoloads in output files.
2065 * leim/quail: Move here from ../leim.
2066 * leim/quail/hangul.el (hangul-input-method-activate):
2067 Add autoload cookie.
2068 (generated-autoload-load-name): Set file-local value.
2069 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2070 (generated-autoload-load-name): Set file-local value.
2071
7514d3f8 20722013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2073
e0eb0550 2074 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2075 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2076 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2077
0e2c793f
EZ
20782013-11-26 Eli Zaretskii <eliz@gnu.org>
2079
2080 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2081 reading output from Diff on MS-Windows and MS-DOS.
2082
447bdcb8
BB
20832013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2084
2085 * emacs-lisp/helpers.el (string-reverse): New function.
2086
5fbf6856
MA
20872013-11-26 Michael Albinus <michael.albinus@gmx.de>
2088
2089 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2090 names on MS Windows, like "/[::1]:".
2091
2092 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2093 SWITCHES.
2094
624780f0
GM
20952013-11-26 Glenn Morris <rgm@gnu.org>
2096
0bf3f0fa
GM
2097 * progmodes/python.el (python-indent-guess-indent-offset):
2098 Avoid corner-case error. (Bug#15975)
2099
624780f0
GM
2100 Preload leim-list.el. (Bug#4789)
2101 * loadup.el: Load leim-list.el when found.
2102 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2103
4301875e 21042013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2105
2106 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2107
4301875e
BB
2108 * emacs-lisp/helpers.el (string-join): New function.
2109
1633a815 21102013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2111
2112 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2113 Mark as obsolete and replace it with a symbol property.
2114 (byte-compile-form): Use new 'interactive-only property.
2115 * comint.el, files.el, replace.el, simple.el:
2116 Apply new 'interactive-only properly.
2117
00139435
MR
21182013-11-25 Martin Rudalics <rudalics@gmx.at>
2119
2120 * window.el (display-buffer-at-bottom): Make sure that
2121 split-window-sensibly creates the new window on bottom
2122 (Bug#15961).
2123
5f5b128d
DK
21242013-11-23 David Kastrup <dak@gnu.org>
2125
2126 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2127 on the conflict markers when available.
2128 (smerge--get-marker): New function.
2129 (smerge-end-re, smerge-base-re): Add subgroup.
2130
623891e5
SM
21312013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * frame.el (handle-focus-in, handle-focus-out): Add missing
2134 interactive spec.
2135
05ca27d8
MA
21362013-11-25 Michael Albinus <michael.albinus@gmx.de>
2137
2138 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2139 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2140
511fa0d3
SM
21412013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2142
e82ad66c
SM
2143 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2144 (gomoku--last-pos): New var.
2145 (gomoku--intangible-chars): New const.
2146 (gomoku--intangible): New function.
2147 (gomoku-mode): Use it. Derive from special-mode.
2148 (gomoku-move-up): Adjust line count.
2149 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2150 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2151 Simplify accordingly.
2152
511fa0d3
SM
2153 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2154 Remove blink-cursor code.
2155 (blink-cursor-timer-function, blink-cursor-suspend):
2156 Don't special-case GUIs.
2157 (blink-cursor-mode): Use focus-in/out-hook.
2158
6f20dd03
DG
21592013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2160
2161 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2162 work when annotation is invisible (Bug#13886).
2163
431dec31 21642013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2165
2166 * json.el (json-alist-p): Only return non-nil if the alist has
2167 simple keys (Bug#13518).
2168
431dec31 21692013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2170
2171 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2172 when control-statement is the first statement in a buffer (Bug#15956).
2173
ee4f0261
DG
21742013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2175
2176 * imenu.el (imenu-generic-skip-comments-and-strings):
2177 New option (Bug#15560).
2178 (imenu--generic-function): Use it.
2179
c484f866
JS
21802013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2181
e9dc713d
JB
2182 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2183 (Bug#13898)
c484f866 2184
41ce6f70
BB
21852013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2186
b55aea38
BB
2187 * emacs-lisp/helpers.el: Add some string helpers.
2188 (string-trim-left): Removes leading whitespace.
2189 (string-trim-right): Removes trailing whitespace.
2190 (string-trim): Removes leading and trailing whitespace.
2191
41ce6f70
BB
2192 * subr.el (string-suffix-p): New function.
2193
3cfb6af3
GM
21942013-11-23 Glenn Morris <rgm@gnu.org>
2195
2196 * progmodes/python.el (python-shell-send-file):
2197 Add option to delete file when done. (Bug#15647)
2198 (python-shell-send-string, python-shell-send-region): Use it.
2199
c27924b7
IS
22002013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2201
e1b01c7f
IS
2202 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2203 to set buffer-read-only to t, never to nil. (Bug#15938)
2204
c27924b7
IS
2205 * textmodes/tex-mode.el (latex-noindent-environments):
2206 Add safe-local-variable property. (Bug#15936)
2207
17e0445b
GM
22082013-11-23 Glenn Morris <rgm@gnu.org>
2209
92f78ea3
GM
2210 * textmodes/enriched.el (enriched-mode): Doc fix.
2211 * emacs-lisp/authors.el (authors-renamed-files-alist):
2212 Add enriched.doc -> enriched.txt.
2213
17e0445b
GM
2214 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2215
965bb23a
LL
22162013-11-22 Leo Liu <sdl.web@gmail.com>
2217
2218 * progmodes/octave.el (inferior-octave-startup): Spit out error
2219 message.
2220
d19ffd64
BB
22212013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2222
2223 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2224 Improve docstring.
15ba2182
BB
2225 Add :version.
2226 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2227
7a7567d2
LL
22282013-11-22 Leo Liu <sdl.web@gmail.com>
2229
2230 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2231 (Bug#15076)
8c09f64b
LL
2232 (octave-help-mode): Adapt to change to help-mode-finish to use
2233 derived-mode-p on 2013-09-17.
2234 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2235 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2236
724bc265
LL
22372013-11-22 Leo Liu <sdl.web@gmail.com>
2238
2239 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2240 (inferior-octave-startup, inferior-octave-check-process)
2241 (inferior-octave-track-window-width-change)
2242 (octave-completion-at-point, octave-eldoc-function): Use it.
2243 (octave-kill-process): Provide confirmation. (Bug#10564)
2244
38637cca
LL
22452013-11-21 Leo Liu <sdl.web@gmail.com>
2246
511fa0d3
SM
2247 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2248 Fix obsolete variable comment-use-global-state.
38637cca 2249
06e752b4
RS
22502013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2251
511fa0d3
SM
2252 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2253 Add `octave-source-file'.
06e752b4
RS
2254 (octave-source-file): New function. (Bug#15935)
2255
7514d3f8 22562013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2257
2258 * net/eww.el (eww-local-regex): New variable.
2259 (eww): Use it to detect localhost and similar.
2260
b6ffa04a
LL
22612013-11-21 Leo Liu <sdl.web@gmail.com>
2262
2263 Add completion for command `ag'.
2021a200
LL
2264 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2265 (pcomplete/ag): New function.
e9dc713d 2266 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2267
d1a6bccc
SM
22682013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2271 (bug#14646).
2272 (make-obsolete): Remove interactive spec.
2273
2df10228
GM
22742013-11-21 Glenn Morris <rgm@gnu.org>
2275
2276 * startup.el (command-line-1): Use path-separator with -L.
2277
86fd16b6
TZ
22782013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2279
2280 * emacs-lisp/package.el (describe-package-1): Add package archive
2281 to shown fields.
2282
0449d6cd 22832013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2284
2285 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2286 Change default to "# encoding: %s" to differentiate it from the
2287 default Ruby encoding comment template.
2288
dc7e8c17 22892013-11-20 era eriksson <era+emacsbugs@iki.fi>
2290
2291 * ses.el (ses-mode): Doc fix. (Bug#14748)
2292
f0cfa5fe
LL
22932013-11-20 Leo Liu <sdl.web@gmail.com>
2294
2295 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2296
826dc7b6
DN
22972013-11-19 Dan Nicolaescu <dann@gnu.org>
2298
2299 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2300 when rebase or bisect are in progress.
2301
a6e3a5d5
XF
23022013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2303
2304 * filenotify.el (file-notify-add-watch): Doc fix.
2305
f130cb76
LL
23062013-11-19 Leo Liu <sdl.web@gmail.com>
2307
e0855d7d
LL
2308 * obsolete/rcompile.el: Mark obsolete.
2309
f130cb76 2310 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2311 (compilation-goto-locus, compilation-find-file):
2312 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2313 (Bug#13594)
2314
2315 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2316 new parameter no-display-ok. Return either a window or nil
2317 but never a non-window value.
f130cb76 2318
1f35d401
SM
23192013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2320
25158c76
SM
2321 * electric.el (electric-indent-mode-map): Remove.
2322 (electric-indent-mode): Change the global-map instead (bug#15915).
2323
2324 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2325 Use add-function.
1f35d401 2326
9bc67baa
SM
23272013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2328
986545b5
SM
2329 * emacs-lisp/nadvice.el (remove-function): Align with
2330 add-function's behavior.
2331
9bc67baa
SM
2332 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2333 (gdb--string-regexp): New constant.
2334 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2335 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2336 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2337 submatch 1.
2338 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2339 Adjust use accordingly.
2340 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2341
56cd894e
AS
23422013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2343
2344 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2345 interpolation curlies (Bug#15914).
2346
014690de
JB
23472013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2348
2349 * calc/calc.el (calc-context-sensitive-enter): New variable.
2350 (calc-enter): Use `calc-context-sensitive-enter'.
2351
7e26a6c3
TZ
23522013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2353
2354 * progmodes/cfengine.el: Version bump.
2355 (cfengine-cf-promises): New defcustom to locate cf-promises.
2356 (cfengine3-vartypes): Add new "data" type.
2357 (cfengine3--current-word): New function to get current name-like
2358 word or its bounds.
2359 (cfengine3--current-function): New function to look up a CFEngine
2360 function's definition.
2361 (cfengine3-format-function-docstring): New function.
2362 (cfengine3-make-syntax-cache): New function.
2363 (cfengine3-documentation-function): New function: ElDoc glue.
2364 (cfengine3-completion-function): New function: completion glue.
2365 (cfengine3-mode): Set `compile-command',
2366 `eldoc-documentation-function', and add to
2367 `completion-at-point-functions'.
2368
355204dd
MA
23692013-11-16 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2372 `tramp-current-connection'.
2373
43cebc23
DG
23742013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2375
2376 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2377 nil/self/true/false with "end of symbol".
2378
a3fed6ff
BB
23792013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2380
2381 * subr.el (version-regexp-alist): Fix a typo.
2382
e675b3e4
MA
23832013-11-15 Michael Albinus <michael.albinus@gmx.de>
2384
2385 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2386 "en_US.utf8" and "LC_CTYPE" to "".
2387 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2388 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2389
a1f03e89
LL
23902013-11-15 Leo Liu <sdl.web@gmail.com>
2391
2392 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2393
5d9d9451
SM
23942013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2395
58362662
CS
2396 * progmodes/gud.el (ctl-x-map):
2397 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2398 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2399
6c1bf086
BB
24002013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2401
0d5363c4
BB
2402 * subr.el (version-regexp-alist):
2403 Recognize hg, svn and darcs versions as snapshot versions.
2404
4e9fc48c
BB
2405 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2406 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2407 (ruby--encoding-comment-required-p): Extract from
2408 `ruby-mode-set-encoding'.
2409 (ruby-mode-set-encoding): Add the ability to always insert an
2410 utf-8 encoding comment. Fix and simplify coding comment update
2411 logic.
6c1bf086 2412
2f7e72f8
MA
24132013-11-14 Michael Albinus <michael.albinus@gmx.de>
2414
2415 * net/tramp-gvfs.el (top): Run init code only when
2416 `tramp-gvfs-enabled' is not nil.
2417 (tramp-gvfs-enabled): Check also :system bus.
2418
0f137a73
SM
24192013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 Sync with upstream verilog-mode revision 78e66ba.
2422 * progmodes/verilog-mode.el (verilog-end-of-defun)
2423 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2424 (verilog-get-end-of-defun): Remove unused argument.
2425 (verilog-comment-depth): Remove unused local `e'.
2426 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2427 Don't pass arg to verilog-get-end-of-defun.
2428
1c276bdd
GM
24292013-11-14 Glenn Morris <rgm@gnu.org>
2430
2431 * obsolete/assoc.el (aget): Prefix dynamic variable.
2432
2433 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2434
ff6ec81d
SM
24352013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * widget.el, hfy-cmap.el: Remove bogus package version number.
2438
75f777b6
GM
24392013-11-13 Glenn Morris <rgm@gnu.org>
2440
1d43dba1
GM
2441 * replace.el (replace-eval-replacement):
2442 Try to give more helpful error message. (Bug#15836)
2443
ff4b7bd5
GM
2444 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2445 (archive-7z-update): Avoid custom type mismatches.
2446
75f777b6
GM
2447 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2448
11151a06
MA
24492013-11-13 Michael Albinus <michael.albinus@gmx.de>
2450
e675b3e4 2451 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2452 address can be empty.
2453
2454 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2455 Accept nil SWITCHES.
2456 (tramp-gvfs-handle-write-region): Implement APPEND.
2457
7b08f97e
DG
24582013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2459
2460 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2461 binary "|" operator and closing block args delimiter.
2462 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2463 (ruby-smie--implicit-semi-p): Not after "|" operator.
2464 (ruby-smie--closing-pipe-p): New function.
2465 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2466 (ruby-smie-rules): Indent after "|".
2467
f201cf3a
GM
24682013-11-12 Glenn Morris <rgm@gnu.org>
2469
2470 * ps-print.el (ps-face-attribute-list):
2471 Handle anonymous faces. (Bug#15827)
2472
e6f759f9
MR
24732013-11-12 Martin Rudalics <rudalics@gmx.at>
2474
2475 * window.el (display-buffer-other-frame): Fix doc-string.
2476 (Bug#15868)
2477
ecda65d4
SM
24782013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2481
7ce8fcc3
MA
24822013-11-11 Michael Albinus <michael.albinus@gmx.de>
2483
2484 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2485 (tramp-sh-handle-file-local-copy): Don't write a message when
2486 saving temporary files.
2487
2488 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2489 both directories are remote.
2490 (tramp-smb-handle-directory-files): Do not return double entries.
2491 Do not expand full file names.
2492 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2493 (tramp-smb-handle-write-region): Implement APPEND.
2494 (tramp-smb-get-stat-capability): Fix a stupid bug.
2495
7818df11
SM
24962013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2499
608c2085
NT
25002013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2501
2502 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2503 throwing error over malformed let/let* (bug#15814).
2504
122a7e46
SM
25052013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * iswitchb.el (iswitchb-mode): Mark obsolete.
2508
766284d9
GM
25092013-11-11 Glenn Morris <rgm@gnu.org>
2510
2511 * international/uni-bidi.el, international/uni-category.el:
2512 * international/uni-name.el, international/uni-numeric.el:
2513 Regenerate for Unicode 6.3.0.
2514
7072a4e9
MA
25152013-11-10 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * net/tramp.el (tramp-methods):
2518 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2519 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2520
c9df215b
AS
25212013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2522
608c2085
NT
2523 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2524 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2525
fa47d796
DG
25262013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2529 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2530 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2531 (ispell-complete-word): Call `ispell-lookup-words' with the value
2532 independent of `ispell-look-p'.
2533
1629a329
DG
25342013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2535
2536 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2537 Not after "||".
2538 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2539 their parent.
2540
ad16897c
SM
25412013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2544 (ruby-font-lock-keywords): Use backquote.
2545
ffa2df72
DG
25462013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2547
2548 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2549 (ruby-smie--backward-token): Only consider full-string matches.
2550
5b97b4c0
JD
25512013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2552
2553 * faces.el (describe-face): Add distant-foreground.
2554
71731c03
BB
25552013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2556
4e9fc48c
BB
2557 * progmodes/ruby-mode.el: Improve encoding comment handling.
2558 (ruby-encoding-magic-comment-style): New option.
2559 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2560 (ruby--insert-coding-comment, ruby--detect-encoding):
2561 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2562 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2563 to control the style of the auto-inserted encoding comment.
71731c03 2564
da3b328d
DG
25652013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2566
ad16897c
SM
2567 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2568 Use `smie-backward-sexp' with token argument.
da3b328d 2569
1606c2d3
MA
25702013-11-08 Michael Albinus <michael.albinus@gmx.de>
2571
2572 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2573 Remove instrumentation code.
2574
b0f4c320
GM
25752013-11-08 Glenn Morris <rgm@gnu.org>
2576
2577 * progmodes/autoconf.el (autoconf-mode):
2578 Tweak comment-start-skip. (Bug#15822)
2579
43668fb1
SM
25802013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2583 at bobp (bug#15826).
2584 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2585
daddb3fd
DH
25862013-11-08 Darren Hoo <darren.hoo@gmail.com>
2587
2588 * man.el (Man-start-calling): New macro, extracted from
2589 Man-getpage-in-background.
2590 (Man-getpage-in-background): Use it.
2591 (Man-update-manpage): New command.
2592 (Man-mode-map): Bind it.
2593
1f923923
DG
25942013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2595
2596 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2597 of "and", "or", "&&" and "||".
2598 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2599 argument. Prohibit opening curly brace because it could only be a
2600 block opener in that position.
daddb3fd
DH
2601 (ruby-smie--forward-token, ruby-smie--backward-token):
2602 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2603 arguments.
2604 (ruby-smie--indent-to-stmt): New function, seeks the end of
2605 previous statement or beginning of buffer.
2606 (ruby-smie-rules): Use it.
2607 (ruby-smie-rules): Check if there's a ":" before a curly block
2608 opener candidate; if there is, it's a hash.
2609
3220d527
SM
26102013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2613 (cl--block-wrapper): Fix last accidental change.
2614
1eb1f9e0
MA
26152013-11-07 Michael Albinus <michael.albinus@gmx.de>
2616
2617 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2618 Instrument, in order to hunt failure on hydra.
2619
e6e4db3c
NT
26202013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2621
2622 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2623 malformed bindings form (bug#15814).
2624
b420ccfc
DG
26252013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2626
2627 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2628 "." compared to " @ ". This incidentally fixes some indentation
2629 examples with "do".
e6e4db3c 2630 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2631 (ruby-smie-grammar): New tokens: "and" and "or".
2632 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2633 Exclude "and" and "or". Remove "do" in order to work around token
2634 priorities.
2635 (ruby-smie-rules): Add all infix tokens. Handle the case of
2636 beginning-of-buffer.
b420ccfc 2637
6b4ac03e
GM
26382013-11-06 Glenn Morris <rgm@gnu.org>
2639
2640 * Makefile.in (setwins_almost, setwins_for_subdirs):
2641 Avoid accidental matches.
2642
5ca114d1
SM
26432013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * menu-bar.el (popup-menu): Use key-binding.
2646
f72552bd
EZ
26472013-11-06 Eli Zaretskii <eliz@gnu.org>
2648
2649 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2650 menus, support also the menus produced by minor modes.
2651 (Bug#15817)
2652
5d5c701e
LL
26532013-11-06 Leo Liu <sdl.web@gmail.com>
2654
2655 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2656 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2657
0a8b75e2
GM
26582013-11-06 Glenn Morris <rgm@gnu.org>
2659
2660 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2661 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2662 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2663
a35287ea
SM
26642013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2665
feca4e2d
SM
2666 * electric.el (electric-indent-just-newline): New command.
2667 (electric-indent-mode-map): New keymap.
2668 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2669 Re-add :group which weren't redundant.
2670
a35287ea
SM
2671 * electric.el (electric-indent-local-mode): New minor mode.
2672 (electric-indent-functions-without-reindent): New var.
2673 (electric-indent-post-self-insert-function): Use it.
2674 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2675
375761b2
EZ
26762013-11-05 Eli Zaretskii <eliz@gnu.org>
2677
9a6ad735
EZ
2678 * international/quail.el (quail-help): Be more explicit about the
2679 meaning of the labels shown on the keys. (Bug#15800)
2680
375761b2
EZ
2681 * startup.el (normal-top-level): Load the subdirs.el files before
2682 setting the locale environment. (Bug#15805)
2683
520a6e4a
SM
26842013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2685
0acfafef
SM
2686 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2687 via arguments so as to get the right ones (bug#15418).
2688
520a6e4a
SM
2689 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2690
15826261
MA
26912013-11-05 Michael Albinus <michael.albinus@gmx.de>
2692
2693 Fix problems found while writing a test suite.
2694
2695 * net/tramp-compat.el (tramp-compat-load): New defun.
2696 * net/tramp.el (tramp-handle-load): Use it.
2697
2698 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2699 "(numberp ok-if-already-exists)" correctly.
2700
d35f31a4
XF
27012013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2702
2703 * international/characters.el (glyphless-char-display-control):
2704 Add usage note.
2705
ae93bc74
BB
27062013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2707
520a6e4a
SM
2708 * progmodes/python.el (python-mode):
2709 * progmodes/scheme.el (scheme-mode):
2710 * progmodes/prolog.el (prolog-mode):
2711 * progmodes/ruby-mode.el (ruby-mode):
2712 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2713 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2714
0ade65b5
SM
27152013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2716
a0d5f7a4
SM
2717 * rect.el (rectangle--highlight-for-redisplay):
2718 * emacs-lisp/smie.el (smie--next-indent-change):
2719 Use buffer-chars-modified-tick.
2720
c93f3f5c
SM
2721 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2722
0ade65b5
SM
2723 * electric.el (electric-indent-post-self-insert-function):
2724 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2725
ef9dd188
HE
27262013-11-04 Helmut Eller <eller.helmut@gmail.com>
2727
2728 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2729
306e7308
NT
27302013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2731
2732 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2733 (bug#15786).
2734
e5afbcac
SM
27352013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2736
1d01ad41
SM
2737 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2738
e5afbcac
SM
2739 * progmodes/python.el: Fix up last change.
2740 (python-shell--save-temp-file): New function.
2741 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2742 `string' comes from the current buffer.
2743 (python-shell-send-string-no-output): Remove `msg' arg.
2744 (python--use-fake-loc): New var.
2745 (python-shell-buffer-substring): Obey it. Try to compensate for the
2746 extra coding line added by python-shell--save-temp-file.
2747 (python-shell-send-region): Use python-shell--save-temp-file and
2748 python-shell-send-file directly. Add `nomain' argument.
2749 (python-shell-send-buffer): Use python-shell-send-region.
2750 (python-electric-pair-string-delimiter): New function.
2751 (python-mode): Use it.
2752
d0065ff1
EZ
27532013-11-04 Eli Zaretskii <eliz@gnu.org>
2754
2755 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2756 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2757 environment and decoding all of the default-directory's to here
2758 from command-line.
2759 (command-line): Decode also argv[0].
2760
2761 * loadup.el: Error out if default-directory is a multibyte string
2762 when we are dumping.
2763
2764 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2765
7397c587
TZ
27662013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2767
2768 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2769 (package-menu--print-info, package-menu--archive-predicate):
2770 Add Archive column to package list.
7397c587 2771
b27cc9fc
MA
27722013-11-04 Michael Albinus <michael.albinus@gmx.de>
2773
2774 Fix problems found while writing a test suite.
2775
2776 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2777 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2778 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2779 to nil when running original file name handler. Otherwise,
2780 there are problems with constructs like "$$FOO".
2781
2782 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2783 for `localname'.
2784
d8c4f18a
BB
27852013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2786
7b530552
BB
2787 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2788
2789 * subr.el (version<, version<=, version=):
2790 Update docstrings with information for snapshot versions.
2791
d8c4f18a
BB
2792 * helpers.el: New library for misc helper functions.
2793 (hash-table-keys): New function returning a list of hash keys.
2794 (hash-table-values): New function returning a list of hash values.
2795
dca01b09
DG
27962013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2797
2798 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2799 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2800
0a749fa0
MN
28012013-11-04 Michal Nazarewicz <mina86@mina86.com>
2802
2803 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2804 checking whether point is after a 1-letter word.
2805
28062013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2807
2808 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2809 Don't infloop when expanding region over `multiline' syntax-type that
2810 begins a line (bug#15778).
2811
4aca7145
SM
28122013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2815 Make it into a proper minor mode.
2816 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2817 (rectangle-mark-mode-map): New keymap.
2818 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2819
a0833f62
GM
28202013-11-04 Glenn Morris <rgm@gnu.org>
2821
2822 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2823
e61845c1
SM
28242013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2827 (ruby-smie-rules): Use smie-rule-parent instead.
2828
2829 * emacs-lisp/smie.el (smie-rule-parent): Always call
2830 smie-indent-virtual rather than only for hanging tokens.
2831 (smie--next-indent-change): New helper command.
2832
62942f89
GM
28332013-11-03 Glenn Morris <rgm@gnu.org>
2834
2835 * Makefile.in (abs_srcdir): Remove.
2836 (emacs): Unset EMACSLOADPATH.
2837
b0b9e592
GM
28382013-11-02 Glenn Morris <rgm@gnu.org>
2839
18ba6a33 2840 * Makefile.in (EMACS): Use a relative filename.
8061810d 2841 (abs_top_builddir): Remove.
18ba6a33
GM
2842 (custom-deps, finder-data, autoloads): Use --chdir.
2843
6a8b929e
GM
2844 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2845
c617f3d0
GM
2846 Use relative filenames in TAGS files.
2847 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2848 (lisptagsfiles4, TAGS): Use relative file names.
2849 (TAGS-LISP): Remove.
2850 (maintainer-clean): No more TAGS-LISP file.
2851
b0b9e592
GM
2852 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2853 (lisptagsfiles4): Use absolute filenames again.
2854 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2855 Remove all *loaddefs files, not just the first. Remove esh-groups.
2856 (maintainer-clean): Delete TAGS, TAGS-LISP.
2857
d1c0ea6a
BB
28582013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2859
e61845c1
SM
2860 * emacs-lisp/package.el (package-version-join):
2861 Recognize snapshot versions.
d1c0ea6a 2862
684d71c6
BB
28632013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2864
2865 * subr.el (version-regexp-alist): Add support for snapshot versions.
2866
3d42b968
DG
28672013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2868
e61845c1
SM
2869 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2870 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2871 skip over our direct parent if it's an assignment token..
2872 (ruby-smie-rules): Use it.
2873
7ffd3721
DG
28742013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2875
8449dd1f 2876 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2877 unconditionally. Remove now unnecessary forward declarations.
2878 Remove XEmacs-specific setup.
2879 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2880 (ruby-font-lock-syntactic-keywords)
2881 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2882 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2883 (ruby-here-doc-end-syntax): Remove.
2884 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2885 defined as function.
2886
a3996a2e
BB
28872013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2888
2889 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2890
6f9260e8
BB
28912013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2892
2893 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2894 table and abbrev table, `define-derived-mode' does that for us
2895 anyway.
2896
6014de84
GM
28972013-11-01 Glenn Morris <rgm@gnu.org>
2898
2899 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2900 files is atomic for some time, so no parallel compilation issues).
2901
3c334c14
JD
29022013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2903
2904 * faces.el (face-x-resources): Add :distant-foreground.
2905 (region): Use :distant-foreground for gtk and ns.
2906
9bc236c8
TH
29072013-11-01 Tassilo Horn <tsdh@gnu.org>
2908
5246583b 2909 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2910 BibTeX.
2911 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2912 (reftex-locate-bibliography-files): Us it.
2913
d14c81ee
CB
29142013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2915
0e7690de
CB
2916 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2917 allow comments in pbm files.
2918
d14c81ee
CB
2919 * term/w32-win.el (dynamic-library-alist): Support newer versions
2920 of libjpeg starting with v7: look only for the DLL from the
2921 version against which Emacs was built.
ac1bf374 2922 Support versions of libpng beyond 1.4.x.
019c8218 2923 Support libtiff v4.x.
d14c81ee 2924
983d0df5
BB
29252013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2926
2927 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2928 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2929 Add property :safe.
2930 (ruby-deep-arglist): Add property :type.
2931
47f58d85
GM
29322013-10-31 Glenn Morris <rgm@gnu.org>
2933
2934 * Makefile.in (custom-deps, finder-data): No need to setq the target
2935 variables, we are in the right directory and the defaults work fine.
2936
4f85b479
GM
29372013-10-30 Glenn Morris <rgm@gnu.org>
2938
ca7dd4cd
GM
2939 * Makefile.in (autoloads): Do not use abs_lisp.
2940
4f85b479
GM
2941 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2942 `newline' does not respect `standard-output', so use `princ'.
2943
cf59e41c
AA
29442013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2945
2946 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2947 * buff-menu.el (Buffer-menu--unmark): New function.
2948 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2949
74cf04fb
GM
29502013-10-30 Glenn Morris <rgm@gnu.org>
2951
b040b60e
GM
2952 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2953
f53d3815
GM
2954 * emacs-lisp/package.el (lm-homepage): Declare.
2955
5413d873
GM
2956 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2957 Fix doc typos.
2958
cecedb36
GM
2959 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2960
74cf04fb
GM
2961 * Makefile.in (finder-data, autoloads, update-subdirs)
2962 (compile-main, compile-clean, compile-always, bootstrap-clean):
2963 Check return value of cd.
2964 (compile-calc): Remove.
2965
195ee2f0
SM
29662013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2967
ae4002ce
SM
2968 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2969
2970 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2971 (byte-compile-and-folded): New function.
2972 (=, <, >, <=, >=): Use it.
2973
2974 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2975 (path-separator, null-device, buffer-file-coding-system)
2976 (lpr-headers-switches): Check system-type before modifying them.
2977 (find-buffer-file-type-coding-system): Mark obsolete.
2978 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2979 find-file-not-found-set-buffer-file-coding-system.
2980 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2981 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2982 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2983 (w32-direct-print-region-helper, w32-direct-print-region-function)
2984 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2985 * startup.el (normal-top-level-add-subdirs-to-load-path):
2986 * ps-print.el (ps-print-region-function):
2987 * lpr.el (print-region-function): Use new name.
2988
53b39e89
SM
2989 * subr.el (custom-declare-variable-early): Remove function.
2990 (custom-declare-variable-list): Remove var.
2991 (error, user-error): Remove `while' loop.
2992 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2993 (user-emacs-directory-warning, locate-user-emacs-file):
2994 Move to files.el.
2995 * simple.el (read-quoted-char-radix, read-quoted-char):
2996 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2997 Move from subr.el.
2998 * custom.el (custom-declare-variable-list): Don't process
2999 custom-declare-variable-list.
3000
195ee2f0
SM
3001 * progmodes/python.el (python-shell-get-buffer): New function.
3002 (python-shell-get-process): Use it.
3003 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3004 Python which encoding was used. Don't split-string since we only care
3005 about the first line. Return the temp-file, if applicable.
3006 (python-shell-send-region): Tell compile.el how to turn locations in
3007 the temp-file into locations in the source buffer.
3008
7e3561ee
SM
30092013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3010
4c9797cb
SM
3011 * subr.el (undefined): Add missing behavior from the C code for
3012 unbound keys.
3013
3472b6c6
SM
3014 * rect.el: Use lexical-binding. Add new rectangular region support.
3015 (rectangle-mark): New command.
3016 (rectangle--region): New var.
3017 (deactivate-mark-hook): Reset rectangle--region.
3018 (rectangle--extract-region, rectangle--insert-for-yank)
3019 (rectangle--highlight-for-redisplay)
3020 (rectangle--unhighlight-for-redisplay): New functions.
3021 (region-extract-function, redisplay-unhighlight-region-function)
3022 (redisplay-highlight-region-function): Use them to handle
3023 rectangular region.
3024 * simple.el (region-extract-function): New var.
3025 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3026 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3027 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3028 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3029 (redisplay-unhighlight-region-function)
3030 (redisplay-highlight-region-function): New vars.
3031 (redisplay--update-region-highlight): New function.
3032 (pre-redisplay-function): Use it.
3033 (exchange-point-and-mark): Don't deactivate the mark before
3034 reactivate-it anyway.
3035 * comint.el (comint-kill-region): Remove yank-handler argument.
3036 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3037 (delete-char): Remove property, since it's now part of their
3038 default behavior.
3039 (self-insert-iso): Remove property since this command doesn't exist.
3040
7e3561ee
SM
3041 * emacs-lisp/package.el (package--download-one-archive)
3042 (describe-package-1): Don't query the user about final newline.
3043
b9bef71f
DC
30442013-10-29 Daniel Colascione <dancol@dancol.org>
3045
3046 * net/tramp.el (tramp-methods): Document new functionality.
3047 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3048 tramp-hostname-checker if method provides one instead of scanning
3049 argument list for "%h" to decide hostname acceptability.
3050
4efc33f0
MA
30512013-10-28 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3054 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3055 Handle COPY-CONTENTS. (Bug#15737)
3056
ed42a877
DU
30572013-10-28 Daiki Ueno <ueno@gnu.org>
3058
3059 * epa-file.el
7e3561ee
SM
3060 (epa-file-cache-passphrase-for-symmetric-encryption):
3061 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3062
18c9f8a2
XF
30632013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3064
7a4bc7be
XF
3065 * image.el (defimage):
3066 (image-load-path): Doc fixes.
18c9f8a2 3067
b1e8e010
AM
30682013-10-27 Alan Mackenzie <acm@muc.de>
3069
3070 Indent statements in macros following "##" correctly.
7e3561ee
SM
3071 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3072 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3073
73d40d1e 30742013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3075
3076 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3077
c8c605ac
DG
30782013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3079
3080 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3081 after `=' is probably a new expression.
3082
ca7e59d4
RS
30832013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3084
3085 * man.el (man-imenu-title): New option.
3086 (Man-mode-map): Add menu. (Bug#15722)
3087 (Man-mode): Add imenu to menu.
3088
bae91342
DG
30892013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3090
3091 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3092 specific in what the first arg can be: a non-keyword word,
3093 string/regexp/percent literal opener, opening paren, or unary
3094 operator followed directly by word.
3095
eb89dc14
SM
30962013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3099 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3100 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3101 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3102 Remove vars, they do not apply any more.
3103 (prolog-mode-abbrev-table): Remove redundant declaration.
3104 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3105 (prolog-use-smie): Remove.
3106 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3107 supported by prolog-electric-if-then-else-flag.
3108 (prolog-mode-variables, prolog-menu): Use setq-local.
3109 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3110 Remove binding to `Backspace' since this key doesn't exist anyway.
3111 Remove bindings for electric self-inserting keys.
3112 (prog-mode): Assume it's defined.
3113 (prolog-post-self-insert): New function.
3114 (prolog-mode): Use it.
3115 (prolog-indent-line, prolog-indent-level)
3116 (prolog-find-indent-of-matching-paren)
3117 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3118 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3119 (prolog-goto-next-paren, prolog-in-string-or-comment)
3120 (prolog-tokenize, prolog-inside-mline-comment)
3121 (prolog-find-start-of-mline-comment): Remove functions.
3122 (prolog-find-unmatched-paren, prolog-clause-end)
3123 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3124 (prolog-electric--if-then-else): Rename from
3125 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3126 (prolog-tokenize-searchkey): Remove const.
3127 (prolog-clause-info): Use forward-sexp.
3128 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3129 (prolog-electric-if-then-else): Remove commands.
3130 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3131 for use in post-self-insert-hook.
3132 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3133 for use in post-self-insert-hook.
3134 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3135 for use in post-self-insert-hook.
3136 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3137 adapt it for use in post-self-insert-hook.
3138
3dab0a83
MA
31392013-10-25 Michael Albinus <michael.albinus@gmx.de>
3140
3141 * emacs-lisp/ert.el (ert-run-tests-interactively):
3142 Use `completing-read'. (Bug#9756)
3143
fbfd0e1d
EZ
31442013-10-25 Eli Zaretskii <eliz@gnu.org>
3145
3146 * simple.el (line-move): Call line-move-1 instead of
3147 line-move-visual when the current window hscroll is zero, but
3148 temporary-goal-column indicates we will need to hscroll as result
3149 of the movement. (Bug#15712)
3150
963ce636
DG
31512013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3152
3153 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3154 capitalization. Use :visible instead of :active.
3155 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3156 commands that are used with SMIE.
3157 (ruby-do-end-to-brace): Insert space after `{'.
3158
a0be396a
JA
31592013-10-25 John Anthony <john@jo.hnanthony.com>
3160
f73754c9
JA
3161 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3162
3163 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3164
f5bf77df
GM
31652013-10-25 Glenn Morris <rgm@gnu.org>
3166
3167 * vc/vc.el (vc-print-log): Don't use a working revision unless
3168 one was explicitly specified. (Bug#15322)
3169
37241f62
SM
31702013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * subr.el (add-to-list): Preserve return value in compiler-macro
3173 (bug#15692).
3174
6408a65d
RS
31752013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3176
3177 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3178 result. Ask user to retry using '-all' flag. (Bug#15701)
3179
71e3276b
SM
31802013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * emacs-lisp/smie.el: New smie-config system.
3183 (smie-config): New defcustom.
3184 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3185 (smie-config-guess, smie-config-save): New commands.
3186 (smie-config--mode-local, smie-config--buffer-local)
3187 (smie-config--trace, smie-config--modefuns): New vars.
3188 (smie-config--advice, smie-config--mode-hook)
3189 (smie-config--setter, smie-config-local, smie-config--get-trace)
3190 (smie-config--guess-value, smie-config--guess): New functions.
3191 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3192 text properties. Treat "string fence" syntax like string syntax.
3193
3194 * progmodes/sh-script.el (sh-use-smie): Change default.
3195 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3196 (sh-var-value): Simplify by CSE.
3197 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3198 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3199 is used.
3200 (sh-guess-basic-offset): Use cl-incf.
3201 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3202
60db713e
HE
32032013-10-24 Helmut Eller <eller.helmut@gmail.com>
3204
3205 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3206 (bug#15699).
3207
8b251df6
GM
32082013-10-24 Glenn Morris <rgm@gnu.org>
3209
3210 * Makefile.in (abs_top_srcdir): Remove.
3211 (update-subdirs): Use relative path to update-subdirs.
3212
6be0e22b
EZ
32132013-10-24 Eli Zaretskii <eliz@gnu.org>
3214
3215 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3216 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3217 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3218 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3219
50b5b857
MA
32202013-10-24 Michael Albinus <michael.albinus@gmx.de>
3221
3222 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3223 (ert-test-skipped): New error.
3224 (ert-skip, ert-stats-skipped): New defuns.
3225 (ert--skip-unless): New macro.
3226 (ert-test-skipped): New struct.
3227 (ert--run-test-debugger, ert-test-result-type-p)
3228 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3229 (ert--stats-set-test-and-result, ert-char-for-test-result)
3230 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3231 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3232 Handle skipped tests. (Bug#9803)
50b5b857 3233
6f317c2f
GM
32342013-10-24 Glenn Morris <rgm@gnu.org>
3235
e43817c1
GM
3236 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3237
6f317c2f
GM
3238 * Makefile.in (abs_top_srcdir): New, set by configure.
3239 (update-subdirs): Correct build-aux location.
3240
369bbf71
DG
32412013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3242
8297b2cf
DG
3243 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3244 value, whether we could auto-deduce `backend', or not.
3245
369bbf71
DG
3246 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3247 with parameters" example. Simplify the "is it block or is it
3248 hash" check, but also make it more thorough.
3249
d5f1282f
MF
32502013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3251
3252 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3253
bc4aaa31
SM
32542013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3255
03d44565
SM
3256 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3257 { if it is hanging.
3258
bc4aaa31
SM
3259 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3260 :before ";".
3261
f493ff19
JB
32622013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3263
3264 * progmodes/compile.el (compilation-directory-matcher)
3265 (compilation-page-delimiter):
3266 Support GNU Make-4.0 directory quoting. (Bug#15678)
3267
c744a3b9
LL
32682013-10-23 Leo Liu <sdl.web@gmail.com>
3269
3270 * ido.el (ido-tidy): Handle read-only text.
3271
b8e3b0a9
GM
32722013-10-23 Glenn Morris <rgm@gnu.org>
3273
3274 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3275 (emacs, compile, compile-always):
3276 Quote entities that might contain whitespace.
3277 (custom-deps, finder-data, autoloads): Use abs_lisp.
3278 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3279 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3280 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3281
ee4282cd
DG
32822013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3283
bc4aaa31
SM
3284 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3285 Use `following-char'.
7790a270 3286
ee4282cd 32872013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3288
3289 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3290 * progmodes/ruby-mode.el (ruby-smie-rules):
3291 Remove corresponding workaround. Fix indentation rule of ";" so it
3292 also applies when ";" is the parent.
3293
d40a46d7
XF
32942013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3295
3296 * frame.el (display-screens, display-pixel-height)
3297 (display-pixel-width, display-mm-width, display-backing-store)
3298 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3299 (display-visual-class, display-monitor-attributes-list):
3300 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3301
a0f143c9
MG
33022013-10-22 Michael Gauland <mikelygee@amuri.net>
3303
3304 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3305 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3306
18cacc39
DG
33072013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3308
3309 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3310 TODO. Add "." after " @ ".
3311 (ruby-smie--at-dot-call): New function. Checks if point at method
3312 call with explicit target.
3313 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3314 to the method name tokens when it precedes them.
3315 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3316 (ruby-smie-rules): Add rule for indentation before and after "."
3317 token.
3318
df74c4be
SM
33192013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3320
c6dab55f
SM
3321 * textmodes/remember.el (remember-diary-extract-entries):
3322 Avoid add-to-list.
3323
df74c4be
SM
3324 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3325 an instruction.
3326
8c1ae481
DG
33272013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3328
e9dc713d
JB
3329 * progmodes/ruby-mode.el (ruby-smie-grammar):
3330 Add (almost) all infix operators.
cfef16c0
DG
3331 (ruby-smie--implicit-semi-p): Add new operator chars.
3332
8c1ae481
DG
3333 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3334 `smie-down-list'.
3335 (ruby-smie--args-separator-p): Check that there's no newline
3336 between method call and its arguments.
3337
87756ca9
AM
33382013-10-20 Alan Mackenzie <acm@muc.de>
3339
3340 Allow comma separated lists after Java "implements".
3341
df74c4be
SM
3342 * progmodes/cc-engine.el (c-backward-over-enum-header):
3343 Parse commas.
87756ca9
AM
3344 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3345 from a "disallowed" list in enum fontification.
3346
c25f8957
JB
33472013-10-20 Johan Bockgård <bojohan@gnu.org>
3348
df74c4be 3349 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3350
c25f8957
JB
3351 * progmodes/verilog-mode.el (verilog-mode): Don't set
3352 comment-indent-function globally.
3353
aca5fcdc
JD
33542013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3355
5f161884
JD
3356 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3357 Move Info menu item creation to ns-win.el.
3358
3359 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3360 in menu bar.
3361
aca5fcdc
JD
3362 * menu-bar.el: Move GNUStep specific menus...
3363
3364 * term/ns-win.el (ns-initialize-window-system): ... to here.
3365
914b7f98
SM
33662013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * simple.el (newline): Only run post-self-insert-hook when
3369 called interactively.
3370
846ffe77
JB
33712013-10-19 Johan Bockgård <bojohan@gnu.org>
3372
3373 * icomplete.el (icomplete-with-completion-tables): Add :version.
3374
033f22dd
AM
33752013-10-19 Alan Mackenzie <acm@muc.de>
3376
3377 Fix fontification bugs with constructors and const.
3378
3379 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3380 CASE 2) Remove the check for the absence of a suffix construct
3381 after a function declaration with only types (no identifiers) in
3382 the parentheses. Also, accept a function declaration with just a
3383 type inside the parentheses, if this type can be positively
3384 recognised as such, or if a prefix keyword like "explicit" nails
3385 down the construct as a declaration.
3386
58ce0cfc
EZ
33872013-10-19 Eli Zaretskii <eliz@gnu.org>
3388
3389 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3390 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3391 the problem whereby selecting a menu item that leads to a
3392 minibuffer prompt moves the cursor out of the minibuffer window,
3393 making it hard to type at the prompt. Suggested by Stefan Monnier
3394 <monnier@iro.umontreal.ca>.
3395
50e28e7d
JD
33962013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3397
3398 * menu-bar.el: Don't make Services menu.
3399
7deed4bf
RS
34002013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3401
3402 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3403 (ffap-alist): Use ffap-c++-mode for c++-mode.
3404 (ffap-c++-path): New variable.
3405 (ffap-c++-mode): New function.
3406
7bcb455b
JVJ
34072013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3408
3409 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3410
f0ff1cd5
MA
34112013-10-18 Michael Albinus <michael.albinus@gmx.de>
3412
3413 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3414 introduced on 2013-09-08, which results in an infinite loop
3415 requesting a password.
3416
d64da4b7
GM
34172013-10-18 Glenn Morris <rgm@gnu.org>
3418
3419 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3420
ea89ff08
WS
34212013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3422
3423 Sync with upstream verilog-mode revision 1a6ecec7.
3424 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3425 (verilog-mode-release-date): Remove.
3426 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3427 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3428 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3429 (verilog-auto-tieoff-ignore-regexp)
3430 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3431 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3432 (verilog-signals-with, verilog-dir-cache-preserving)
3433 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3434 Doc fixes.
3435 (verilog-case-fold): New option, to control case folding in
3436 regexp searches, bug597.
3437 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3438 (verilog-string-match-fold, verilog-in-paren-count)
3439 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3440 (verilog-at-close-struct-p): New functions.
3441 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3442 (verilog-forward-sexp, verilog-set-auto-endcomments):
3443 (verilog-leap-to-case-head): Handle "unique0" case.
3444 (verilog-in-constraint-re): New constant.
3445 (verilog-keywords, verilog-type-font-keywords):
3446 Add some SystemVerilog 1800-2012 keywords.
3447 (verilog-label-be): Remove unimplemented argument, bug669.
3448 (verilog-batch-execute-func): When batch expanding clear
3449 create-lockfiles to prevent spurious user locks when a file ends
3450 up not changing.
3451 (verilog-calculate-indent, verilog-calc-1)
3452 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3453 (verilog-do-indent): Fix indentation of nested constraints
3454 and structures.
3455 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3456 (verilog-auto-inst-param): Use verilog-string-match-fold.
3457 (verilog-read-inst-module-matcher):
3458 Fix AUTOINST on gate primitives with #1.
3459 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3460 Reads all user-defined typed variables.
3461 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3462 (verilog-signals-matching-regexp)
3463 (verilog-signals-not-matching-regexp, verilog-auto):
3464 Respect verilog-case-fold.
3465 (verilog-diff-report): Fix line count.
3466 (verilog-auto-assign-modport): Remove unused local `modi'.
3467 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3468 better handle multidimensional arrays.
3469 Fix packed array ports misadding bit index in AUTOINST, bug637.
3470 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3471 to not double-declare existing outputs and inputs, respectively.
3472 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3473 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3474 (verilog-sk-uvm-component): New skeleton.
3475 (verilog-submit-bug-report): Add verilog-case-fold,
3476 remove verilog-mode-release-date.
3477
ef566920
BR
34782013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3479
a12bf61e 3480 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3481 as before.
3482
29df8a0b
RT
34832013-10-18 Reuben Thomas <rrt@sc3d.org>
3484
e0eb0550 3485 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3486 remember buffers (bug#13566).
3487
04a19a79
DC
34882013-10-18 Daniel Colascione <dancol@dancol.org>
3489
3490 When evaluating forms in ielm, direct standard output to ielm
3491 buffer. Add new ielm-return-for-effect command. Remove trailing
3492 whitespace throughout.
3493
3494 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3495 (ielm-return-for-effect): New command.
3496 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3497 (ielm-eval-input): Accept optional `for-effect' parameter.
3498 Bind `standard-output' to stream we create using
04a19a79
DC
3499 `ielm-standard-output-impl'. Suppress printing result when
3500 `for-effect'.
3501 (ielm-standard-output-impl): New function.
3502 (inferior-emacs-lisp-mode): Explain new features in documentation.
3503
4c1f03ef
MA
35042013-10-17 Michael Albinus <michael.albinus@gmx.de>
3505
3506 Code cleanup.
3507
3508 * net/tramp.el (tramp-debug-message): Do not check for connection
3509 buffer.
3510 (tramp-message): Use "vector" connection property.
3511
3512 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3513 (tramp-equal-remote, tramp-eshell-directory-change)
3514 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3515 (tramp-adb-handle-rename-file)
3516 * net/tramp-cmds.el (tramp-list-remote-buffers)
3517 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3518 * net/tramp-compat.el (tramp-compat-process-running-p)
3519 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3520 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3521 (tramp-gvfs-handle-rename-file)
3522 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3523 (tramp-set-file-uid-gid)
3524 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3525 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3526 of `file-remote-p'.
3527
3528 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3529 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3530 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3531 (tramp-gw-open-network-stream): Suppress unrelated traces.
3532
3533 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3534 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3536 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3537 connection property.
3538
3539 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3540 persistency file.
4c1f03ef
MA
3541
3542 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3543 Refactor common code. Improve debug message.
3544 (tramp-maybe-open-connection)
3545 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3546 connection buffer too early.
3547
3548 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3549 from `tramp-smb-actions-with-acl'.
3550 (tramp-smb-actions-set-acl): New defconst.
3551 (tramp-smb-handle-copy-directory)
3552 (tramp-smb-action-get-acl): New defun, renamed from
3553 `tramp-smb-action-with-acl'.
3554 (tramp-smb-action-set-acl): New defun.
3555 (tramp-smb-handle-set-file-acl): Rewrite.
3556
642eb8b6
GM
35572013-10-17 Glenn Morris <rgm@gnu.org>
3558
3559 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3560
85527ff3
SM
35612013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3562
921c1d62
SM
3563 * skeleton.el (skeleton-newline): Remove.
3564 (skeleton-internal-1): Use (insert "\n") instead.
3565
e333fb10
SM
3566 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3567 let-bindings.
3568
85527ff3
SM
3569 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3570 forward-sexp-function while we redo its job (bug#15613).
3571
c8722a97
JB
35722013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3573
3574 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3575 represented by lists.
3576
7a550bbb
GM
35772013-10-16 Glenn Morris <rgm@gnu.org>
3578
3579 * tmm.el (tmm--history): New dynamic variable.
3580 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3581
f19da8ad
MA
35822013-10-16 Michael Albinus <michael.albinus@gmx.de>
3583
3584 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3585 (tramp-smb-errors): Add error messages.
3586 (tramp-smb-actions-with-acl): New defconst.
3587 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3588 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3589 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3590 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3591 (tramp-smb-get-stat-capability): Fix tests.
3592
a24b9961
DK
35932013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3594
3595 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3596 (bug#15580).
3597
62ad85e6
GM
35982013-10-16 Glenn Morris <rgm@gnu.org>
3599
0283d6b0
GM
3600 * ansi-color.el (ansi-color-drop-regexp):
3601 Add 1J, 1K, 2K. (Bug#15617)
3602
012e2f9f
GM
3603 * files.el (hack-local-variables--warned-lexical): New.
3604 (hack-local-variables):
3605 Warn about misplaced lexical-binding. (Bug#15616)
3606
62ad85e6
GM
3607 * net/eww.el (eww-render): Always set eww-current-url,
3608 and update header line. (Bug#15622)
3609 (eww-display-html): ... Rather than just doing it here.
3610
6456c0ea
EZ
36112013-10-15 Eli Zaretskii <eliz@gnu.org>
3612
3613 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3614 menu navigations commands.
3615
c2de5588
DK
36162013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3617
3618 * progmodes/subword.el (subword-capitalize): Be careful when
3619 the search for [[:alpha:]] fails (bug#15580).
3620
ccd4a783
EZ
36212013-10-14 Eli Zaretskii <eliz@gnu.org>
3622
3623 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3624 to commands that scroll the menu.
3625
1eda1d8d
DG
36262013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3627
c2de5588
DK
3628 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3629 Handle methods ending with `?' and `!'.
1eda1d8d 3630
e70181b8
AM
36312013-10-14 Akinori MUSHA <knu@iDaemons.org>
3632
3633 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3634 `japanese-cp932' to `cp932' to fix the problem where saving a
3635 source file written in Shift_JIS twice would end up having
3636 `coding: japanese-cp932' which Ruby could not recognize.
3637 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3638 in `ruby-encoding-map'.
3639 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3640 doesn't need to be explicitly declared in magic comment.
3641 (ruby-encoding-map): Add type declaration for better customize UI.
3642
9148ee92
GM
36432013-10-13 Glenn Morris <rgm@gnu.org>
3644
a5d38e34
GM
3645 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3646 Occur buffers are read-only. http://bugs.debian.org/720775
3647
9148ee92
GM
3648 * emacs-lisp/authors.el (authors-fixed-entries):
3649 Comment out old alpha stuff.
3650
a9ba094b
DG
36512013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3652
3653 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3654 to `after-save-hook' instead of `before-save-hook'.
3655 (ruby-mode-set-encoding): Use the value of coding system used to
3656 write the file. Call `basic-save-buffer-1' after modifying the
3657 buffer.
3658
7a068717
AM
36592013-10-13 Alan Mackenzie <acm@muc.de>
3660
3661 Fix indentation/fontification of Java enum with
3662 "implements"/generic.
3663
c2de5588
DK
3664 * progmodes/cc-engine.el (c-backward-over-enum-header):
3665 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3666 (c-inside-bracelist-p): Uses new function above.
3667 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3668 function above.
3669 (c-font-lock-enum-tail): Uses new function above.
3670
85b64f02
KH
36712013-10-13 Kenichi Handa <handa@gnu.org>
3672
3673 * international/mule-cmds.el (select-safe-coding-system): Remove a
3674 superfluous condition in chekcing whether a coding system is safe
3675 or not.
3676
fc7f501b
OK
36772013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3678
3679 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3680
fdcb2049
AP
36812013-10-13 Andreas Politz <politza@hochschule-trier.de>
3682
3683 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3684
8c106d17
GM
36852013-10-13 Glenn Morris <rgm@gnu.org>
3686
feab892d
GM
3687 * menu-bar.el (menu-bar-update-buffers):
3688 Unify Buffers menu prompt string. (Bug#15576)
3689
b22d0686
GM
3690 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3691
8c106d17
GM
3692 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3693 Add some entries.
3694 (authors-fixed-entries): Use accented form of name.
3695
1b12c797
SM
36962013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3697
650fa7bf 3698 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3699 method calls (bug#15594).
650fa7bf
SM
3700 (ruby-smie--args-separator-p): New function.
3701 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3702 recognize paren-free method calls.
3703
1b12c797
SM
3704 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3705 internals of universal-argument.
3706
029619c8
EZ
37072013-10-11 Eli Zaretskii <eliz@gnu.org>
3708
3709 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3710 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3711 dropped menu on second mouse click on the menu bar.
029619c8 3712
dd070019
SM
37132013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3716 (explicit-shell-file-name): Declare.
3717 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3718 (sh-completion-at-point-function): New function.
3719 (sh-mode): Use it.
3720 (sh-smie--keyword-p): Remove unused argument.
3721 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3722 vars.
3723 (sh-set-shell): Always setup SMIE, even if we use the
3724 old indentation code.
3725
0922b826
DG
37262013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3727
b68e2926
DG
3728 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3729 cases of ? and =.
3730 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3731 predicate would return nil are almost non-existent.
3732 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3733
0922b826
DG
3734 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3735 cache also after commands that modify the buffer but don't move
3736 point.
3737
ee041f2d
SM
37382013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * env.el (substitute-env-in-file-name): New function.
3741 (substitute-env-vars): Extend the meaning of the optional arg.
3742
a5dab159
EZ
37432013-10-10 Eli Zaretskii <eliz@gnu.org>
3744
3745 * term/w32-win.el (dynamic-library-alist): Define separate lists
3746 of GIF DLLs for versions before and after 5.0.0 of giflib.
3747 (Bug#15531)
3748
0449d6cd 37492013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3750
3751 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3752 not locked, use last revision and current source as
3753 defaults. (Bug#15569)
3754
2f6e161e
MY
37552013-10-10 Masatake YAMATO <yamato@redhat.com>
3756
3757 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3758 menu-bar is hidden.
3759
6c8413fc
MR
37602013-10-10 Martin Rudalics <rudalics@gmx.at>
3761
3762 * window.el (pop-to-buffer-same-window): Fix doc-string.
3763 (Bug#15492)
3764
20832de0
SM
37652013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3768
c6e8ae77
AC
37692013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3770
3771 * calendar/icalendar.el (icalendar-import-file):
3772 Fix interactive spec. (Bug#15482)
3773
9db13baf
GM
37742013-10-10 Glenn Morris <rgm@gnu.org>
3775
9271e90e
GM
3776 * desktop.el (desktop-save): Default to saving in .emacs.d,
3777 since PWD is no longer in desktop-path by default. (Bug#15319)
3778
9db13baf
GM
3779 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3780 now that text mode has a menu with the same entry.
3781 (menu-bar-text-mode-auto-fill): Remove now unused func.
3782 * textmodes/text-mode.el (text-mode-map):
3783 Use auto-fill help text from menu-bar.el.
3784
a0be396a 37852013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3786
3787 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3788
2edcd3c7
JL
37892013-10-09 Juri Linkov <juri@jurta.org>
3790
3791 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3792 instead of this-command-keys. Add universal-argument-more and
3793 universal-argument-minus to the list of prefix commands. (Bug#15568)
3794
574411d0
GM
37952013-10-09 Glenn Morris <rgm@gnu.org>
3796
14afa541
GM
3797 * vc/vc-svn.el (vc-svn-create-repo):
3798 Expand paths in file://... url. (Bug#15446)
3799
574411d0
GM
3800 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3801 Add some entries.
3802 (authors): Remove unused local variables.
3803
79804536
SM
38042013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * profiler.el: Create a more coherent calltree from partial backtraces.
3807 (profiler-format): Hide the tail with `invisible' so that C-s can still
3808 find the hidden elements.
3809 (profiler-calltree-depth): Don't recurse so enthusiastically.
3810 (profiler-function-equal): New hash-table-test.
3811 (profiler-calltree-build-unified): New function.
3812 (profiler-calltree-build): Use it.
3813 (profiler-report-make-name-part): Indent the calltree less.
3814 (profiler-report-mode): Add visibility specs for profiler-format.
3815 (profiler-report-expand-entry, profiler-report-toggle-entry):
3816 Expand the whole subtree when provided with a prefix arg.
3817
238150c8
DG
38182013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3819
3820 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3821 iuwu-mod token.
3822 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3823 hanging iuwu-mod token.
3824 (ruby-smie--forward-token): Do not include a dot after a token in
3825 that token.
3826 (ruby-smie--backward-token): Likewise.
3827
b0949cc4
JL
38282013-10-08 Juri Linkov <juri@jurta.org>
3829
3830 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3831 to isearch-other-control-char.
3832 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3833 and isearch-post-command-hook to post-command-hook.
3834 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3835 and isearch-post-command-hook from post-command-hook.
3836 (isearch-unread-key-sequence)
3837 (isearch-reread-key-sequence-naturally)
3838 (isearch-lookup-scroll-key, isearch-other-control-char)
3839 (isearch-other-meta-char): Remove functions.
3840 (isearch-pre-command-hook, isearch-post-command-hook):
3841 New functions based on isearch-other-meta-char rewritten
3842 relying on the new behavior of overriding-terminal-local-map
3843 that does not replace the local keymaps any more. (Bug#15200)
3844
4ed77415
EZ
38452013-10-08 Eli Zaretskii <eliz@gnu.org>
3846
3847 Support menus on text-mode terminals.
3848 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3849 functionality.
3850
3851 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3852
c2de5588
DK
3853 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3854 Move here from mouse.el.
4ed77415
EZ
3855 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3856 and arrow keys.
3857 (tty-menu-navigation-map): New map for TTY menu navigation.
3858
3859 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3860
3861 * frame.el (display-mouse-p): Report text-mode mouse as available
3862 on w32.
3863 (display-popup-menus-p): Report availability if mouse is
3864 available; don't condition on window-system.
3865
3866 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3867 (tty-menu-selected-face): New faces.
3868
b7d5bd82
TL
38692013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3870
06286513
SM
3871 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3872 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3873 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3874 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3875 New constants.
3876 (lisp-mode-variables): New `elisp' argument.
3877 (emacs-lisp-mode): Use it.
3878 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3879 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3880
b7d5bd82
TL
3881 * indent.el: Use lexical-binding.
3882 (indent-region): Add progress reporter.
3883 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3884 last step.
3885 (indent--next-tab-stop): New function to implement this behavior.
3886 (tab-to-tab-stop, move-to-tab-stop): Use it.
3887
38882013-10-08 Teemu Likonen <tlikonen@iki.fi>
3889
3890 * indent.el (indent-rigidly--current-indentation): New function.
3891 (indent-rigidly-map): New var.
3892 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3893
5ea75d23
BG
38942013-10-08 Bastien Guerry <bzg@gnu.org>
3895
3896 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3897
cc5da1ec
SM
38982013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3899
8ffa1a0b
SM
3900 * progmodes/perl-mode.el: Use lexical-binding.
3901 Remove redundant :group args.
3902 (perl-nochange): Change default to be closer to other major modes's
3903 standard behavior.
3904 (perl-indent-line): Don't consider text on current line as a
3905 valid beginning of function from which to indent.
3906
f2223371
SM
3907 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3908 with more than one argument (bug#15538).
3909
44256060
SM
3910 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3911
cc5da1ec
SM
3912 * vc/pcvs.el: Use lexical-binding.
3913 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3914 environment of `eval'.
3915 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3916 than a list of expressions. Adjust callers.
3917 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3918
0ea1599d
DG
39192013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3920
3921 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3922 case of the dot in a chained method call being on the following line.
0ea1599d 3923
da3e5ebb
SM
39242013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3925
2abb4e65
SM
3926 * electric.el (electric-indent-inhibit): New var.
3927 (electric-indent-post-self-insert-function): Use it.
3928 * progmodes/python.el (python-mode): Set it.
3929
d2e0e795
SM
3930 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3931 open braces.
3932
3933 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3934
bdc6b4c8
SM
3935 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3936 (css-mode): Use electric-indent-chars.
3937
da3e5ebb
SM
3938 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3939 (font-lock-beg, font-lock-end): Move before first use.
3940 (nxml-mode): Use syntax-propertize-function.
3941 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3942 (nxml-extend-after-change-region): Remove.
3943 * nxml/xmltok.el: Use lexical-binding.
3944 (xmltok-save): Use `declare'.
3945 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3946 * nxml/nxml-util.el: Use lexical-binding.
3947 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3948 Use `declare'.
3949 * nxml/nxml-ns.el: Use lexical-binding.
3950 (nxml-ns-save): Use `declare'.
3951 (nxml-ns-prefixes-for): Avoid add-to-list.
3952 * nxml/rng-match.el: Use lexical-binding.
3953 (rng--ipattern): Use cl-defstruct.
3954 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3955 (rng-cons-group-after, rng-subst-group-after)
3956 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3957 Use closures instead of `(lambda...).
3958
f8f91d5d
MA
39592013-10-07 Michael Albinus <michael.albinus@gmx.de>
3960
3961 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3962 of BEG and END.
3963
da3e5ebb
SM
3964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3965 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3966 (tramp-gvfs-handle-insert-file-contents): Remove function.
3967
da3e5ebb
SM
3968 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3969 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3970
3971 * net/trampver.el: Update release number.
3972
7ccae3b1
SM
39732013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3974
55ca2c0d
SM
3975 * progmodes/compile.el (compilation-parse-errors):
3976 Use compilation--put-prop.
3977 (compilation--ensure-parse): Check compilation-multiline.
3978
731fc3ae
SM
3979 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3980
da3e5ebb
SM
3981 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3982 lexical-binding.
a5833280 3983
2e7ba2c2
SM
3984 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3985
7ccae3b1
SM
3986 * progmodes/ruby-mode.el: Fix recently added tests.
3987 (ruby-smie-grammar): Add - and +.
3988 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3989 (ruby-smie--backward-id): New functions.
3990 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3991 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3992 any more.
3993
85698d63
LL
39942013-10-07 Leo Liu <sdl.web@gmail.com>
3995
3996 * register.el (register-preview-delay)
3997 (register-preview-functions): New variables.
3998 (register-read-with-preview, register-preview)
3999 (register-describe-oneline): New functions.
4000 (point-to-register, window-configuration-to-register)
4001 (frame-configuration-to-register, jump-to-register)
4002 (number-to-register, view-register, insert-register)
4003 (copy-to-register, append-to-register, prepend-to-register)
4004 (copy-rectangle-to-register): Use register-read-with-preview to
4005 read register. (Bug#15525)
4006
3986af6c
DS
40072013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4008
4009 * net/network-stream.el (network-stream-open-starttls): Don't add
4010 --insecure if it's already present, because that gnutls-cli
4011 rejects getting that parameter twice.
4012
5cd9cda9
DG
40132013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4014
4015 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4016 keyword, too.
4017
da9ea6d9
DG
40182013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4019
4020 * newcomment.el (comment-use-global-state): Change default value
4021 to t, mark obsolete (Bug#15251).
4022 (comment-beginning): In addition to `comment-to-syntax', check the
4023 value of `comment-use-global-state'.
4024
34d1a133
SM
40252013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4028 (ruby-comment-column): Follow the global default, by default.
4029 (ruby-smie-grammar): Add assignment syntax.
4030 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4031 open-paren, a comma, or a \.
4032 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4033 and line continuations.
4034 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4035 followed by implicit semi-colons. Add rule for string concatenation
4036 and for indentation at BOB.
4037 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4038
4039 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4040 calling next-sexp, since next-token may have skipped chars which
4041 next-sexp doesn't know should be skipped!
4042
6f6ab820
LL
40432013-10-05 Leo Liu <sdl.web@gmail.com>
4044
34d1a133
SM
4045 * progmodes/octave.el (octave-send-region):
4046 Call compilation-forget-errors.
6f6ab820 4047
34ca0f4c
XF
40482013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4049
4050 * vc/vc-svn.el (vc-svn-find-admin-dir):
4051 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4052 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4053 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4054 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4055
a27c1b72
SM
40562013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4059
258ab3bc
SM
40602013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * subr.el (read-passwd): Hide chars even when called within a context
4063 where after-change-functions is disabled (bug#15501).
4064 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4065 until we removed ourself from overriding-terminal-local-map.
4066
939fb29c
LL
40672013-10-04 Leo Liu <sdl.web@gmail.com>
4068
258ab3bc
SM
4069 * progmodes/octave.el (inferior-octave-mode):
4070 Call compilation-forget-errors.
939fb29c 4071
63bd7f35
XF
40722013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4073
4074 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4075
9e6229fa
MA
40762013-10-04 Michael Albinus <michael.albinus@gmx.de>
4077
4078 * net/secrets.el (secrets-create-collection): Add optional
4079 argument ALIAS. Use proper Label keyword. Append ALIAS as
4080 dbus-call-method argument. (Bug#15516)
4081
1dab32a3
LL
40822013-10-04 Leo Liu <sdl.web@gmail.com>
4083
4084 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4085 (inferior-octave-compilation-font-lock-keywords): New variables.
4086 (compilation-error-regexp-alist)
4087 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4088 (inferior-octave-mode): Use compilation-shell-minor-mode.
4089
6cad7ba3
JS
40902013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4091
4092 * minibuffer.el (completion--replace): Be careful that `end' might be
4093 a marker.
4094
acbadd00
DU
40952013-10-03 Daiki Ueno <ueno@gnu.org>
4096
4097 Add support for package signature checking.
4098 * emacs-lisp/package.el (url-http-file-exists-p)
4099 (epg-make-context, epg-context-set-home-directory)
4100 (epg-verify-string, epg-context-result-for)
4101 (epg-signature-status, epg-signature-to-string)
4102 (epg-check-configuration, epg-configuration)
4103 (epg-import-keys-from-file): Declare.
4104 (package-check-signature): New user option.
4105 (package-unsigned-archives): New user option.
4106 (package-desc): Add `signed' field.
4107 (package-load-descriptor): Set `signed' field if .signed file exists.
4108 (package--archive-file-exists-p): New function.
4109 (package--check-signature): New function.
4110 (package-install-from-archive): Check package signature.
4111 (package--download-one-archive): Check archive signature.
4112 (package-delete): Remove .signed file.
4113 (package-import-keyring): New command.
4114 (package-refresh-contents): Import default keyring.
4115 (package-desc-status): Add "unsigned" status.
4116 (describe-package-1, package-menu--print-info)
4117 (package-menu-mark-delete, package-menu--find-upgrades)
4118 (package-menu--status-predicate): Support "unsigned" status.
4119
adf2aa61
SM
41202013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4123 the new compilation scheme using the new byte-codes.
4124
4125 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4126 (byte-pophandler): New byte codes.
4127 (byte-goto-ops): Adjust accordingly.
4128 (byte-compile--use-old-handlers): New var.
4129 (byte-compile-catch): Use new byte codes depending on
4130 byte-compile--use-old-handlers.
4131 (byte-compile-condition-case--old): Rename from
4132 byte-compile-condition-case.
4133 (byte-compile-condition-case--new): New function.
4134 (byte-compile-condition-case): New function that dispatches depending
4135 on byte-compile--use-old-handlers.
4136 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4137 when we can.
4138
4139 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4140 Optimize under `condition-case' and `catch' if
4141 byte-compile--use-old-handlers is nil.
4142 (disassemble-offset): Handle new bytecodes.
4143
328a8179
SM
41442013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * subr.el (error): Use `declare'.
4147 (decode-char, encode-char): Use advertised-calling-convention instead
4148 of the docstring to discourage use of the `restriction' arg.
4149
15a1e936
DU
41502013-10-03 Daiki Ueno <ueno@gnu.org>
4151
4152 * epg.el (epg-verify-file): Add a comment saying that it does not
4153 notify verification error as a return value nor a signal.
4154 (epg-verify-string): Ditto.
4155
376f862a
KR
41562013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4157
4158 * progmodes/compile.el (compilation-start): Try globbing the arg to
4159 `cd' (bug#15417).
4160
a2f93a5f
MA
41612013-10-02 Michael Albinus <michael.albinus@gmx.de>
4162
4163 Sync with Tramp 2.2.8.
4164
4165 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4166 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4167 * net/trampver.el: Update release number.
4168
0daa0804
JD
41692013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4170
4171 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4172 and default-process-coding-system for darwin only.
4173
abd1ae34
SM
41742013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4177
be4e325d
MH
41782013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4179
4180 * vc/vc-git.el (vc-git-grep): Disable pager.
4181
e9155c4a
DG
41822013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4183
494e898b
DG
4184 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4185 Use :url instead of :homepage, as per
4186 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4187
e9155c4a
DG
4188 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4189 non-nil, use `syntax-ppss' (Bug#15251).
4190
481a8e0f
RS
41912013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4192
be4e325d
MH
4193 * progmodes/octave.el (inferior-octave-startup-file):
4194 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4195
056453c6
DG
41962013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4197
be4e325d
MH
4198 * emacs-lisp/package.el (package-desc-from-define):
4199 Accept additional arguments as plist, convert them to an alist and store
4200 them in the `extras' slot.
056453c6
DG
4201 (package-generate-description-file): Convert extras alist back to
4202 plist and append to the `define-package' form arguments.
4203 (package--alist-to-plist): New function.
4204 (package--ac-desc): Add `extras' slot.
4205 (package--add-to-archive-contents): Check if the archive-contents
4206 vector is long enough, and if it is, pass its `extras' slot value
4207 to `package-desc-create'.
4208 (package-buffer-info): Call `lm-homepage', pass the returned value
4209 to `package-desc-from-define'.
4210 (describe-package-1): Render the homepage button (Bug#13291).
4211
be4e325d
MH
4212 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4213 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4214
832966e5
JD
42152013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4216
4217 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4218 and default-process-coding-system to utf-8-unix (Bug#15402).
4219
6cfe977d
XF
42202013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4221
4222 * subr.el (looking-back): Do not recommend using looking-back.
4223
38de11bd
AM
42242013-09-28 Alan Mackenzie <acm@muc.de>
4225
4226 Fix indentation/fontification of Java enum with "implements".
4227
4228 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4229 regexp which matches "implements", etc., in Java.
4230 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4231 specifier clauses coming after "enum".
4232 * progmodes/cc-fonts.el (c-font-lock-declarations)
4233 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4234 after "enum".
4235
1610938f
JD
42362013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4237
4238 * faces.el (region): Change ns_selection_color to
4239 ns_selection_fg_color, add ns_selection_bg_color.
4240
e090f499
LL
42412013-09-28 Leo Liu <sdl.web@gmail.com>
4242
4d2e94d1
LL
4243 * progmodes/octave.el (inferior-octave-completion-table)
4244 (inferior-octave-completion-at-point): Minor tweaks.
4245
e090f499
LL
4246 * textmodes/ispell.el (ispell-lookup-words): Rename from
4247 lookup-words. (Bug#15460)
4248 (lookup-words): Obsolete.
4249 (ispell-complete-word, ispell-command-loop): All uses changed.
4250
7e138a62
RS
42512013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4252
a12bf61e 4253 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4254 (octave-mode-menu): Add octave-send-buffer.
4255 (octave-send-buffer): New function.
4256
5af5ed08
RS
42572013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4258
a12bf61e 4259 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4260 octave-lookfor.
4261 (octave-mode-menu): Add octave-lookfor.
4262 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4263 octave-lookfor.
4264 (octave-lookfor): New function.
4265
3b7b2692
SM
42662013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4267
4268 * emacs-lisp/cl-macs.el:
4269 (cl--loop-destr-temps): Remove.
4270 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4271 its convention.
4272 (cl--loop-set-iterator-function): New function.
4273 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4274 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4275 Bind `it' with `let' instead of substituting it with `cl-subst'.
4276 (cl--unused-var-p): New function.
4277 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4278 Eliminate some unused variable warnings (bug#15326).
4279
529fb53f
TH
42802013-09-27 Tassilo Horn <tsdh@gnu.org>
4281
4282 * doc-view.el (doc-view-scale-reset): Rename from
4283 `doc-view-reset-zoom-level'.
4284 (doc-view-scale-adjust): New command.
4285 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4286 `doc-view-scale-adjust'.
4287
0550c95a
TH
42882013-09-26 Tassilo Horn <tsdh@gnu.org>
4289
4290 * doc-view.el (doc-view-reset-zoom-level): New command.
4291 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4292 zoom commands (bug#15466).
4293
6950f152
KH
42942013-09-26 Kenichi Handa <handa@gnu.org>
4295
4296 * international/quail.el (quail-help): Make it not a command.
4297
39587580
LL
42982013-09-26 Leo Liu <sdl.web@gmail.com>
4299
4300 * minibuffer.el (completion-all-sorted-completions): Make args
4301 optional as they are.
4302
00578659
DC
43032013-09-25 Daniel Colascione <dancol@dancol.org>
4304
4305 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4306 specs are and that they're not evaluated.
4307
0c173878
SS
43082013-09-24 Sam Steingold <sds@gnu.org>
4309
4310 * midnight.el (clean-buffer-list-kill-regexps)
4311 (clean-buffer-list-kill-buffer-names): Update for the new Man
4312 buffer naming which includes the object name.
4313
84998447
SM
43142013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4317 (eshell-parse-command, eshell-parse-pipeline): Use it since
4318 eshell-separate-commands requires a dynamic scoped var.
4319 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4320
33215353
LL
43212013-09-23 Leo Liu <sdl.web@gmail.com>
4322
4323 * autoinsert.el (auto-insert-alist): Make the value of
4324 lexical-binding match its file setting.
4325
57b16162
JB
43262013-09-23 Juanma Barranquero <lekktu@gmail.com>
4327
c8af4e67
JB
4328 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4329
57b16162
JB
4330 * autoarg.el (autoarg-kp-digit-argument):
4331 * electric.el (Electric-command-loop):
4332 * kmacro.el (kmacro-step-edit-insert):
4333 Do not set universal-argument-num-events.
4334
7186ba60
LL
43352013-09-22 Leo Liu <sdl.web@gmail.com>
4336
4337 * files.el (interpreter-mode-alist): Add octave.
4338
ece15004
AM
43392013-09-21 Alan Mackenzie <acm@muc.de>
4340
4341 C++: fontify identifier in declaration following "public:" correctly.
4342 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4343 to match "public", etc.
4344 (c-decl-prefix-re): Add ":" into the C++ value.
4345 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4346 bit. Add a check for a ":" preceded by "public", etc.
4347
75d83e22
EZ
43482013-09-21 Eli Zaretskii <eliz@gnu.org>
4349
4350 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4351 recognized by GDB 7.5 and later.
4352
d052d3bd
XF
43532013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4354
4355 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4356
31dca772
R
43572013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * subr.el (internal--call-interactively): New const.
4360 (called-interactively-p): Use it (bug#3984).
4361
98ccf24e
XF
43622013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4363
4364 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4365 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4366 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4367
c39cc7d1
SM
43682013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4371 (eshell-ls-orig-insert-directory): Remove.
4372 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4373 (eshell-ls-use-in-dired): Use advice-add/remove.
4374 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4375 Add `orig-fun' arg for use in :around advice.
4376 Make it check (redundantly) eshell-ls-use-in-dired.
4377
9a0289a2
GM
43782013-09-19 Glenn Morris <rgm@gnu.org>
4379
a2c501b8
GM
4380 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4381
c440407a
GM
4382 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4383
9a0289a2
GM
4384 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4385
85e05915
MA
43862013-09-19 Michael Albinus <michael.albinus@gmx.de>
4387
4388 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4389 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4390 (tramp-get-remote-python): New defuns.
4391 (tramp-get-remote-uid-with-perl)
4392 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4393 contributed by yary <not.com@gmail.com> (tiny change).
4394 (tramp-get-remote-uid-with-python)
4395 (tramp-get-remote-gid-with-python): New defuns. Python code
4396 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4397 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4398
ce503312
GM
43992013-09-19 Glenn Morris <rgm@gnu.org>
4400
f7544773
GM
4401 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4402
72fd2877
GM
4403 * eshell/em-unix.el (eshell-remove-entries):
4404 Rename argument to avoid name-clash with global `top-level'.
4405
336b5a56
GM
4406 * eshell/esh-proc.el (eshell-kill-process-function):
4407 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4408 (eshell-reset-after-proc): Remove unused arg `proc'.
4409
57a3a53d
GM
4410 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4411 (directory-files-and-attributes): Mark unused arg.
4412
3261d4af
GM
4413 * eshell/em-unix.el (eshell-remove-entries):
4414 Remove unused arg `path'. Update callers.
4415
8e51b5d0
GM
4416 * eshell/em-hist.el (eshell-hist-parse-arguments):
4417 Remove unused arg `silent'. Update callers.
4418
ce503312
GM
4419 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4420 Fix (f)boundp mix-up.
4421
4422 * eshell/em-smart.el (eshell-smart-scroll-window)
4423 (eshell-disable-after-change):
336b5a56 4424 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4425
ee3ce8a7
AM
44262013-09-18 Alan Mackenzie <acm@muc.de>
4427
4428 Fix fontification of type when followed by "const".
4429 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4430 "known" types from fontification.
4431
ec9177ba
GM
44322013-09-18 Glenn Morris <rgm@gnu.org>
4433
7bb3e768
GM
4434 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4435 (chart-face-list): Drop Emacsen without display-color-p.
4436
5148da15
GM
4437 * net/eww.el (libxml-parse-html-region): Declare.
4438 (eww-display-html): Explicit error if no libxml2 support.
4439
2f68e157
GM
4440 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4441
9019d095
GM
4442 * image.el (image-type-from-buffer, image-multi-frame-p):
4443 Remove --without-x warning/error.
67645389 4444
5f30349b 4445 * mouse.el (mouse-yank-primary):
45069b2e 4446 * term.el (term-mouse-paste):
5f30349b
GM
4447 Reorder to silence --without-x compilation.
4448
cd8edbbe
GM
4449 * mpc.el (doc-view-mode): Silence --without-x compilation.
4450
8a78544e
GM
4451 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4452 Silence --without-x compilation.
4453
12679bfd
GM
4454 * progmodes/gud.el (gud-find-file, gud-mode):
4455 Silence --without-x compilation.
4456 (tooltip-mode): Declare.
30810a05 4457
f0047cb9
GM
4458 * wdired.el (dired-backup-overwrite): Remove declaration.
4459 (wdired-mode-map): Add doc string.
4460
e740f9d2
GM
4461 * custom.el (x-get-resource): Declare.
4462
92d77c89
GM
4463 * eshell/em-glob.el (ange-cache):
4464 * eshell/em-unix.el (ange-cache): Declare.
4465
76e69577
GM
4466 * faces.el (x-display-list, x-open-connection, x-get-resource):
4467 Declare.
7e58af4b
GM
4468
4469 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4470 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4471 Declare.
76e69577 4472
4bd4c0af 4473 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4474
ffb82dbd
GM
4475 * net/gnutls.el (gnutls-log-level): Declare.
4476
986ed135
GM
4477 * net/shr.el (image-size, image-animate): Declare.
4478
e740f9d2
GM
4479 * simple.el (font-info): Declare.
4480
d2f3e9f8
GM
4481 * subr.el (x-popup-dialog): Declare.
4482
047a1a4c
GM
4483 * term/common-win.el (x-select-enable-primary)
4484 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4485 Declare.
4486
f4a1d572
GM
4487 * term/ns-win.el (x-handle-args): Declare.
4488
e843de77
GM
4489 * term/x-win.el (x-select-enable-clipboard): Declare.
4490
5fa89513
GM
4491 * term/w32-win.el (create-default-fontset): Declare.
4492
38702b5b
GM
4493 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4494 Declare.
4495
e740f9d2
GM
4496 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4497 (fit-frame-to-buffer): Explicit error if --without-x.
4498 (mouse-autoselect-window-select): Silence compiler.
4499
49a053fc
GM
4500 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4501
4502 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4503 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4504 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4505 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4506 Remove unused local variables.
4507
4508 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4509
ec9177ba
GM
4510 * textmodes/two-column.el: Make 2C-split work for --without-x.
4511 (scroll-bar-columns): Autoload.
4512 (top-level): Require fringe when compiling.
4513
9f25cb77
LL
45142013-09-18 Leo Liu <sdl.web@gmail.com>
4515
4516 * subr.el (add-hook): Robustify to handle closure as well.
4517
2b42da98
GM
45182013-09-17 Glenn Morris <rgm@gnu.org>
4519
4520 * simple.el (messages-buffer-mode-map): Unbind "g".
4521
e8b66a6a
SM
45222013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4523
9c0ad4f7
SM
4524 * help-mode.el (help-mode-finish): Use derived-mode-p.
4525 Remove obsolete highlighting.
4526
7a806dfb
SM
4527 * play/life.el (life-mode): Use define-derived-mode. Derive from
4528 special-mode.
4529 (life): Let-bind inhibit-read-only.
4530 (life-setup): Avoid `setq'. Use `life-mode'.
4531
96dbf5a8
SM
4532 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4533 which should not be needed any more.
4534 (package-menu-refresh, package-menu-describe-package): Use user-error.
4535
e8b66a6a
SM
4536 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4537 (eshell-post-rewrite-command-hook): Make obsolete.
4538 (eshell-parse-command): Simplify.
4539 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4540 (eshell--cmd): Declare.
4541 (eshell-parse-pipeline): Remove unused var `final-p'.
4542 Pass a dynvar to eshell-post-rewrite-command-hook.
4543 Implement the new eshell-post-rewrite-command-function.
4544 (eshell-invoke-directly): Remove unused arg `input'.
4545 * eshell/esh-io.el (eshell-io-initialize):
4546 Use eshell-post-rewrite-command-function (bug#15399).
4547 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4548 adjust to new calling convention.
4549 (eshell-create-handles): Rename args to avoid clashing with dynvar
4550 `standard-output'.
4551
90582f05
GM
45522013-09-17 Glenn Morris <rgm@gnu.org>
4553
4554 * simple.el (messages-buffer-mode): New major mode.
4555 (messages-buffer): New function.
4556 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4557 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4558 (ert-run-test): Use `messages-buffer' function.
90582f05 4559 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4560 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4561 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4562
39eb0cb5 45632013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4564
4565 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4566
1d42e5b6 4567 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4568
70568a90
SM
45692013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4570
504a0381
SM
4571 * icomplete.el (icomplete-in-buffer): New var.
4572 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4573 vars and replace them with functions.
4574 (icomplete-minibuffer-setup): Adjust accordingly.
4575 (icomplete--completion-table, icomplete--completion-predicate)
4576 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4577 New functions.
4578 (icomplete-forward-completions, icomplete-backward-completions)
4579 (icomplete-simple-completing-p, icomplete-exhibit)
4580 (icomplete-completions): Use them.
4581 (icomplete--in-region-buffer): New var.
4582 (icomplete--in-region-setup): New function.
4583 (icomplete-mode): Use it.
4584
70568a90
SM
4585 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4586 (bug#15379).
4587 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4588 return args and options.
4589 (eshell-eval-using-options): Use the new return value of
4590 eshell--do-opts to set the options's vars in their scope.
4591 (eshell--set-option): Rename from eshell-set-option.
4592 Add arg `opt-vals'.
4593 (eshell--process-option): Rename from eshell-process-option.
4594 Add arg `opt-vals'.
4595 (eshell--process-args): Use an `opt-vals' alist to store the options's
4596 values during their processing and return them additionally to the
4597 remaining args.
4598
578c21bc
DG
45992013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4600
4601 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4602 continuation character an operator, as far as indentation is
4603 concerned (Bug#15369).
4604
c089653d
MR
46052013-09-15 Martin Rudalics <rudalics@gmx.at>
4606
4607 * window.el (window--state-put-2): Don't process buffer state
4608 when buffer doesn't exist any more (Bug#15382).
4609
1e53bb4b
GM
46102013-09-15 Glenn Morris <rgm@gnu.org>
4611
30753242
GM
4612 * eshell/em-unix.el (eshell/rm):
4613 Make -f ignore missing files. (Bug#15373)
4614
1e53bb4b
GM
4615 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4616 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4617 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4618
0d8863b3
GM
46192013-09-14 Glenn Morris <rgm@gnu.org>
4620
4621 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4622
d3fc6549
GM
46232013-09-13 Glenn Morris <rgm@gnu.org>
4624
4625 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4626 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4627
fcd42c11
DA
46282013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4629
4630 * frame.el (x-focus-frame): Mark as declared in frame.c.
4631
7830899f
SM
46322013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * ls-lisp.el: Use advice-add.
4635 (original-insert-directory): Remove.
4636 (ls-lisp--insert-directory): Rename from insert-directory; add
4637 `orig-fun' argument.
4638 (insert-directory): Advise.
4639
84387cd2
EZ
46402013-09-13 Eli Zaretskii <eliz@gnu.org>
4641
4642 * term.el (term-emulate-terminal): Decode the command string
4643 before passing it to term-command-hook. (Bug#15337)
4644
35ffc6ba
GM
46452013-09-13 Glenn Morris <rgm@gnu.org>
4646
5c3f9bcc
GM
4647 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4648
2ada368a
GM
4649 * eshell/esh-ext.el (eshell-search-path): Declare.
4650
fcef2e13
GM
4651 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4652 Otherwise an error occurs if eshell-dirs module not loaded.
4653
35ffc6ba
GM
4654 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4655
35c3d36e
MA
46562013-09-13 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4659 `tramp-check-proper-host'. Check for a valid method name.
4660
4661 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4662 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4663 * net/tramp-sh.el (tramp-maybe-open-connection):
4664 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4665
4666 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4667 also for hash values.
4668
ae5e4c48
SM
46692013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4670
379add74
SM
4671 * term/ns-win.el (parameters): Don't declare as dynamic.
4672 (before-make-frame-hook): Don't add ineffective function.
4673
ae5e4c48
SM
4674 * eshell/*.el: Use lexical-binding (bug#15231).
4675
b5623270
KH
46762013-09-12 Kenichi Handa <handa@gnu.org>
4677
ae5e4c48 4678 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4679
30213927
GM
46802013-09-12 Glenn Morris <rgm@gnu.org>
4681
be94d713 4682 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4683 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4684
44915370
GM
4685 * subr.el (do-after-load-evaluation): Also give compiler warnings
4686 when obsolete files are used (except by obsolete files).
4687
a6ae021f
GM
4688 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4689 in the status output, assume `filename' is the first. (Bug#15322)
4690
40e64f0c
GM
4691 * vc/vc.el (vc-deduce-fileset): Doc fix.
4692
16d9f896
GM
4693 * calc/calc-help.el (Info-goto-node):
4694 * progmodes/cperl-mode.el (Info-find-node):
4695 * vc/ediff.el (Info-goto-node): Update declarations.
4696
dea01c6e
GM
4697 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4698
759880bf 4699 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4700 (vc-bzr-pull): Require vc-dispatcher.
4701 * vc/vc-git.el (vc-compilation-mode): Declare.
4702 (vc-git-pull): Require vc-dispatcher.
4703
08d66420
GM
4704 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4705
30b626e9
GM
4706 * progmodes/octave.el (help-button-action): Declare.
4707
8c05cb10
GM
4708 * shell.el (shell-directory-tracker): Output error as a message
4709 rather than just returning it as a string.
4710 (shell-process-pushd): Remove useless use of message.
4711
30213927
GM
4712 * dframe.el (dframe-timer-fn):
4713 * files.el (dir-locals-read-from-file):
4714 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4715 (mpc-format):
4716 * reveal.el (reveal-post-command):
4717 * saveplace.el (load-save-place-alist-from-file):
4718 * shell.el (shell-resync-dirs):
4719 * w32-common-fns.el (x-get-selection-value):
4720 * emacs-lisp/copyright.el (copyright-find-copyright):
4721 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4722 * emulation/tpu-edt.el (tpu-copy-keyfile):
4723 * play/bubbles.el (bubbles--mark-neighbourhood):
4724 * progmodes/executable.el
4725 (executable-make-buffer-file-executable-if-script-p):
4726 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4727
d3b049e6
SM
47282013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4729
170266d0
SM
4730 Cleanup Eshell to rely less on dynamic scoping.
4731 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4732 last-value, and ext-command here. Bind `args' closer to `body'.
4733 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4734 (eshell--args): Declare new dynamic var.
4735 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4736 last-value, and ext-command. Pass `args' to `body'.
4737 (eshell-process-args): Bind eshell--args.
4738 (eshell-set-option): Use eshell--args.
4739 * eshell/eshell.el (eshell): Use derived-mode-p.
4740 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4741 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4742 (eshell-glob-function): Declare.
4743 * eshell/esh-util.el: Require cl-lib.
4744 (eshell-read-hosts-file): Avoid add-to-list.
4745 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4746 `err'.
4747 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4748 Declare.
4749 (eshell/diff): Remove unused var `err'.
4750 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4751 `killflag'.
4752 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4753 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4754 first use.
4755 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4756 Move declaration before first use.
4757 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4758 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4759 rely on cl-return.
4760
56834f3b
GM
47612013-09-12 Glenn Morris <rgm@gnu.org>
4762
4763 * term/ns-win.el (global-map): Remove binding for ispell-next,
4764 deleted 1999-05-29. (Bug#15357)
4765
5c91a2b8
GM
47662013-09-11 Glenn Morris <rgm@gnu.org>
4767
da712f22
GM
4768 * echistory.el (electric-command-history): Remove call to deleted func.
4769
512e4cdc
GM
4770 * play/landmark.el (landmark-mode): Fix typos.
4771
d3506ca5
GM
4772 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4773 Check cvs-sort-ignore-file is bound.
4774
5c91a2b8
GM
4775 * savehist.el: No need for cl when compiling on Emacs.
4776
feeff482
SM
47772013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4778
656bd483
SM
4779 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4780 (bug#15338).
d3b049e6
SM
4781 (eshell-self-insert-command, eshell-send-invisible):
4782 Remove unused argument.
656bd483
SM
4783 (eshell-handle-control-codes): Remove unused var `orig'.
4784 Avoid delete-backward-char.
4785
feeff482
SM
4786 * files.el (set-auto-mode): Simplify a bit further.
4787
2a08047a
GM
47882013-09-11 Glenn Morris <rgm@gnu.org>
4789
4790 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4791 (set-auto-mode): Don't regexp-quote elements.
4792 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4793 * progmodes/cc-mode.el (interpreter-mode-alist):
4794 * progmodes/ruby-mode.el (interpreter-mode-alist):
4795 Revert previous change.
4796
34675540
SM
47972013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4798
1b3b87df
SM
4799 * play/snake.el (snake-mode):
4800 * play/mpuz.el (mpuz-mode):
4801 * play/landmark.el (lm-mode):
4802 * play/blackbox.el (blackbox-mode):
4803 * play/5x5.el (5x5-mode):
4804 * obsolete/options.el (Edit-options-mode):
4805 * net/quickurl.el (quickurl-list-mode):
4806 * net/newst-treeview.el (newsticker-treeview-mode):
4807 * mail/rmailsum.el (rmail-summary-mode):
4808 * mail/mspools.el (mspools-mode):
4809 * locate.el (locate-mode):
4810 * ibuffer.el (ibuffer-mode):
4811 * emulation/ws-mode.el (wordstar-mode):
4812 * emacs-lisp/debug.el (debugger-mode):
4813 * array.el (array-mode):
4814 * net/eudc.el (eudc-mode): Use define-derived-mode.
4815 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4816 Move initialization into declaration.
4817 (mairix-searches-mode): Use define-derived-mode.
4818 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4819 (eudc-edit-hotlist): Use dolist.
4820 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4821 (Man-mode): Use define-derived-mode.
4822 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4823 (Info-edit-mode): Use define-derived-mode.
4824 (Info-cease-edit): Use Info-mode.
4825 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4826 into declaration.
4827 (eshell-mode): Use define-derived-mode.
4828 * chistory.el (command-history-mode-map): Rename from
4829 command-history-map.
4830 (command-history-mode): Use define-derived-mode.
da712f22 4831 (Command-history-setup): Remove function.
1b3b87df
SM
4832 * calc/calc.el (calc-trail-mode-map): New var.
4833 (calc-trail-mode): Use define-derived-mode.
4834 (calc-trail-buffer): Set calc-main-buffer manually.
4835 * bookmark.el (bookmark-insert-annotation): New function.
4836 (bookmark-edit-annotation): Use it.
4837 (bookmark-edit-annotation-mode): Make it a proper major mode.
4838 (bookmark-send-edited-annotation): Use derived-mode-p.
4839 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4840 closer to its ideal place. Use \' to match EOS.
4841
34675540
SM
4842 * profiler.el (profiler-calltree-find): Use function-equal.
4843
6a5c15d9
GM
48442013-09-10 Glenn Morris <rgm@gnu.org>
4845
1af4c220
GM
4846 * files.el (interpreter-mode-alist): Convert to regexps.
4847 (set-auto-mode): Adapt for this. (Bug#15306)
4848 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4849 Comment out unused variable.
4850 * progmodes/cc-mode.el (interpreter-mode-alist):
4851 * progmodes/python.el (interpreter-mode-alist):
4852 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4853 * progmodes/sh-script.el (sh-set-shell):
4854 No longer use interpreter-mode-alist to get list of shells.
4855
6a5c15d9
GM
4856 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4857
8c27f5ff
SM
48582013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4859
02ef6c1a 4860 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4861 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4862 Bind switch-frame explicitly. Replace universal-argument-minus with
4863 a conditional binding.
4864 (universal-argument-num-events, saved-overriding-map): Remove.
4865 (restore-overriding-map): Remove.
4866 (universal-argument--mode): Rename from save&set-overriding-map,
4867 and rewrite.
4868 (universal-argument, universal-argument-more, negative-argument)
4869 (digit-argument): Adjust accordingly.
4870 (universal-argument-minus): Remove.
4871 (universal-argument-other-key): Remove.
4872
8c27f5ff
SM
4873 * subr.el (with-demoted-errors): Add `format' argument.
4874
6480194c
MA
48752013-09-10 Michael Albinus <michael.albinus@gmx.de>
4876
4877 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4878 `tramp-cleanup-connection'.
4879
4880 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4881 parameters KEEP-DEBUG and KEEP-PASSWORD.
4882
4883 * net/tramp.el (tramp-file-name-handler):
4884 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4885 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4886 (tramp-maybe-open-connection):
8c27f5ff
SM
4887 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4888 Use `tramp-cleanup-connection'.
6480194c 4889
8c27f5ff
SM
4890 * net/tramp-sh.el (tramp-maybe-open-connection):
4891 Catch 'uname-changed inside the progress reporter.
6480194c 4892
e5e916d8
GM
48932013-09-10 Glenn Morris <rgm@gnu.org>
4894
9a2c9b47
GM
4895 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4896
e5e916d8
GM
4897 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4898 returns "alternate access method" in mode (eg "-rw-r--r--.").
4899
144e38fe
GM
49002013-09-08 Glenn Morris <rgm@gnu.org>
4901
4902 * saveplace.el (load-save-place-alist-from-file):
4903 Demote errors. (Bug#15305)
4904
af9ff9e8
MA
49052013-09-08 Michael Albinus <michael.albinus@gmx.de>
4906
4907 Improve compatibility with older Emacsen, and XEmacs.
4908
4909 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4910 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4911 (with-tramp-progress-reporter): Do not let-bind `result'.
4912 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4913 (tramp-handle-make-auto-save-file-name): New function, moved from
4914 tramp-sh.el.
4915
4916 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4917 for `make-auto-save-file-name'.
8c27f5ff
SM
4918 (tramp-adb--gnu-switches-to-ash):
4919 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4920
4921 * net/tramp-cache.el (tramp-cache-print): Call
4922 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4923
4924 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4925 bound. It isn't for XEmacs.
4926
8c27f5ff
SM
4927 * net/tramp-compat.el (tramp-compat-copy-file):
4928 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4929 (tramp-compat-replace-regexp-in-string): New defun.
4930
4931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4932 for `make-auto-save-file-name'.
4933 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4934 `copy-file'.
4935 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4936 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4937 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4938
8c27f5ff
SM
4939 * net/tramp-gw.el (tramp-gw-open-network-stream):
4940 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4941
8c27f5ff
SM
4942 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4943 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4944 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4945 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4946 (tramp-sh-file-inotifywait-process-filter):
4947 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4948 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4949
4950 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4951 for `make-auto-save-file-name'.
8c27f5ff
SM
4952 (tramp-smb-handle-copy-directory):
4953 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4954 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4955 (tramp-smb-handle-copy-file): Improve error message.
4956 (tramp-smb-handle-rename-file): Rename directly only in case
4957 `newname' does not exist yet. This is a restriction of smbclient.
4958 (tramp-smb-maybe-open-connection): Rerun the function only when
4959 `auth-sources' is non-nil.
4960
0ca754d0
KH
49612013-09-08 Kenichi Handa <handa@gnu.org>
4962
e0eb0550 4963 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4964 more characters.
4965
e8dd0787
AM
49662013-09-07 Alan Mackenzie <acm@muc.de>
4967
4968 Correctly fontify Java class constructors.
4969 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4970 in Java Mode.
4971 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4972 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4973 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4974 "typeless" declaration there.
4975
f2f248e7
RW
49762013-09-07 Roland Winkler <winkler@gnu.org>
4977
4978 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4979 field subtitle for entry type book.
4980
67982e2b
SM
49812013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * minibuffer.el: Make minibuffer-complete call completion-in-region
4984 rather than other way around.
4985 (completion--some, completion-pcm--find-all-completions):
4986 Don't delay signals when debugging.
4987 (minibuffer-completion-contents): Beware fields within the
4988 minibuffer contents.
4989 (completion-all-sorted-completions): Use defvar-local.
4990 (completion--do-completion, completion--cache-all-sorted-completions)
4991 (completion-all-sorted-completions, minibuffer-force-complete):
4992 Add args `beg' and `end'.
4993 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4994 (minibuffer-complete): Use completion-in-region.
4995 (completion-complete-and-exit): New fun, extracted from
4996 minibuffer-complete-and-exit.
4997 (minibuffer-complete-and-exit): Use it.
4998 (completion--complete-and-exit): Rename from
4999 minibuffer--complete-and-exit.
5000 (completion-in-region--single-word): New function, extracted from
5001 minibuffer-complete-word.
5002 (minibuffer-complete-word): Use it.
5003 (display-completion-list): Make `common-substring' argument obsolete.
5004 (completion--in-region): Call completion--in-region-1 instead of
5005 minibuffer-complete.
5006 (completion-help-at-point): Pass boundaries to
5007 minibuffer-completion-help as args rather than via an overlay.
5008 (completion-pcm--string->pattern): Use `any-delim'.
5009 (completion-pcm--optimize-pattern): New function.
5010 (completion-pcm--pattern->regex): Handle `any-delim'.
5011 * icomplete.el (icomplete-forward-completions)
5012 (icomplete-backward-completions, icomplete-completions):
5013 Adjust calls to completion-all-sorted-completions and
5014 completion--cache-all-sorted-completions.
5015 (icomplete-with-completion-tables): Default to t.
5016 * emacs-lisp/crm.el (crm--current-element): Rename from
5017 crm--select-current-element. Don't put an overlay but return the
5018 boundaries instead.
5019 (crm--completion-command): Take two new args to bind to the boundaries.
5020 (crm-completion-help): Adjust accordingly.
5021 (crm-complete): Use completion-in-region.
5022 (crm-complete-word): Use completion-in-region--single-word.
5023 (crm-complete-and-exit): Use completion-complete-and-exit.
5024
e17d94a5
SM
50252013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5028 than dynamically.
5029
96727100
JL
50302013-09-06 Juri Linkov <juri@jurta.org>
5031
5032 * info.el (Info-display-images-node): When image file doesn't exist
5033 display text version of the image if it's provided in the Info file.
5034 Otherwise, display the location of missing image from SRC attribute.
5035 Add help-echo text property from ALT attribute. (Bug#15279)
5036
86cf7329
SM
50372013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5040 (edit-abbrevs-mode): Use define-derived-mode.
5041
5042 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5043 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5044 that it's defined.
5045 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5046 Use define-derived-mode.
5047
5048 * epg.el (epg-start-encrypt): Minor CSE simplification.
5049
816244a2
WX
50502013-09-06 William Xu <william.xwl@gmail.com>
5051
5052 * arc-mode.el: Add support for 7za (bug#15264).
5053 (archive-7z-program): New var.
5054 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5055 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5056 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5057
1486fa31
MA
50582013-09-06 Michael Albinus <michael.albinus@gmx.de>
5059
5060 Remove URL syntax.
5061
5062 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5063 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5064 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5065 (tramp-postfix-host-format, tramp-file-name-regexp)
5066 (tramp-completion-file-name-regexp)
5067 (tramp-completion-dissect-file-name)
5068 (tramp-handle-substitute-in-file-name): Remove 'url case.
5069 (tramp-file-name-regexp-url)
5070 (tramp-completion-file-name-regexp-url): Remove constants.
5071
39785324
GM
50722013-09-06 Glenn Morris <rgm@gnu.org>
5073
5074 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5075
1f896cb7
DG
50762013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5077
5078 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5079 keywords" below "here-doc beginnings" (Bug#15270).
5080
c0458e0b
SM
50812013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * subr.el (pop): Use `car-safe'.
5084 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5085 to detect unused `pop' return value.
5086
5087 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5088 var `block-regexp'.
5089 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5090 (python-fill-string): Remove unused var `marker'.
5091 (python-skeleton-add-menu-items): Remove unused var `items'.
5092
5093 * international/mule-cmds.el: Require CL.
5094 (find-coding-systems-for-charsets): Avoid add-to-list.
5095 (sanitize-coding-system-list): New function, extracted from
5096 select-safe-coding-system-interactively.
5097 (select-safe-coding-system-interactively): Use it.
5098 (read-input-method-name): Accept symbols for `default'.
5099
5100 * emacs-lisp/advice.el (defadvice): Add indent rule.
5101
6c42fc3e
DH
51022013-09-05 Daniel Hackney <dan@haxney.org>
5103
5104 * dired-x.el:
5105 * net/ange-ftp.el:
5106 * net/browse-url.el:
5107 * net/dbus.el:
5108 * net/eudc.el:
5109 * net/eudcb-ldap.el:
5110 * net/eww.el:
5111 * net/imap.el:
5112 * printing.el:
5113 * vc/ediff-diff.el:
5114 * vc/ediff-init.el:
5115 * vc/ediff-merg.el:
5116 * vc/ediff-mult.el:
5117 * vc/ediff-util.el:
5118 * vc/ediff-wind.el:
5119 * vc/ediff.el:
5120 * vc/emerge.el:
5121 * vc/pcvs.el:
5122 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5123 byte compiler. Remove some unused let-bound variables.
5124
4c528aab
SM
51252013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5128 a "ref-cell", since it gets better optimized (bug#14883).
5129
bd15c390
GM
51302013-09-05 Glenn Morris <rgm@gnu.org>
5131
5132 * progmodes/cc-awk.el (c-forward-sws): Declare.
5133
1c3ac2e5
GM
51342013-09-04 Glenn Morris <rgm@gnu.org>
5135
5136 * generic-x.el [rul-generic-mode]: Require cc-mode.
5137 (c++-mode-syntax-table): Declare.
5138 (rul-generic-mode-syntax-table): Init in the defvar.
5139
52b1cc79
SM
51402013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5141
c828af56
SM
5142 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5143 (vc-do-command, vc-set-async-update):
5144 * vc/vc-mtn.el (vc-mtn-dir-status):
5145 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5146 (vc-hg-pull, vc-hg-merge-branch):
5147 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5148 (vc-git-merge-branch):
5149 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5150 (vc-cvs-dir-status-files):
5151 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5152 (vc-bzr-dir-status-files):
5153 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5154 * vc/vc-annotate.el: Use lexical-binding.
5155 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5156 (vc-sentinel-movepoint): Declare.
5157 (vc-annotate): Don't use `goto-line'.
5158 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5159 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5160 (vc-sentinel-movepoint): Declare.
5161 * vc/vc-svn.el: Use lexical-binding.
5162 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5163 * vc/vc-sccs.el:
5164 * vc/vc-rcs.el: Use lexical-binding.
5165
abae272c
SM
5166 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5167 `deleted'. Don't drop errors silently.
5168
52b1cc79
SM
5169 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5170
63191d9f
XF
51712013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5172
5173 * vc/vc.el (vc-ignore): Rewrite.
5174 (vc-default-ignore): New function.
5175 (vc-default-ignore-completion-table): Use find-ignore-file.
5176
5177 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5178 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5179 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5180 Remove. Most code moved to vc.el.
5181
9d3f707c
SM
51822013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5183
abae272c 5184 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5185 * net/tramp-smb.el (tramp-smb-get-file-entries):
5186 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5187 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5188
fde38d49
SM
5189 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5190 Update call to it.
5191 (eww-change-select): Remove unused var `properties'.
5192 (eww-make-unique-file-name): Remove unused var `base'.
5193
5194 * finder.el (finder-compile-keywords): Don't mess with windows.
5195
84032db7
SM
5196 * calculator.el (calculator-funcall): Fix typo in last change.
5197
724f5e41
SM
5198 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5199
14b511d4
SM
5200 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5201 <pkg>-autoloads.el file stop us.
5202
9d3f707c 5203 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5204 warnings, and factor out common code.
9d3f707c 5205
88527bc0
DG
52062013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5207
5208 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5209 two-character operators and whether the character preceding them
5210 changes their meaning (Bug#15208).
5211
96edb677
FEG
52122013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5213
5214 Format code sent to Python shell for robustness.
9d3f707c
SM
5215 * progmodes/python.el (python-shell-buffer-substring):
5216 New function.
96edb677
FEG
5217 (python-shell-send-region, python-shell-send-buffer): Use it.
5218
95beaef3
MA
52192013-09-02 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5222 * net/tramp.el (tramp-user-error): ... here.
5223 (tramp-find-method, tramp-check-proper-host)
5224 (tramp-dissect-file-name, tramp-debug-message)
5225 (tramp-handle-shell-command):
5226 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5227 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5228
5229 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5230
f167c27b
MR
52312013-09-02 Martin Rudalics <rudalics@gmx.at>
5232
5233 * avoid.el (mouse-avoidance-point-position)
5234 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5235 returns nil.
5236
cd16c5f1
FEG
52372013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5238
5239 * progmodes/python.el (python-shell-completion-get-completions):
5240 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5241 (python-nav-if-name-main): New command.
cd16c5f1 5242
e73c3a0d
GM
52432013-09-01 Glenn Morris <rgm@gnu.org>
5244
f8ccce03
GM
5245 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5246 Avoid leading space in $wins. Otherwise the sed command used by
5247 eg compile-main ends up containing "/*.el". (Bug#15170)
5248
e73c3a0d
GM
5249 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5250
415f808e
GM
52512013-08-30 Glenn Morris <rgm@gnu.org>
5252
5253 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5254 Fix is-this-a-directory logic. (Bug#15220)
5255
f069bba8
SM
52562013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5257
112798c1
SM
5258 * textmodes/css-mode.el: Use SMIE.
5259 (css-smie-grammar): New var.
5260 (css-smie--forward-token, css-smie--backward-token)
5261 (css-smie-rules): New functions.
5262 (css-mode): Use them.
5263 (css-navigation-syntax-table): Remove var.
5264 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5265 (css-indent-calculate, css-indent-line): Remove functions.
5266
5267 Misc changes to reduce use of `(lambda...); and other cleanups.
5268 * cus-edit.el: Use lexical-binding.
5269 (customize-push-and-save, customize-apropos)
5270 (custom-buffer-create-internal): Use closures.
5271 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5272 * progmodes/ada-xref.el: Use setq.
5273 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5274 * dframe.el: Use lexical-binding.
5275 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5276 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5277 * descr-text.el: Use lexical-binding.
5278 (describe-text-widget, describe-text-sexp, describe-property-list):
5279 Use closures.
5280 * comint.el (comint-history-isearch-push-state): Use a closure.
5281 * calculator.el: Use lexical-binding.
5282 (calculator-number-to-string): Make it work with lexical-binding.
5283 (calculator-funcall): Same and use cl-letf.
5284
2da4c3ab
SM
5285 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5286 (lisp--company-doc-string, lisp--company-location): New functions.
5287 (lisp-completion-at-point): Use them to improve Company support.
5288
f069bba8
SM
5289 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5290 params of lambda expressions.
5291 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5292 (ruby-smie--opening-pipe-p): New function.
5293 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5294 symbols and matched |...| for formal params.
5295 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5296 from being treated as hanging. Handle "rescue".
5297
6758b6a8
GM
52982013-08-29 Glenn Morris <rgm@gnu.org>
5299
5300 * progmodes/cc-engine.el (c-pull-open-brace):
5301 Move definition before use.
5302
e8dfd197
SM
53032013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5306 are immutable. Don't use `unsafe' any more.
5307 (cl--defsubst-expand): Don't substitute at the same time as keeping
5308 a residual unused let-binding. Don't use `unsafe' any more.
5309
cc585c96
GM
53102013-08-29 Glenn Morris <rgm@gnu.org>
5311
ba579ea6
GM
5312 * calendar/cal-china.el (calendar-chinese-year-cache):
5313 Recenter on 2015.
5314
8201a87e
GM
5315 * nxml/nxml-util.el (nxml-debug-clear-inside):
5316 Use cl-loop rather than loop.
5317
6ee877c7
GM
5318 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5319
cc585c96
GM
5320 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5321
27be8d39
GM
53222013-08-28 Glenn Morris <rgm@gnu.org>
5323
397440a1
GM
5324 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5325
2bb762d4
GM
5326 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5327
27be8d39
GM
5328 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5329
2d69b99e
SM
53302013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5331
f663baa7
SM
5332 * simple.el (repeat-complex-command--called-interactively-skip):
5333 New function.
5334 (repeat-complex-command): Use it (bug#14136).
5335
dd4f8b74
SM
5336 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5337 (c-define-abbrev-table): Add `doc' argument.
5338 (c-mode-abbrev-table, c++-mode-abbrev-table)
5339 (objc-mode-abbrev-table, java-mode-abbrev-table)
5340 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5341 (awk-mode-abbrev-table): Use it.
5342 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5343 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5344 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5345 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5346 Move initialization into the declaration; and remove any
5347 autoload cookie.
5348
b58969f7
SM
5349 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5350 and dynamic let binding.
5351
4021d6a6
SM
5352 * vc/smerge-mode.el: Remove redundant :group args.
5353
2d69b99e
SM
5354 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5355 to load-path.
5356
274919fd
JL
53572013-08-28 Juri Linkov <juri@jurta.org>
5358
5359 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5360 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5361 (isearch-other-meta-char): Handle an undefined shifted printing
5362 character by downshifting it. (Bug#15200)
5363
121f8c95
JL
53642013-08-28 Juri Linkov <juri@jurta.org>
5365
5366 * isearch.el (isearch-search): Change regexp error message for
5367 non-regexp searches. (Bug#15166)
5368
50b13cde
PE
53692013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5370
5371 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5372 for portability to hosts where /bin/sh has problems.
5373
95888bca
SM
53742013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5377
bbe558f1
JL
53782013-08-27 Juri Linkov <juri@jurta.org>
5379
5380 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5381 in the keyboard macro. (Bug#15126)
5382
26f98a7d
JL
53832013-08-27 Juri Linkov <juri@jurta.org>
5384
5385 * isearch.el (isearch-quote-char): Comment out converting unibyte
5386 to multibyte, thus syncing with its `quoted-insert' counterpart.
5387 (Bug#15166)
5388
7c97d35e
MR
53892013-08-27 Martin Rudalics <rudalics@gmx.at>
5390
5391 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5392 argument in call of get-largest-window (Bug#15185).
5393 Reported by Stephen Leake.
7c97d35e 5394
a0b5606e 53952013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5396
5397 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5398
9e89d835
SM
53992013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5402 from a matcher-function unless there's no more matches (bug#15161).
5403
78fc2530
MA
54042013-08-26 Michael Albinus <michael.albinus@gmx.de>
5405
5406 * minibuffer.el: Revert change from 2013-08-20.
5407
5408 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5409 with text property `tramp-default', if appropriate.
5410 (tramp-check-proper-host): New defun.
5411 (tramp-dissect-file-name): Do not check hostname. Revert change
5412 of 2013-03-18.
5413 (tramp-backtrace): Make VEC-OR-PROC optional.
5414
5415 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5416 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5417 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5418 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5419 Apply `tramp-check-proper-host'.
78fc2530 5420
edca97cd
TH
54212013-08-26 Tassilo Horn <tsdh@gnu.org>
5422
5423 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5424 lambda expression in order to have `describe-variable' display it.
5425
df54bcbd
MA
54262013-08-26 Michael Albinus <michael.albinus@gmx.de>
5427
5428 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5429 BUF can be optional. (Bug#15186)
5430
eed99101
XF
54312013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5432
5433 * progmodes/flymake.el (flymake-get-real-file-name-function):
5434 Fix broken customization. (Bug#15184)
5435
b5eb9035
AM
54362013-08-25 Alan Mackenzie <acm@muc.de>
5437
8a51e842
AM
5438 Improve indentation of bracelists defined by macros (without "=").
5439
5440 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5441 expansion begins with "{", regard it as bracelist when it doesn't
5442 contain a ";".
5443
869455d4
AM
5444 Parse C++ inher-intro when there's a template split over 2 lines.
5445
5446 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5447 rigorously the search for "class" etc. followed by ":".
5448
5449 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5450 random languages a regexp which never matches rather than nil.
5451
b5eb9035
AM
5452 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5453
5454 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5455 (c-awk-regexp-one-line-possibly-open-char-list-re)
5456 (c-awk-one-line-possibly-open-regexp-re)
5457 (c-awk-one-line-non-syn-ws*-re): Remove.
5458 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5459 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5460 (c-awk-space*-unclosed-regexp-/-re): New constants.
5461 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5462 aren't regexp delimiters.
5463
5464 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5465 handling for a rare situation in AWK Mode involving unterminated
5466 strings/regexps.
5467
61611d54
GM
54682013-08-23 Glenn Morris <rgm@gnu.org>
5469
2d85dc34
GM
5470 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5471
cb8d2612
GM
5472 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5473
bb35f42f
GM
5474 * files.el (create-file-buffer): If the result would begin with
5475 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5476
b9808e77
SM
54772013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5478
e3a66363
SM
5479 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5480 text-properties (bug#15155).
5481
b9808e77
SM
5482 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5483 exist any more.
5484 (calc-keypad-redraw): Remove unused var `pad'.
5485 (calc-keypad-press): Remove unused var `menu'.
5486
7fd5f65e
MR
54872013-08-23 Martin Rudalics <rudalics@gmx.at>
5488
b9808e77
SM
5489 * window.el (display-buffer-pop-up-frame):
5490 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5491 use it as the new frame's buffer (Bug#15133).
5492
8352b530
SM
54932013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * calendar/timeclock.el: Minor cleanups.
5496 (timeclock-ask-before-exiting, timeclock-use-display-time):
5497 Use `symbol'.
5498 (timeclock-modeline-display): Define as alias before the
5499 actual definition.
5500 (timeclock-mode-line-display): Use define-minor-mode.
5501 (timeclock-day-list-template): Make it a function, add an argument.
5502 (timeclock-day-list-required, timeclock-day-list-length)
5503 (timeclock-day-list-debt, timeclock-day-list-span)
5504 (timeclock-day-list-break): Adjust calls accordingly.
5505
9f7b1925
SM
55062013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5509 Use read--expression so that completion works again.
5510
6e50e983
SS
55112013-08-21 Sam Steingold <sds@gnu.org>
5512
5513 Add rudimentary inferior shell interaction
5514 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5515 (sh-set-shell): Reset it.
9f7b1925
SM
5516 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5517 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5518
dbb0d350
SM
55192013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * align.el: Use lexical-binding.
5522 (align-region): Simplify accordingly.
5523
c88586a9
MA
55242013-08-20 Michael Albinus <michael.albinus@gmx.de>
5525
5526 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5527
5528 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5529 `non-essential' up.
5530
f95527c8
MA
55312013-08-17 Michael Albinus <michael.albinus@gmx.de>
5532
5533 * net/tramp.el:
5534 * net/tramp-adb.el:
5535 * net/tramp-cmds.el:
5536 * net/tramp-ftp.el:
5537 * net/tramp-gvfs.el:
5538 * net/tramp-gw.el:
5539 * net/tramp-sh.el: Don't wrap external variable declarations by
5540 `eval-when-compile'.
5541
4b5fe4ee
LMI
55422013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5543
5544 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5545 now that Emacs supports ImageMagick animations.
5546
13c366c9
MA
55472013-08-16 Michael Albinus <michael.albinus@gmx.de>
5548
5549 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5550 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5551
3dfc5cd6
MR
55522013-08-16 Martin Rudalics <rudalics@gmx.at>
5553
5554 * window.el (mouse-autoselect-window-select): Do autoselect when
5555 mouse pointer is on margin.
5556
4bbb4381
WP
55572013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5558
5559 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5560
3a2ddc2d
GM
55612013-08-16 Glenn Morris <rgm@gnu.org>
5562
e8bedf5a
GM
5563 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5564 Handle "Remote Directory" response of some clients. (Bug#15058)
5565
58c4682f
GM
5566 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5567 Tweak warning. (Bug#14926)
5568
57953f49
GM
5569 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5570 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5571
3a2ddc2d
GM
5572 * image-mode.el (image-mode-map): Add menu items to reverse,
5573 increase, decrease, reset animation speed.
5574 (image--set-speed, image-increase-speed, image-decrease-speed)
5575 (image-reverse-speed, image-reset-speed): New functions.
5576 (image-mode-map): Add bindings for speed commands.
5577
5578 * image.el (image-animate-get-speed, image-animate-set-speed):
5579 New functions.
5580 (image-animate-timeout): Respect image :speed property.
5581
10fa0ed3
SM
55822013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5585 previous line (bug#15101).
5586 (debugger-eval-expression, debugger-record-expression):
5587 Use read--expression (bug#15102).
5588
5d89d9d2
MA
55892013-08-15 Michael Albinus <michael.albinus@gmx.de>
5590
5591 Remove byte compiler warnings, visible when compiling with
5592 `byte-compile-force-lexical-warnings' set to t.
5593
5594 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5595 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5596 (tramp-handle-unhandled-file-name-directory)
5597 (tramp-handle-file-notify-add-watch, tramp-action-login)
5598 (tramp-action-succeed, tramp-action-permission-denied)
5599 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5600 arguments with "_".
5601
5602 * net/tramp-adb.el (tramp-adb-parse-device-names)
5603 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5604 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5605 (tramp-adb-handle-file-truename): Remove unused arguments.
5606
5607 * net/tramp-cache.el (tramp-flush-directory-property)
5608 (tramp-flush-connection-property, tramp-list-connections)
5609 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5610
10fa0ed3
SM
5611 * net/tramp-compat.el (tramp-compat-make-temp-file):
5612 Rename FILENAME to F.
5d89d9d2
MA
5613
5614 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5615 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5616 (tramp-zeroconf-parse-workstation-device-names)
5617 (tramp-zeroconf-parse-webdav-device-names)
5618 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5619
5620 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5621 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5622
5623 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5624 arguments.
5625 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5626 (tramp-sh-handle-insert-file-contents-literally)
5627 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5628 with "_".
5629 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5630 Remove unused variables.
5631
5632 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5633 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5634 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5635
5636 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5637 Make them a defconst.
5638 (tramp-uuencode-region): Remove unused variable.
5639
62f33bae
JB
56402013-08-14 Juanma Barranquero <lekktu@gmail.com>
5641
5642 * frameset.el (frameset--prop-setter): New function.
5643 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5644 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5645 parameter was already set in FILTERED. Doc fix.
5646 (frameset--record-minibuffer-relationships): Allow saving a
5647 minibufferless frame without its corresponding minibuffer frame.
5648 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5649 frame, if the frame id matches.
5650 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5651 frames before orphaned ones.
5652 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5653
c660a885
MR
56542013-08-14 Martin Rudalics <rudalics@gmx.at>
5655
5656 * window.el (window-make-atom): Don't overwrite parameter
5657 already present.
5658 (display-buffer-in-atom-window): Handle special case where we
5659 split an already atomic window.
5660 (window--major-non-side-window, display-buffer-in-side-window)
5661 (window--side-check): Ignore minibuffer window when walking
5662 window tree.
5663 (window-deletable-p): Return 'frame only if no other frame uses
5664 our minibuffer window.
5665 (record-window-buffer): Run buffer-list-update-hook.
5666 (split-window): Make sure window--check-frame won't destroy an
5667 existing atomic window in case the new window gets nested
5668 inside.
5669 (display-buffer-at-bottom): Ignore minibuffer window when
5670 walking window tree. Don't split a side window.
5671 (pop-to-buffer): Don't set-buffer here, the select-window call
5672 should do that.
5673 (mouse-autoselect-window-select): Autoselect only if we are in the
5674 text portion of the window.
5675
8259030d
LMI
56762013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5677
21c58ae2
LMI
5678 * net/shr.el (shr-parse-image-data): New function to grab both the
5679 data itself and the Content-Type.
5680 (shr-put-image): Use it.
5681
5682 * net/eww.el (eww-display-image): Ditto.
5683
8259030d
LMI
5684 * image.el (image-content-type-suffixes): New variable.
5685
ad756449
FEG
56862013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5687
5688 * progmodes/python.el (python-imenu--build-tree)
5689 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5690
f73f4ce6
XF
56912013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5692
5693 * simple.el (backward-word): Mention the optional argument.
5694
1f585e65
SM
56952013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * frameset.el (frameset--make): Rename constructor from make-frameset.
5698 (frameset-p, frameset-valid-p): Don't autoload.
5699 (frameset-valid-p): Use normal accessors.
5700
af1c6c84
GM
57012013-08-13 Glenn Morris <rgm@gnu.org>
5702
55e47f95
GM
5703 * progmodes/compile.el (compile-command): Tweak example in doc.
5704 * obsolete/scribe.el (scribe-mode):
5705 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5706
f0024d8c
GM
5707 * mail/feedmail.el (feedmail-confirm-outgoing)
5708 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5709
5710 * cus-start.el (truncate-partial-width-windows): Fix type.
5711
5712 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5713
af1c6c84
GM
5714 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5715
5514cc4c
SM
57162013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * emacs-lisp/timer.el (timer--time-setter): New function.
5719 (timer--time): Use it as gv-setter.
5720
5721 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5722 setter is not a symbol.
5723
7997a2f1
GJ
57242013-08-12 Grégoire Jadi <daimrod@gmail.com>
5725
5726 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5727 if sending fails. This makes debugging easier.
5728
01f1a9ab
JB
57292013-08-12 Juanma Barranquero <lekktu@gmail.com>
5730
5731 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5732 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5733 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5734
594a4307
EZ
57352013-08-12 Eli Zaretskii <eliz@gnu.org>
5736
5737 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5738
7a22490f 57392013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5740
5741 * format.el (format-annotate-function):
5742 Handle read-only text properties in the source. (Bug#14887)
5743
3e41a054
LMI
57442013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745
5514cc4c
SM
5746 * net/eww.el (eww-display-html): Ignore coding system errors.
5747 One web site uses "utf-8lias" as the coding system.
3e41a054 5748
7ec326db
JB
57492013-08-11 Juanma Barranquero <lekktu@gmail.com>
5750
5751 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5752
5660113b
JB
57532013-08-10 Juanma Barranquero <lekktu@gmail.com>
5754
9a4ebc74
JB
5755 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5756 (tutorial--detailed-help): Remove unused local variables.
5757 (tutorial--save-tutorial-to): Use ignore-errors.
5758 (help-with-tutorial): Use looking-at-p.
5759
5760 * view.el (view-buffer-other-window, view-buffer-other-frame):
5761 Mark unused arguments.
5762
5763 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5764 (woman-select-symbol-fonts, woman, woman-find-file)
5765 (woman-insert-file-contents, woman-non-underline-faces):
5766 Use string-match-p.
5767 (woman1-unquote): Move declaration.
5768
5769 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5770 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5771 argument. Remove unused local variable.
5772 (xml-parse-elem-type): Use string-match-p.
5773 (xml-substitute-numeric-entities): Use ignore-errors.
5774
45fdb482
JB
5775 * calculator.el (calculator): Mark unused argument.
5776 (calculator-paste, calculator-quit, calculator-integer-p):
5777 Use ignore-errors.
5778 (calculator-string-to-number, calculator-decimal, calculator-exp)
5779 (calculator-op-or-exp): Use string-match-p.
5780
5781 * dired.el (dired-buffer-more-recently-used-p): Declare.
5782 (dired-insert-set-properties, dired-insert-old-subdirs):
5783 Use ignore-errors.
5784
5785 * dired-aux.el (dired-compress): Use ignore-errors.
5786 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5787 (dired-do-async-shell-command, dired-do-shell-command)
5788 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5789 (dired-insert-subdir-validate): Use string-match-p.
5790 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5791 (dired-add-entry): Use string-match-p, looking-at-p.
5792 (dired-insert-subdir-newpos): Remove unused local variable.
5793
5794 * filenotify.el (file-notify-callback): Remove unused local variable.
5795
5796 * filesets.el (filesets-error): Mark unused argument.
5797 (filesets-which-command-p, filesets-filter-dir-names)
5798 (filesets-directory-files, filesets-get-external-viewer)
5799 (filesets-ingroup-get-data): Use string-match-p.
5800
5801 * find-file.el (ff-other-file-name, ff-other-file-name)
5802 (ff-find-the-other-file, ff-cc-hh-converter):
5803 Remove unused local variables.
5804 (ff-get-file-name): Use string-match-p.
5805 (ff-all-dirs-under): Use ignore-errors.
5806
5807 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5808 (follow-select-if-visible): Remove unused local variable.
5809
5810 * forms.el (read-file-filter): Move declaration.
5811 (forms--make-format, forms--make-parser, forms-insert-record):
5812 Quote function with #'.
5813 (forms--update): Use string-match-p. Quote function with #'.
5814
5815 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5816 (help-make-xrefs): Use looking-at-p.
5817 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5818
5819 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5820 (ibuffer-confirm-operation-on): Use string-match-p.
5821
5822 * msb.el (msb-item-handler, msb-dired-item-handler):
5823 Mark unused arguments.
5824
5825 * ses.el (ses-decode-cell-symbol)
5826 (ses-kill-override): Remove unused local variable.
5827 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5828 (ses-load): Use ignore-errors, looking-at-p.
5829 (ses-jump-safe): Use ignore-errors.
5830 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5831
5832 * tabify.el (untabify, tabify): Mark unused arguments.
5833
5834 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5835 Mark unused argument.
5836 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5837 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5838
c880af52
JB
5839 * emacs-lisp/timer.el (timer--time): Define setter with
5840 gv-define-setter to avoid deprecation warning.
5841
5660113b 5842 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5843 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5844 (cmpl-statistics-block): Remove (body was commented out).
5845 All callers changed.
5846 (add-completions-from-buffer, load-completions-from-file):
5847 Remove unused variables.
5848
156aab80
JB
58492013-08-09 Juanma Barranquero <lekktu@gmail.com>
5850
5c5dee78
JB
5851 * filecache.el (file-cache-delete-file-list):
5852 Print message only when told so.
5853 (file-cache-files-matching): Use #' in mapconcat argument.
5854
156aab80
JB
5855 * ffap.el (ffap-url-at-point): Fix reference to variable
5856 thing-at-point-default-mail-uri-scheme.
5857
ad9dcd70
SM
58582013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5859
54bd972f
SM
5860 * subr.el (define-error): New function.
5861 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5862 error-file-not-found and define with define-error.
5863 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5864 and define with define-error.
5865 * userlock.el (file-locked, file-supersession):
5866 * simple.el (mark-inactive):
5867 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5868 * progmodes/ada-mode.el (ada-mode-errors):
5869 * play/life.el (life-extinct):
5870 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5871 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5872 * nxml/rng-util.el (rng-error):
5873 * nxml/rng-uri.el (rng-uri-error):
5874 * nxml/rng-match.el (rng-compile-error):
5875 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5876 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5877 * nxml/nxml-rap.el (nxml-scan-error):
5878 * nxml/nxml-outln.el (nxml-outline-error):
5879 * net/soap-client.el (soap-error):
5880 * net/gnutls.el (gnutls-error):
5881 * net/ange-ftp.el (ftp-error):
5882 * mpc.el (mpc-proc-error):
5883 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5884 (json-number-format, json-string-escape, json-string-format)
5885 (json-key-format, json-object-format):
5886 * jka-compr.el (compression-error):
5887 * international/quail.el (quail-error):
5888 * international/kkc.el (kkc-error):
5889 * emacs-lisp/ert.el (ert-test-failed):
5890 * calc/calc.el (calc-error, inexact-result, math-overflow)
5891 (math-underflow):
5892 * bookmark.el (bookmark-error-no-filename):
5893 * epg.el (epg-error): Define with define-error.
5894
0ea9e53a
SM
5895 * time.el (display-time-event-handler)
5896 (display-time-next-load-average): Don't call sit-for since it seems
5897 unnecessary (bug#15045).
5898
b0429158
SM
5899 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5900 Use #' instead of ' to quote functions.
5901 (checkdoc-output-mode): Use setq-local.
5902 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5903 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5904 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5905 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5906 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5907 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5908 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5909 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5910
ad9dcd70
SM
5911 * ido.el (ido-completion-help): Fix up compiler warning.
5912
77187e6f
JB
59132013-08-09 Juanma Barranquero <lekktu@gmail.com>
5914
5915 * frameset.el (frameset-p): Add autoload cookie.
5916 (frameset--jump-to-register): New function, based on code moved from
5917 register.el.
5918 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5919
5920 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5921 (frameset-restore, frameset-save, frameset-session-filter-alist):
5922 Remove declarations.
5923 (register-alist): Doc fix.
5924 (frameset-to-register): Move to frameset.el.
5925 (jump-to-register, describe-register-1): Remove frameset-specific code.
5926
9d3aa82c
JB
59272013-08-08 Juanma Barranquero <lekktu@gmail.com>
5928
5929 * allout-widgets.el (allout-widgets-pre-command-business)
5930 (allout-widgets-post-command-business)
5931 (allout-widgets-after-change-handler)
5932 (allout-decorate-item-and-context, allout-set-boundary-marker)
5933 (allout-body-modification-handler)
5934 (allout-graphics-modification-handler): Mark ignored arguments.
5935 (allout-widgets-post-command-business)
5936 (allout-widgets-exposure-change-processor)
5937 (allout-widgets-exposure-undo-processor)
5938 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5939 (allout-parse-item-at-point, allout-decorate-item-guides)
5940 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5941 * allout.el (epa-passphrase-callback-function): Declare.
5942 (allout-overlay-insert-in-front-handler)
5943 (allout-overlay-interior-modification-handler)
5944 (allout-isearch-end-handler, allout-chart-siblings)
5945 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5946 (allout-yank-processing, allout-process-exposed)
5947 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5948 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5949 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5950 (lisp-indent-defform): Mark ignored arguments.
5951 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5952 (calculate-lisp-indent): Remove unused variables.
5953 * international/characters.el (indian-2-column, arabic-2-column)
5954 (tibetan): Mark ignored arguments.
5955 (use-cjk-char-width-table): Mark ignored arguments.
5956 Remove unused variables.
5957 * international/fontset.el (build-default-fontset-data)
5958 (x-compose-font-name, create-fontset-from-fontset-spec):
5959 Mark ignored arguments.
5960 (fontset-plain-name): Remove unused variables.
5961 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5962 (keyboard-coding-system): Mark ignored arguments.
5963 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5964 * help.el (resize-temp-buffer-window):
5965 * window.el (display-buffer-in-major-side-window)
5966 (display-buffer-in-side-window, display-buffer-in-previous-window):
5967 Remove unused variables.
5968 * isearch.el (isearch-forward-symbol):
5969 * version.el (emacs-bzr-version-bzr):
5970 * international/mule-cmds.el (current-language-environment):
5971 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5972 (x-handle-display):
5973 * term/pc-win.el (x-list-fonts, x-display-planes)
5974 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5975 (x-server-version, x-display-screens, x-display-mm-height)
5976 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5977 (x-selection-owner-p, x-own-selection-internal)
5978 (x-disown-selection-internal, x-get-selection-internal)
5979 (msdos-initialize-window-system):
5980 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5981 * term/x-win.el (x-handle-no-bitmap-icon):
5982 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5983 (vc-default-find-file-hook, vc-default-extra-menu):
5984 Mark ignored arguments.
5985
0ca3f70e
SM
59862013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5989 break-condition in the context of the debugged code (bug#12685).
5990
74c5d24c
CS
59912013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5992
5993 * comint.el:
5994 Do not use an overlay to highlight the last prompt. (Bug#14744)
5995 (comint-mode): Make comint-last-prompt buffer local.
5996 (comint-last-prompt): New variable.
5997 (comint-last-prompt-overlay): Remove. Superseded by
5998 comint-last-prompt.
0ca3f70e
SM
5999 (comint-snapshot-last-prompt, comint-output-filter):
6000 Use comint-last-prompt.
74c5d24c 6001
c03c02ee
JB
60022013-08-08 Juanma Barranquero <lekktu@gmail.com>
6003
a3738d20 6004 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6005 (frameset-save): Check validity of the resulting frameset.
6006
04263d23
XF
60072013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6008
6009 * ido.el (ido-record-command): Add doc string.
6010
76c5e5ab
JB
60112013-08-08 Juanma Barranquero <lekktu@gmail.com>
6012
6013 * frameset.el (frameset): Do not disable creation of the default
6014 frameset-p predicate. Doc fix.
6015 (frameset-valid-p): New function, copied from the old predicate-p.
6016 Add additional checks.
6017 (frameset-restore): Check with frameset-valid-p.
6018 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6019 (frameset-name, frameset-description, frameset-properties)
6020 (frameset-states): Add docstring.
f9dbf1cb
JB
6021 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6022 (frameset-filter-alist): Doc fixes.
76c5e5ab 6023
bd0c3c0b
JB
60242013-08-08 Juanma Barranquero <lekktu@gmail.com>
6025
6026 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6027
c735544c
SM
60282013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6031 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6032 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6033 (byte-compile-normal-call): Remove obsolescence check.
6034
2805a651
JB
60352013-08-08 Juanma Barranquero <lekktu@gmail.com>
6036
3677ffeb
JB
6037 * frameset.el (frameset-restore): Doc fix.
6038
2805a651
JB
6039 * register.el (frameset-frame-id, frameset-frame-with-id)
6040 (frameset-p, frameset-restore, frameset-save): Declare.
6041 (register-alist): Document framesets.
6042 (frameset-session-filter-alist): Declare.
6043 (frameset-to-register): New function.
6044 (jump-to-register): Implement jumping to framesets. Doc fix.
6045 (describe-register-1): Describe framesets.
6046
6047 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6048
a912c016
JB
60492013-08-07 Juanma Barranquero <lekktu@gmail.com>
6050
6051 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6052 Use lexical-binding.
6053
6054 * frameset.el (frameset): Use type vector, not list (incompatible
6055 change). Do not declare a new constructor, use the default one.
6056 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6057 `name' and `description', respectively, and add read-only slot
6058 `timestamp'. Doc fixes.
6059 (frameset-copy, frameset-persistent-filter-alist)
6060 (frameset-filter-alist, frameset-switch-to-gui-p)
6061 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6062 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6063 (frameset-filter-iconified, frameset-keep-original-display-p):
6064 Doc fixes.
6065 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6066 Rename from frameset-filter-(save|restore)-param. All callers changed.
6067 Doc fix.
6068 (frameset-p): Adapt to change to vector and be more thorough.
6069 Change arg name to OBJECT. Doc fix.
6070 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6071 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6072 All callers changed.
6073 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6074 All callers changed.
6075 (frameset--record-minibuffer-relationships): Rename from
6076 frameset--process-minibuffer-frames. All callers changed.
6077 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6078 Use new default constructor (again). Doc fix.
6079 (frameset--find-frame-if): Rename from `frameset--find-frame.
6080 All callers changed.
6081 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6082 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6083 Doc fix.
6084 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6085 PARAMETERS and WINDOW-STATE, respectively.
6086 (frameset-restore): Add new keyword argument PREDICATE.
6087 Reset frameset--target-display to nil. Doc fix.
6088
bb41480a
SM
60892013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6090
f001e98e
SM
6091 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6092 (bat-mode): Use it.
6093 (bat-mode-syntax-table): Mark \n as end-of-comment.
6094 (bat-font-lock-keywords): Remove comment rule.
6095
7679edb1
SM
6096 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6097 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6098
bb41480a
SM
6099 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6100 (byte-compile-callargs-warn): Use `push'.
6101 (byte-compile-arglist-warn): Ignore higher-order "calls".
6102 (byte-compile-file-form-autoload): Use `pcase'.
6103 (byte-compile-function-form): If quoting a symbol, check that it exists.
6104
cdc1ebb9
EZ
61052013-08-07 Eli Zaretskii <eliz@gnu.org>
6106
6107 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6108 and add a few popular commands found in batch files.
6109 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6110 (dos-mode): Doc fixes.
6111
312b1740
SM
61122013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6115 (dos-mode): Use setq-local. Add space after "rem".
6116 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6117 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6118
400a3178
AM
61192013-08-07 Arni Magnusson <arnima@hafro.is>
6120
6121 * progmodes/dos.el: New file.
6122 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6123 dos-mode.
6124
3b5c03d3
GM
61252013-08-06 Glenn Morris <rgm@gnu.org>
6126
6127 * calendar/calendar.el: Add new faces, and day-header-array.
6128 (calendar-weekday-header, calendar-weekend-header)
6129 (calendar-month-header): New faces.
6130 (calendar-day-header-construct): New function.
6131 (calendar-day-header-width): Also :set calendar-day-header-array.
6132 (calendar-american-month-header, calendar-european-month-header)
6133 (calendar-iso-month-header): Use calendar- faces.
6134 (calendar-generate-month):
6135 Use calendar-day-header-array for day headers; apply faces to them.
6136 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6137 (calendar-abbrev-construct): Add optional maxlen argument.
6138 (calendar-day-name-array): Doc fix.
6139 (calendar-day-name-array, calendar-abbrev-length)
6140 (calendar-day-abbrev-array):
6141 Also :set calendar-day-header-array, and maybe redraw.
6142 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6143 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6144 (calendar-day-name): Add option to use header array.
6145
ec6a2d7a
LMI
61462013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6147
6148 * net/shr.el (shr-render-td): Remove debugging.
6149 (shr-render-td): Make width computation consistent by defaulting
6150 all zero-width columns to 10 characters. This may not be optimal,
6151 but it's at least consistent.
2122cb6d
LMI
6152 (shr-make-table-1): Redo last change to fix the real problem in
6153 colspan handling.
ec6a2d7a 6154
ed4fd9c5
DA
61552013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6156
0ca3f70e
SM
6157 * files.el (cache-long-line-scans):
6158 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6159
64e22afe
JB
61602013-08-06 Juanma Barranquero <lekktu@gmail.com>
6161
024b38fc
JB
6162 * frameset.el (frameset, frameset-filter-alist)
6163 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6164 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6165 (frameset-compute-pos): Rename from frameset--compute-pos,
6166 and add docstring.
6167 (frameset-move-onscreen): Use frameset-compute-pos.
6168 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6169
64e22afe
JB
6170 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6171 Fix typos in docstrings.
6172
c8c2aca8
DA
61732013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6174
6175 * frame.el (get-other-frame): Tiny cleanup.
6176
1d237bba
JB
61772013-08-06 Juanma Barranquero <lekktu@gmail.com>
6178
8951efef
JB
6179 * vc/vc.el (vc-default-ignore-completion-table):
6180 Silence byte-compiler warning.
6181
307764cc
JB
6182 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6183 slot , which can indeed be nil.
6184 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6185 Move entry for `left' from persistent to live filter alist.
6186 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6187 Doc fixes.
6188 (frameset-filter-params): When restoring a frame, copy items added to
6189 `filtered', to avoid unwittingly modifying the original parameters.
6190 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6191 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6192
1d237bba
JB
6193 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6194 to use looking-at-p instead of looking-at. (Bug#15028)
6195
dc6c0eda
SM
61962013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 Revert introduction of isearch-filter-predicates (bug#14714).
6199 Rely on add-function instead.
6200 * isearch.el (isearch-filter-predicates): Rename it back to
6201 isearch-filter-predicate.
6202 (isearch-message-prefix): Use advice-function-mapc and advice
6203 properties to get the isearch-message-prefix.
6204 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6205 instead of run-hook-with-args-until-failure.
6206 (isearch-filter-visible): Not obsolete any more.
6207 * loadup.el: Preload nadvice.
6208 * replace.el (perform-replace): Revert to funcall
6209 instead of run-hook-with-args-until-failure.
6210 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6211 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6212 dired-isearch-filenames-toggle; make it into a proper minor mode.
6213 Use add/remove-function.
6214 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6215 Call the minor-mode rather than add/remove-hook.
6216 (dired-isearch-filter-filenames):
6217 Remove isearch-message-prefix property.
6218 * info.el (Info--search-loop): New function, extracted from Info-search.
6219 Funcall isearch-filter-predicate instead of
6220 run-hook-with-args-until-failure isearch-filter-predicates.
6221 (Info-search): Use it.
6222 (Info-mode): Use isearch-filter-predicate instead of
6223 isearch-filter-predicates.
6224
290d5b58
DA
62252013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6226
6227 Do not call to `selected-window' where it is assumed by default.
6228 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6229 `window-hscroll', `window-width', `window-height', `window-buffer',
6230 `window-frame', `window-start', `window-point', `next-window'
6231 and `window-display-table'.
6232 * abbrev.el (abbrev--default-expand):
6233 * bs.el (bs--show-with-configuration):
6234 * buff-menu.el (Buffer-menu-mouse-select):
6235 * calc/calc.el (calc):
6236 * calendar/calendar.el (calendar-generate-window):
6237 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6238 (diary-make-entry):
6239 * comint.el (send-invisible, comint-dynamic-complete-filename)
6240 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6241 * completion.el (complete):
6242 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6243 * disp-table.el (describe-current-display-table):
6244 * doc-view.el (doc-view-insert-image):
6245 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6246 * ehelp.el (with-electric-help):
6247 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6248 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6249 * emacs-lisp/helper.el (Helper-help-scroller):
6250 * emulation/cua-base.el (cua--post-command-handler-1):
6251 * eshell/esh-mode.el (eshell-output-filter):
6252 * ffap.el (ffap-gnus-wrapper):
6253 * help-macro.el (make-help-screen):
6254 * hilit-chg.el (highlight-compare-buffers):
6255 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6256 * hl-line.el (global-hl-line-highlight):
6257 * icomplete.el (icomplete-simple-completing-p):
6258 * isearch.el (isearch-done):
6259 * jit-lock.el (jit-lock-stealth-fontify):
6260 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6261 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6262 * mpc.el (mpc-tagbrowser, mpc):
6263 * net/rcirc.el (rcirc-any-buffer):
6264 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6265 * play/landmark.el (landmark-max-width, landmark-max-height):
6266 * play/zone.el (zone):
6267 * progmodes/compile.el (compilation-goto-locus):
6268 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6269 * progmodes/etags.el (find-tag-other-window):
6270 * progmodes/fortran.el (fortran-column-ruler):
6271 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6272 * progmodes/verilog-mode.el (verilog-point-text):
6273 * reposition.el (reposition-window):
6274 * rot13.el (toggle-rot13-mode):
6275 * server.el (server-switch-buffer):
6276 * shell.el (shell-dynamic-complete-command)
6277 (shell-dynamic-complete-environment-variable):
6278 * simple.el (insert-buffer, set-selective-display)
6279 (delete-completion-window):
6280 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6281 (speedbar-recenter):
6282 * startup.el (fancy-splash-head):
6283 * textmodes/ispell.el (ispell-command-loop):
6284 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6285 * tutorial.el (help-with-tutorial):
6286 * vc/add-log.el (add-change-log-entry):
6287 * vc/compare-w.el (compare-windows):
6288 * vc/ediff-help.el (ediff-indent-help-message):
6289 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6290 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6291 (ediff-setup-control-frame):
6292 * vc/emerge.el (emerge-position-region):
6293 * vc/pcvs-util.el (cvs-bury-buffer):
6294 * window.el (walk-windows, mouse-autoselect-window-select):
6295 * winner.el (winner-set-conf, winner-undo): Related users changed.
6296
38276e01
JB
62972013-08-05 Juanma Barranquero <lekktu@gmail.com>
6298
6299 * frameset.el (frameset--set-id): Doc fix.
6300 (frameset-frame-id, frameset-frame-id-equal-p)
6301 (frameset-locate-frame-id): New functions.
6302 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6303 (frameset-restore): Use them.
6304
12b4c0ea
DA
63052013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6306
6307 Do not call to `selected-frame' where it is assumed by default.
6308 Affected functions are `raise-frame', `redraw-frame',
6309 `frame-first-window', `frame-terminal' and `delete-frame'.
6310 * calendar/appt.el (appt-disp-window):
6311 * epg.el (epg-wait-for-completion):
6312 * follow.el (follow-delete-other-windows-and-split)
6313 (follow-avoid-tail-recenter):
6314 * international/mule.el (set-terminal-coding-system):
6315 * mail/rmail.el (rmail-mail-return):
6316 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6317 * progmodes/f90.el (f90-add-imenu-menu):
6318 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6319 * server.el (server-switch-buffer):
6320 * simple.el (delete-completion-window):
6321 * talk.el (talk):
6322 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6323 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6324 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6325 * vc/ediff.el (ediff-documentation): Related users changed.
6326 * frame.el (selected-terminal): Remove the leftover.
6327
17f25e76
GM
63282013-08-05 Glenn Morris <rgm@gnu.org>
6329
6330 * calendar/calendar.el (calendar-generate-month):
6331 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6332 (calendar-generate-month, calendar-font-lock-keywords):
6333 Fix for calendar-day-header-width > length of any day name.
17f25e76 6334
063233c3
JB
63352013-08-05 Juanma Barranquero <lekktu@gmail.com>
6336
6337 * desktop.el (desktop-clear): Use new name of sort predicate.
6338
6339 * frameset.el (frameset): Add docstring. Move :version property to its
6340 own `version' slot.
6341 (frameset-copy): Rename from copy-frameset.
6342 (frameset-p): Check more thoroughly.
6343 (frameset-prop): Do not check for :version, which is no longer a prop.
6344 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6345 Use new :never value instead of t.
6346 (frameset-filter-alist): Expand and clarify docstring.
6347 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6348 (frameset-filter-minibuffer, frameset-filter-save-param)
6349 (frameset-filter-restore-param, frameset-filter-iconified):
6350 Add pointer to docstring of frameset-filter-alist.
6351 (frameset-filter-params): Rename filter values to be more meaningful:
6352 :never instead of t, and reverse the meanings of :save and :restore.
6353 (frameset--process-minibuffer-frames): Clarify error message.
6354 (frameset-save): Avoid unnecessary and confusing call to framep.
6355 Use new BOA constructor for framesets.
6356 (frameset--reuse-list): Doc fix.
6357 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6358 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6359 (frameset-minibufferless-first-p): Doc fix.
6360 Rename from frameset-sort-frames-for-deletion.
6361 (frameset-restore): Doc fixes. Use new function names.
6362 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6363
d5671a82
JB
63642013-08-04 Juanma Barranquero <lekktu@gmail.com>
6365
6366 * desktop.el (desktop-restore-forces-onscreen)
6367 (desktop-restore-reuses-frames): Document :keyword constant values.
6368 (desktop-filter-parameters-alist): Remove, now identical to
6369 frameset-filter-alist.
6370 (desktop--filter-tty*): Remove, moved to frameset.el.
6371 (desktop-save-frameset, desktop-restore-frameset):
6372 Do not pass :filters argument.
6373
6374 * frameset.el (frameset-live-filter-alist)
6375 (frameset-persistent-filter-alist): New variables.
6376 (frameset-filter-alist): Use them. Add autoload cookie.
6377 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6378 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6379 `frameset--id' (it's supposed to be internal to frameset.el).
6380 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6381 (frameset--initial-params): New function.
6382 (frameset--get-frame): Use it. Doc fix.
6383 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6384 Accept :all, not 'all.
6385 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6386 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6387 with fbound symbols. Fix frame id matching, and remove matching ids if
6388 the frame being restored is deleted. Obey :delete.
6389
671d5c16
SM
63902013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * subr.el (macrop): New function.
6393 (text-clone--maintaining): New var.
6394 (text-clone--maintain): Rename from text-clone-maintain. Use it
6395 instead of inhibit-modification-hooks.
6396
6397 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6398 a proxy, so as handle autoloads and redefinitions of the target.
6399 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6400
6401 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6402 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6403 (pcase--mutually-exclusive-p): New function.
6404 (pcase--split-consp): Use it.
6405 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6406 mutually exclusive with the current predicate.
6407
6408 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6409 (edebug-macrop): Remove. Use `macrop' instead.
6410 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6411 (ad-macro-p):
6412 * eshell/esh-cmd.el (eshell-macrop):
6413 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6414
1d44e9dc
SM
64152013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6418 (advice-mapc): New function, using it.
6419 (advice-function-member-p): New function.
6420 (advice--normalize): Store the cdr in advice--saved-rewrite since
6421 that's the part that will be changed.
6422 (advice--symbol-function): New function.
6423 (advice-remove): Handle removal before the function is defined.
6424 Adjust to new advice--saved-rewrite.
6425 (advice-member-p): Use advice-function-member-p and
6426 advice--symbol-function.
6427
5414a283
JB
64282013-08-04 Juanma Barranquero <lekktu@gmail.com>
6429
51d30f2c
JB
6430 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6431 (frameset-filter-minibuffer): Doc fix.
6432 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6433 (frameset--set-id, frameset--process-minibuffer-frames)
6434 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6435 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6436
5414a283
JB
6437 * desktop.el (desktop-clear): Only delete frames when called
6438 interactively and desktop-restore-frames is non-nil. Doc fix.
6439 (desktop-read): Set desktop-saved-frameset to nil.
6440
ab419665
XF
64412013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6442
6443 * vc/vc.el (vc-ignore): Rewrite.
6444 (vc-default-ignore-completion-table):
6445 (vc--read-lines):
6446 (vc--add-line, vc--remove-regexp): New functions.
6447
6448 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6449 (vc-svn-ignore-completion-table): New function.
6450
6451 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6452 (vc-hg-ignore-completion-table):
6453 (vc-hg-find-ignore-file): New functions.
6454
6455 * vc/vc-git.el (vc-git-ignore): Rewrite.
6456 (vc-git-ignore-completion-table):
6457 (vc-git-find-ignore-file): New functions.
6458
6459 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6460
6461 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6462 (vc-bzr-ignore-completion-table):
6463 (vc-bzr-find-ignore-file): New functions.
6464
2613dea2
JB
64652013-08-03 Juanma Barranquero <lekktu@gmail.com>
6466
6467 * frameset.el (frameset-prop): New function and setter.
6468 (frameset-save): Do not modify frame list passed by the caller.
6469
9c959872
SM
64702013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6473
a104f656
SM
64742013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6475
70122acf
SM
6476 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6477 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6478
a104f656
SM
6479 * custom.el (custom-initialize-default, custom-initialize-set)
6480 (custom-initialize-reset, custom-initialize-changed): Affect the
6481 toplevel-default-value (bug#6275, bug#14586).
6482 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6483 for bug#6275.
6484
f078d570
JB
64852013-08-02 Juanma Barranquero <lekktu@gmail.com>
6486
185e3b5a
JB
6487 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6488 Add cl-def* expressions.
6489
f078d570
JB
6490 * frameset.el (frameset-filter-params): Fix order of arguments.
6491
9421876d
JB
64922013-08-02 Juanma Barranquero <lekktu@gmail.com>
6493
6494 Move code related to saving frames to frameset.el.
6495 * desktop.el: Require frameset.
6496 (desktop-restore-frames): Doc fix.
6497 (desktop-restore-reuses-frames): Rename from
6498 desktop-restoring-reuses-frames.
6499 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6500 (desktop-clear): Clear frames too.
6501 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6502 (desktop--filter-tty*, desktop-save, desktop-read):
6503 Use frameset functions.
6504 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6505 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6506 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6507 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6508 (desktop--process-minibuffer-frames, desktop-save-frames)
6509 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6510 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6511 (desktop--sort-states, desktop-restoring-frames-p)
6512 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6513 (desktop-restoring-frameset-p, desktop-restore-frameset)
6514 (desktop--check-dont-save, desktop-save-frameset): New functions.
6515 (desktop--app-id): New constant.
6516 (desktop-first-buffer, desktop-buffer-ok-count)
6517 (desktop-buffer-fail-count): Move before first use.
6518 * frameset.el: New file.
6519
76dc5996
SM
65202013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * files.el: Use lexical-binding.
6523 (dir-locals-read-from-file): Remove unused `err' variable.
6524 (hack-dir-local-variables--warned-coding): New var.
6525 (hack-dir-local-variables): Use it to avoid repeated warnings.
6526 (make-backup-file-name--default-function): New function.
6527 (make-backup-file-name-function): Use it as default.
6528 (buffer-stale--default-function): New function.
6529 (buffer-stale-function): Use it as default.
6530 (revert-buffer-insert-file-contents--default-function): New function.
6531 (revert-buffer-insert-file-contents-function): Use it as default.
6532 (insert-directory): Avoid add-to-list.
6533
6534 * autorevert.el (auto-revert-handler): Simplify.
6535 Use buffer-stale--default-function.
6536
06d36e2b
TH
65372013-08-01 Tassilo Horn <tsdh@gnu.org>
6538
5f648ab4
TH
6539 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6540
06d36e2b
TH
6541 * whitespace.el (whitespace-ensure-local-variables): New function.
6542 (whitespace-cleanup-region): Call it.
6543 (whitespace-turn-on): Call it.
6544
a43dc424
MA
65452013-08-01 Michael Albinus <michael.albinus@gmx.de>
6546
6547 Complete file name handlers.
6548
6549 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6550 (tramp-handle-verify-visited-file-modtime)
6551 (tramp-handle-file-notify-rm-watch): New functions.
6552 (tramp-call-process): Do not bind `default-directory'.
6553
44e18199
JB
6554 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6555 Order alphabetically.
a43dc424
MA
6556 [access-file, add-name-to-file, dired-call-process]:
6557 [dired-compress-file, file-acl, file-notify-rm-watch]:
6558 [file-ownership-preserved-p, file-selinux-context]:
6559 [make-directory-internal, make-symbolic-link, set-file-acl]:
6560 [set-file-selinux-context, set-visited-file-modtime]:
6561 [verify-visited-file-modtime]: Add handler.
6562 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6563
6564 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6565 [file-notify-add-watch, file-notify-rm-watch]:
6566 [set-file-times, set-visited-file-modtime]:
6567 [verify-visited-file-modtime]: Add handler.
6568 (with-tramp-gvfs-error-message)
6569 (tramp-gvfs-handle-set-visited-file-modtime)
6570 (tramp-gvfs-fuse-file-name): Remove.
6571 (tramp-gvfs-handle-file-notify-add-watch)
6572 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6573 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6574
44e18199
JB
6575 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6576 Order alphabetically.
a43dc424
MA
6577 [file-notify-rm-watch ]: Use default Tramp handler.
6578 [executable-find]: Remove private handler.
6579 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6580 `default-directory'.
6581 (tramp-sh-handle-executable-find)
6582 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6583 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6584 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6585 Do not use `format' in `tramp-message'.
6586
6587 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6588 [file-notify-rm-watch, set-visited-file-modtime]:
6589 [verify-visited-file-modtime]: Add handler.
6590 (tramp-smb-call-winexe): Do not bind `default-directory'.
6591
7188b515
XF
65922013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6593
6594 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6595
2412ee1a
DG
65962013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6597
6598 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6599 use it.
6600 (log-view-diff-changeset): Same.
6601 (log-view-diff-common): Call backend command `previous-revision'
6602 to find out the previous revision, in both cases. Swap the
6603 variables `to' and `fr', so that `fr' usually refers to the
6604 earlier revision (Bug#14989).
6605
5002a754
KRC
66062013-07-31 Kan-Ru Chen <kanru@kanru.info>
6607
6608 * ibuf-ext.el (ibuffer-filter-by-filename):
6609 Make it work with dired buffers too.
6610
44e18199 66112013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6612
6613 * emacs-lisp/re-builder.el (reb-color-display-p):
6614 * files.el (save-buffers-kill-terminal):
6615 * net/browse-url.el (browse-url):
6616 * server.el (server-save-buffers-kill-terminal):
6617 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6618 Prefer nil to selected-frame for the first arg of frame-parameter.
6619
aeca3fbb
XF
66202013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6621
6622 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6623
158bc55c
SB
66242013-07-30 Stephen Berman <stephen.berman@gmx.net>
6625
6626 * minibuffer.el (completion--twq-all): Try and preserve each
6627 completion's case choice (bug#14907).
6628
d50fceab
LMI
66292013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6630
ac38e731
LMI
6631 * net/network-stream.el (open-network-stream): Mention the new
6632 :nogreeting parameter.
6633 (network-stream-open-starttls): Use the :nogreeting parameter
6634 (bug#14938).
6635
1211de50
LMI
6636 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6637
997798bf
LMI
6638 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6639 more natural than popping.
6640
d50fceab 6641 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6642 (shr-urlify): Highlight under mouse.
d50fceab 6643
5c09de04
XF
66442013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6645
207d1d04
XF
6646 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6647
6648 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6649
5c09de04
XF
6650 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6651 buffer for output.
6652
3cd51eaa
XF
6653 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6654 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6655
44e18199 6656 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6657 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6658
6659 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6660
6661 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6662 buffer for output.
6663
35a89bdd
EZ
66642013-07-29 Eli Zaretskii <eliz@gnu.org>
6665
6666 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6667 initial frame is minibuffer-less. (Bug#14841)
6668
78822e94
MA
66692013-07-29 Michael Albinus <michael.albinus@gmx.de>
6670
6671 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6672 option.
6673
6674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6675 (tramp-maybe-open-connection): Use it.
6676
9503c190
JB
66772013-07-28 Juanma Barranquero <lekktu@gmail.com>
6678
6679 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6680 minimal set of parameters passed when creating a frame, because
6681 the minibuffer status of a frame cannot be changed later.
6682
d5a845b4
SB
66832013-07-28 Stephen Berman <stephen.berman@gmx.net>
6684
6685 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6686 replace-regexp-in-string and inadvertent omissions in previous change.
6687 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6688 name of filtered items buffer.
d5a845b4 6689
ddeffb17
JB
66902013-07-28 Juanma Barranquero <lekktu@gmail.com>
6691
6692 * desktop.el: Optionally force offscreen frames back onscreen.
6693 (desktop-restoring-reuses-frames): New option.
6694 (desktop--compute-pos, desktop--move-onscreen): New functions.
6695 (desktop--make-frame): Use desktop--move-onscreen.
6696
f5950f7a
AM
66972013-07-27 Alan Mackenzie <acm@muc.de>
6698
6699 Fontify a Java generic method as a function.
6700 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6701 value to t.
6702
ae43b66a
SB
67032013-07-27 Stephen Berman <stephen.berman@gmx.net>
6704
6705 * calendar/todo-mode.el: Add command to rename todo files.
6706 (todo-rename-file): New command.
6707 (todo-key-bindings-t): Add key binding for it. Change the
6708 bindings of todo-filter-regexp-items(-multifile) to use `x'
6709 instead of `r', since the latter is better suited to the new
6710 renaming command.
6711
5ab78d3d
AM
67122013-07-27 Alan Mackenzie <acm@muc.de>
6713
6714 Make Java try-with-resources statement parse properly.
6715 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6716 (c-block-stmt-1-2-key): New language constants/variables.
6717 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6718 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6719 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6720 with c-block-stmt-1-2-key.
5ab78d3d 6721
d85c4d50
JB
67222013-07-27 Juanma Barranquero <lekktu@gmail.com>
6723
6724 * desktop.el (desktop--make-frame): Apply most frame parameters after
6725 creating the frame to force (partially or totally) offscreen frames to
6726 be restored as such.
6727
e4c467f9
XF
67282013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6729
6730 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6731 (Bug#14948)
e4c467f9 6732
7ced0d04
SM
67332013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6736 `base' arg of backtrace-frame.
6737
fec92060
EZ
67382013-07-26 Eli Zaretskii <eliz@gnu.org>
6739
6740 * simple.el (list-processes): Doc fix.
6741
d58d31fb
JB
67422013-07-26 Juanma Barranquero <lekktu@gmail.com>
6743
6744 * desktop.el (desktop--select-frame):
d85c4d50 6745 Try harder to reuse existing frames.
d58d31fb 6746
53ff3e77
SM
67472013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6750 (edebug-eval): Use backtrace-eval.
6751 (edebug--display, edebug--recursive-edit): Don't let-bind the
6752 edebug-outer-* vars that keep track of variables we locally let-bind.
6753 (edebug-outside-excursion): Don't restore outside values of locally
6754 let-bound vars.
6755 (edebug--display): Use user-error.
6756 (cl-lexical-debug, cl-debug-env): Remove.
6757
045f7a53
JB
67582013-07-26 Juanma Barranquero <lekktu@gmail.com>
6759
6760 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6761 are restored to be sure that they are visible before deleting any
6762 remaining ones.
6763
59070b32
MM
67642013-07-26 Matthias Meulien <orontee@gmail.com>
6765
742a3501
XF
6766 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6767 vc-print-root-log. (Bug#14948)
59070b32 6768
b1fb3596
RS
67692013-07-26 Richard Stallman <rms@gnu.org>
6770
6771 Add aliases for encrypting mail.
6772 * epa.el (epa-mail-aliases): New option.
6773 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6774 Bind inhibit-read-only so read-only text doesn't ruin everything.
6775 (epa-mail-default-recipients): New subroutine broken out.
6776 Handle epa-mail-aliases.
6777
56ea7291
SM
67782013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 Add support for lexical variables to the debugger's `e' command.
6781 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6782 vars, except for debugger-outer-match-data.
6783 (debugger-frame-number): Move check for "on a function call" from
6784 callers into it. Add `skip-base' argument.
6785 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6786 (debugger-env-macro): Only reset the state stored in non-variables,
6787 i.e. current-buffer and match-data.
6788 (debugger-eval-expression): Rewrite using backtrace-eval.
6789 * subr.el (internal--called-interactively-p--get-frame): Remove.
6790 (called-interactively-p):
6791 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6792 `base' arg of backtrace-frame instead.
6793
15ac32d5
GM
67942013-07-26 Glenn Morris <rgm@gnu.org>
6795
8358a09d
GM
6796 * align.el (align-regexp): Doc fix. (Bug#14857)
6797 (align-region): Explicit error if subexpression missing/does not match.
6798
15ac32d5
GM
6799 * simple.el (global-visual-line-mode):
6800 Do not duplicate the mode lighter. (Bug#14858)
6801
f47ad11b
MR
68022013-07-25 Martin Rudalics <rudalics@gmx.at>
6803
6804 * window.el (display-buffer): In display-buffer bind
6805 split-window-keep-point to t, bug#14829.
6806
02530987
JB
68072013-07-25 Juanma Barranquero <lekktu@gmail.com>
6808
6809 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6810 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6811 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6812 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6813 Change accordingly.
f63ebeb5
JB
6814 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6815 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6816
6ccb9cab 68172013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6818
6ccb9cab 6819 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6820
cb3a56d2
JB
68212013-07-25 Juanma Barranquero <lekktu@gmail.com>
6822
6823 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6824 parameter to modify-frame-parameters if the value has not changed;
6825 this is a workaround for bug#14949.
6826 (desktop--make-frame): On cl-delete-if call, check parameter name,
6827 not full parameter.
6828
7aa7fff0
XF
68292013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6830
6831 * vc/vc.el (vc-ignore): New function.
6832
6833 * vc/vc-svn.el (vc-svn-ignore): New function.
6834
6835 * vc/vc-hg.el (vc-hg-ignore): New function.
6836
6837 * vc/vc-git.el (vc-git-ignore): New function.
6838
6839 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6840 (vc-dir-ignore): New function.
6841
6842 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6843 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6844
6845 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6846
6847 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6848
889acc5c
JB
68492013-07-24 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6852 (desktop-restore-frames): Warn when deleting an existing frame failed.
6853
86c40970
GM
68542013-07-24 Glenn Morris <rgm@gnu.org>
6855
6856 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6857
d5d3c58a
MA
68582013-07-24 Michael Albinus <michael.albinus@gmx.de>
6859
6860 * filenotify.el (file-notify-supported-p):
6861 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6862 Remove functions.
6863
6864 * autorevert.el (auto-revert-use-notify):
6865 (auto-revert-notify-add-watch):
6866 * net/tramp.el (tramp-file-name-for-operation):
6867 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6868 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6869 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6870 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6871 Remove `file-notify-supported-p' entry.
6872
d100084b
GM
68732013-07-24 Glenn Morris <rgm@gnu.org>
6874
6875 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6876 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6877
ac93e56b
SM
68782013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6879
249eea30
SM
6880 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6881 checked with memq (bug#14935).
6882
ac93e56b
SM
6883 * files.el (revert-buffer-function): Use a non-nil default.
6884 (revert-buffer-preserve-modes): Declare var to
6885 provide access to the `preserve-modes' argument.
6886 (revert-buffer): Let-bind it.
6887 (revert-buffer--default): New function, extracted from revert-buffer.
6888
2cdeb903
SM
68892013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * lpr.el: Signal print errors more prominently.
6892 (print-region-function): Don't default to nil.
6893 (lpr-print-region): New function, extracted from print-region-1.
6894 Check lpr's return value and signal an error in case of problem.
6895 (print-region-1): Use it.
6896 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6897 versions instead.
6898 (ps-printer-name): Default to nil.
6899 (ps-printer-name-option): Default to lpr-printer-switch.
6900 (ps-print-region-function): Don't default to nil.
6901 (ps-postscript-code-directory): Simplify default.
6902 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6903 (ps-string-list, ps-eval-switch, ps-flatten-list)
6904 (ps-flatten-list-1): Remove.
6905 (ps-multibyte-buffer): Avoid setq.
6906 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6907 (print-region-function, ps-print-region-function): Don't set them here.
6908
73600831
XF
69092013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6910
0e55c076
XF
6911 * ido.el (ido-fractionp):
6912 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6913 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6914 (ido-max-directory-size, ido-max-dir-file-cache)
6915 (ido-decorations): Doc fix.
6916
73600831
XF
6917 * ansi-color.el: Fix old URL.
6918
3d012865
MM
69192013-07-23 Michael R. Mauger <michael@mauger.com>
6920
e903c210 6921 * progmodes/sql.el: Version 3.3
3d012865
MM
6922 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6923 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6924 (sql-interactive-remove-continuation-prompt): Rewrite, use
6925 functions above. Fix continuation prompt and complete output line
6926 handling.
6927 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6928 redirected output buffer.
6929 (sql-mode): Restore deleted code (Bug#13591).
6930
da77a2e2
JB
69312013-07-23 Juanma Barranquero <lekktu@gmail.com>
6932
6933 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6934
80ff0c71
MA
69352013-07-23 Michael Albinus <michael.albinus@gmx.de>
6936
6937 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6938
6939 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6940 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6941 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6942
b61d71e4
JB
69432013-07-23 Juanma Barranquero <lekktu@gmail.com>
6944
6945 * desktop.el (desktop-clear): Simplify; remove useless checks
6946 against invalid buffer names.
6947 (desktop-list*): Use cl-list*.
6948 (desktop-buffer-info, desktop-create-buffer): Simplify.
6949
c3512092
LL
69502013-07-23 Leo Liu <sdl.web@gmail.com>
6951
6952 * bookmark.el (bookmark-make-record): Restore NAME as a default
6953 value. (Bug#14933)
6954
0ac26976
SM
69552013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6956
7d22ce18
SM
6957 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6958 extracted from autoload--insert-text.
6959 (autoload--insert-text): Remove.
6960 (autoload--print-cookie-text): New function, extracted from
6961 autoload--insert-cookie-text.
6962 (autoload--insert-cookie-text): Remove.
6963 (autoload-generate-file-autoloads): Adjust calls accordingly.
6964
9b2607e8
SM
6965 * winner.el (winner-hook-installed-p): Remove.
6966 (winner-mode): Simplify accordingly.
6967
c43a8618
SM
6968 * subr.el (add-to-list): Fix compiler-macro when `append' is
6969 not constant. Don't use `cl-member' for the base case.
6970
0ac26976
SM
6971 * progmodes/subword.el: Fix boundary case (bug#13758).
6972 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6973 own group.
6974 (subword-backward-regexp): Make it a constant.
6975 (subword-forward-internal): Don't treat a trailing capital as the
6976 beginning of a word.
6977
6874724a
AR
69782013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6979
6980 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6981 global value of tabulated-list-revert-hook (bug#14930).
6982
70f1b5e8
JB
69832013-07-22 Juanma Barranquero <lekktu@gmail.com>
6984
a1c80d9d
JB
6985 * desktop.el: Require 'cl-lib.
6986 (desktop-before-saving-frames-functions): New hook.
6987 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6988 for frames being saved. Rename from desktop--save-minibuffer-frames.
6989 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6990 Do not save frames with non-nil `desktop-dont-save' parameter.
6991 Filter out deleted frames.
a1c80d9d
JB
6992 (desktop--find-frame): Use cl-find-if.
6993 (desktop--select-frame): Use cl-(first|second|third) to access values
6994 of desktop-mini.
6995 (desktop--make-frame): Use cl-delete-if.
6996 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6997 (desktop-restore-frames): Use cl-(first|second|third) to access values
6998 of desktop-mini. Look for visible frame at the end, not while
6999 restoring frames.
7000
70f1b5e8
JB
7001 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7002 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7003 Use string-match-p, looking-at-p (bug#14927).
7004
728dc3cc
JB
70052013-07-21 Juanma Barranquero <lekktu@gmail.com>
7006
56bc453c
JB
7007 * desktop.el (desktop-saved-frame-states):
7008 Rename from desktop--saved-states; all users changed.
7009 (desktop-save-frames): Rename from desktop--save-frames.
7010 Do not save state to desktop file.
7011 (desktop-save): Save desktop-saved-frame-states to desktop file
7012 and reset to nil.
7013 (desktop-restoring-frames-p): New function.
7014 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7015 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7016 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7017
728dc3cc
JB
7018 * desktop.el: Correctly restore iconified frames.
7019 (desktop--filter-iconified-position): New function.
7020 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7021
862f1c9c
GM
70222013-07-20 Glenn Morris <rgm@gnu.org>
7023
c4074c9f
GM
7024 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7025 Let `message' do the formatting.
7026 (def-gdb-preempt-display-buffer): Add explicit format.
7027
d828e5f9
GM
7028 * image-dired.el (image-dired-track-original-file):
7029 Use with-current-buffer.
7030 (image-dired-track-thumbnail): Use with-current-buffer.
7031 Avoid changing point of wrong window.
7032
862f1c9c
GM
7033 * image-dired.el (image-dired-track-original-file):
7034 Avoid changing point of wrong window. (Bug#14909)
7035
f0398ec1 70362013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7037
7038 * progmodes/gdb-mi.el (gdb-done-or-error):
7039 Guard against "%" in gdb output. (Bug#14127)
7040
1451928f
AS
70412013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7042
763a086d
JB
7043 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7044 (Bug#14826)
f7a03897 7045
1451928f
AS
7046 * international/mule.el (coding-system-iso-2022-flags): Fix last
7047 change.
7048
99107004
KH
70492013-07-20 Kenichi Handa <handa@gnu.org>
7050
763a086d
JB
7051 * international/mule.el (coding-system-iso-2022-flags):
7052 Add `8-bit-level-4'. (Bug#8522)
99107004 7053
48494e06
LMI
70542013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7055
8ba8eec5
LMI
7056 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7057 (bug#14815).
7058
dfbc66e3
LMI
7059 * net/eww.el (eww-process-text-input): Allow inputting when the
7060 point is at the start of the line, as the properties aren't
7061 front-sticky.
7062
48494e06
LMI
7063 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7064 degenerate widths.
7065
77c92cb9
RS
70662013-07-19 Richard Stallman <rms@gnu.org>
7067
aec7da77
RS
7068 * epa.el (epa-popup-info-window): Doc fix.
7069
77c92cb9
RS
7070 * subr.el (split-string): New arg TRIM.
7071
945c5bb1
JB
70722013-07-18 Juanma Barranquero <lekktu@gmail.com>
7073
7074 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7075 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7076
e06ec67f
MA
70772013-07-18 Michael Albinus <michael.albinus@gmx.de>
7078
c7064f05 7079 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7080 `file-notify-support'. Do not autoload. Adapt all uses.
7081 (file-notify-supported-p): New defun.
7082
c7064f05
JB
7083 * autorevert.el (auto-revert-use-notify):
7084 Use `file-notify-supported-p' instead of `file-notify-support'.
7085 Adapt docstring.
e06ec67f
MA
7086 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7087
7088 * net/tramp.el (tramp-file-name-for-operation):
7089 Add `file-notify-supported-p'.
7090
7091 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7092 New defun.
7093 (tramp-sh-file-name-handler-alist): Add it as handler for
7094 `file-notify-supported-p '.
7095
7096 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7098 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7099 Add `ignore' as handler for `file-notify-*' functions.
7100
5dc8a629
EZ
71012013-07-17 Eli Zaretskii <eliz@gnu.org>
7102
7103 * simple.el (line-move-partial, line-move): Don't start vscroll or
7104 scroll-up if the current line is not taller than the window.
7105 (Bug#14881)
7106
77aea2fb
DG
71072013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7108
7109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7110 highlight question marks in the method names as strings.
ac72c08d
DG
7111 (ruby-block-beg-keywords): Inline.
7112 (ruby-font-lock-keyword-beg-re): Extract from
7113 `ruby-font-lock-keywords'.
77aea2fb 7114
18c26d81
JD
71152013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7116
7117 * frame.el (blink-cursor-blinks): New defcustom.
7118 (blink-cursor-blinks-done): New defvar.
7119 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7120 (blink-cursor-timer-function): Check if number of blinks has been
7121 done on X and NS.
7122 (blink-cursor-suspend, blink-cursor-check): New defuns.
7123
da48522e
GM
71242013-07-15 Glenn Morris <rgm@gnu.org>
7125
7126 * edmacro.el (edmacro-format-keys): Fix previous change.
7127
0463c1ef
PE
71282013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7129
7130 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7131 The hack didn't work outside English locales anyway.
7132
b43f6451
JB
71332013-07-15 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * simple.el (define-alternatives): Rename from alternatives-define,
7136 per RMS' suggestion.
7137
b958c0ad
JB
71382013-07-14 Juanma Barranquero <lekktu@gmail.com>
7139
7140 * desktop.el (desktop-restore-frames): Change default to t.
7141 (desktop-restore-in-current-display): Now offer more options.
7142 (desktop-restoring-reuses-frames): New customization option.
7143 (desktop--saved-states): Doc fix.
7144 (desktop-filter-parameters-alist): New variable, renamed and expanded
7145 from desktop--excluded-frame-parameters.
7146 (desktop--target-display): New variable.
7147 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7148 (desktop--filter-tty*, desktop--filter-*-color)
7149 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7150 (desktop--filter-save-desktop-parm)
7151 (desktop-restore-in-original-display-p): New functions.
7152 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7153 (desktop--save-minibuffer-frames): New function, inspired by a similar
7154 function from Martin Rudalics.
7155 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7156 (desktop--restore-in-this-display-p): Remove.
7157 (desktop--find-frame): Rename from desktop--find-frame-in-display
7158 and add predicate argument.
7159 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7160 (desktop--reuse-list): New variable.
7161 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7162 New functions.
7163 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7164
f6dd8b36
MA
71652013-07-14 Michael Albinus <michael.albinus@gmx.de>
7166
7167 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7168
2ce3c565
DG
71692013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7170
763a086d
JB
7171 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7172 Highlight conversion methods on Kernel.
2ce3c565 7173
2cdb7698
AM
71742013-07-13 Alan Mackenzie <acm@muc.de>
7175
7176 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7177 and comment it out. This out-commenting enables certain C++
7178 declarations to be parsed correctly.
7179
1a67b811
EZ
71802013-07-13 Eli Zaretskii <eliz@gnu.org>
7181
1b796d6b
EZ
7182 * international/mule.el (define-coding-system): Doc fix.
7183
1a67b811
EZ
7184 * simple.el (default-font-height): Don't call font-info if the
7185 frame's default font didn't change since the frame was created.
7186 (Bug#14838)
7187
58fbe886
LL
71882013-07-13 Leo Liu <sdl.web@gmail.com>
7189
7190 * ido.el (ido-read-file-name): Guard against non-symbol value.
7191
1f0480d4
FEG
71922013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7193
7194 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7195 in nested defuns.
7196
97ead0e5
LL
71972013-07-13 Leo Liu <sdl.web@gmail.com>
7198
7199 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7200 ido-set-matches call. (Bug#6852)
7201
0880a952
DG
72022013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7203
7204 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7205 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7206 Ruby 2.0.
7207 (ruby-font-lock-keywords): Distinguish calls to functions with
7208 module-like names from module references. Highlight character
7209 literals.
7210
a7d8babb
SDJ
72112013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7212
7213 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7214 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7215
acfcc8c5
JB
72162013-07-12 Juanma Barranquero <lekktu@gmail.com>
7217
7218 * desktop.el (desktop--v2s): Remove unused local variable.
7219 (desktop-save-buffer): Make defvar-local; adjust docstring.
7220 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7221 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7222
051f2775
AS
72232013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7224
7225 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7226
f24e7572
GM
72272013-07-12 Eli Zaretskii <eliz@gnu.org>
7228
7229 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7230 (Bug#14842)
7231
539a920c
GM
72322013-07-12 Glenn Morris <rgm@gnu.org>
7233
7234 * doc-view.el: Require cl-lib at runtime too.
7235 (doc-view-remove-if): Remove.
7236 (doc-view-search-next-match, doc-view-search-previous-match):
7237 Use cl-remove-if.
7238
7239 * edmacro.el: Require cl-lib at runtime too.
7240 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7241 (edmacro-mismatch, edmacro-subseq): Remove.
7242
7243 * shadowfile.el: Require cl-lib.
7244 (shadow-remove-if): Remove.
7245 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7246 Use cl-remove-if.
7247
7248 * wid-edit.el: Require cl-lib.
7249 (widget-choose): Use cl-remove-if.
7250 (widget-remove-if): Remove.
7251
7252 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7253 (ebrowse-delete-if-not): Remove.
7254 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7255 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7256 Use cl-delete-if-not.
7257
1048af7c
JB
72582013-07-12 Juanma Barranquero <lekktu@gmail.com>
7259
7260 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7261 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7262
6c0674ee
LL
72632013-07-12 Leo Liu <sdl.web@gmail.com>
7264
7265 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7266
a19b3c2d
GM
72672013-07-11 Glenn Morris <rgm@gnu.org>
7268
4582a01c
GM
7269 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7270 (edebug-gensym-index, edebug-gensym):
7271 Remove reimplementation of cl-gensym.
7272 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7273
7274 * thumbs.el: Require cl-lib at run-time too.
7275 (thumbs-gensym-counter, thumbs-gensym):
7276 Remove reimplementation of cl-gensym.
7277 (thumbs-temp-file): Use cl-gensym.
7278
a19b3c2d
GM
7279 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7280 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7281 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7282 (ert--union, ert--gensym-counter, ert--gensym-counter)
7283 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7284 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7285 (ert-make-test-unbound, ert--expand-should-1)
7286 (ert--expand-should, ert--should-error-handle-error)
7287 (should-error, ert--explain-equal-rec)
7288 (ert--plist-difference-explanation, ert-select-tests)
7289 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7290 Use cl-lib functions rather than reimplementations.
7291
88f6a933
MA
72922013-07-11 Michael Albinus <michael.albinus@gmx.de>
7293
7294 * net/tramp.el (tramp-methods): Extend docstring.
7295 (tramp-connection-timeout): New defcustom.
7296 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7297 (with-tramp-progress-reporter): Simplify.
7298 (tramp-process-actions): Improve messages.
7299
7300 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7301 * net/tramp-sh.el (tramp-maybe-open-connection):
7302 Use `tramp-connection-timeout'.
7303 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7304 (Bug#14808)
7305
a43d577e
LL
73062013-07-11 Leo Liu <sdl.web@gmail.com>
7307
7308 * ido.el (ido-read-file-name): Conform to the requirements of
7309 read-file-name. (Bug#11861)
7310 (ido-read-directory-name): Conform to the requirements of
7311 read-directory-name.
7312
d77974bf
JB
73132013-07-11 Juanma Barranquero <lekktu@gmail.com>
7314
7315 * subr.el (delay-warning): New function.
7316
35cb8a3e
EZ
73172013-07-10 Eli Zaretskii <eliz@gnu.org>
7318
7319 * simple.el (default-line-height): New function.
7320 (line-move-partial, line-move): Use it instead of computing the
7321 line height inline.
7322 (line-move-partial): Always compute ROWH. If the last line is
7323 partially-visible, but its text is completely visible, allow
7324 cursor to enter such a partially-visible line.
7325
525c5c77
MA
73262013-07-10 Michael Albinus <michael.albinus@gmx.de>
7327
7328 Improve error messages. (Bug#14808)
7329
7330 * net/tramp.el (tramp-current-connection): New defvar, moved from
7331 tramp-sh.el.
0ac26976 7332 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7333 needed anymore.
0ac26976
SM
7334 (tramp-error-with-buffer): Show message in minibuffer.
7335 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7336 (with-tramp-progress-reporter): Improve messages.
7337 (tramp-process-actions): Use progress reporter. Delete process in
7338 case of error. Improve messages.
7339
763a086d
JB
7340 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7341 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7342 (tramp-current-connection): Remove.
525c5c77
MA
7343 (tramp-maybe-open-connection): The car of
7344 `tramp-current-connection' are the first 3 slots of the vector.
7345
c7a4d368
TZ
73462013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7347
7348 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7349 inside continued strings.
7350
954b166e
PE
73512013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7352
7353 Timestamp fixes for undo (Bug#14824).
7354 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7355
56973319
LL
73562013-07-10 Leo Liu <sdl.web@gmail.com>
7357
7358 * files.el (require-final-newline): Allow safe local value.
7359 (Bug#14834)
7360
5550a72c
LL
73612013-07-09 Leo Liu <sdl.web@gmail.com>
7362
7363 * ido.el (ido-read-directory-name): Handle fallback.
7364 (ido-read-file-name): Update DIR to ido-current-directory.
7365 (Bug#1516)
c28b9050 7366 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7367
70c46b28
DG
73682013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7369
7370 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7371 "autoload". Remove "warn lower camel case" section, previously
7372 commented out. Highlight negation char. Do not highlight the
7373 target in singleton method definitions.
7374
0b64b838
SM
73752013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7fd72e2c
SM
7377 * faces.el (tty-setup-hook): Declare the hook.
7378
0b64b838
SM
7379 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7380 and detect when a guard/pred depends on local vars (bug#14773).
7381 (pcase--u1): Adjust caller.
7382
ab49d60b
EZ
73832013-07-08 Eli Zaretskii <eliz@gnu.org>
7384
7385 * simple.el (line-move-partial, line-move): Account for
7386 line-spacing.
701d79aa
EZ
7387 (line-move-partial): Avoid setting vscroll when the last
7388 partially-visible line in window is of default height.
ab49d60b 7389
2d756ae0
LMI
73902013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7391
7392 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7393 been used a while.
7394
ed095bd7
JB
73952013-07-07 Juanma Barranquero <lekktu@gmail.com>
7396
7397 * subr.el (read-quoted-char): Remove unused local variable `char'.
7398
f1e6674b
MK
73992013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7400
584ee3fc
GM
7401 * ediff.el (ediff-version): Version update.
7402 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7403 (ediff-merge-with-ancestor-command, ediff-directories-command)
7404 (ediff-directories3-command, ediff-merge-directories-command)
7405 (ediff-merge-directories-with-ancestor-command): New functions.
7406 All are command-line interfaces to ediff: to facilitate calling
7407 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7408
7409 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7410 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7411
584ee3fc
GM
7412 * viper.el (viper-version): Version update.
7413 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7414
584ee3fc
GM
74152013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7418 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7419 (viper-intercept-ESC-key): Simplify.
7420 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7421 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7422 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7423 (viper-setup-ESC-to-escape): New functions.
7424 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7425 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7426
9aff9b38
EZ
74272013-07-07 Eli Zaretskii <eliz@gnu.org>
7428
5165d44a
JB
7429 * simple.el (default-font-height, window-screen-lines):
7430 New functions.
9aff9b38
EZ
7431 (line-move, line-move-partial): Use them instead of
7432 frame-char-height and window-text-height. This makes scrolling
7433 text smoother when the buffer's default face uses a font that is
7434 different from the frame's default font.
7435
1afb1d07
JD
74362013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7437
7438 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7439 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7440
23de972a
EZ
74412013-07-06 Eli Zaretskii <eliz@gnu.org>
7442
7443 * simple.el (line-move-partial): Adjust the row returned by
7444 posn-at-point for the current window-vscroll. (Bug#14567)
7445
54a42486
MA
74462013-07-06 Michael Albinus <michael.albinus@gmx.de>
7447
7448 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7449 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7450 spaces.
7451
34ada5f4
MR
74522013-07-06 Martin Rudalics <rudalics@gmx.at>
7453
7454 * window.el (window-state-put-stale-windows): New variable.
7455 (window--state-put-2): Save list of windows without matching buffer.
7456 (window-state-put): Remove "bufferless" windows if possible.
7457
11e03d89
JB
74582013-07-06 Juanma Barranquero <lekktu@gmail.com>
7459
7460 * simple.el (alternatives-define): Remove leftover :group keyword.
7461 Tweak docstring.
7462
3504a4be
LL
74632013-07-06 Leo Liu <sdl.web@gmail.com>
7464
7465 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7466 (ido-enable-virtual-buffers): New variable.
7467 (ido-buffer-internal, ido-toggle-virtual-buffers)
7468 (ido-make-buffer-list): Use it.
7469 (ido-exhibit): Support turning on and off virtual buffers
7470 automatically.
7471
61e56e2c
JB
74722013-07-06 Juanma Barranquero <lekktu@gmail.com>
7473
7474 * simple.el (alternatives-define): New macro.
7475
321e1a9c
SM
74762013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * subr.el (read-quoted-char): Use read-key.
7479 (sit-for): Let read-event decode tty input (bug#14782).
7480
d610f6dd
SB
74812013-07-05 Stephen Berman <stephen.berman@gmx.net>
7482
7483 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7484 mode command and externally. Fix various related bugs.
7485 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7486 (todo-delete-file): New command.
7487 (todo-check-file): New function.
7488 (todo-show): Handle external deletion of the file we're trying to
7489 show (bug#14688). Replace called-interactively-p by an optional
7490 prefix argument to avoid problematic interaction with catch form
7491 when byte compiled (bug#14702).
7492 (todo-quit): Handle external deletion of the archive's todo file.
7493 Make sure the buffer that was visiting the archive file is still
7494 live before trying to bury it.
7495 (todo-category-completions): Handle external deletion of any
7496 category completion files.
7497 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7498 of todo files, in case of external deletion.
7499 (todo-add-file): Replace unnecessary setq by let-binding.
7500 (todo-find-archive): Check whether there are any archives.
7501 Replace unnecessary setq by let-binding.
7502 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7503 archive buffer whether or not the archive already exists.
7504 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7505 check if the archive is new; if it is, update list of archives.
7506 (todo-default-todo-file): Allow nil to be a valid value for when
7507 there are no todo files.
7508 (todo-reevaluate-default-file-defcustom): Use corrected definition
7509 of todo-default-todo-file.
7510 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7511 (todo-delete-category, todo-show-categories-table)
7512 (todo-category-number): Clarify comment.
7513 (todo-filter-items): Clarify documentation string.
7514 (todo-show-current-file, todo-display-as-todo-file)
7515 (todo-reset-and-enable-done-separator): Tweak documentation string.
7516 (todo-done-separator): Make separator length window-width, since
7517 bug#2749 is now fixed.
7518
ddbdfd6f
MA
75192013-07-05 Michael Albinus <michael.albinus@gmx.de>
7520
321e1a9c
SM
7521 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7522 Support both "gvfs-monitor-dir" and "inotifywait".
7523 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7524 `tramp-sh-file-notify-process-filter'.
7525 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7526 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7527
96eb829a
LL
75282013-07-05 Leo Liu <sdl.web@gmail.com>
7529
7530 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7531
cf13177e
YM
75322013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7533
7534 * frame.el (display-pixel-height, display-pixel-width)
7535 (display-mm-height, display-mm-width): Mention behavior on
7536 multi-monitor setups in docstrings.
7537 (w32-display-monitor-attributes-list): Declare function.
7538 (display-monitor-attributes-list): Use it.
7539
864c58ca
MA
75402013-07-04 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * filenotify.el: New package.
7543
7544 * autorevert.el (top): Require filenotify.el.
7545 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7546 instead.
7547 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7548 (auto-revert-notify-handler): Use `file-notify-*' functions.
7549
7550 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7551
321e1a9c
SM
7552 * net/tramp.el (tramp-file-name-for-operation):
7553 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7554
7555 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7556 for `file-notify-add-watch' and `file-notify-rm-watch'.
7557 (tramp-process-sentinel): Improve trace.
7558 (tramp-sh-handle-file-notify-add-watch)
7559 (tramp-sh-file-notify-process-filter)
7560 (tramp-sh-handle-file-notify-rm-watch)
7561 (tramp-get-remote-inotifywait): New defuns.
7562
96673afe
JL
75632013-07-03 Juri Linkov <juri@jurta.org>
7564
7565 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7566 call of `occur-read-primary-args' to interactive spec.
7567
7568 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7569 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7570
924494f4
MM
75712013-07-03 Matthias Meulien <orontee@gmail.com>
7572
7573 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7574 `Buffer-menu-multi-occur'. Add it to the menu.
7575 (Buffer-menu-mode): Document it in docstring.
7576 (Buffer-menu-multi-occur): New command. (Bug#14673)
7577
56f75efc
DG
75782013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7579
7580 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7581 keywords and built-ins.
7582
9b057d61
GM
75832013-07-03 Glenn Morris <rgm@gnu.org>
7584
208dee4d
GM
7585 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7586
9b057d61
GM
7587 Make info-xref checks case-sensitive by default
7588 * info.el (Info-find-node, Info-find-in-tag-table)
7589 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7590 Add option for exact case matching of nodes.
7591 * info-xref.el (info-xref): New custom group.
7592 (info-xref-case-fold): New option.
7593 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7594
e01aa29c
LL
75952013-07-03 Leo Liu <sdl.web@gmail.com>
7596
7597 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7598
3086ca2e
DG
75992013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7600
7601 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7602 middle of block statement initially, lower the depth. Remove
7603 FIXME comment, not longer valid. Remove middle of block statement
7604 detection, no need to do that anymore since we've been using
7605 `ruby-parse-region' here.
7606
a3b49114
JD
76072013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7608
7609 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7610
08e5c823 76112013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7612
7613 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7614
2addf922
JB
76152013-07-01 Juanma Barranquero <lekktu@gmail.com>
7616
7617 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7618 (desktop-restore-in-current-display): New customization option.
7619 (desktop--excluded-frame-parameters): Add `font'.
7620 (desktop--save-frames): Rename from desktop--save-windows.
7621 (desktop--restore-in-this-display-p): New function.
7622 (desktop--make-full-frame): Remove unwanted width/height from
7623 full(width|height) frames.
7624 (desktop--restore-frames): Rename from desktop--restore-windows.
7625 Obey desktop-restore-current-display. Do not delete old frames or
7626 select a new frame unless we were able to restore at least one frame.
7627
ef099a94
MN
76282013-06-30 Michal Nazarewicz <mina86@mina86.com>
7629
7630 * files.el (find-file-noselect): Simplify conditional expression.
7631
a12bf61e 7632 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7633 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7634
7635 Add `remember-notes' function to store random notes across Emacs
7636 restarts.
a12bf61e 7637 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7638 notes buffer (if any).
7639 (remember-notes): New command.
7640 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7641 New defcustoms for the `remember-notes' function.
7642 (remember-notes-save-and-bury-buffer): New command.
7643 (remember-notes-mode-map): New variable.
7644 (remember-mode): New minor mode.
7645 (remember-notes--kill-buffer-query): New function.
7646 * startup.el (initial-buffer-choice): Add notes to custom type.
7647
0865d506
EZ
76482013-06-30 Eli Zaretskii <eliz@gnu.org>
7649
0ba54312
EZ
7650 * bindings.el (right-char, left-char): Don't call sit-for, this is
7651 no longer needed. Use arithmetic comparison only for numerical
7652 arguments.
7653
ef099a94
MN
7654 * international/mule-cmds.el (select-safe-coding-system):
7655 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7656
2fae38e5
LMI
76572013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7658
7659 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7660 progression on degenerate tables.
ef099a94 7661 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7662
a47cbd64
JB
76632013-06-30 Juanma Barranquero <lekktu@gmail.com>
7664
7665 Some fixes and improvements for desktop frame restoration.
7666 It is still experimental and disabled by default.
7667 * desktop.el (desktop--save-windows): Put the selected frame at
7668 the head of the list.
7669 (desktop--make-full-frame): New function.
7670 (desktop--restore-windows): Try to re-select the frame that was
7671 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7672 just show an error message and continue. Set up maximized frames
7673 so they have default non-maximized dimensions.
a47cbd64 7674
6dbafa30
DG
76752013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7676
ef099a94
MN
7677 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7678 Don't start heredoc inside a string or comment.
6dbafa30 7679
4c672a0f
EZ
76802013-06-29 Eli Zaretskii <eliz@gnu.org>
7681
7682 * bindings.el (visual-order-cursor-movement): New defcustom.
7683 (right-char, left-char): Provide visual-order cursor motion by
7684 calling move-point-visually. Update the doc strings.
7685
50960f36
KH
76862013-06-28 Kenichi Handa <handa@gnu.org>
7687
7688 * international/mule.el (define-coding-system): New coding system
7689 properties :inhibit-null-byte-detection,
7690 :inhibit-iso-escape-detection, and :prefer-utf-8.
7691 (set-buffer-file-coding-system): If :charset-list property of
7692 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7693 appropriate for setting.
7694
c1ea3abf
JB
7695 * international/mule-cmds.el (select-safe-coding-system):
7696 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7697 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7698
7699 * international/mule-conf.el (prefer-utf-8): New coding system.
7700 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7701 files.
7702
75dbaf9d
IK
77032013-06-28 Ivan Kanis <ivan@kanis.fr>
7704
eadb6068
IK
7705 * net/shr.el (shr-render-region): New function.
7706
75dbaf9d
IK
7707 * net/eww.el: Autoload `eww-browse-url'.
7708
9ea5cf9f
DG
77092013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7710
c1ea3abf
JB
7711 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7712 Adapt to `package-desc-version' being a list.
7713 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7714 archive element.
7715
39c0e36f
JB
77162013-06-27 Juanma Barranquero <lekktu@gmail.com>
7717
7718 New experimental feature to save&restore window and frame setup.
7719 * desktop.el (desktop-save-windows): New defcustom.
7720 (desktop--saved-states): New var.
7721 (desktop--excluded-frame-parameters): New defconst.
7722 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7723 (desktop--restore-windows, desktop--save-windows): New functions.
7724 (desktop-save): Call `desktop--save-windows'.
7725 (desktop-read): Call `desktop--restore-windows'.
7726
7f13406b
LMI
77272013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7728
ef099a94 7729 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7730
1e072639
SB
77312013-06-27 Stephen Berman <stephen.berman@gmx.net>
7732
7733 * info.el (Info-try-follow-nearest-node): Move search for footnote
7734 above search for node name to prevent missing a footnote (bug#14717).
7735
f3e2cbde
SB
77362013-06-27 Stephen Berman <stephen.berman@gmx.net>
7737
7738 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7739
99906aa0
LL
77402013-06-27 Leo Liu <sdl.web@gmail.com>
7741
7742 * net/eww.el (eww-read-bookmarks): Check file size.
7743
539f75f4
SM
77442013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7747 advice--pending if newdef is nil or an autoload (bug#13820).
7748 (advice-mapc): New function.
7749
843571cb
LMI
77502013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7751
7752 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7753 probably.
23a75d7f 7754 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7755 (eww-add-bookmark): New command.
7756 (eww-bookmark-mode): New mode and commands.
a285ce99 7757 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7758 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7759
f2136e1e
GM
77602013-06-26 Glenn Morris <rgm@gnu.org>
7761
eab35f39
GM
7762 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7763 (hfy-size): Handle ttys. (Bug#14668)
7764
f2136e1e
GM
7765 * info-xref.el: Update for Texinfo 5 change in *note format.
7766 (info-xref-node-re, info-xref-note-re): New constants.
7767 (info-xref-check-buffer): Use info-xref-note-re.
7768
a49ff80c
SM
77692013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7770
a343d218
SM
7771 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7772
a49ff80c
SM
7773 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7774 nil terminate the loop (bug#14718).
7775
8308f184
LMI
77762013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7777
7778 * net/eww.el: Rework history traversal. When going forward/back,
7779 put these actions into the history, too, so that they can be
7780 replayed.
26bf2b82 7781 (eww-render): Move the history reset to the correct buffer.
8308f184 7782
ec64c273
JL
77832013-06-25 Juri Linkov <juri@jurta.org>
7784
7785 * files-x.el (modify-dir-local-variable): Change the header comment
7786 in the file with directory local variables. (Bug#14692)
7787
e080a9d7
JL
7788 * files-x.el (read-file-local-variable-value): Add `default'.
7789 (Bug#14710)
7790
bfbc93a1
IK
77912013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7792
7793 * net/eww.el (eww-make-unique-file-name): Create a unique file
7794 name before saving to entering `y' accidentally asynchronously.
7795
77962013-06-25 Ivan Kanis <ivan@kanis.fr>
7797
7798 * net/eww.el (eww-download): New command and keystroke.
7799
16f74f10
LMI
78002013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7801
a49ff80c 7802 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7803
7804 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7805 be more consistent with Info and dired.
7806
7807 * net/eww.el (eww-mode-map): Ditto.
7808
12059709
SM
78092013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7812 packages from archives.
7813 (package-archive-contents): Change format; include obsolete packages.
7814 (package-desc): Use `dir' to mark builtin packages.
7815 (package--from-builtin): Set the `dir' field to `builtin'.
7816 (generated-autoload-file, version-control): Declare.
7817 (package-compute-transaction): Change first arg and return value to be
7818 lists of package-descs. Adjust to new package-archive-contents format.
7819 (package--add-to-archive-contents): Adjust to new
7820 package-archive-contents format.
7821 (package-download-transaction): Arg is now a list of package-descs.
7822 (package-install): If `pkg' is a package name, pass it as
7823 a requirement, so it is subject to the usual (e.g. disabled) checks.
7824 (describe-package): Accept package-desc as well.
7825 (describe-package-1): Describe a specific package-desc. Add links to
7826 other package-descs for the same package name.
7827 (package-menu-describe-package): Pass the actual package-desc.
7828 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7829 works correctly.
7830 (package-desc-status): New function.
7831 (package-menu--refresh): New function, extracted
7832 from package-menu--generate.
7833 (package-menu--generate): Use it.
7834 (package-delete): Update package-alist.
7835 (package-menu-execute): Don't call package-initialize.
7836
7837 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7838 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7839 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7840 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7841 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7842 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7843
8bbdea0f
MR
78442013-06-25 Martin Rudalics <rudalics@gmx.at>
7845
7846 * window.el (window--state-get-1): Workaround for bug#14527.
7847 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7848
e82b0991
LMI
78492013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850
7851 * net/eww.el (eww-back-url): Implement the history by stashing all
7852 the data into a list.
d3f0f918 7853 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7854
c763842b
SM
78552013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7858 for values and use read--expression for expressions (bug#14710).
7859 (read-file-local-variable): Avoid setq.
7860 (read-file-local-variable-mode): Use minor-mode-list.
7861
bceff189
RW
78622013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7863
864c58ca 7864 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7865 for DOI URLs.
7866
45f431c6
RW
78672013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7868
864c58ca 7869 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7870 Update imenu-support when dialect changes.
7871
f42d8237
LL
78722013-06-25 Leo Liu <sdl.web@gmail.com>
7873
7874 * ido.el (ido-read-internal): Allow forward slash on windows.
7875
be549ce6
LMI
78762013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7877
7878 * net/eww.el (eww): Start of strings is \\`, not ^.
7879
71d4c19d
IK
78802013-06-24 Ivan Kanis <ivan@kanis.fr>
7881
5196f88a
IK
7882 * net/shr.el (shr-browse-url): Fix interactive spec.
7883
71d4c19d
IK
7884 * net/eww.el (eww): Add a trailing slash to domain names.
7885
ae36ca55
JB
78862013-06-24 Juanma Barranquero <lekktu@gmail.com>
7887
7888 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7889
0ebd92a3
LMI
78902013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7891
bdaa086b
LMI
7892 * net/shr.el (shr-browse-url): Use an external browser if given a
7893 prefix.
7894
c763842b 7895 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7896
b89fc156
IK
78972013-06-24 Ivan Kanis <ivan@kanis.fr>
7898
7899 * net/eww.el (eww): Work more correctly for file: URLs.
7900 (eww-detect-charset): Allow quoted charsets.
7901 (eww-yank-page-url): New command and keystroke.
7902
18eb4bca
DU
79032013-06-24 Daiki Ueno <ueno@gnu.org>
7904
7905 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7906 file name of gpg executable.
7907 (epg-context-program): New function.
7908 (epg-context-home-directory): New function.
7909 (epg-context-set-program): New function.
7910 (epg-context-set-home-directory): New function.
7911 (epg--start): Use `epg-context-program' instead of
7912 'epg-gpg-program'.
7913 (epg--list-keys-1): Likewise.
7914
6c6268c8
LL
79152013-06-24 Leo Liu <sdl.web@gmail.com>
7916
7917 * ido.el (ido-read-internal): Fix bug#14620.
7918
5e400cb3
JB
79192013-06-23 Juanma Barranquero <lekktu@gmail.com>
7920
7921 * faces.el (face-documentation): Simplify.
7922 (read-face-attribute, tty-find-type, x-resolve-font-name):
7923 Use `string-match-p'.
7924 (list-faces-display): Use `string-match-p'. Simplify.
7925 (face-spec-recalc): Check face to avoid face alias loops.
7926 (read-color): Use `string-match-p' and non-capturing parenthesis.
7927
f3f9606c
LMI
79282013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7929
7930 * net/shr.el (shr-rescale-image): Use the new
7931 :max-width/:max-height functionality.
7932
a3ca09b9
IK
79332013-06-23 Ivan Kanis <ivan@kanis.fr>
7934
7935 * net/eww.el (eww-search-prefix): New variable.
7936 (eww): Use it.
f865b474
IK
7937 (eww-external-browser): New variable.
7938 (eww-mode-map): New keystroke.
7939 (eww-browse-with-external-browser): New command.
a3ca09b9 7940
e854cfc7
IK
7941 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7942
18bb9e21
JB
79432013-06-23 Juanma Barranquero <lekktu@gmail.com>
7944
7945 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7946 Don't skip aligning the next header field when padding is 0;
7947 otherwise, field width is not respected unless the title is as
7948 wide as the field.
7949
5b165ade
SM
79502013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * emacs-lisp/package.el (package-el-version): Remove.
7953 (package-process-define-package): Fix inf-loop.
7954 (package-install): Allow symbols as arguments again.
7955
12adebe9
DG
79562013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7957
7958 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7959 add some more keyword-like methods.
7960 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7961
388573ee
JB
79622013-06-22 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * bs.el (bs-buffer-show-mark): Make defvar-local.
7965 (bs-mode): Use setq-local.
7966
7967 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7968 (emacs-lock--try-unlocking): Make defvar-local.
7969
4582a01c 79702013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7971
2663dd23
GM
7972 * play/cookie1.el (cookie-apropos): Minor simplification.
7973
3d94f3ad
GM
7974 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7975
f72e2fdb
DG
79762013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7977
7978 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7979 `regexp-opt', it breaks the build during dumping.
7980
73eab938
DG
79812013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7982
c763842b
SM
7983 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7984 Highlight keyword-like methods on Kernel and Module with
73eab938 7985 font-lock-builtin-face.
5cf8176d
DG
7986 (auto-mode-alist): Consolidate different entries into one regexp
7987 and add more *file-s.
73eab938 7988
d26255f6
SB
79892013-06-21 Stephen Berman <stephen.berman@gmx.net>
7990
7991 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7992
7993 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7994 (diary-entry): Use it in the action of this button type instead of
7995 diary-goto-entry.
7996
7997 * calendar/todo-mode.el: New version.
7998 (todo-add-category): Append new category to end of file and give
7999 it the highest number, instead of putting it at the beginning and
8000 giving it 0. Incorporate noninteractive functionality.
8001 (todo-forward-category): Adapt to 1-based category numbering.
8002 Allow skipping over archived categories.
8003 (todo-backward-category): Derive from todo-forward-category.
8004 (todo-backward-item, todo-forward-item): Make noninteractive and
8005 delegate interactive part to new commands. Make sensitive to done items.
8006 (todo-categories): Make value an alist of category names and
8007 vectors of item counts.
8008 (todo-category-beg): Make a defconst.
8009 (todo-category-number): Use 1 instead of 0 as initial value.
8010 (todo-category-select): Make sensitive to overlays, optional item
8011 highlighting and done items.
8012 (todo-delete-item): Make sensitive to overlays and marked and done items.
8013 (todo-edit-item): Make sensitive to overlays and editing of
8014 date/time header optional. Add format checks.
8015 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8016 no-op if point is not on an item. Advertise using todo-edit-quit.
8017 (todo-edit-mode): Make sensitive to new format, font-locking, and
8018 multiple todo files.
8019 (todo-insert-item, todo-insert-item-here): Derive from
8020 todo-basic-insert-item and extend functionality.
8021 (todo-item-end, todo-item-start): Make sensitive to done items.
8022 (todo-item-string): Don't return text properties. Restore point.
8023 (todo-jump-to-category): Make sensitive to multiple todo files and
8024 todo archives. Use extended category completion.
8025 (todo-lower-item, todo-raise-item): Rename to *-priority and
8026 derive from todo-set-item-priority.
8027 (todo-mode): Derive from special-mode. Make sensitive to new
8028 format, font-locking and multiple todo files. Make read-only.
8029 (todo-mode-map): Don't suppress digit keys, so they can supply
8030 prefix arguments. Add many new key bindings.
8031 (todo-prefix): Insert as an overlay instead of file text.
8032 Change semantics from diary date expression to purely visual mark.
8033 (todo-print): Rename to todo-print-buffer. Make buffer display
8034 features printable. Remove option to restrict number of items
8035 printed. Add option to print to file.
8036 (todo-print-function): Rename to todo-print-buffer-function.
8037 (todo-quit): Extend to handle exiting new todo modes.
8038 (todo-remove-item): Make sensitive to overlays.
8039 (todo-save): Extend to buffers of filtered items.
8040 (todo-show): Make sensitive to done items, multiple todo files and
8041 new todo modes. Offer to convert legacy todo file before creating
8042 first new todo file.
8043 (todo-show-priorities): Rename to todo-top-priorities.
8044 Change semantics of value 0.
8045 (todo-top-priorities): Rename to todo-filter-top-priorities,
8046 derive from todo-filter-items and extend functionality.
8047 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8048 and extend functionality to other types of filtered items.
8049 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8050 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8051 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8052 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8053 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8054 (todo-edit-mode-hook, todo-entry-prefix-function)
8055 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8056 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8057 (todo-initials, todo-insert-threshold, todo-item-string-start)
8058 (todo-line-string, todo-menu, todo-mode-hook)
8059 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8060 (todo-print-priorities, todo-remove-separator)
8061 (todo-save-top-priorities-too, todo-string-count-lines)
8062 (todo-string-multiline-p, todo-time-string-format)
8063 (todo-tmp-buffer-name): Remove.
8064 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8065 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8066 (todo-edit-category-diary-inclusion)
8067 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8068 (todo-edit-file, todo-edit-item-date-day)
8069 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8070 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8071 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8072 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8073 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8074 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8075 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8076 (todo-filter-top-priorities-multifile, todo-find-archive)
8077 (todo-find-filtered-items-file, todo-go-to-source-item)
8078 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8079 (todo-jump-to-archive-category, todo-lower-category)
8080 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8081 (todo-move-category, todo-move-item, todo-next-button)
8082 (todo-next-item, todo-padded-string, todo-powerset)
8083 (todo-previous-button, todo-previous-item)
8084 (todo-print-buffer-to-file, todo-raise-category)
8085 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8086 (todo-set-category-number, todo-set-item-priority)
8087 (todo-set-top-priorities-in-category)
8088 (todo-set-top-priorities-in-file, todo-show-categories-table)
8089 (todo-sort-categories-alphabetically-or-numerically)
8090 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8091 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8092 (todo-toggle-item-header, todo-toggle-item-highlighting)
8093 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8094 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8095 (todo-unarchive-items, todo-unmark-category): New commands.
8096 (todo-absolute-file-name, todo-add-to-buffer-list)
8097 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8098 (todo-basic-insert-item, todo-category-completions)
8099 (todo-category-number, todo-category-string-matcher-1)
8100 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8101 (todo-check-format, todo-clear-matches)
8102 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8103 (todo-current-category, todo-date-string-matcher)
8104 (todo-define-insertion-command, todo-diary-expired-matcher)
8105 (todo-diary-goto-entry, todo-diary-item-p)
8106 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8107 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8108 (todo-done-item-section-p, todo-done-separator)
8109 (todo-done-string-matcher, todo-files, todo-filter-items)
8110 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8111 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8112 (todo-insert-category-line, todo-insert-item-from-calendar)
8113 (todo-insert-sort-button, todo-insert-with-overlays)
8114 (todo-insertion-command-name, todo-insertion-key-bindings)
8115 (todo-label-to-key, todo-longest-category-name-length)
8116 (todo-make-categories-list, todo-mode-external-set)
8117 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8118 (todo-modes-set-3, todo-multiple-filter-files)
8119 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8120 (todo-read-category, todo-read-date, todo-read-dayname)
8121 (todo-read-file-name, todo-read-time)
8122 (todo-reevaluate-category-completions-files-defcustom)
8123 (todo-reevaluate-default-file-defcustom)
8124 (todo-reevaluate-filelist-defcustoms)
8125 (todo-reevaluate-filter-files-defcustom)
8126 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8127 (todo-reset-done-separator, todo-reset-done-separator-string)
8128 (todo-reset-done-string, todo-reset-global-current-todo-file)
8129 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8130 (todo-reset-prefix, todo-set-categories)
8131 (todo-set-date-from-calendar, todo-set-show-current-file)
8132 (todo-set-top-priorities, todo-short-file-name)
8133 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8134 (todo-total-item-counts, todo-update-buffer-list)
8135 (todo-update-categories-display, todo-update-categories-sexp)
8136 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8137 New functions.
8138 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8139 New major modes.
8140 (todo-categories, todo-display, todo-edit, todo-faces)
8141 (todo-filtered): New defgroups.
8142 (todo-archived-only, todo-button, todo-category-string, todo-date)
8143 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8144 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8145 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8146 (todo-add-item-if-new-category, todo-always-add-time-string)
8147 (todo-categories-align, todo-categories-archived-label)
8148 (todo-categories-category-label, todo-categories-diary-label)
8149 (todo-categories-done-label, todo-categories-number-separator)
8150 (todo-categories-todo-label, todo-categories-totals-label)
8151 (todo-category-completions-files, todo-completion-ignore-case)
8152 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8153 (todo-done-separator-string, todo-done-string)
8154 (todo-files-function, todo-filter-done-items, todo-filter-files)
8155 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8156 (todo-initial-category, todo-initial-file, todo-item-mark)
8157 (todo-legacy-date-time-regexp, todo-mode-line-function)
8158 (todo-nondiary-marker, todo-number-prefix)
8159 (todo-print-buffer-function, todo-show-current-file)
8160 (todo-show-done-only, todo-show-first, todo-show-with-done)
8161 (todo-skip-archived-categories, todo-top-priorities-overrides)
8162 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8163 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8164 New defcustoms.
8165 (todo-category-done, todo-date-pattern, todo-date-string-start)
8166 (todo-diary-items-buffer, todo-done-string-start)
8167 (todo-filtered-items-buffer, todo-item-start)
8168 (todo-month-abbrev-array, todo-month-name-array)
8169 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8170 (todo-top-priorities-buffer): New defconsts.
8171 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8172 (todo-categories-with-marks, todo-category-string-face)
8173 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8174 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8175 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8176 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8177 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8178 (todo-font-lock-keywords, todo-global-current-todo-file)
8179 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8180 (todo-insertion-commands-args)
8181 (todo-insertion-commands-args-genlist)
8182 (todo-insertion-commands-names, todo-insertion-map)
8183 (todo-key-bindings-t, todo-key-bindings-t+a)
8184 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8185 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8186 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8187 (todo-visited): New variables.
8188
cad5d1cb
GM
81892013-06-21 Glenn Morris <rgm@gnu.org>
8190
8191 * play/cookie1.el (cookie-apropos): Add optional display argument.
8192 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8193 (psychoanalyze-pinhead): Use cookie-doctor.
8194
9e277302
JB
81952013-06-21 Juanma Barranquero <lekktu@gmail.com>
8196
8197 * emacs-lisp/package.el (tar-get-file-descriptor)
8198 (tar--extract): Declare.
8199
c5b0993e
EW
82002013-06-21 Eduard Wiebe <usenet@pusto.de>
8201
8202 Extend flymake's warning predicate to be a function (bug#14217).
8203 * progmodes/flymake.el (flymake-warning-predicate): New.
8204 (flymake-parse-line): Use it.
8205 (flymake-warning-re): Make obsolete alias to
8206 `flymake-warning-predicate'.
8207
a7d2d465
SM
82082013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8211 (package-obsolete-list): Remove.
8212 (package-activate): Remove min-version argument. Add `force' argument.
8213 Adjust to new package-alist format.
8214 (package-mark-obsolete): Remove.
8215 (package-unpack): Force reload of the package's autoloads.
8216 (package-installed-p): Check builtins if the installed package is not
8217 recent enough.
8218 (package-initialize): Don't reset package-obsolete-list.
8219 Don't specify which package version to activate.
8220 (package-process-define-package, describe-package-1)
8221 (package-menu--generate): Adjust to new package-alist format.
8222
cedf5c9d
JB
82232013-06-21 Juanma Barranquero <lekktu@gmail.com>
8224
8225 * allout-widgets.el (allout-widgets-mode-off)
8226 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8227 (allout-widgets-post-command-business)
8228 (allout-widgets-after-copy-or-kill-function)
8229 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8230 (allout-decorate-item-and-context)
8231 (allout-graphics-modification-handler): Fix typos in docstrings.
8232 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8233
8234 * cmuscheme.el (scheme-start-file): Doc fix.
8235 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8236 (scheme-input-filter): Use `string-match-p'.
8237
8238 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8239
8240 * dired-x.el: Use Dired consistently in docstrings.
8241
8242 * dired.el: Use Dired consistently in docstrings.
8243 (dired-readin, dired-mode): Use `setq-local'.
8244 (dired-switches-alist): Make defvar-local.
8245 (dired-buffers-for-dir): Use `zerop'.
8246 (dired-safe-switches-p, dired-switches-escape-p)
8247 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8248 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8249 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8250 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8251 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8252 (dired-toggle-marks, dired-mark-files-containing-regexp)
8253 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8254 (dired-flag-auto-save-files, dired-flag-backup-files):
8255 Use `looking-at-p'.
8256 (dired-mark-files-regexp, dired-build-subdir-alist):
8257 Use `string-match-p', `looking-at-p'.
8258
8259 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8260 (direct-print-region-helper): Use `string-match-p'.
8261
aed838b5
LL
82622013-06-21 Leo Liu <sdl.web@gmail.com>
8263
cedf5c9d
JB
8264 * comint.el (comint-redirect-results-list-from-process):
8265 Fix infinite loop.
aed838b5 8266
d80a808f
LMI
82672013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
8269 * net/eww.el (eww-update-header-line-format): Quote % characters.
8270
e7a526e3
GM
82712013-06-21 Glenn Morris <rgm@gnu.org>
8272
8273 * play/cookie1.el (cookie): New custom group.
8274 (cookie-file): New option.
8275 (cookie-check-file): New function.
8276 (cookie): Make it interactive. Make start and end messages optional.
8277 Interactively, display the result. Default to cookie-file.
8278 (cookie-insert): Default to cookie-file.
8279 (cookie-snarf): Make start and end messages optional.
8280 Default to cookie-file. Use with-temp-buffer.
8281 (cookie-read): Rename from read-cookie.
8282 Make start and end messages optional. Default to cookie-file.
8283 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8284 Do not autoload it.
e7a526e3
GM
8285 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8286 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8287
62efb35e
LL
82882013-06-21 Leo Liu <sdl.web@gmail.com>
8289
8290 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8291
21e3f963
GM
82922013-06-21 Glenn Morris <rgm@gnu.org>
8293
8294 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8295
fd846ab4
SM
82962013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8297 Daniel Hackney <dan@haxney.org>
8298
8299 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8300 Consolidate the single-file vs tarball code.
8301 (package-desc-suffix): New function.
8302 (package-desc-full-name): Don't bother inlining it.
8303 (package-load-descriptor): Return the new package-desc.
8304 (package-mark-obsolete): Remove unused arg `package'.
8305 (package-unpack): Make it work for single files as well.
8306 Make it update package-alist.
8307 (package--make-autoloads-and-stuff): Rename from
8308 package--make-autoloads-and-compile. Don't compile any more.
8309 (package--compile): New function.
8310 (package-generate-description-file): New function, extracted from
8311 package-unpack-single.
8312 (package-unpack-single): Remove.
8313 (package--with-work-buffer): Add indentation and debugging info.
8314 (package-download-single): Remove.
8315 (package-install-from-archive): Rename from package-download-tar, make
8316 it take a pkg-desc, and make it work for single files as well.
8317 (package-download-transaction): Simplify.
8318 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8319 external tar program.
8320 (package-install-from-buffer): Remove `pkg-desc' argument.
8321 Use package-tar-file-info for tar-mode buffers.
8322 (package-install-file): Simplify accordingly.
8323 (package-archive-base): Change to take a pkg-desc.
8324 * tar-mode.el (tar--check-descriptor): New function, extracted from
8325 tar-get-descriptor.
8326 (tar-get-descriptor): Use it.
8327 (tar-get-file-descriptor): New function.
8328 (tar--extract): New function, extracted from tar-extract.
8329 (tar--extract): Use it.
8330 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8331 case the summary uses non-ascii. Adjust to new calling convention of
8332 package-tar-file-info.
8333
b7deae5e
LL
83342013-06-21 Leo Liu <sdl.web@gmail.com>
8335
fd846ab4
SM
8336 * comint.el (comint-redirect-results-list-from-process):
8337 Fix random delay. (Bug#14681)
b7deae5e 8338
7a65a0b2
JB
83392013-06-21 Juanma Barranquero <lekktu@gmail.com>
8340
8341 * profiler.el (profiler-format-number): Use log, not log10.
8342
1493c2af
JB
83432013-06-20 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8346
aff6371e
SM
83472013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8350 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8351 yet available.
8352 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8353 (AUTOGENEL): ... here.
8354 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8355 (cl--defsubst-expand): Use it.
8356
89561f72
PE
83572013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8358
8359 * subr.el (log10): Move here from C code, and declare as obsolete.
8360 All uses of (log10 X) replaced with (log X 10).
8361
47199123
JB
83622013-06-20 Juanma Barranquero <lekktu@gmail.com>
8363
8364 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8365 Declare with `defvar-local'.
8366 (tabulated-list-use-header-line, tabulated-list-entries)
8367 (tabulated-list-padding, tabulated-list-printer)
8368 (tabulated-list-sort-key): Declare with `defvar-local'.
8369 (tabulated-list-init-header, tabulated-list-print-fake-header):
8370 Use `setq-local'.
8371
4a172eab
MA
83722013-06-20 Michael Albinus <michael.albinus@gmx.de>
8373
47199123
JB
8374 * arc-mode.el (archive-mode): Add `archive-write-file' to
8375 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8376
5fc0acc0
JB
83772013-06-20 Juanma Barranquero <lekktu@gmail.com>
8378
d5b27848
JB
8379 * cus-edit.el (custom-commands): Fix typos.
8380 (custom-display): Fix tooltip text.
8381 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8382 Fix typos in docstrings.
8383 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8384 (custom-unlispify-menu-entry, custom-magic-value-create)
8385 (custom-add-see-also, custom-group-value-create): Use ?\s.
8386 (custom-guess-type, customize-apropos, editable-field)
8387 (custom-face-value-create): Use `string-match-p'.
8388 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8389
8390 * custom.el (custom-load-symbol): Use `string-match-p'.
8391
a5c581d8
JB
8392 * ansi-color.el: Convert to lexical binding.
8393 (ansi-colors): Fix URL.
8394 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8395 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8396 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8397
970ad972
G
83982013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8399
8400 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8401
8402 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8403
84042013-06-19 Tom Tromey <tromey@redhat.com>
8405
8406 * net/eww.el (eww-top-url): Remove.
8407 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8408 (eww-render): Set new variables. Don't set eww-top-url.
8409 (eww-handle-link): Handle "prev", "home", and "contents".
8410 Downcase the rel text.
8411 (eww-top-url): Choose best top URL.
8412
84132013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8414
8415 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8416 relying in widget.el. Using widget.el leads to too many
8417 user interface inconsistencies.
8418 (eww-self-insert): Implement entering commands in text fields.
8419 (eww-process-text-input): New function to make text input field editing
8420 work.
8421 (eww-submit): Rewrite to use the new-style form methods.
8422 (eww-select-display): Display the correct selected item.
8423 (eww-change-select): Implement changing the select value.
8424 (eww-toggle-checkbox): Implement radio/checkboxes.
8425 (eww-update-field): Fix compilation error.
8426 (eww-tag-textarea): Implement <textarea>.
8427
8428 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8429 we don't shadow mode-specific bindings.
8430
8431 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8432 nothing to push.
8433
8434 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8435
4582a01c 84362013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8437
8438 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8439
15b263dc
MA
84402013-06-19 Michael Albinus <michael.albinus@gmx.de>
8441
8442 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8443 not needed.
8444
8445 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8446
8f5297f7
LMI
84472013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
8449 * net/browse-url.el (browse-url-browser-function):
8450 `eww-browse-url' has the right calling signature, `eww' does not.
8451
011c4552
GM
84522013-06-19 Glenn Morris <rgm@gnu.org>
8453
2285bd27
GM
8454 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8455 Only eval autoloaded macros.
8456 (byte-compile-autoload): Only give the macro warning for macros.
8457
1d653303
GM
8458 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8459 (ps-underlined-faces): Declare.
8460
bdd779ec
GM
8461 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8462 (speedbar-add-supported-extension): Declare.
8463
011c4552
GM
8464 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8465 Don't include a date stamp in the header of the generated file;
8466 it leads to needless differences between output files.
8467
e59dfb0e
MA
84682013-06-19 Michael Albinus <michael.albinus@gmx.de>
8469
c763842b
SM
8470 * net/secrets.el (secrets-struct-secret-content-type):
8471 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8472 Some servers do not offer introspection.
e59dfb0e 8473
102626e2
SM
84742013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * electric.el (electric-pair-mode): Improve interaction with
8477 electric-layout-mode.
8478 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8479 (electric-pair-syntax): Use text-mode-syntax-table in comments
8480 and strings.
8481 (electric-pair--insert): New function.
8482 (electric-pair-post-self-insert-function): Use it and
8483 electric--after-char-pos.
8484
ad528125
LL
84852013-06-19 Leo Liu <sdl.web@gmail.com>
8486
8487 * progmodes/octave.el (octave-help): Fix regexp.
8488
924d6997
G
84892013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8490
8491 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8492 (shr-table-horizontal-line): Allow nil as a value, and change the
8493 default.
8494 (shr-insert-table-ruler): Respect the nil value.
8495
84962013-06-18 Tom Tromey <tromey@barimba>
8497
8498 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8499 New defvars.
8500 (eww-open-file): New defun.
8501 (eww-render): Initialize new variables.
8502 (eww-display-html): Handle "link" and "a".
8503 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8504 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8505 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8506 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8507 New defuns.
924d6997 8508
d1bbba4f
DG
85092013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8510
8511 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8512 Distinguish ternary operator tokens from slash symbol and slash
8513 char literal.
8514
14dd22d2
JB
85152013-06-18 Juanma Barranquero <lekktu@gmail.com>
8516
8517 Convert symbol prettification into minor mode and global minor mode.
8518
8519 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8520 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8521 (prettify-symbols--keywords): Rename from
8522 `prog-prettify-symbols-alist' and make a local defvar.
8523 (prettify-symbols--compose-symbol): Rename from
8524 `prog--prettify-font-lock-compose-symbol'.
8525 (prettify-symbols--make-keywords): Rename from
8526 `prog-prettify-font-lock-symbols-keywords' and simplify.
8527 (prog-prettify-install): Remove.
8528 (prettify-symbols-mode): New minor mode, based on
8529 `prog-prettify-install'.
8530 (turn-on-prettify-symbols-mode): New function.
8531 (global-prettify-symbols-mode): New globalized minor mode.
8532
8533 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8534 * progmodes/cfengine.el (cfengine3-mode):
8535 * progmodes/perl-mode.el (perl-mode): Don't call
8536 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8537
292c880c
JL
85382013-06-18 Juri Linkov <juri@jurta.org>
8539
8540 * files-x.el (modify-file-local-variable-message): New function.
8541 (modify-file-local-variable)
8542 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8543 and call `modify-file-local-variable-message' when it's non-nil.
8544 (add-file-local-variable, delete-file-local-variable)
8545 (add-file-local-variable-prop-line)
8546 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8547 and use it. (Bug#9820)
8548
0950aa27
JL
85492013-06-18 Juri Linkov <juri@jurta.org>
8550
8551 * emulation/vi.el (vi-shell-op):
8552 * emulation/vip.el (vip-execute-com, ex-command):
8553 * emulation/viper-cmd.el (viper-exec-bang):
8554 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8555 the call of `shell-command-on-region'. (Bug#14637)
8556
8557 * simple.el (shell-command-on-region): Doc fix.
8558
8fbcca16
SM
85592013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8562 (bug#14633).
8563
dd7426ea
GM
85642013-06-18 Glenn Morris <rgm@gnu.org>
8565
4ba54f7d
GM
8566 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8567
dd7426ea
GM
8568 * newcomment.el (comment-search-forward, comment-search-backward):
8569 Doc fix. (Bug#14376)
8570
58aa805b
JB
85712013-06-18 Juanma Barranquero <lekktu@gmail.com>
8572
8573 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8574 (buffer-face-mode-invoke): Doc fix.
8575
9a08a617
MM
85762013-06-18 Matthias Meulien <orontee@gmail.com>
8577
8578 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8579 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8580
f2f426ca
GM
85812013-06-18 Glenn Morris <rgm@gnu.org>
8582
9445f99b
GM
8583 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8584 Replace obsolete function generic-make-keywords with its expansion.
8585
e0df2d14
GM
8586 * progmodes/python.el (ffap-alist): Declare.
8587
f2f426ca
GM
8588 * textmodes/reftex.el (bibtex-mode-map): Declare.
8589
f7f9a720
SM
85902013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8591
8592 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8593 (package-unpack, package-unpack-single): Return the pkg-dir.
8594 (package-download-transaction): Use it to update package-alist.
8595
57ff04e0
LMI
85962013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8597
8598 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8599 possible choice.
8600
c048c022
JL
86012013-06-17 Juri Linkov <juri@jurta.org>
8602
8603 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8604
b5bcaee5
DG
86052013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8606
a020afb9
JB
8607 * emacs-lisp/package.el (package-load-descriptor):
8608 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8609 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8610
551e07e5
JB
86112013-06-17 Juanma Barranquero <lekktu@gmail.com>
8612
8613 * startup.el (command-line): Expand package name returned by
8614 `package--description-file' (bug#14639).
8615
d363bffb
DG
86162013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8617
8618 * emacs-lisp/package.el (package-load-descriptor): Do not call
8619 `emacs-lisp-mode', just use its syntax table.
8620
f612933b
JB
86212013-06-17 Juanma Barranquero <lekktu@gmail.com>
8622
8623 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8624 `font-lock-extra-managed-props' if any prettifying keyword is added.
8625 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8626 (prog-mode): Use `setq-local'.
8627
db3b7db5
SM
86282013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8629
8630 * international/characters.el (standard-case-table): Set syntax of ?»
8631 and ?« to punctuation.
8632
f3d674df
JB
86332013-06-16 Juanma Barranquero <lekktu@gmail.com>
8634
8635 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8636 Save relevant match data before calling `syntax-ppss' (bug#14595).
8637
31489a32
JL
86382013-06-15 Juri Linkov <juri@jurta.org>
8639
8640 * files-x.el (modify-file-local-variable-prop-line): Add local
8641 variables to the end of the existing comment on the first line.
8642 Use `file-auto-mode-skip' to skip interpreter magic line,
8643 and also skip XML declaration.
8644
66bd25ab
SM
86452013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * startup.el (package--builtin-versions): New var.
8648 (package-subdirectory-regexp): Remove.
8649 (package--description-file): Hard code its value instead.
8650
8651 * emacs-lisp/package.el: Don't activate packages older than builtin.
8652 (package-obsolete-list): Rename from package-obsolete-alist, and make
8653 it into a simple list of package-desc.
8654 (package-strip-version): Remove.
8655 (package-built-in-p): Use package--builtin-versions.
8656 (package-mark-obsolete): Simplify.
8657 (package-process-define-package): Mark it obsolete if older than the
8658 builtin version.
8659 (package-handle-response): Use line-end-position.
8660 (package-read-archive-contents, package--download-one-archive):
8661 Simplify.
8662 (package--add-to-archive-contents): Skip if older than the builtin or
8663 installed version.
8664 (package-menu-describe-package): Fix last change.
8665 (package-list-unversioned): New var.
8666 (package-menu--generate): Use it.
8667
8668 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8669 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8670 (autoload-builtin-package-versions): New variable.
8671 (autoload-generate-file-autoloads): Use them.
8672 Remove the list of autoloaded functions/macros from the
8673 (autoload...) comments.
8674
8675 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8676
9583ec36
EZ
86772013-06-15 Eli Zaretskii <eliz@gnu.org>
8678
8679 * simple.el (line-move-partial): Don't jump to the next screen
8680 line as soon as it becomes visible. Instead, continue enlarging
8681 the vscroll until the portion of a tall screen line that's left on
8682 display is about the height of the frame's default font.
8683 (Bug#14567)
8684
f0100d8a
GM
86852013-06-15 Glenn Morris <rgm@gnu.org>
8686
b86a85ca
GM
8687 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8688 compilation-error-regexp-alist void, or local while let-bound.
8689
f0100d8a
GM
8690 * progmodes/make-mode.el (makefile-mode-syntax-table):
8691 Treat "=" as punctuation. (Bug#14614)
8692
05e7ce90
JB
86932013-06-15 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * help-fns.el (describe-variable):
8696 Add extra line for permanent-local variables.
8697
12e5e86e
SH
86982013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8699
8700 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8701 Add export, import, library. (Bug#9164)
8702 (library): Set indent function.
8703
230dcbaf
GM
87042013-06-14 Glenn Morris <rgm@gnu.org>
8705
8706 * term/xterm.el (xterm--query):
8707 Stop after first matching handler. (Bug#14615)
8708
e36b2d20 87092013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8710
8711 Add support for dired in saveplace.
8712 * dired.el (dired-initial-position-hook): New variable.
8713 (dired-initial-position): Call hook to place cursor position.
8714 * saveplace.el (save-place-to-alist): Add dired position.
8715 (save-place-dired-hook): New function.
8716
0b31660d
SM
87172013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8718
bf1e6ae8
SM
8719 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8720 through a symbol rather than letrec.
8721
1b8dff23
SM
8722 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8723 (package-desc): Add `dir' field.
8724 (package-desc-full-name): New function.
8725 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8726 (package-maybe-load-descriptor): Remove.
8727 (package-load-all-descriptors): Just call package-load-descriptor.
8728 (package--disabled-p): New function.
8729 (package-desc-vers, package-desc-doc): Remove aliases.
8730 (package--dir): Remove function.
8731 (package-activate): Check if a package is disabled.
8732 (package-process-define-package): New function, extracted from
8733 define-package.
8734 (define-package): Turn into a place holder.
8735 (package-unpack-single, package-tar-file-info):
8736 Use package--description-file.
8737 (package-compute-transaction): Use package--disabled-p.
8738 (package-download-transaction): Don't call
8739 package-maybe-load-descriptor since they're all loaded anyway.
8740 (package-install): Change argument to be a pkg-desc.
8741 (package-delete): Use a single pkg-desc argument.
8742 (describe-package-1): Use package-desc-dir instead of package--dir.
8743 Use package-desc property instead of package-symbol.
8744 (package-install-button-action): Adjust accordingly.
8745 (package--push): Rewrite.
8746 (package-menu--print-info): Adjust accordingly. Change the ID format
8747 to be a pkg-desc.
8748 (package-menu-describe-package, package-menu-get-status)
8749 (package-menu--find-upgrades, package-menu-mark-upgrades)
8750 (package-menu-execute, package-menu--name-predicate):
8751 Adjust accordingly.
8752 * startup.el (package--description-file): New function.
8753 (command-line): Use it.
8754 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8755 Use package-desc-version.
8756
0b31660d
SM
8757 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8758 (byte-compile-preprocess): Use it.
8759 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8760 can't quite recognize.
8761 (byte-compile-add-to-list): Remove.
8762 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8763 (cconv-closure-convert): Add assertion.
8764
8765 * emacs-lisp/map-ynp.el: Use lexical-binding.
8766 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8767 Factor out some repeated code.
8768
de0503df
SM
87692013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * subr.el (with-eval-after-load): New macro.
8772 (eval-after-load): Allow form to be a function.
8773 take advantage of lexical-binding.
8774 (do-after-load-evaluation): Use dolist and adjust to new format.
8775 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8776
bc5c8c5a
JL
87772013-06-13 Juri Linkov <juri@jurta.org>
8778
8779 * replace.el (perform-replace): Display "symbol " and other search
8780 modes from `isearch-message-prefix' in the *Help* buffer.
8781
8782 * isearch.el (isearch-query-replace): Add " symbol" and other
8783 possible search modes from `isearch-message-prefix' to the prompt.
8784 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8785 when reading a regexp to collect.
8786
a22289f7
JL
87872013-06-13 Juri Linkov <juri@jurta.org>
8788
8789 * isearch.el (word-search-regexp): Match whitespace if the search
8790 string begins or ends in whitespace. The LAX arg is applied to
8791 both ends of the search string. Use `regexp-quote' and explicit
8792 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8793 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8794 boundaries are replaced with symbol boundaries, and characters
8795 between symbols match non-word non-symbol syntax. (Bug#14602)
8796
cb89acab
JL
87972013-06-13 Juri Linkov <juri@jurta.org>
8798
8799 * isearch.el (isearch-del-char): Don't exceed the length of
8800 `isearch-string' by the prefix arg. (Bug#14563)
8801
6e8cfc81
JL
88022013-06-13 Juri Linkov <juri@jurta.org>
8803
8804 * isearch.el (isearch-yank-word, isearch-yank-line)
8805 (isearch-char-by-name, isearch-quote-char)
8806 (isearch-printing-char, isearch-process-search-char):
8807 Add optional count prefix arg. (Bug#14563)
8808
8809 * international/isearch-x.el
8810 (isearch-process-search-multibyte-characters):
8811 Add optional count prefix arg.
8812
c23d55f4
VS
88132013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8816 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8817 lexical-binding.
8818
88192013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8820
8821 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8822
ba947bc4
GM
88232013-06-13 Glenn Morris <rgm@gnu.org>
8824
8baeb37a
GM
8825 * startup.el (tty-handle-args):
8826 Don't just discard "--" and anything after. (Bug#14608)
8827
ba947bc4
GM
8828 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8829
9abefce4
MA
88302013-06-13 Michael Albinus <michael.albinus@gmx.de>
8831
8832 Implement changes in Secret Service API. Make it backward compatible.
8833 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8834 (secrets-create-item): Use it. Prefix properties with interface.
8835
5755011f
MH
88362013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8837
8838 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8839 (term-emulate-terminal): Respect term-suppress-hard-newline.
8840
1261d2da
S
88412013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8842
8843 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8844 Only remove a `thumb-file' overlay. (Bug#14548)
8845
868490bb
GJ
88462013-06-12 Grégoire Jadi <daimrod@gmail.com>
8847
8848 * mail/reporter.el (reporter-submit-bug-report):
8849 Handle missing package-name. (Bug#14600)
8850
79d7167f
TH
88512013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8852
8853 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8854 (reftex-citation-prompt, reftex-default-bibliography)
8855 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8856 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8857 (reftex-bib-sort-author, reftex-bib-sort-year)
8858 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8859 (reftex-extract-bib-entries-from-thebibliography)
8860 (reftex-get-bibkey-default, reftex-get-bib-names)
8861 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8862 (reftex-format-bib-entry, reftex-parse-bibitem)
8863 (reftex-format-bibitem, reftex-do-citation)
8864 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8865 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8866 (reftex-insert-bib-matches, reftex-format-citation)
8867 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8868 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8869 existing comments into docstrings.
8870
5f9dbd7a
XF
88712013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8872
8873 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8874
94df41ab
AS
88752013-06-12 Andreas Schwab <schwab@suse.de>
8876
8877 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8878 for auto-save files.
8879
a7f3fecc
GM
88802013-06-12 Glenn Morris <rgm@gnu.org>
8881
001809f6
GM
8882 * ido.el (ido-delete-ignored-files): Remove.
8883 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8884 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8885
834b5ded
EL
88862013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8887
08c73ed2
EL
8888 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8889
834b5ded
EL
8890 * ido.el (ido-delete-ignored-files): New function,
8891 split from ido-make-file-list-1.
8892 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8893 (ido-make-file-list-1): Use ido-delete-ignored-files.
8894
daabf15a
LL
88952013-06-12 Leo Liu <sdl.web@gmail.com>
8896
8897 * progmodes/octave.el (inferior-octave-startup)
8898 (inferior-octave-completion-table)
8899 (inferior-octave-track-window-width-change)
8900 (octave-eldoc-function-signatures, octave-help)
8901 (octave-find-definition): Use single quoted strings.
8902 (inferior-octave-startup-args): Change default value.
8903 (inferior-octave-startup): Do not hard code "-i" and
8904 "--no-line-editing".
8905 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8906 (inferior-octave-directory-tracker): Use it.
8907 (octave-goto-function-definition): Robustify.
8908 (octave-help): Support highlighting operators in 'See also'.
8909 (octave-find-definition): Find subfunctions only in Octave mode.
8910
cf4e5178
SM
89112013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * help-fns.el (help-fns--compiler-macro): If the handler function is
8914 named, then put a link to it.
8915 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8916 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8917 (cl-typep): Use it.
8918 (cl-eval-when): Simplify debug spec.
8919 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8920 compiler-macro function instead of setting `compiler-macro-file'.
8921
99c81280 89222013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8923
8924 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8925 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8926
f56be016
SM
89272013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8928 Daniel Hackney <dan@haxney.org>
8929
8930 First part of Daniel Hackney's patch to package.el.
8931 * emacs-lisp/package.el: Use defstruct.
8932 (package-desc): New, main struct.
8933 (package--bi-desc, package--ac-desc): New structs, used to describe the
8934 format in external files.
8935 (package-desc-vers): Replace with package-desc-version accessor.
8936 (package-desc-doc): Replace with package-desc-summary accessor.
8937 (package-activate-1): Remove `package' arg since the pkg-vec now
8938 includes the name.
8939 (define-package): Use package-desc-from-define.
8940 (package-unpack-single): Change file-name arg to be a symbol.
8941 (package--add-to-archive-contents): Use package-desc-create and new
8942 accessor functions to package--ac-desc.
8943 (package-buffer-info, package-tar-file-info): Return a package-desc.
8944 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8945 arg to be a package-desc.
8946 (package-install-file): Adjust accordingly. Use \' to match EOS.
8947 (package--from-builtin): New function.
8948 (describe-package-1, package-menu--generate): Use it.
8949 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8950 (package-generate-autoloads): Idem and return the name of the file.
8951 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8952 Change pkg-info arg to be a package-desc.
8953 Use package-make-ac-desc.
8954 (package-upload-file): Use \' to match EOS.
8955 * finder.el (finder-compile-keywords): Use package-make-builtin.
8956
31119d63
SM
89572013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8958
931a2762
SM
8959 * vc/vc.el (vc-deduce-fileset): Change error message.
8960 (vc-read-backend): New function.
8961 (vc-next-action): Use it.
8962
5a3eb0c6
SM
8963 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8964
e3eb1bb7
SM
8965 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8966 (prolog-font-lock-keywords): Use regexp-opt instead.
8967 Don't manually highlight strings.
8968 (prolog-mode-variables): Simplify comment-start-skip.
8969 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8970
31119d63
SM
8971 * emacs-lisp/generic.el (generic--normalise-comments)
8972 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8973 (generic-mode-set-comments): Use them.
8974 (generic-bracket-support): Use setq-local.
8975 (generic-make-keywords-list): Declare obsolete.
8976
7de135d0
GM
89772013-06-11 Glenn Morris <rgm@gnu.org>
8978
8979 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8980 Prettify after setting font-lock-defaults. (Bug#14574)
8981
fa6bc6fd
JB
89822013-06-11 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * replace.el (query-replace, occur-read-regexp-defaults-function)
8985 (replace-search):
8986 * subr.el (declare-function, number-sequence, local-set-key)
8987 (substitute-key-definition, locate-user-emacs-file)
8988 (with-silent-modifications, split-string, eval-after-load):
8989 Fix typos, remove unneeded backslashes and reflow some docstrings.
8990
cf1f9b9a
SM
89912013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8994 default for Elisp files.
8995
56602a4b
GM
89962013-06-11 Glenn Morris <rgm@gnu.org>
8997
8998 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8999 although define-derived-mode was doing this anyway. (Bug#14583)
9000
30ae0b2c
JB
90012013-06-10 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9004 Fix make-variable-buffer-local call to refer to the correct variable.
9005
fa472906
AG
90062013-06-10 Aidan Gauland <aidalgol@amuri.net>
9007
9008 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9009 (eshell-visual-subcommands, eshell-visual-options):
9010 Add summary line to docstrings. Add cross-references.
fa472906 9011
ff4871b9
GM
90122013-06-10 Glenn Morris <rgm@gnu.org>
9013
9014 * epa.el (epa-read-file-name): New function. (Bug#14510)
9015 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9016
04fcf1b0
AG
90172013-06-09 Aidan Gauland <aidalgol@amuri.net>
9018
9019 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9020 output redirection to be ignored with visual commands.
9021
88b00caa
AG
90222013-06-09 Aidan Gauland <aidalgol@amuri.net>
9023
9024 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9025 (eshell-term-initialize): Move long lambda to separate function
9026 eshell-visual-command-p.
e7b41c4c
JB
9027 * eshell/em-dirs.el (eshell-dirs-initialise):
9028 * eshell/em-script.el (eshell-script-initialize):
9029 Add missing #' to lambda.
88b00caa 9030
fda74125
LL
90312013-06-08 Leo Liu <sdl.web@gmail.com>
9032
9033 * progmodes/octave.el (octave-add-log-current-defun): New function.
9034 (octave-mode): Set add-log-current-defun-function.
9035 (octave-goto-function-definition): Do not move point if not found.
9036 (octave-find-definition): Enhance to try subfunctions first.
9037
467f3b33
GM
90382013-06-08 Glenn Morris <rgm@gnu.org>
9039
9040 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9041 (byte-compile-backward-char, byte-compile-backward-word):
9042 Improve previous change, to handle non-explicit nil.
9043
544badc3
SM
90442013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9047 (smie--opener/closer-at-point): New function.
9048 (smie--matching-block-data): Use it. Don't match from right after an
9049 opener or right before a closer. Obey smie-blink-matching-inners.
9050 Don't signal a mismatch for repeated inners like "switch..case..case".
9051
a175bf33
LL
90522013-06-07 Leo Liu <sdl.web@gmail.com>
9053
9054 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9055 to t. (Bug#14303)
ce8209d4
LL
9056 (octave-function-header-regexp): Fix. (Bug#14570)
9057 (octave-help-mode-finish-hook, octave-help-mode-finish):
9058 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9059
9060 * newcomment.el (comment-search-backward): Revert last change.
9061 (Bug#14434)
9062
9063 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9064
a822acff
EZ
90652013-06-07 Eli Zaretskii <eliz@gnu.org>
9066
9067 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9068 through xargs, to avoid failure due to MS-Windows limitations on
9069 command-line length.
9070
961166f5
GM
90712013-06-06 Glenn Morris <rgm@gnu.org>
9072
d0341459
GM
9073 * font-lock.el (lisp-font-lock-keywords-2):
9074 Treat user-error like error.
9075
961166f5
GM
9076 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9077 (byte-compile-backward-char, byte-compile-backward-word):
9078 Handle explicit nil arguments. (Bug#14565)
9079
80fa505f
AM
90802013-06-05 Alan Mackenzie <acm@muc.de>
9081
9082 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9083 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9084 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9085 (Bug#9706)
80fa505f 9086
fccdc796
SM
90872013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * autorevert.el (auto-revert-notify-handler): Use memq.
9090 Hide assertion failure.
9091
9092 * skeleton.el: Use cl-lib.
9093 (skeleton-further-elements): Use defvar-local.
9094 (skeleton-insert): Use cl-progv.
9095
9bfff84b
TZ
90962013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9097
9098 * progmodes/prog-mode.el (prog-prettify-symbols)
9099 (prog-prettify-install): Update docstrings.
9100
55577e7c
SM
91012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * simple.el: Move all the prog-mode code to prog-mode.el.
9104 * progmodes/prog-mode.el: New file.
9105 * loadup.el: Add prog-mode.el.
9106
8fc57765
TZ
91072013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9108
9109 * simple.el (prog-prettify-symbols): Add version.
9110 (prog-prettify-install): Add convenience function to prettify symbols.
9111
9112 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9113 (perl--augmented-font-lock-keywords-1)
9114 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9115 variables and use it.
9116
9117 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9118 (cfengine3-mode): Remove unneeded variable and use it.
9119
9120 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9121 (lisp--augmented-font-lock-keywords-1)
9122 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9123 Remove unneeded variables and use it.
9124
650645d5 91252013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9126
9127 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9128 to point when opening the connection. (Bug#14380)
28f5da6d 9129
781b4af6
SM
91302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * subr.el (load-history-regexp, load-history-filename-element)
9133 (eval-after-load, after-load-functions, do-after-load-evaluation)
9134 (eval-next-after-load, display-delayed-warnings)
9135 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9136 definition of save-match-data.
9137 (overriding-local-map): Remove accidental obsolescence declaration.
9138
9139 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9140
3ca0d0b4
TZ
91412013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9142
9143 Generalize symbol prettify support to prog-mode and implement it
9144 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9145 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9146 (prog--prettify-font-lock-compose-symbol)
9147 (prog-prettify-font-lock-symbols-keywords): New variables and
9148 functions to support symbol prettification.
9149 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9150 (lisp--augmented-font-lock-keywords-1)
9151 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9152 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9153 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9154 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9155 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9156 * progmodes/perl-mode.el (perl-prettify-symbols)
9157 (perl--font-lock-compose-symbol)
9158 (perl--font-lock-symbols-keywords): Move to prog-mode.
9159 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9160 (perl-font-lock-keywords-1)
9161 (perl-font-lock-keywords-2): Remove explicit prettify support.
9162 (perl--augmented-font-lock-keywords)
9163 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9164 (perl--augmented-font-lock-keywords-2, perl-mode):
9165 Implement prettify support.
3ca0d0b4 9166
976cb066
LL
91672013-06-05 Leo Liu <sdl.web@gmail.com>
9168
9169 Re-implement smie matching block highlight using
9170 show-paren-data-function. (Bug#14395)
9171 * emacs-lisp/smie.el (smie-matching-block-highlight)
9172 (smie--highlight-matching-block-overlay)
9173 (smie--highlight-matching-block-lastpos)
9174 (smie-highlight-matching-block)
9175 (smie-highlight-matching-block-mode): Remove.
9176 (smie--matching-block-data-cache): New variable.
9177 (smie--matching-block-data): New function.
9178 (smie-setup): Use smie--matching-block-data for
9179 show-paren-data-function.
9180
9181 * progmodes/octave.el (octave-mode-menu): Fix.
9182 (octave-find-definition): Skip garbage lines.
9183
208d0342
SM
91842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 Fix compilation error with simultaneous dynamic+lexical scoping.
9187 Add warning when a defvar appears after the first let-binding.
9188 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9189 (byte-compile-close-variables): Initialize it.
9190 (byte-compile--declare-var): New function.
9191 (byte-compile-file-form-defvar)
9192 (byte-compile-file-form-define-abbrev-table)
9193 (byte-compile-file-form-custom-declare-variable): Use it.
9194 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9195 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9196 (byte-compile-bind): Handle dynamic bindings that shadow
9197 lexical bindings.
9198 (byte-compile-unbind): Make arg non-optional.
9199 (byte-compile-let): Simplify.
9200 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9201 (cconv--analyse-function, cconv-analyse-form): Populate it.
9202 Protect byte-compile-bound-variables to limit the scope of defvars.
9203 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9204 Remove unneeded rule for `declare'.
9205
9206 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9207 so as to avoid depending on cl-adjoin at run-time.
9208 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9209
9210 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9211 (macroexp--warn-and-return): Use it.
9212
1ac2891e
GM
92132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9214
a12bf61e 9215 * subr.el: Convert to lexical binding.
1ac2891e
GM
9216 (overriding-local-map): Make obsolete.
9217 (add-to-list): Doc fix. Add compiler macro.
9218 (read-key): Swap values of local maps.
9219
2587b005
LL
92202013-06-05 Leo Liu <sdl.web@gmail.com>
9221
9222 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9223
f1da3c88
LL
92242013-06-04 Leo Liu <sdl.web@gmail.com>
9225
9226 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9227 (compilation-auto-jump): Suppress the "Mark set" message to give
9228 way to exit message.
9229
3caa391f
AM
92302013-06-04 Alan Mackenzie <acm@muc.de>
9231
9232 Remove faulty optimisation from indentation calculation.
9233 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9234 search limit based on 2000 characters back from indent-point.
9235
068922a2
TH
92362013-06-03 Tassilo Horn <tsdh@gnu.org>
9237
9238 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9239
1f8fdd53
SM
92402013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9241
bbcc4d97
SM
9242 * emacs-lisp/lisp.el: Use lexical-binding.
9243 (lisp--local-variables-1, lisp--local-variables): New functions.
9244 (lisp--local-variables-completion-table): New var.
208d0342 9245 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9246
1f8fdd53
SM
9247 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9248 eagerly (bug#14422).
9249
c9628c79
MA
92502013-06-03 Michael Albinus <michael.albinus@gmx.de>
9251
9252 * autorevert.el (auto-revert-notify-enabled)
9253 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9254 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9255 (auto-revert-notify-handler): Handle also gfilenotify.
9256
e7b41c4c 9257 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9258 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9259 Remove.
c9628c79 9260
e5e4a942
JL
92612013-06-03 Juri Linkov <juri@jurta.org>
9262
9263 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9264 `M-s h .'. (Bug#14427)
9265
9266 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9267 command `hi-lock-face-symbol-at-point'.
9268 (hi-lock-face-symbol-at-point): New command.
9269 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9270 (hi-lock-menu): Add `highlight-symbol-at-point'.
9271 (hi-lock-mode): Doc fix.
9272
9273 * isearch.el (isearch-forward-symbol-at-point): New command.
9274 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9275 (isearch-highlight-regexp): Add a regexp which matches
9276 words/symbols for word/symbol mode.
9277
9278 * subr.el (find-tag-default-bounds): New function with the body
9279 mostly moved from `find-tag-default'.
9280 (find-tag-default): Move most code to `find-tag-default-bounds',
9281 call it and apply `buffer-substring-no-properties' afterwards.
9282
26b3353a
TH
92832013-06-03 Tassilo Horn <tsdh@gnu.org>
9284
781b4af6
SM
9285 * eshell/em-term.el (eshell-term-initialize):
9286 Use `cl-intersection' rather than `intersection'.
26b3353a 9287
51b60f53
XF
92882013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9289
fe054b63 9290 * vc/log-view.el: Doc fix.
d3ffe17c 9291 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9292
a0eb10b3 92932013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9294
9295 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9296 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9297 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9298 (eieio-unbound, eieio-default-superclass)
9299 (eieio--define-field-accessors, method-static, method-before)
9300 (method-primary, method-after, method-num-lists)
9301 (method-generic-before, method-generic-primary)
9302 (method-generic-after, method-num-slots)
9303 (eieio-specialized-key-to-generic-key)
9304 (eieio--check-type, class-v, class-p)
9305 (eieio-class-name, define-obsolete-function-alias)
9306 (eieio-class-parents-fast, eieio-class-children-fast)
9307 (same-class-fast-p, class-constructor, generic-p)
9308 (generic-primary-only-p, generic-primary-only-one-p)
9309 (class-option-assoc, class-option, eieio-object-p)
9310 (class-abstract-p, class-method-invocation-order)
9311 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9312 (eieio-class-un-autoload, eieio-defclass)
9313 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9314 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9315 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9316 (eieio-defgeneric-reset-generic-form)
9317 (eieio-defgeneric-form-primary-only)
9318 (eieio-defgeneric-reset-generic-form-primary-only)
9319 (eieio-defgeneric-form-primary-only-one)
9320 (eieio-defgeneric-reset-generic-form-primary-only-one)
9321 (eieio-unbind-method-implementations)
9322 (eieio--defmethod, eieio--typep)
9323 (eieio-perform-slot-validation, eieio-validate-slot-value)
9324 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9325 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9326 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9327 (eieio-slot-name-index, eieio-class-slot-name-index)
9328 (eieio-set-defaults, eieio-initarg-to-attribute)
9329 (eieio-attribute-to-initarg, eieio-c3-candidate)
9330 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9331 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9332 (eieio-class-precedence-list, eieio-generic-call-methodname)
9333 (eieio-generic-call-arglst, eieio-generic-call-key)
9334 (eieio-generic-call-next-method-list)
9335 (eieio-pre-method-execution-functions, eieio-generic-call)
9336 (eieio-generic-call-primary-only, eieiomt-method-list)
9337 (eieiomt-optimizing-obarray, eieiomt-install)
9338 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9339 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9340 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9341 (defclass): Remove `eval-and-compile' from macro.
9342 (call-next-method, shared-initialize): Instead of using
9343 `scoped-class' variable, use new eieio--scoped-class, and
9344 eieio--with-scoped-class.
9345 (initialize-instance): Rename local variable 'scoped-class' to
9346 'this-class' to remove ambiguitity from old global.
9347
9348 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9349 eieio.el.
4f405069
JB
9350 (eieio--scoped-class-stack): New variable.
9351 (eieio--scoped-class): New fcn.
890f7890
DE
9352 (eieio--with-scoped-class): New scoping macro.
9353 (eieio-defclass): Use pushnew instead of add-to-list.
9354 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9355 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9356 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9357 `scoped-class' variable, use new eieio--scoped-class, and
9358 eieio--with-scoped-class.
9359
9360 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9361
d105b0e2
TH
93622013-06-02 Tassilo Horn <tsdh@gnu.org>
9363
9364 * eshell/esh-ext.el (eshell-external-command): Pass args to
9365 `eshell-find-interpreter'.
9366 (eshell-find-interpreter): Add new second parameter ARGS.
9367
9368 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9369 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9370
9371 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9372 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9373
9374 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9375 (eshell-visual-options): New defcustom.
9376 (eshell-escape-control-x): Adapt docstring.
9377 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9378 `eshell-visual-options' in addition to `eshell-visual-commands'.
9379 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9380
f46305c8 93812013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9382
9383 * progmodes/python.el (python-indent-block-enders): Add break,
9384 continue and raise keywords.
9385
d870df21
GM
93862013-06-01 Glenn Morris <rgm@gnu.org>
9387
9133b82e
GM
9388 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9389
02c992ec 9390 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9391 * progmodes/cc-cmds.el (delete-forward-p):
9392 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9393 * progmodes/cc-engine.el (buffer-syntactic-context):
9394 * progmodes/cc-fonts.el (face-property-instance):
9395 * progmodes/cc-mode.el (set-keymap-parents):
9396 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9397 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9398 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9399 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9400 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9401
31e7b090
GM
9402 * progmodes/cc-vars.el (other): Emacs has this widget since
9403 at least 21.1, so don't (re)define it.
9404
d870df21
GM
9405 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9406 Replace the obsolete alias pcomplete-arg-quote-list.
9407
c75c93c7
LL
94082013-06-01 Leo Liu <sdl.web@gmail.com>
9409
9410 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9411 punctuation syntax.
9412 (inferior-octave-minimal-columns)
9413 (inferior-octave-last-column-width): New variables.
9414 (inferior-octave-track-window-width-change): New function.
9415 (inferior-octave-mode): Adjust column width so that Octave output,
9416 for example from 'ls', can fit into the window nicely.
9417
973d1e12
DG
94182013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9419
9420 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9421 Highlight expansions inside regexp literals.
9422
0888c286
GM
94232013-05-31 Glenn Morris <rgm@gnu.org>
9424
e26aac1f
GM
9425 * obsolete/sym-comp.el (symbol-complete):
9426 Replace obsolete completion-annotate-function.
9427
0888c286
GM
9428 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9429
19bb8e62
DG
94302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9431
781b4af6
SM
9432 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9433 New function, checks if point is inside a literal that allows
19bb8e62
DG
9434 expression expansion.
9435 (ruby-syntax-propertize-expansion): Use it.
9436 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9437 around the body.
9438
01dea85f
JL
94392013-05-30 Juri Linkov <juri@jurta.org>
9440
9441 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9442 to "\M-si".
9443 (isearch-invisible): New variable.
9444 (isearch-forward): Doc fix.
9445 (isearch-mode): Set `isearch-invisible'
9446 to the value of `search-invisible'.
9447 (isearch-toggle-case-fold): Doc fix.
9448 (isearch-toggle-invisible): New command.
9449 (isearch-query-replace): Let-bind `search-invisible'
9450 to the value of `isearch-invisible'.
9451 (isearch-search): Use `isearch-invisible' instead of
9452 `search-invisible'. Let-bind `search-invisible'
9453 to the value of `isearch-invisible'. (Bug#11378)
9454
ab1bdce5
JL
94552013-05-30 Juri Linkov <juri@jurta.org>
9456
9457 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9458 call when `query-flag' is nil and `search-invisible' is non-nil.
9459 (Bug#11746)
9460
d6d236e2
GM
94612013-05-30 Glenn Morris <rgm@gnu.org>
9462
8accd027
GM
9463 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9464
2a8bed1c
GM
9465 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9466 (cc-require): Suppress spurious "noruntime" warnings.
9467 (cc-require-when-compile): Use fboundp, for sake of compiler.
9468
d6d236e2
GM
9469 * progmodes/cc-mode.el: Move load of cc-vars before that of
9470 cc-langs (which in turn loads cc-vars), to quieten compiler.
9471
9190b35b
SM
94722013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * paren.el: Simplify the code.
9475 (show-paren-mode): Always start the timer.
9476 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9477 (show-paren--overlay, show-paren--overlay-1): Rename from
9478 show-paren-overlay and show-paren-overlay-1, and initialize to an
9479 overlay rather than to nil.
9480 (show-paren-function): Misc cleanup and simplifications.
9481
4f8d1cf6
SM
94822013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * paren.el (show-paren-data-function): New hook.
9485 (show-paren--default): New function, extracted from show-paren-function.
9486 (show-paren-function): Use show-paren-data-function.
9487
02d844b5
GM
94882013-05-30 Glenn Morris <rgm@gnu.org>
9489
d209d4a9
GM
9490 * ielm.el (ielm-map, ielm-complete-symbol):
9491 Use completion-at-point rather than obsolete functions.
9492 (inferior-emacs-lisp-mode): Doc fix.
9493 Set completion-at-point-functions, rather than
9494 comint-dynamic-complete-functions.
9495
2082faa6
GM
9496 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9497 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9498 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9499
dd8620de
GM
9500 * image.el (image-animated-p): Tweak definition.
9501
ceca95b1
GM
9502 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9503 (rlogin-process-connection-type): Tweak default. Add set-after.
9504 (rlogin-host): Doc fix.
9505 (rlogin): Tweak prompt.
9506 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9507
ee9f1acc
GM
9508 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9509 * progmodes/tcl.el (inferior-tcl-mode-map):
9510 Use completion-at-point rather than obsolete alias.
9511
45ce222e
GM
9512 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9513
02d844b5
GM
9514 * minibuffer.el (read-file-name-completion-ignore-case):
9515 Move before completion--in-region, for eager macro expansion.
9516
ac44d6c1
JL
95172013-05-29 Juri Linkov <juri@jurta.org>
9518
9519 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9520 for total count of matching lines. Add `global-matches' for total
9521 count of matches. Rename `matches' to `lines' for count of
9522 matching lines. Add `matches' for count of matches.
9523 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9524 to `prev-line' for line number of prev match endpt.
9525 Increment `matches' for every match. Print the number of
9526 matching lines in the header.
9527 (occur-context-lines): Rename `lines' to `curr-line'.
9528 Rename `prev-lines' to `prev-line'. (Bug#14017)
9529
3c9c9d38
JL
95302013-05-29 Juri Linkov <juri@jurta.org>
9531
9532 * replace.el (perform-replace): Add `skip-read-only-count',
9533 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9534 Increment them for corresponding conditions and report the number
9535 of skipped occurrences in the final message. (Bug#11746)
9536 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9537 (replace-string, replace-regexp): Doc fix.
9538
33e249a2
SM
95392013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9540
8e399682
SM
9541 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9542
33e249a2 9543 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9544 prog-mode-map (bug#14504).
33e249a2 9545
f236dd84
LL
95462013-05-29 Leo Liu <sdl.web@gmail.com>
9547
9548 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9549 (octave-help): Small simplification.
9550
9551 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9552 off the highlight first.
9553
3694d13f
GM
95542013-05-29 Glenn Morris <rgm@gnu.org>
9555
03983bdc
GM
9556 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9557 Handle idlwave-last-system-routine-info-cons-cell being nil.
9558
bc74a74a
GM
9559 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9560 (idlwave-write-paths): Simplify via with-temp-buffer.
9561
8b394200
GM
9562 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9563 * emulation/cua-rect.el: Also load cua-base at run time.
9564
3694d13f
GM
9565 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9566 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9567 (cperl-imenu-on-info): Require imenu.
9568
336d7284
AM
95692013-05-28 Alan Mackenzie <acm@muc.de>
9570
9571 Handle "capitalised keywords" correctly.
33e249a2 9572 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9573
cb29c582
AG
95742013-05-28 Aidan Gauland <aidalgol@amuri.net>
9575
781b4af6 9576 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9577
690e44b2
GM
95782013-05-28 Glenn Morris <rgm@gnu.org>
9579
e658d75c
GM
9580 * vc/vc-arch.el (vc-exec-after): Declare.
9581 (vc-switches): Autoload.
9582 * vc/vc-bzr.el: No need to require vc when compiling.
9583 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9584 (vc-resynch-buffer, vc-dir-refresh): Declare.
9585 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9586 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9587 (vc-resynch-buffer): Declare.
9588 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9589 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9590 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9591 (grep-read-regexp, grep-read-files, grep-expand-template)
9592 (vc-dir-refresh): Declare.
9593 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9594 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9595 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9596 * vc/vc-mtn.el (vc-exec-after): Declare.
9597 (vc-switches): Autoload.
9598 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9599 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9600 (vc-file-tree-walk): Declare.
712b9732
GM
9601 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9602 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9603 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9604 * vc/vc-svn.el (vc-exec-after): Declare.
9605 (vc-switches, vc-setup-buffer): Autoload.
9606 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9607 Autoload.
9608 (vc-resynch-buffer): Declare.
9609
98e87fb3
GM
9610 * obsolete/fast-lock.el (byte-compile-warnings):
9611 Don't warn about obsolete features in this obsolete file.
9612
f5379553
GM
9613 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9614 Move definition before use.
9615
7a20ef83
GM
9616 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9617 (dun-unix-verbs): Remove dun-zippy.
9618 (dun-zippy): Remove function.
9619
690e44b2
GM
9620 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9621
3a52ccf7
JL
96222013-05-27 Juri Linkov <juri@jurta.org>
9623
9624 * replace.el (replace-search): New function with code moved out
9625 from `perform-replace'.
9626 (replace-highlight, replace-dehighlight): Move function definitions
9627 up closer to `replace-search'. (Bug#11746)
9628
d289938a
JL
96292013-05-27 Juri Linkov <juri@jurta.org>
9630
9631 * replace.el (perform-replace): Ignore invisible matches.
9632 In addition to checking `query-replace-skip-read-only', also
9633 filter out matches by calling `run-hook-with-args-until-failure'
9634 on `isearch-filter-predicates', and also check `search-invisible'
9635 for t or call `isearch-range-invisible'.
9636 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9637
66fc57e3
JL
96382013-05-27 Juri Linkov <juri@jurta.org>
9639
9640 * isearch.el (isearch-filter-predicates): Rename from
9641 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9642 (isearch-message-prefix): Display text from the property
9643 `isearch-message-prefix' of the currently active filters.
9644 (isearch-search): Don't compare `isearch-filter-predicate' with
9645 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9646 on `isearch-filter-predicates'. Also check `search-invisible' for t
9647 or call `isearch-range-invisible'.
9648 (isearch-filter-visible): Make obsolete.
9649 (isearch-lazy-highlight-search):
9650 Call `run-hook-with-args-until-failure' on
9651 `isearch-filter-predicates' and use `isearch-range-invisible'.
9652
9653 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9654 `isearch-filter-predicates' instead of `funcall'ing
9655 `isearch-filter-predicate'.
9656 (Info-mode): Set `Info-isearch-filter' to
9657 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9658
9659 * dired-aux.el (dired-isearch-filter-predicate-orig):
9660 Remove variable.
9661 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9662 (dired-isearch-filenames-end): Add and remove
9663 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9664 instead of changing the value of `isearch-filter-predicate'.
9665 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9666 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9667 Put property `isearch-message-prefix' to "filename " on
9668 `dired-isearch-filter-filenames'.
9669
9670 * wdired.el (wdired-change-to-wdired-mode):
9671 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9672 locally instead of changing `isearch-filter-predicate'.
9673 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9674
f1a60a0f
DG
96752013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9676
9677 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9678 return the commit hash (Bug#14459). Also set the
9679 `vc-git-detached' property.
9680 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9681 (vc-git-mode-line-string): Use the same help-echo format whether
9682 in detached mode or not, because we know the actual revision now.
9683 When in detached mode, shorten the revision to 7 chars.
9684
7f17cc40
SM
96852013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * emacs-lisp/easy-mmode.el (define-minor-mode):
9688 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9689 mode hook and provide a docstring.
9690
25c8401c
AM
96912013-05-27 Alan Mackenzie <acm@muc.de>
9692
9693 Remove spurious syntax-table text properties inserted by C-y.
9694 * progmodes/cc-mode.el (c-after-change): Also clear hard
9695 syntax-table property with value nil.
9696
dde84790
MA
96972013-05-27 Michael Albinus <michael.albinus@gmx.de>
9698
9699 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9700 when reading the events; the buffer layout shall not be changed.
9701
837fd9af
LL
97022013-05-27 Leo Liu <sdl.web@gmail.com>
9703
9704 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9705 New variable.
9706 (inferior-octave-directory-tracker): Automatically re-sync
9707 default-directory.
9708 (octave-help): Improve handling of 'See also'.
9709
4fd996b3
SM
97102013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9711
416f1802
SM
9712 * doc-view.el: Minor naming convention tweaks.
9713 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9714
4fd996b3
SM
9715 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9716 even if there's no `display' property yet (bug#14435).
9717
a052ef3b
EZ
97182013-05-25 Eli Zaretskii <eliz@gnu.org>
9719
4fd996b3 9720 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9721
9722 * Makefile.in (custom-deps, finder-data, autoloads)
9723 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9724 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9725 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9726
c9023370
SM
97272013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9730 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9731 Don't burp at EOB.
c9023370 9732
24d699fa
LL
97332013-05-25 Leo Liu <sdl.web@gmail.com>
9734
9735 * comint.el (comint-previous-matching-input): Do not flood the
9736 *Messages* buffer with trivial messages.
9737
17e5c0cc
SM
97382013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * progmodes/flymake.el (flymake-nop): Don't return a string.
9741 (flymake-set-at): Fix typo.
9742
9743 * simple.el (read--expression): New function, extracted from
9744 eval-expression. Set completion-at-point-functions (bug#14465).
9745 (eval-expression, eval-minibuffer): Use it.
9746
5d028165
XF
97472013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9748
9749 * progmodes/flymake.el (flymake-save-buffer-in-file)
9750 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9751 (flymake-selected-frame, flymake-log, flymake-ins-after)
9752 (flymake-set-at, flymake-get-buildfile-from-cache)
9753 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9754 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9755 Refine the doc string.
9756 (flymake-get-file-name-mode-and-masks): Reformat.
9757 (flymake-get-real-file-name-function): Fix a minor bug.
9758
7a1d7ba7
JL
97592013-05-24 Juri Linkov <juri@jurta.org>
9760
9761 * progmodes/grep.el (grep-mode-font-lock-keywords):
9762 Support =linenumber= format used by git-grep for lines with
9763 function names. (Bug#13549)
9764
650cff3d
SM
97652013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9768 0 after a semi-colon; it works better for smie-auto-fill.
9769 (octave--indent-new-comment-line): New function.
9770 (octave-indent-new-comment-line): Use it (indirectly).
9771 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9772 modify comment-line-break-function.
9773
9774 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9775 (smie-setup): Use add-function to set it.
9776
9631677d
SS
97772013-05-24 Sam Steingold <sds@gnu.org>
9778
9779 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9780 argument (before the `interactive' argument).
9781
50105835
SM
97822013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9783
9784 * image-mode.el (image-mode-winprops): Add winprops to
9785 image-mode-winprops-alist before running
9786 image-mode-new-window-functions.
9787 * doc-view.el (doc-view-new-window-function): Don't delay
9788 doc-view-goto-page via timers (bug#14435).
9789
57b9823e
TH
97902013-05-24 Tassilo Horn <tsdh@gnu.org>
9791
9792 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9793 (doc-view-desktop-save-buffer): New function.
9794 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9795 (desktop-buffer-mode-handlers):
9796 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9797 handler.
9798 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9799 `desktop-save-buffer' function.
9800
91aafa16
MA
98012013-05-24 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9804 (tramp-gvfs-file-name-handler): Raise a user error when
9805 `tramp-gvfs-enabled' is nil.
9806 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9807 Do not raise a user error when loading package. (Bug#14447)
9808
ec076379
MA
9809 * net/xesam.el: Move to obsolete/.
9810
db785726
GM
98112013-05-24 Glenn Morris <rgm@gnu.org>
9812
af5c7606
GM
9813 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9814
e5d1916a
GM
9815 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9816
ded62b08
GM
9817 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9818 (Info-find-node, Man-getpage-in-background): Declare.
9819
9e614a3f
GM
9820 * mail/unrmail.el (unrmail):
9821 Replace obsolete detect-coding-with-priority.
9822
892f8ca3
GM
9823 * net/socks.el (socks-split-string): Use this rather than split-string.
9824 (socks-nslookup-host): Update for above change.
9825 (dynamic-choice, s5-dynamic-choice-match)
9826 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9827 Comment out unused code.
9828
3c291973
GM
9829 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9830 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9831 (gud-tooltip-echo-area): Make obsolete.
9832 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9833
43cc956b
GM
9834 * progmodes/js.el (js--optimize-arglist): Declare.
9835
dab49a3b
GM
9836 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9837
36b9d085
GM
9838 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9839 (ediff-window-C): Declare.
9840
e354ae76
GM
9841 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9842 Tweak requires to silence compiler.
9843
b8e57bf4
GM
9844 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9845 (he-search-string, he-tried-table, he-expand-list)
9846 (he-init-string, he-string-member, he-substitute-string)
9847 (he-reset-string): Declare.
9848
db785726
GM
9849 * obsolete/options.el (list-options): Use custom-variable-p,
9850 rather than obsolete alias.
9851
b3531901
SS
98522013-05-23 Sam Steingold <sds@gnu.org>
9853
9854 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9855 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9856 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9857
bdda4c66
SM
98582013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * emacs-lisp/smie.el (smie-indent-forward-token)
9861 (smie-indent-backward-token): Handle string tokens (bug#14381).
9862
c43d45f9
TH
98632013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9864
fe1eb856
RS
9865 * ielm.el (ielm-menu): New menu.
9866 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9867
fe1eb856
RS
98682013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9869
a12bf61e 9870 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
9871 Fix deactivate action.
9872
a12bf61e 9873 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 9874 Add cleveref macros.
074dd971 9875
a12bf61e 9876 * textmodes/reftex-parse.el
c43d45f9
TH
9877 (reftex-locate-bibliography-files): Accept options for
9878 bibliography commands.
a12bf61e 9879 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
9880 Add addbibresource. Basic Biblatex support.
9881
7764286e
MA
98822013-05-23 Michael Albinus <michael.albinus@gmx.de>
9883
9884 * net/tramp-gvfs.el (top):
9885 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9886 when loading package. (Bug#14447)
9887
d361bc10
GM
98882013-05-23 Glenn Morris <rgm@gnu.org>
9889
8fa23984
GM
9890 * progmodes/js.el: No need to load comint when compiling.
9891 (ring-insert, comint-send-string, comint-send-input)
9892 (comint-last-input-end, ido-chop): Declare.
9893
a5c7df1a
GM
9894 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9895 * vc/ediff-mult.el: Adjust requires.
9896 (ediff-directories-internal, ediff-directory-revisions-internal)
9897 (ediff-patch-file-internal): Declare.
9898 * vc/ediff-ptch.el: Adjust requires.
9899 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9900 (ediff-find-file): Autoload.
9901 * vc/ediff-util.el: No need to load ediff when compiling.
9902 (ediff-regions-internal): Declare.
9903 * vc/ediff-wind.el: Adjust requires.
9904 (ediff-compute-toolbar-width): Define when compiling.
9905 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9906 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9907 (dired-get-filename, dired-get-marked-files)
9908 (ediff-last-dir-patch, ediff-patch-default-directory)
9909 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9910 (ediff-patch-buffer-internal): Declare.
9911
e2aec513
GM
9912 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9913 (ispell-process, ispell-buffer-local-words, lm-summary)
9914 (lm-section-start, lm-section-end): Declare.
9915 (checkdoc-ispell-init): Simplify.
9916
e68bbd7c
GM
9917 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9918 (he-string-member, he-reset-string, he-substitute-string): Declare.
9919
7efe0991
GM
9920 * eshell/em-ls.el: Adjust requires.
9921 (eshell-glob-regexp): Declare.
f87b1284
GM
9922 * eshell/em-tramp.el: Adjust requires.
9923 (eshell-parse-command): Autoload.
9924 * eshell/em-xtra.el: Adjust requires.
9925 (eshell-parse-command): Autoload.
9926 * eshell/esh-ext.el: Adjust requires.
9927 (eshell-parse-command, eshell-close-handles): Autoload.
9928 * eshell/esh-io.el: Adjust requires.
9929 (eshell-output-filter): Autoload.
9930 * eshell/esh-util.el: No need to load tramp when compiling.
9931 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9932 Declare.
9933 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9934 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9935 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9936 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9937 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9938 * eshell/esh-opt.el, eshell/esh-proc.el:
9939 * eshell/esh-var.el: Adjust requires.
9940 * eshell/eshell.el: Do not require esh-util twice.
9941 (eshell-add-input-to-history): Declare.
9942 (eshell-command): Check history module is active before using it.
9943
d361bc10
GM
9944 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9945
85d090a9
LL
99462013-05-22 Leo Liu <sdl.web@gmail.com>
9947
9948 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9949
5d0acd9d
MA
99502013-05-22 Michael Albinus <michael.albinus@gmx.de>
9951
9952 * autorevert.el (auto-revert-notify-add-watch)
9953 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9954 it indicates changes in file modification time.
9955
0cdffd7d
GM
99562013-05-22 Glenn Morris <rgm@gnu.org>
9957
ca5995ec
GM
9958 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9959 Always delete the autoloaded function from the noruntime and
9960 unresolved functions lists.
9961
6450907e
GM
9962 * allout.el: No need to load epa, epg, overlay when compiling.
9963 (epg-context-set-passphrase-callback, epg-list-keys)
9964 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9965 (epg-key-user-id-list): Declare.
9966
9c6906f6
GM
9967 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9968 (viper-set-parsing-style-toggling-macro)
9969 (viper-set-emacs-state-searchstyle-macros):
9970 Use called-interactively-p on Emacs.
9971 (viper-looking-back): Make it an obsolete alias. Update callers.
9972 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9973 Use looking-back rather than viper-looking-back.
9974 (viper-tmp-insert-at-eob, viper-enlarge-region)
9975 (viper-read-string-with-history, viper-register-to-point)
9976 (viper-append-to-register, viper-change-state-to-vi)
9977 (viper-backward-char-carefully, viper-forward-char-carefully)
9978 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9979 (viper-change-state-to-emacs): Declare.
9980 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9981 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9982 * emulation/viper-mous.el: Do not load viper-cmd.
9983 (viper-backward-char-carefully, viper-forward-char-carefully)
9984 (viper-forward-word, viper-adjust-window): Declare.
9985
5f70c169
GM
9986 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9987
b1b7f300
GM
9988 * progmodes/idlw-help.el (idlwave-help-fontify):
9989 Use called-interactively-p.
9990
f6ebbb46
GM
9991 * term/w32console.el (w32-get-console-codepage)
9992 (w32-get-console-output-codepage): Declare.
9993
0cdffd7d
GM
9994 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9995 Remove unnecessary declarations.
9996 (dframe-message): Doc fix.
9997
9998 * info.el (dframe-select-attached-frame, dframe-current-frame):
9999 Declare.
10000
10001 * speedbar.el (speedbar-message): Make it an obsolete alias.
10002 Update all callers.
10003 (speedbar-with-attached-buffer)
10004 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10005 (speedbar-with-writable): Use backquote.
10006 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10007 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10008 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10009 rather than speedbar- aliases.
10010 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10011 (speedbar-make-specialized-keymap, speedbar-insert-button)
10012 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10013 (speedbar-do-function-pointer): Declare.
10014 (rmail-speedbar-button, rmail-speedbar-find-file)
10015 (rmail-speedbar-move-message):
10016 Use dframe-with-attached-buffer rather than speedbar- alias.
10017 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10018 (dframe-message, speedbar-make-specialized-keymap)
10019 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10020 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10021 (speedbar-insert-button, dframe-select-attached-frame)
10022 (dframe-maybee-jump-to-attached-frame)
10023 (speedbar-change-initial-expansion-list)
10024 (speedbar-previously-used-expansion-list-name): Declare.
10025 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10026 Use dframe-message, dframe-with-attached-buffer rather than
10027 speedbar- aliases.
10028 (gud-sentinel): Silence compiler.
10029 * progmodes/vhdl-mode.el (speedbar-refresh)
10030 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10031 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10032 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10033 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10034 (speedbar-file-lists, speedbar-make-tag-line)
10035 (speedbar-line-directory, speedbar-goto-this-file)
10036 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10037 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10038 (speedbar-make-button, speedbar-reset-scanners)
10039 (speedbar-files-item-info, speedbar-line-text)
10040 (speedbar-find-file-in-frame, speedbar-set-timer)
10041 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10042 (speedbar-with-writable): Do not (re)define it.
10043 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10044 rather than speedbar- alias.
10045
ee44b62a
LL
100462013-05-21 Leo Liu <sdl.web@gmail.com>
10047
10048 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10049 menu items.
10050 (octave-mode): Tweak fill-nobreak-predicate.
10051 (inferior-octave-startup): Check process to avoid infinite loop.
10052 (inferior-octave): Pop to buffer first to show abornmal process
10053 exit information.
10054
640f050f
GM
100552013-05-21 Glenn Morris <rgm@gnu.org>
10056
79458038
GM
10057 * printing.el (pr-menu-bar): Define when compiling.
10058
9cc3e83f
LL
100592013-05-21 Leo Liu <sdl.web@gmail.com>
10060
10061 * progmodes/octave.el (octave-auto-fill): Remove.
10062 (octave-indent-new-comment-line): Improve.
10063 (octave-mode): Use auto fill mode through
4f405069 10064 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10065 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10066 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10067 (octave-help): Show parent directory.
10068
f440830d
GM
100692013-05-21 Glenn Morris <rgm@gnu.org>
10070
10071 * files.el (dired-unmark):
10072 * progmodes/gud.el (gdb-input): Update declarations.
10073
10074 * calculator.el (electric, ehelp): No need to load when compiling.
10075 (Electric-command-loop, electric-describe-mode): Declare.
10076
10077 * doc-view.el (doc-view-current-converter-processes): Move before use.
10078
10079 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10080 Move MODE-set-explicitly definition before use.
10081
10082 * international/mule-diag.el (mule-diag):
10083 Don't use obsolete window-system-version.
10084
10085 * mail/feedmail.el (smtpmail): No need to load when compiling.
10086 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10087
10088 * mail/mail-utils.el (rfc822): No need to load when compiling.
10089 (rfc822-addresses): Autoload it.
10090 (mail-strip-quoted-names): Trivial simplification.
10091
10092 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10093 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10094
10095 * net/snmp-mode.el (tempo): Don't duplicate requires.
10096
10097 * progmodes/prolog.el (info): No need to load when compiling.
10098 (comint): Require before shell requires it.
10099 (Info-goto-node): Autoload it.
10100 (Info-follow-nearest-node): Declare.
10101 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10102
10103 * textmodes/artist.el (picture-mode-exit): Declare.
10104
10105 * textmodes/reftex-parse.el (reftex-parse-from-file):
10106 Trivial rewrite so the compiler can parse it better.
10107
b4da2cbb
LL
101082013-05-20 Leo Liu <sdl.web@gmail.com>
10109
10110 * progmodes/octave.el (octave-help-mode-map)
10111 (octave-help-mode-finish-hook): New variables.
10112 (octave-help-mode, octave-help-mode-finish): New functions.
10113 (octave-help): Use octave-help-mode.
10114
33c0f65b
GM
101152013-05-20 Glenn Morris <rgm@gnu.org>
10116
10117 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10118
1a0a0a8a
DG
101192013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10120
10121 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10122 start at point, so that expansion starting right after opening
10123 slash in a regexp is recognized.
10124 (ruby-syntax-before-regexp-re): New defvar, extracted from
10125 ruby-syntax-propertize-function. Since the value of this regexp
10126 is looked up at runtime now, we should be able to turn
10127 `ruby-syntax-methods-before-regexp' into a defcustom later.
10128 (ruby-syntax-propertize-function): Split regexp matching into two
10129 parts, for opening and closing slashes. That allows us to skip
10130 over string interpolations and support multiline regexps.
10131 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10132 for them, which calls `ruby-syntax-propertize-expansion'.
10133 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10134 call to `ruby-syntax-propertize-function'.
10135 (ruby-syntax-propertize-expansion): Extracted from
10136 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10137 (ruby-syntax-propertize-percent-literal): Leave point right after
10138 the percent symbol, so that the expression expansion rule can
10139 propertize the contents.
462388b6
DG
10140 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10141 heredoc openers.
10142 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10143
c1a6c0a4
JL
101442013-05-18 Juri Linkov <juri@jurta.org>
10145
10146 * man.el (Man-default-man-entry): Remove `-' from the end
10147 of the default value. (Bug#14400)
10148
8051fccd
GM
101492013-05-18 Glenn Morris <rgm@gnu.org>
10150
10151 * comint.el (comint-password-prompt-regexp):
10152 Allow "password for XXX" where XXX contains colons (eg https://...).
10153
5e80b74f
LL
101542013-05-18 Leo Liu <sdl.web@gmail.com>
10155
10156 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10157 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10158 (octave-source-directories): Don't check process.
10159 (octave-source-directories, octave-find-definition): Doc fix.
10160
521a54c5
GM
101612013-05-18 Glenn Morris <rgm@gnu.org>
10162
86a94b05
GM
10163 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10164 Remove backspace/delete bindings. (Bug#14392)
10165
521a54c5
GM
10166 * cus-dep.el (custom-make-dependencies): Sort the output.
10167 (custom-versions-load-alist): Convert comment to doc.
10168
42caeb89
LL
101692013-05-17 Leo Liu <sdl.web@gmail.com>
10170
10171 * newcomment.el (comment-search-backward): Stricter in finding
10172 comment start. (Bug#14303)
10173
10174 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10175 (octave-comment-start-skip): Properly anchored.
10176
e219dd97
LL
101772013-05-17 Leo Liu <sdl.web@gmail.com>
10178
fe1eb856
RS
10179 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10180 Clean up when turned off. (Bug#14395)
e219dd97
LL
10181 (smie--highlight-matching-block-overlay): No longer buffer-local.
10182 (smie-highlight-matching-block): Adjust.
10183
dc5dcb4b
PE
101842013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10185
10186 Doc string fix for "nanoseconds" (Bug#14406).
10187 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10188 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10189
1db165f0
JB
101902013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10191
10192 * calc/calc-units.el (math-extract-units): Preserve powers
10193 of units.
10194
c7a8fcac
LL
101952013-05-17 Leo Liu <sdl.web@gmail.com>
10196
10197 * subr.el (delete-consecutive-dups): New function.
10198 * ido.el (ido-set-matches-1): Use it.
10199 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10200 * ido.el (ido-remove-consecutive-dups): Remove.
10201
f678b18a
SM
102022013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10205 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10206 regexp-opt's `words'.
10207
ebfe68e8
LL
102082013-05-16 Leo Liu <sdl.web@gmail.com>
10209
10210 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10211 (smie--highlight-matching-block-overlay)
10212 (smie--highlight-matching-block-lastpos)
10213 (smie--highlight-matching-block-timer): New variables.
10214 (smie-highlight-matching-block): New function.
10215 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10216 (smie-setup): Conditionally enable smie-blink-matching-open.
10217
bc8bc17d
WS
102182013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10219
10220 Sync with upstream verilog-mode r840.
10221 * progmodes/verilog-mode.el (verilog-mode-version)
10222 (verilog-mode-release-date): Update.
10223 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10224 (verilog-sig-tieoff): Fix string error on
10225 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10226 (verilog-read-decls): Fix parameters confusing
10227 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10228
df065a0b
EZ
102292013-05-16 Eli Zaretskii <eliz@gnu.org>
10230
10231 * subr.el (reveal-filename): New function.
10232
10233 * loadup.el: Compute Emacs executable versions on MS-Windows,
10234 where executables have the .exe extension. Add a hard link
10235 emacs-XX.YY.ZZ.exe on MS-Windows.
10236
10237 * Makefile.in (XARGS_LIMIT): New variable.
10238 (custom-deps, finder-data, autoloads)
10239 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10240 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10241 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10242 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10243
2d4bf34b
LL
102442013-05-16 Leo Liu <sdl.web@gmail.com>
10245
10246 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10247 (octave-mode-menu, octave-mode-map): Remove its uses.
10248
6b9c2d85
RZ
102492013-05-16 Reto Zimmermann <reto@gnu.org>
10250
10251 Sync with upstream vhdl mode v3.34.2.
10252 * progmodes/vhdl-mode.el: Use `push' throughout.
10253 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10254 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10255 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10256 (vhdl-actual-generic-name): New option to derive actual generic name.
10257 (vhdl-port-paste-signals): Replace formal by actual generics.
10258 (vhdl-beautify): New name for old group vhdl-align. Update users.
10259 (vhdl-beautify-options): New option.
10260 (vhdl-last-input-event): New compat alias. Use throughout.
10261 (vhdl-goto-line): Replace user level function `goto-line'.
10262 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10263 vhdl-fix-statement-buffer.
10264 (vhdl-create-mode-menu): Add some entries.
10265 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10266 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10267 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10268 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10269 to force statements on one line.
10270 (vhdl-remove-trailing-spaces-region):
10271 New, split from vhdl-remove-trailing-spaces.
10272 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10273 Respect vhdl-beautify-options.
10274 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10275 (vhdl-update-sensitivity-list): Not add with index if exists without.
10276 Not include array index with signal. Ignore keywords in comments.
10277 (vhdl-get-visible-signals): Regexp tweaks.
10278 (vhdl-template-component-inst): Handle empty library.
10279 (vhdl-template-type): Add template for 'enum' type.
10280 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10281 Use vhdl-replace-string.
10282 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10283 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10284 (vhdl-speedbar-initialize): Update for above name change.
10285 (vhdl-compose-wire-components): Fix in handling of constants.
10286 (vhdl-error-regexp-emacs-alist): New variable.
10287 (vhdl-error-regexp-add-emacs): New function;
10288 adds support for new compile.el (Emacs 22+)
10289 (vhdl-generate-makefile-1): Change target order for single lib. units.
10290 Allow use of absolute file names.
10291
9df4ec5e
LL
102922013-05-16 Leo Liu <sdl.web@gmail.com>
10293
10294 * simple.el (prog-indent-sexp): Indent enclosing defun.
10295
f5ba00a6
GM
102962013-05-15 Glenn Morris <rgm@gnu.org>
10297
ed8be7ff
GM
10298 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10299 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10300 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10301 (whitespace-highlight): Move to whitespace group.
10302
10303 * comint.el (comint-source):
10304 * pcmpl-linux.el (pcmpl-linux):
10305 * shell.el (shell-faces):
10306 * eshell/esh-opt.el (eshell-opt):
10307 * international/ccl.el (ccl): Remove empty custom groups.
10308
10309 * completion.el (dynamic-completion-mode):
10310 * jit-lock.el (jit-lock-debug-mode):
10311 * minibuffer.el (completion-in-region-mode):
10312 * type-break.el (type-break-mode-line-message-mode)
10313 (type-break-query-mode):
10314 * emulation/tpu-edt.el (tpu-edt-mode):
10315 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10316 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10317 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10318
10319 * term/xterm.el (xterm): Change parent group to terminals.
10320
10321 * master.el (master): Remove empty custom group.
10322 (master-mode): Remove unused :group argument.
10323 * textmodes/refill.el (refill): Remove empty custom group.
10324 (refill-mode): Remove unused :group argument.
10325
10326 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10327
82a7c41b
GM
10328 * cus-dep.el: Provide a feature.
10329 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10330 Don't mistakenly ignore files whose basenames match a basename
10331 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10332 Add a fallback method for getting :group.
f5ba00a6 10333
6d65486d
JL
103342013-05-15 Juri Linkov <juri@jurta.org>
10335
da547b32
JL
10336 * isearch.el (isearch-char-by-name): Rename from
10337 `isearch-insert-char-by-name'. Doc fix.
10338 (isearch-forward): Mention `isearch-char-by-name' in
10339 the docstring. (Bug#13348)
10340
6d65486d
JL
10341 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10342 `exit-minibuffer' instead of
10343 `isearch-nonincremental-exit-minibuffer'.
10344 (isearch-edit-string): Remove mention of
10345 `isearch-nonincremental-exit-minibuffer' from docstring.
10346 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10347 (isearch-forward-exit-minibuffer)
10348 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10349
c9990474
SM
103502013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10351
6e911150
SM
10352 * loadup.el: Just use unversioned DOC.
10353
c9990474
SM
10354 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10355 literals as extending to EOB.
10356 (nxml-last-fontify-end): Remove unused variable.
10357 (nxml-after-change1): Use with-silent-modifications.
10358 (nxml-extend-after-change-region): Simplify.
10359 (nxml-extend-after-change-region1): Remove function.
10360 (nxml-after-change1): Don't adjust for dependent regions.
10361 (nxml-fontify-matcher): Simplify.
10362 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10363 (xmltok-add-dependent): Remove function.
10364 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10365 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10366 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10367 unclosed <[[, <?, comment, and other literals as extending to EOB.
10368 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10369 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10370 Remove functions.
10371 (rng-do-some-validation-1): Don't mark dependent regions.
10372 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10373 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10374 (nxml-clear-dependent-regions): Remove functions.
10375 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10376 (nxml-ensure-scan-up-to-date):
10377 Don't clear&mark dependent regions.
10378
e3772e98
LL
103792013-05-15 Leo Liu <sdl.web@gmail.com>
10380
c9990474
SM
10381 * progmodes/octave.el (octave-goto-function-definition):
10382 Improve and fix callers.
e3772e98 10383
5ac2eb34
SM
103842013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10385
c46c57b0
SM
10386 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10387 the setter (bug#14387).
10388
5ac2eb34
SM
10389 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10390 surrounding group (bug#14402).
10391
180ed218
JL
103922013-05-14 Juri Linkov <juri@jurta.org>
10393
10394 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10395 (Bug#14390)
10396
0ac0fecb
GM
103972013-05-14 Glenn Morris <rgm@gnu.org>
10398
10399 * progmodes/f90.el (f90-imenu-generic-expression):
10400 Fix typo in 2013-05-08 change. (Bug#14402)
10401
2e78e6a7
JPG
104022013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10403
5ac2eb34
SM
10404 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10405 Remove signals for which replies are never received.
2e78e6a7 10406
53267cca
JPG
104072013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10408
10409 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10410 (gdb-handler-alist, gdb-handler-number): Remove variables.
10411 (gdb-handler-list): New variable.
10412 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10413 (gdb-pending-handler-p, gdb-handle-reply)
10414 (gdb-remove-all-pending-triggers): New functions.
10415 (gdb-discard-unordered-replies): New defcustom.
10416 (gdb-handler): New defstruct.
10417 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10418 instead of gdb-pending-triggers. Update docstring.
10419 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10420 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10421 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10422 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10423 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10424 (gdb-frame-handler): Pending triggers are now automatically managed.
10425 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10426 Remove argument.
10427 (gdb-input): Automatically handles pending triggers. Update docstring.
10428 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10429 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10430 Update comments.
10431 (gdb-done-or-error): Now use gdb-handle-reply.
10432
d04ce803
JPG
104332013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10434
10435 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10436 gdb-debug-log.
10437
0114073a
GM
104382013-05-14 Glenn Morris <rgm@gnu.org>
10439
10440 * subr.el (user-emacs-directory-warning): New option.
10441 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10442
4d25fd7e
LL
104432013-05-14 Leo Liu <sdl.web@gmail.com>
10444
10445 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10446 during redisplay.
10447 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10448 (octave-font-lock-texinfo-comment): Fix invalid search bound
10449 error: wrong side of point.
4d25fd7e 10450
27c8b6eb
GM
104512013-05-14 Glenn Morris <rgm@gnu.org>
10452
61aaeb01
GM
10453 * progmodes/flymake.el (flymake-xml-program): New option.
10454 (flymake-xml-init): Use it.
10455
5bf90bc5
GM
10456 * term/xterm.el: Provide a feature.
10457
10458 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10459
f4c7dfd2
GM
104602013-05-13 Glenn Morris <rgm@gnu.org>
10461
10462 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10463 Add compat aliases as a hack workaround. (Bug#14384)
10464
2aeb3a1d
LL
104652013-05-13 Leo Liu <sdl.web@gmail.com>
10466
b0e069c2
LL
10467 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10468 ###, and %!.
f5a9432f
LL
10469 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10470 C-M-q.
b0e069c2
LL
10471 (octave-comment-start-skip): Include %!.
10472 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10473
30ea8374
LL
104742013-05-12 Leo Liu <sdl.web@gmail.com>
10475
10476 * progmodes/octave.el (inferior-octave-startup): Store the value
10477 of __octave_srcdir__ for octave-source-directories.
10478 (inferior-octave-check-process): New function refactored out of
10479 inferior-octave-send-list-and-digest.
10480 (octave-source-directories)
10481 (octave-find-definition-filename-function): New variables.
10482 (octave-source-directories)
10483 (octave-find-definition-default-filename): New functions.
10484 (octave-find-definition): Improve to find functions implemented in C++.
10485
472a3834
GM
104862013-05-12 Glenn Morris <rgm@gnu.org>
10487
10488 * calendar/diary-lib.el (diary-outlook-format-1):
10489 Don't include dayname in the output. (Bug#14349)
10490
3191b52f
GM
104912013-05-11 Glenn Morris <rgm@gnu.org>
10492
0060ac73
GM
10493 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10494
3191b52f
GM
10495 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10496 Treat cc-provide like provide.
10497
e065ba74
KR
104982013-05-11 Kevin Ryde <user42@zip.com.au>
10499
10500 * cus-dep.el (custom-make-dependencies):
10501 Use generated-autoload-load-name for the sake of files such
10502 such cedet/semantic/bovine/c.el, where the base file name
10503 is not in load-path. (Bug#5277)
10504
36f84c37
GM
105052013-05-11 Glenn Morris <rgm@gnu.org>
10506
10507 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10508 Provide features.
10509
c8730c3a
LL
105102013-05-11 Leo Liu <sdl.web@gmail.com>
10511
10512 * progmodes/octave.el (octave-indent-comment): Improve.
10513 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10514 (octave-eldoc-function-signatures, octave-eldoc-function):
10515 New functions.
c8730c3a
LL
10516 (octave-mode, inferior-octave-mode): Add eldoc support.
10517
212e29f2
RS
105182013-05-11 Richard Stallman <rms@gnu.org>
10519
10520 * epa.el (epa-decrypt-file): Take output file name as argument
10521 and read it using `interactive'.
10522
083fe0d7
LL
105232013-05-11 Leo Liu <sdl.web@gmail.com>
10524
10525 * progmodes/octave.el (octave-beginning-of-line)
10526 (octave-end-of-line): Check before using up-list because it jumps
10527 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10528 (octave-indent-comment): New function.
10529 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10530 (octave-begin-keywords, octave-end-keywords)
10531 (octave-reserved-words, octave-smie-bnf-table)
10532 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10533
8582e4c4
GM
105342013-05-11 Glenn Morris <rgm@gnu.org>
10535
f20def1f
GM
10536 * faces.el (internal-face-x-get-resource):
10537 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10538 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10539 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10540 Fix declarations.
f20def1f 10541
445f95e2
GM
10542 * calc/calc-menu.el: Make it loadable in isolation.
10543
10544 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10545 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10546 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10547 (eudc-bbdb-query-internal): Require 'bbdb.
10548
99fb2756
GM
10549 * lpr.el (lpr-headers-switches):
10550 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10551
10552 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10553
0da7ad96
GM
10554 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10555
8582e4c4
GM
10556 * term.el (term-set-escape-char): Make it idempotent.
10557
f71c50d0
LL
105582013-05-10 Leo Liu <sdl.web@gmail.com>
10559
5ac2eb34
SM
10560 * progmodes/octave.el (inferior-octave-completion-table):
10561 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10562 completion due to bug#11906.
10563 (octave-beginning-of-defun): Re-write to be more general.
10564
d5837773
GM
105652013-05-10 Glenn Morris <rgm@gnu.org>
10566
10567 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10568
027c0f75
SM
105692013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * comint.el (comint-redirect-send-command-to-process): Use :around
10572 rather than :override for comint-redirect-filter.
10573 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10574 Call it instead of comint-redirect-original-filter-function (which
10575 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10576
4465bfb4
JD
105772013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10578
10579 * frame.el (display-monitor-attributes-list): Add NS case.
10580 (ns-display-monitor-attributes-list): Declare.
10581
2d809ffa 105822013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10583
10584 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10585
e54eeb9b
GM
105862013-05-09 Glenn Morris <rgm@gnu.org>
10587
56cd351d
GM
10588 * international/fontset.el (vertical-centering-font-regexp):
10589 Set standard-value.
10590
d84b6108
GM
10591 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10592
a931698a
GM
10593 * bookmark.el (bookmark-search-delay):
10594 * cus-start.el (vertical-centering-font-regexp):
10595 * ps-mule.el (ps-mule-font-info-database-default):
10596 * ps-print.el (ps-default-fg, ps-default-bg):
10597 * type-break.el (type-break-good-break-interval):
10598 * whitespace.el (whitespace-indentation-regexp)
10599 (whitespace-space-after-tab-regexp):
10600 * emacs-lisp/testcover.el (testcover-1value-functions)
10601 (testcover-noreturn-functions, testcover-progn-functions)
10602 (testcover-prog1-functions):
10603 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10604 * eshell/em-glob.el (eshell-glob-translate-alist):
10605 * play/tetris.el (tetris-tty-colors):
10606 * progmodes/cpp.el (cpp-face-default-list):
10607 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10608 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10609 (idlwave-help-browser-generic-args):
10610 * progmodes/make-mode.el (makefile-special-targets-list):
10611 * progmodes/python.el (python-shell-virtualenv-path):
10612 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10613 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10614 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10615 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10616 * textmodes/reftex-vars.el (reftex-format-label-function):
10617 * textmodes/remember.el (remember-diary-file): Fix custom types.
10618
e54eeb9b
GM
10619 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10620 Add :version.
10621
455851dd
LL
106222013-05-09 Leo Liu <sdl.web@gmail.com>
10623
10624 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10625 Restore file completion. (Bug#14300)
455851dd
LL
10626 (inferior-octave-startup): Fix incorrect highlighting for the
10627 first prompt.
10628
a9e4425b
SM
106292013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * progmodes/ruby-mode.el: First cut at SMIE support.
10632 (ruby-use-smie): New var.
10633 (ruby-smie-grammar): New constant.
10634 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10635 (ruby-smie--forward-token, ruby-smie--backward-token)
10636 (ruby-smie-rules): New functions.
10637 (ruby-mode-variables): Setup SMIE if applicable.
10638
060ca408
EZ
106392013-05-08 Eli Zaretskii <eliz@gnu.org>
10640
10641 * simple.el (line-move-visual): Signal beginning/end of buffer
10642 only if vertical-motion moved less than it was requested. Avoids
10643 silly incorrect error messages when there are display strings with
10644 multiple newlines at EOL.
10645
1d5963cc
SM
106462013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10649 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10650 (prolog-char-quote-workaround):
10651 * progmodes/cperl-mode.el (cperl-under-as-char):
10652 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10653 Mark as obsolete.
10654 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10655 their declaration.
10656 (vhdl-mode-syntax-table-init): Remove.
10657
c9990474
SM
10658 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10659 last change.
1d5963cc
SM
10660
10661 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10662 syntax for "_".
10663 (ld-script-font-lock-keywords):
10664 Change regexps to use things like \_< and \_>.
10665
10666 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10667 Change all regexps to use things like \_< and \_>.
10668
10669 * progmodes/autoconf.el (autoconf-definition-regexp)
10670 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10671 Handle a _ with symbol syntax.
10672 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10673
c9990474
SM
10674 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10675 Consolidate declaration.
1d5963cc
SM
10676 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10677 the declaration.
10678 (ada-create-syntax-table): Remove.
10679 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10680 already has the right syntax nowadays.
10681 (ada-goto-next-word): Don't change the syntax of "_".
10682
10683 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10684 with-wrapper-hook.
10685
72d3cfca
SS
106862013-05-08 Sam Steingold <sds@gnu.org>
10687
10688 * thingatpt.el (thing-at-point): Accept optional second argument
10689 NO-PROPERTIES to strip the text properties from the return value.
10690 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10691 to `thing-at-point' instead of stripping the properties ourselves.
10692 Also, when `thing-at-point' fails to find a url, prepend "http://"
10693 to the filename at point on the assumption that the user is
10694 pointing at something like gnu.org/gnu.
10695
5cb15713
JB
106962013-05-08 Juanma Barranquero <lekktu@gmail.com>
10697
10698 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10699 * faces.el (crm-separator):
10700 Silence byte-compiler.
10701
10702 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10703 (tool-bar-map): Remove unneeded defvars.
10704
ea78b95b
LL
107052013-05-08 Leo Liu <sdl.web@gmail.com>
10706
10707 Re-work a fix for bug#10994 based on Le Wang's patch.
10708 * ido.el (ido-remove-consecutive-dups): New helper.
10709 (ido-completing-read): Use it.
10710 (ido-chop): Revert fix for bug#10994.
10711
dc7466df
AS
107122013-05-08 Adam Spiers <emacs@adamspiers.org>
10713
10714 * cus-edit.el (custom-save-variables):
10715 Pretty-print long values. (Bug#14187)
10716
9ecf672a
GM
107172013-05-08 Glenn Morris <rgm@gnu.org>
10718
10719 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10720 (m4-mode-syntax-table): Init in the defvar.
10721 (m4-mode-abbrev-table): Let define-derived-mode define it.
10722
3f555be8
TT
107232013-05-08 Tom Tromey <tromey@redhat.com>
10724
10725 * progmodes/m4-mode.el (m4-mode-syntax-table):
10726 Do not treat "_" as word constituent. (Bug#14167)
10727
7cc8ae06
GM
107282013-05-07 Glenn Morris <rgm@gnu.org>
10729
4f58bc06
GM
10730 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10731 Remove explicit eshell-isearch-cancel-map.
10732
7cc8ae06
GM
10733 * progmodes/f90.el (f90-smart-end-names): New option.
10734 (f90-smart-end): Doc fix.
10735 (f90-end-block-optional-name): New constant.
10736 (f90-block-match): Respect f90-smart-end-names.
10737
ceb57e59
SM
107382013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10741 about implicit semi-colons (bug#14218).
10742
4e3f9230
YM
107432013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10744
10745 * frame.el (display-monitor-attributes-list)
10746 (frame-monitor-attributes): New functions.
10747
203a5572
LL
107482013-05-06 Leo Liu <sdl.web@gmail.com>
10749
10750 * progmodes/octave.el (octave-syntax-propertize-function): Change
10751 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10752 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10753 (octave-completion-at-point): Rename from
203a5572
LL
10754 octave-completion-at-point-function.
10755 (inferior-octave-directory-tracker): Robustify.
10756 (octave-text-functions): Remove and fix its uses. No such things
10757 any more.
10758
ee6cff99
SM
107592013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * emacs-lisp/trace.el (trace--display-buffer): New function.
10762 (trace-make-advice): Use it.
10763
32985194
JL
107642013-05-06 Juri Linkov <juri@jurta.org>
10765
10766 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10767 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10768 Doc fix.
10769 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10770 in the help string. (Bug#12985)
10771
a1c700de
KD
107722013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10773
10774 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10775
c67c0839
SM
107762013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10777
323885fd
SM
10778 * progmodes/perl-mode.el: Add support for here documents.
10779 (perl-syntax-propertize-function): Match here-doc markers.
10780 (perl-syntax-propertize-special-constructs): Find their end.
10781 (perl-imenu-generic-expression): Use [:alnum:].
10782
c67c0839
SM
10783 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10784 (advice--add-function): Refresh the advice if already present
10785 (bug#14317).
10786
d491e7a8
IA
107872013-05-06 Ivan Andrus <darthandrus@gmail.com>
10788
10789 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10790
ddf9925e
GM
107912013-05-06 Glenn Morris <rgm@gnu.org>
10792
7cc3af27
GM
10793 * w32-fns.el (w32-charset-info-alist): Declare.
10794
16e343d6
GM
10795 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10796 of its defcustom properties.
10797 (eshell-cmpl-initialize): No need to load pcomplete.
10798
7d889a47
GM
10799 * generic-x.el: No need to require comint when compiling.
10800
ddf9925e
GM
10801 * net/eudc-export.el: Make it loadable without bbdb.
10802 (top-level): Use require rather than load-library.
10803 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10804 (eudc-batch-export-records-to-bbdb)
10805 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10806 Require bbdb.
10807
1e2c18df
SM
108082013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10811 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10812 some tweaks, instead.
10813
02502a5f
LL
108142013-05-05 Leo Liu <sdl.web@gmail.com>
10815
10816 * progmodes/octave.el (octave-font-lock-keywords)
10817 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10818 (inferior-octave-send-list-and-digest): Improve error message.
10819 (octave-mode, inferior-octave-mode): Use setq-local.
10820 (octave-help): Set info-lookup-mode.
10821
0dc04f42
RS
108222013-05-05 Richard Stallman <rms@gnu.org>
10823
6c54491c
RS
10824 * vc/compare-w.el (compare-windows-whitespace):
10825 Treat no-break space as whitespace.
10826
0dc04f42
RS
10827 * mail/rmailsum.el (rmail-summary-rmail-update):
10828 Detect empty summary and don't change selected message.
10829 (rmail-summary-goto-msg): Likewise.
10830
df8f35df
RS
10831 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10832 Doc fixes, rename args.
10833
5356e1a3
AM
108342013-05-05 Alan Mackenzie <acm@muc.de>
10835
10836 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10837
d44014cb
JL
108382013-05-05 Juri Linkov <juri@jurta.org>
10839
10840 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10841 to not add the length of the summary segment to the return value.
10842 (Bug#14125)
10843
c129b51f
LL
108442013-05-05 Leo Liu <sdl.web@gmail.com>
10845
10846 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10847 (inferior-octave-output-filter): Remove.
10848 (octave-send-region, inferior-octave-startup): Fix callers.
10849 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10850 (octave-binary-file-extensions): New user variable.
10851 (octave-find-definition): Confirm if opening binary files.
10852 (octave-help-file): Use octave-find-definition to get the binary
10853 confirmation.
10854 (octave-help): Adjust for octave-help-file change.
10855
aa7dab97
SM
108562013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10859 Merge the two entries that handle function definitions.
10860 (pascal--syntax-propertize): New const.
10861 (pascal-mode): Use it. Use setq-local.
10862
fd3a9a6b
GM
108632013-05-04 Glenn Morris <rgm@gnu.org>
10864
10865 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10866 (diary-from-outlook): Respect diary-from-outlook-function.
10867
30c7e542
SM
108682013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10871 Move the declaration from C.
10872 (read-minibuffer, eval-minibuffer): Move from C.
10873 (completion-setup-function): Avoid minibuffer-completion-contents.
10874
b54f978b
LL
108752013-05-03 Leo Liu <sdl.web@gmail.com>
10876
10877 * progmodes/octave.el (octave-font-lock-keywords): Do not
10878 dehighlight 'end' in comments or strings.
30c7e542
SM
10879 (octave-completing-read, octave-goto-function-definition):
10880 New helpers.
d4d0f9b3
LL
10881 (octave-help-buffer): New user variable.
10882 (octave-help-file, octave-help-function): New button types.
10883 (octave-help): New command and bind it to C-h ;.
10884 (octave-find-definition): New command and bind it to M-.
d74a1581 10885 (user-error): Alias to error if not defined.
b54f978b 10886
27135018
LL
108872013-05-02 Leo Liu <sdl.web@gmail.com>
10888
10889 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10890 for \. (bug#14332)
10891 (octave-font-lock-keywords): Include [ and {.
10892
0d634d3a
LL
108932013-05-02 Leo Liu <sdl.web@gmail.com>
10894
10895 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10896 (inferior-octave): Remove calling comint-mode and return the buffer.
10897 (inferior-octave-startup): Cosmetic changes.
10898
b4c8295e
LL
108992013-05-02 Leo Liu <sdl.web@gmail.com>
10900
30c7e542
SM
10901 * progmodes/octave.el (octave-syntax-propertize-function):
10902 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10903
f12ad6ec
GM
109042013-05-02 Glenn Morris <rgm@gnu.org>
10905
10906 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10907 * desktop.el (vc-dir-mode): Just autoload it here.
10908
30cac1e0
AM
109092013-05-02 Alan Mackenzie <acm@muc.de>
10910
10911 Eliminate variable c-standard-font-lock-fontify-region-function.
10912 * progmodes/cc-mode.el
10913 (c-standard-font-lock-fontify-region-function): Remove.
10914 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10915
d8ef28b1
LL
109162013-05-01 Leo Liu <sdl.web@gmail.com>
10917
2640d52e 10918 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10919 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10920 variables were removed from Octave in 2007.
d8ef28b1
LL
10921 (inferior-octave-startup): Fix uses.
10922 (comint-line-beginning-position): Remove compatibility code for
10923 emacs 21.
10924
ac63ec89
JL
109252013-05-01 Juri Linkov <juri@jurta.org>
10926
10927 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10928
9e9be37c
JL
109292013-05-01 Juri Linkov <juri@jurta.org>
10930
10931 * comint.el (comint-previous-matching-input): Don't print message
10932 "History item: %d" when `isearch-mode' is active.
10933 (comint-history-isearch-message): Print message "History item: %d"
10934 when `comint-input-ring-index' is not empty and this function is
10935 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10936
9b92c13b
LL
109372013-05-01 Leo Liu <sdl.web@gmail.com>
10938
10939 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10940 definitions. Use completion-at-point to insert keywords.
10941 (octave-abbrev-start): Remove.
10942 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10943
b12d33d7
LL
109442013-04-30 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10947 change.
10948
3d1c39fa
AM
109492013-04-30 Alan Mackenzie <acm@muc.de>
10950
10951 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10952 * progmodes/cc-engine.el (c-back-over-member-initializers):
10953 new function.
3d1c39fa
AM
10954 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10955 (most) member init lists.
10956
5147fc17
RS
109572013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10958
10959 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10960 variable.
10961
5b78d7fc
LL
109622013-04-30 Leo Liu <sdl.web@gmail.com>
10963
10964 * progmodes/octave.el (octave-variables): Remove. No builtin
10965 variables any more. All converted to functions.
10966 (octave-font-lock-keywords, octave-completion-at-point-function):
10967 Fix uses.
10968 (octave-font-lock-texinfo-comment): New user variable.
10969 (octave-texinfo-font-lock-keywords): New variable for texinfo
10970 comment block.
10971 (octave-function-comment-block): New face.
10972 (octave-font-lock-texinfo-comment): New function.
10973 (octave-mode): Font lock texinfo comment block.
10974
38d8527b
LL
109752013-04-29 Leo Liu <sdl.web@gmail.com>
10976
10977 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10978 indexing expression.
10979 (octave-continuation-string): Do not use \.
10980 (inferior-octave-complete-impossible): Remove.
10981 (inferior-octave-completion-table)
10982 (inferior-octave-completion-at-point): Remove its uses.
10983 (inferior-octave-startup): completion_matches was introduced to
10984 Octave in 1996 so safe to assume it.
10985 (octave-function-file-comment): Improve to follow how Octave does it.
10986 (octave-update-function-file-comment): Tweak.
10987
2ec12cb0
LL
109882013-04-29 Leo Liu <sdl.web@gmail.com>
10989
10990 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10991 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10992 (octave-function-file-comment): Fix typo.
10993 (octave-sync-function-file-names): Use read-char-choice.
10994
6eaed048
JB
109952013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10996
10997 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10998 to t for the less important warnings.
10999
3ffa2d4f
DH
110002013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11001
11002 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11003
685c9501
GM
110042013-04-27 Glenn Morris <rgm@gnu.org>
11005
11006 * vc/log-view.el (log-view-current-entry):
11007 Treat "---" separator lines as part of the following rev. (Bug#14169)
11008
0208ede7
JL
110092013-04-27 Juri Linkov <juri@jurta.org>
11010
11011 * subr.el (read-number): Doc fix about using it by interactive
11012 code letter `n'. (Bug#14254)
11013
5db9dace
JL
110142013-04-27 Juri Linkov <juri@jurta.org>
11015
11016 * desktop.el (desktop-auto-save-timeout): New option.
11017 (desktop-file-checksum): New variable.
11018 (desktop-save): Add optional arg `auto-save' and don't auto-save
11019 if nothing changed.
11020 (desktop-auto-save-timer): New variable.
11021 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11022 (after-init-hook): Call `desktop-auto-save-set-timer'.
11023 Suggested by Reuben Thomas <rrt@sc3d.org> in
11024 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11025
b7260dd4
LL
110262013-04-27 Leo Liu <sdl.web@gmail.com>
11027
11028 * progmodes/octave.el (octave-function-file-p)
11029 (octave-skip-comment-forward, octave-function-file-comment)
11030 (octave-update-function-file-comment): New functions.
11031 (octave-mode-map): Bind C-c ; to
11032 octave-update-function-file-comment.
11033 (octave-mode-menu): Add octave-update-function-file-comment.
11034 (octave-mode, inferior-octave-mode): Fix doc-string.
11035 (octave-insert-defun): Conform to Octave's coding convention.
11036 (Bug#14285)
11037
11038 * files.el (basic-save-buffer): Don't let errors in
11039 before-save-hook prevent saving buffer.
11040
c46da669
RW
110412013-04-20 Roland Winkler <winkler@gnu.org>
11042
11043 * faces.el (read-face-name): Use completing-read if arg multiple
11044 is nil.
11045
a81ee1eb
IL
110462013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11047
11048 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11049 displayed, move point to after the totals line.
11050 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11051 for the details.
11052
4fac34ce
SM
110532013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11056 Add current dir to the load-path.
11057 (package-generate-autoloads): Don't rely on
11058 autoload-ensure-default-file.
11059
f6bfc063
RT
110602013-04-26 Reuben Thomas <rrt@sc3d.org>
11061
d40ab5cf
BG
11062 * textmodes/remember.el (remember-store-in-files): Document that
11063 the file name format is passed to `format-time-string'.
f6bfc063 11064
e55d3b04
LL
110652013-04-26 Leo Liu <sdl.web@gmail.com>
11066
11067 * progmodes/octave.el (octave-sync-function-file-names): New function.
11068 (octave-mode): Use it in before-save-hook.
11069
e53052d3
SM
110702013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11071
140ef50c
SM
11072 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11073 (bug#14274).
11074
e53052d3
SM
11075 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11076 \n and comment, even if it's not an implicit ; (bug#14218).
11077
af80458d 110782013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11079
11080 * subr.el (read-number): Once more use `read' rather than
11081 `string-to-number', to trap non-numeric input. (Bug#14254)
11082
af80458d 110832013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11084
11085 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11086 Use `syntax-multiline' text property consistently instead of
8a621d53 11087 `font-lock-multiline'. (Bug#14237)
70203c2e 11088
e6ea1f6c
GM
110892013-04-26 Glenn Morris <rgm@gnu.org>
11090
11091 * emacs-lisp/shadow.el (list-load-path-shadows):
11092 No longer necessary to check for duplicate simple.el, since
11093 2012-07-07 change to init_lread to not include installation lisp
11094 directories in load-path when running uninstalled. (Bug#14270)
11095
070ccca4
LL
110962013-04-26 Leo Liu <sdl.web@gmail.com>
11097
11098 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11099 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11100 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11101 octave-in-string-or-comment-p.
11102 (octave-in-comment-p, octave-in-string-p)
11103 (octave-in-string-or-comment-p): Replace defsubst with defun.
11104
9d1c5fb6
PE
111052013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11106
11107 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11108
c034abda
BG
111092013-04-25 Bastien Guerry <bzg@gnu.org>
11110
11111 * textmodes/remember.el (remember-data-directory)
11112 (remember-directory-file-name-format): Fix custom types.
11113
584ea277
LL
111142013-04-25 Leo Liu <sdl.web@gmail.com>
11115
e53052d3
SM
11116 * progmodes/octave.el (octave-completion-at-point-function):
11117 Make use of inferior octave process.
584ea277
LL
11118 (octave-initialize-completions): Remove.
11119 (inferior-octave-completion-table): New function.
11120 (inferior-octave-completion-at-point): Use it.
11121 (octave-completion-alist): Remove.
11122
1693b06a
SM
111232013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11126 (opascal-mode-syntax-table): New var.
11127 (opascal-literal-kind, opascal-is-literal-end)
11128 (opascal-literal-token-at): Rewrite.
11129 (opascal--literal-start-re, opascal-font-lock-keywords)
11130 (opascal--syntax-propertize): New constants.
11131 (opascal-font-lock-defaults): Adjust.
11132 (opascal-mode): Use them. Set comment-<foo> variables as well.
11133 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11134 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11135 (delphi-other-face, opascal-other-face): Remove face variables.
11136 (opascal-save-state): Remove macro.
11137 (opascal-fontifying-progress-step): Remove constant.
11138 (opascal--ignore-changes): Remove var.
11139 (opascal-set-token-property, opascal-parse-next-literal)
11140 (opascal-is-stable-literal, opascal-complete-literal)
11141 (opascal-is-literal-start, opascal-face-of)
11142 (opascal-parse-region, opascal-parse-region-until-stable)
11143 (opascal-fontify-region, opascal-after-change)
11144 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11145 (opascal-debug-parse-region, opascal-debug-parse-window)
11146 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11147 (opascal-debug-fontify-buffer): Remove.
11148 (opascal-debug-mode-map): Adjust accordingly.
11149
be64c05d
LL
111502013-04-25 Leo Liu <sdl.web@gmail.com>
11151
11152 Merge octave-mod.el and octave-inf.el into octave.el with some
11153 cleanups.
11154 * progmodes/octave.el: New file renamed from octave-mod.el.
11155 * progmodes/octave-inf.el: Merged into octave.el.
11156 * progmodes/octave-mod.el: Renamed to octave.el.
11157
d79d37bd
TH
111582013-04-25 Tassilo Horn <tsdh@gnu.org>
11159
11160 * textmodes/reftex-vars.el
11161 (reftex-label-ignored-macros-and-environments): New defcustom.
11162
11163 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11164
ced3fc5d
SM
111652013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11168 (smie-indent-keyword): Improve the check to ensure that the next
11169 comment is really on the same line.
11170 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11171
11172 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11173 semi-colons if the line is not otherwise empty (bug#14218).
11174
1c141dad
GM
111752013-04-25 Glenn Morris <rgm@gnu.org>
11176
11177 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11178
5058062a
SM
111792013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * progmodes/opascal.el (opascal-set-token-property): Rename from
11182 opascal-set-text-properties and only set `token' (bug#14134).
11183 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11184 (opascal-literal-text-properties): Remove.
11185 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11186 Adjust callers.
11187
5db9dace 111882013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11189
11190 * textmodes/remember.el (remember-handler-functions): Add an
11191 option for a new handler `remember-store-in-files'.
11192 (remember-data-directory, remember-directory-file-name-format):
11193 New options.
11194 (remember-store-in-files): New function to store remember notes
11195 as separate files within a directory.
11196
4391916c
MH
111972013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11198
11199 * progmodes/compile.el (compilation-next-error-function):
11200 Pass "formats" to compilation-find-file (bug#11777).
11201
bb7cdf58
GM
112022013-04-24 Glenn Morris <rgm@gnu.org>
11203
3b8fe752 11204 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11205 * vc/vc-hg.el (vc-hg-print-log):
11206 * vc/vc-svn.el (vc-svn-print-log):
11207 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11208
bb7cdf58
GM
11209 * vc/vc-bzr.el (vc-bzr-print-log):
11210 * vc/vc-cvs.el (vc-cvs-print-log):
11211 * vc/vc-git.el (vc-git-print-log):
11212 * vc/vc-hg.el (vc-hg-print-log):
11213 * vc/vc-mtn.el (vc-mtn-print-log):
11214 * vc/vc-rcs.el (vc-rcs-print-log):
11215 * vc/vc-sccs.el (vc-sccs-print-log):
11216 * vc/vc-svn.el (vc-svn-print-log):
11217 * vc/vc.el (vc-print-log-internal): Doc fixes.
11218
b46a056e
GM
112192013-04-23 Glenn Morris <rgm@gnu.org>
11220
11221 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11222 Remove venerable code attempting to avoid substitute-command-keys.
11223
0aecf718
TH
112242013-04-23 Tassilo Horn <tsdh@gnu.org>
11225
4391916c
MH
11226 * textmodes/reftex-vars.el (reftex-label-regexps):
11227 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11228
117f94cf
SM
112292013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11230
4391916c 11231 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11232 Use lexical-binding.
11233 (jit-lock-force-redisplay): Use markers, check buffer's continued
11234 existence and beware narrowed buffers.
11235 (jit-lock-fontify-now): Adjust call accordingly.
11236
1d829c64
SM
112372013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11240 to avoid misleading the user.
11241
72d548a9
LL
112422013-04-22 Leo Liu <sdl.web@gmail.com>
11243
11244 * info-look.el: Prefer latex2e.info. (Bug#14240)
11245
d0853629
MA
112462013-04-22 Michael Albinus <michael.albinus@gmx.de>
11247
11248 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11249
11250 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11251 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11252 (tramp-set-completion-function, tramp-parse-putty):
11253 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11254 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11255 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11256 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11257 (tramp-call-local-coding-command): Use `tramp-call-process'
11258 instead of `tramp-compat-call-process'.
11259
11260 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11261 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11262 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11263 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11264 (tramp-maybe-send-script): Check for Perl binary.
11265 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11266
38cc0210
DU
112672013-04-22 Daiki Ueno <ueno@gnu.org>
11268
11269 * epg.el (epg-context-pinentry-mode): New function.
11270 (epg-context-set-pinentry-mode): New function.
11271 (epg--start): Pass --pinentry-mode option to gpg command.
11272
cc641ee1
XF
112732013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11274
02d844b5 11275 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11276 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11277 `completion-at-point'. (Bug#13774)
5d4e5c31 11278
cc641ee1
XF
11279 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11280 default key binding for `describe-distribution' has been moved to
11281 `C-h C-o'. (Bug#13970)
11282
1b42ee43
GM
112832013-04-21 Glenn Morris <rgm@gnu.org>
11284
11285 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11286 Add doc strings.
11287 (vc-print-log): Clarify interactive prompt.
11288
a6d63d97
GM
112892013-04-20 Glenn Morris <rgm@gnu.org>
11290
11291 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11292 No longer include timestamp etc information.
11293
d7f5c16f
RW
112942013-04-20 Roland Winkler <winkler@gnu.org>
11295
11296 * faces.el (read-face-name): Bug fix, return just one face if arg
11297 multiple is nil. (Bug#14209)
11298
bcd7a0a4
SM
112992013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11302 (remove-function): Autoload.
11303
11304 * comint.el (comint-redirect-original-filter-function): Remove.
11305 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11306 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11307 (vc-cvs-annotate-command):
bcd7a0a4
SM
11308 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11309 * progmodes/prolog.el (prolog-consult-compile):
11310 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11311 Use add/remove-function instead.
11312 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11313 (gud-tooltip-process-output, gud-tooltip-tips):
11314 Use add/remove-function instead.
11315 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11316 (scheme-interaction-mode, exit-scheme-interaction-mode):
11317 Use add/remove-function instead.
11318
11319 * vc/vc-dispatcher.el: Use lexical-binding.
11320 (vc--process-sentinel): Rename from vc-process-sentinel.
11321 Change last arg to be the code to run. Don't use vc-previous-sentinel
11322 and vc-sentinel-commands any more.
11323 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11324 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11325
e36b2d20 113262013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11327
bcd7a0a4 11328 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11329 Handle function names with a single character. (Bug#14111)
4d3268ba 11330
781b4af6 113312013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11332
11333 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11334 for subroutines defined in an eval (bug#14182).
11335
7d688336
TV
113362013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11337
11338 * bookmark.el (bookmark-completing-read): Improve handling of empty
11339 string (bug#14176).
11340
31dcede0
SM
113412013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11344
adc31213
FEG
113452013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11346
11347 New faster Imenu implementation (bug#14058).
11348 * progmodes/python.el:
11349 (python-imenu-prev-index-position):
11350 (python-imenu-format-item-label-function)
11351 (python-imenu-format-parent-item-label-function)
11352 (python-imenu-format-parent-item-jump-label-function):
11353 New vars.
11354 (python-imenu-format-item-label)
11355 (python-imenu-format-parent-item-label)
11356 (python-imenu-format-parent-item-jump-label)
11357 (python-imenu--put-parent, python-imenu--build-tree)
11358 (python-imenu-create-index, python-imenu-create-flat-index)
11359 (python-util-popn): New functions.
11360 (python-mode): Set imenu-create-index-function to
11361 python-imenu-create-index.
11362
cdca8255
SM
113632013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * winner.el (winner-active-region): Use region-active-p, activate-mark
11366 and deactivate-mark (bug#14225).
11367
11368 * simple.el (deactivate-mark): Don't inline it.
11369
beb42340
MA
113702013-04-18 Michael Albinus <michael.albinus@gmx.de>
11371
11372 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11373
fc7f4d7e
TH
113742013-04-18 Tassilo Horn <tsdh@gnu.org>
11375
11376 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11377 file extensions from the archive-mode entry in order to prefer
11378 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11379
29f47822
LL
113802013-04-18 Leo Liu <sdl.web@gmail.com>
11381
11382 * bindings.el (help-event-list): Add ?\?.
11383
d36ed1c8
SM
113842013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * subr.el (with-wrapper-hook): Declare obsolete.
11387 * simple.el (filter-buffer-substring-function): New hook.
11388 (filter-buffer-substring): Use it.
11389 (filter-buffer-substring-functions): Mark obsolete.
11390 * minibuffer.el (completion-in-region-function): New hook.
11391 (completion-in-region): Use it.
11392 (completion-in-region-functions): Mark obsolete.
11393 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11394 * abbrev.el (abbrev-expand-function): New hook.
11395 (expand-abbrev): Use it.
11396 (abbrev-expand-functions): Mark obsolete.
11397 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11398 and :filter-return.
11399
04754d36
FEG
114002013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11401
11402 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11403 and do not care about match data.
11404
dd8791e9
SM
114052013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11408 completion tables when completing error conditions and
11409 `declare' arguments.
11410 (lisp-complete-symbol, field-complete): Mark as obsolete.
11411 (check-parens): Unmatched parens are user errors.
11412 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11413
ffe54a13
AM
114142013-04-17 Michal Nazarewicz <mina86@mina86.com>
11415
dd8791e9
SM
11416 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11417 command changed buffer (ie. `flyspell-pre-buffer' is not current
11418 buffer), which prevents making decisions based on invalid value of
11419 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11420 cause an error when `flyspell-pre-point' was nil after switching
11421 buffers.
11422 (flyspell-post-command-hook): No longer needs to change buffers when
11423 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11424
ec7e39f2
AM
114252013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11426
11427 * textmodes/ispell.el (ispell-add-per-file-word-list):
11428 Fix `flyspell-correct-word-before-point' error when accepting
11429 words and `coment-padding' is an integer by using
11430 `comment-normalize-vars' (Bug #14214).
11431
083850a6
FEG
114322013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11433
11434 New defun movement commands.
11435 * progmodes/python.el (python-nav--syntactically)
11436 (python-nav--forward-defun, python-nav-backward-defun)
11437 (python-nav-forward-defun): New functions.
11438
619ed6e1
FEG
114392013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11440
11441 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11442 (python-syntax-context): Use named compiler-macro for backwards
11443 compatibility with Emacs 24.x.
11444
7a1beb6c
LL
114452013-04-17 Leo Liu <sdl.web@gmail.com>
11446
11447 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11448 octave-hide-process-buffer.
11449
2d3fa3e5
SM
114502013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11451
11452 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11453 (bug#14216).
11454
7ce5be54
JPG
114552013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11456
11457 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11458 Fix adjustment of offset when receiving incomplete responses from GDB
11459 (bug#14129).
11460
351edece
SM
114612013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11464 python-mode-abbrev-table.
11465 (python-skeleton-define): Adjust accordingly.
11466 (python-mode-abbrev-table): New table that inherits from it so that
11467 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11468
11469 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11470 (abbrev-symbol): Use it.
11471 (abbrev--before-point): Use it since we already handle inheritance.
11472
613f9481
LL
114732013-04-16 Leo Liu <sdl.web@gmail.com>
11474
11475 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11476 binding to info-lookup-symbol.
11477
51646b62
JB
114782013-04-16 Juanma Barranquero <lekktu@gmail.com>
11479
11480 * minibuffer.el (completion--twq-all):
11481 * term/ns-win.el (ns-initialize-window-system):
11482 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11483
efb3f01d
SM
114842013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11485
36c0a301
SM
11486 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11487 global bindings.
11488
efb3f01d
SM
11489 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11490
fb549d64
DG
114912013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11492
11493 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11494 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11495 to nil.
11496 (ruby-end-of-defun): Remove the unused arg, change the docstring
11497 to reflect that this function is only used as the value of
11498 `end-of-defun-function'.
11499 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11500 to reflect an earlier change that beginning/end-of-defun functions
11501 jump between methods in a class definition, as well as top-level
11502 functions.
11503
21e8fe2f
SM
115042013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * minibuffer.el (minibuffer-complete): Don't just scroll
11507 a *Completions* that's been iconified.
11508 (minibuffer-force-complete): Make sure repetitions do cycle when going
11509 through completion-in-region -> minibuffer-complete.
11510
20e527d0
AM
115112013-04-15 Alan Mackenzie <acm@muc.de>
11512
11513 Correct the placement of c-cpp-delimiters when there're #s not at
11514 col 0.
11515
11516 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11517 place a submatch around the #.
21e8fe2f
SM
11518 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11519 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11520 on the #, not BOL.
11521
dabefae5
SM
115222013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11525 (advice--member-p): New arg `name'.
11526 (advice--add-function, advice-member-p): Use it (bug#14202).
11527
85c9ab64
AM
115282013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11529
11530 Reformulate java imenu-generic-expression.
11531 The old expression contained ill formed regexps.
11532
11533 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11534 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11535 (cc-imenu-java-method-arg-regexp): New defconsts.
11536 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11537 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11538 handling of spaces in the regexp.
11539
0f821d99
AM
115402013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11541
11542 * textmodes/ispell.el (ispell-command-loop): Remove
11543 flyspell highlight of a word when ispell accepts it (bug #14178).
11544
eb922adf
MA
115452013-04-15 Michael Albinus <michael.albinus@gmx.de>
11546
11547 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11548 uses code from the previous `ange-ftp-run-real-handler'.
11549 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11550 only in case that function exist. This is needed for proper
11551 unloading of Tramp.
11552
4d9a0979
TH
115532013-04-15 Tassilo Horn <tsdh@gnu.org>
11554
11555 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11556
11557 * textmodes/reftex.el (reftex-compile-variables): Use it.
11558
a829b0dc
SM
115592013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11560
91e8293c
SM
11561 * files.el (normal-mode): Only use default major-mode if no other mode
11562 was specified.
11563
830aed4d
SM
11564 * emacs-lisp/trace.el (trace-values): New function.
11565
a829b0dc
SM
11566 * files.el: Allow : in local variables (bug#14089).
11567 (hack-local-variable-regexp): New var.
11568 (hack-local-variables-prop-line, hack-local-variables): Use it.
11569
7ae9f0fb
RW
115702013-04-13 Roland Winkler <winkler@gnu.org>
11571
11572 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11573 data before it gets modified by bibtex-beginning-of-entry.
11574
6646e848
RW
115752013-04-13 Roland Winkler <winkler@gnu.org>
11576
11577 * textmodes/bibtex.el (bibtex-url): Doc fix.
11578
115792013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11580
11581 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11582 does not visit a BibTeX file, exclude it from the list of buffers
11583 returned by bibtex-initialize.
11584
0aa3616e
SB
115852013-04-13 Stephen Berman <stephen.berman@gmx.net>
11586
11587 * window.el (split-window): Remove interactive form, since as a
11588 command this function is a special case of split-window-below.
11589 Correct doc string.
11590
011cddd6
RW
115912013-04-12 Roland Winkler <winkler@gnu.org>
11592
11593 * faces.el (read-face-name): Do not override value of arg default.
11594 Allow single faces and strings as default values. Remove those
11595 elements from return value that are not faces.
11596 (describe-face): Simplify.
11597 (face-at-point): New optional args thing and multiple so that this
11598 function can provide the same functionality previously provided by
11599 read-face-name.
11600 (make-face-bold, make-face-unbold, make-face-italic)
11601 (make-face-unitalic, make-face-bold-italic, invert-face)
11602 (modify-face, read-face-and-attribute): Use face-at-point.
11603
11604 * cus-edit.el (customize-face, customize-face-other-window)
11605 * cus-theme.el (custom-theme-add-face)
11606 * face-remap.el (buffer-face-set)
11607 * facemenu.el (facemenu-set-face): Use face-at-point.
11608
f24e0036
MA
116092013-04-12 Michael Albinus <michael.albinus@gmx.de>
11610
11611 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11612
da3cda2d
TH
116132013-04-10 Tassilo Horn <tsdh@gnu.org>
11614
11615 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11616 off leading { and trailing } from field values.
11617
15e54145
SM
116182013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11619
78ce603d
SM
11620 * emacs-lisp/timer.el (timer--check): New function.
11621 (timer--time, timer-set-function, timer-event-handler): Use it.
11622 (timer-set-idle-time): Simplify.
11623 (timer--activate): CSE.
11624 (timer-event-handler): Give more info in error message.
11625 (internal-timer-start-idle): New function, moved from C.
11626
15e54145
SM
11627 * mpc.el (mpc-proc): Add `restart' argument.
11628 (mpc-proc-cmd): Use it.
11629 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11630 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11631 less often.
11632
7144c627
MY
116332013-04-10 Masatake YAMATO <yamato@redhat.com>
11634
11635 * progmodes/sh-script.el: Implement `sh-mode' own
11636 `add-log-current-defun-function' (bug#14112).
11637 (sh-current-defun-name): New function.
11638 (sh-mode): Use the function.
11639
b39792eb
BG
116402013-04-09 Bastien Guerry <bzg@gnu.org>
11641
11642 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11643
8acdeb71
SM
116442013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11645
6fcdab68
SM
11646 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11647
8acdeb71
SM
11648 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11649 timer (bug#14156).
11650
e3e7b504
NF
116512013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11652
11653 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11654 declaration.
11655
201bb296
LL
116562013-04-07 Leo Liu <sdl.web@gmail.com>
11657
11658 * pcmpl-x.el: New file.
11659
ebb19708
DA
116602013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11661
11662 Do not set x-display-name until X connection is established.
11663 This is needed to prevent from weird situation described at
11664 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11665 * frame.el (make-frame): Set x-display-name after call to
11666 window system initialization function, not before.
11667 * term/x-win.el (x-initialize-window-system): Add optional
11668 display argument and use it.
11669 * term/w32-win.el (w32-initialize-window-system):
11670 * term/ns-win.el (ns-initialize-window-system):
11671 * term/pc-win.el (msdos-initialize-window-system):
11672 Add compatible optional display argument.
11673
33bb237a
EZ
116742013-04-06 Eli Zaretskii <eliz@gnu.org>
11675
11676 * files.el (normal-backup-enable-predicate): On MS-Windows and
11677 MS-DOS compare truenames of temporary-file-directory and of the
11678 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11679 don't fail comparison by compare-strings. Also, compare file
11680 names case-insensitively on MS-Windows and MS-DOS.
11681
134abf1f
SM
116822013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11685 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11686
d695cb94
DG
116872013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11688
e3e7b504
NF
11689 * whitespace.el (whitespace-color-on, whitespace-color-off):
11690 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11691
f4ad7ea1 116922013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11693
11694 * ispell.el (ispell-set-spellchecker-params):
11695 Really set `ispell-args' for all equivs.
11696
632556e4
SM
116972013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * ido.el (ido-completions): Use extra elements of ido-decorations
11700 (bug#14143).
11701 (ido-decorations): Update docstring.
11702
2a417372
MA
117032013-04-05 Michael Albinus <michael.albinus@gmx.de>
11704
11705 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11706 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11707 nil during initialization, in order not to miss changes since the
11708 file was opened. (Bug#14140)
11709
fc164b0c
LL
117102013-04-05 Leo Liu <sdl.web@gmail.com>
11711
11712 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11713
0ccecc08
JB
117142013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11715
11716 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11717
51af1aa2
GM
117182013-04-04 Glenn Morris <rgm@gnu.org>
11719
11720 * electric.el (electric-pair-inhibit-predicate): Add :version.
11721
b208ebc6
SM
117222013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11725 when a package is required several times (bug#14082).
11726
f3d3eaf0
RW
117272013-04-04 Roland Winkler <winkler@gnu.org>
11728
11729 * faces.el (read-face-name): Behave as promised by the docstring.
11730 Assume that arg default is a list of faces.
11731 (describe-face): Call read-face-name with list of default faces.
11732
2575da50
TV
117332013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11734
11735 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11736 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11737 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11738 the header.
11739 (bookmark-exit-hook-internal): Save even if list is empty.
11740
397703b4
YH
117412013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11742
11743 * emacs-lisp/package.el (package-pinned-packages): New var.
11744 (package--add-to-archive-contents): Obey it (bug#14118).
11745
691e26ae
AM
117462013-04-03 Alan Mackenzie <acm@muc.de>
11747
8a621d53
JB
11748 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11749 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11750
11751 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11752 parameter `not-in-delimiter'. Handle being inside comment opener.
11753 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11754 character in case we're typing a '*' after a '/'.
11755 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11756 instead by passing the parameter to c-state-pp-to-literal.
11757
11758 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11759 for elt. 7 of a parse state.
11760
4b725a70
PE
117612013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11762
11763 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11764 * international/latin1-disp.el, international/mule-util.el:
11765 * language/cyril-util.el, language/european.el, language/ind-util.el:
11766 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11767 * language/tibetan.el, language/viet-util.el:
11768 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11769
15c579f0
SM
117702013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11773 (electric-pair-post-self-insert-function): Use it.
11774 (electric-pair-default-inhibit): New function, extracted from
11775 electric-pair-post-self-insert-function.
11776
a77e2924
RW
117772013-03-31 Roland Winkler <winkler@gnu.org>
11778
11779 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11780
2bd8a4a8
SM
117812013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11784
8d3655be 117852013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11786
11787 Un-indent after "pass" and "return" statements (Bug#13888)
11788 * progmodes/python.el (python-indent-block-enders): New var.
11789 (python-indent-calculate-indentation): Use it.
11790
8d3655be 117912013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11792
11793 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11794 defun. Defining it as defalias could introduce too eager
11795 byte-compiler optimization. (Bug#14030)
11796
8d3655be 117972013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11798
11799 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11800
0b1619da
LL
118012013-03-30 Leo Liu <sdl.web@gmail.com>
11802
11803 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11804 (kmacro-execute-from-register): Pass the keyboard macro to
11805 kmacro-call-macro or repeating won't work correctly.
11806
0b938190
TZ
118072013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11808
11809 * progmodes/subword.el: Back to using `forward-symbol'.
11810
11811 * subr.el (forward-whitespace, forward-symbol)
11812 (forward-same-syntax): Move from thingatpt.el.
11813
35710234
LL
118142013-03-29 Leo Liu <sdl.web@gmail.com>
11815
11816 * kmacro.el (kmacro-to-register): New command.
11817 (kmacro-execute-from-register): New function.
11818 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11819
efc0bb73
SM
118202013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 * mpc.el: Use defvar-local and setq-local.
11823 (mpc--proc-connect): Connection failures are not bugs.
11824 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11825 (mpc-volume-map): Bind to the up-events.
11826
75a2f981
TZ
118272013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11828
11829 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11830 instead of `forward-symbol'.
11831
17c781d1
SM
118322013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11835 (edebug--recursive-edit): Use it.
11836 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11837 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11838
f67bfbcf
LL
118392013-03-28 Leo Liu <sdl.web@gmail.com>
11840
11841 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11842
b59f639d
EZ
118432013-03-27 Eli Zaretskii <eliz@gnu.org>
11844
11845 * facemenu.el (list-colors-callback): New defvar.
11846 (list-colors-redisplay): New function.
11847 (list-colors-display): Install list-colors-redisplay as the
11848 revert-buffer-function. (Bug#14063)
11849
f557c1b1
SM
118502013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11851
b1da2957
SM
11852 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11853 and suffixes don't overlap (bug#14061).
11854
f557c1b1
SM
11855 * case-table.el: Use lexical-binding.
11856 (case-table-get-table): New function.
11857 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11858
002668e1
TZ
118592013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11860
11861 * progmodes/subword.el: Add `superword-mode' to do word motion
11862 over symbol_words (parallels and leverages `subword-mode' which
11863 does word motion inside MixedCaseWords).
11864
73572c72
AG
118652013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11866
78b8f320 11867 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11868 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11869
69b2c07e
SM
118702013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11873 Change return value to be a sexp. Delay `get-buffer' to after
11874 restoring the desktop (bug#13951).
11875
08bb5ee2
LL
118762013-03-26 Leo Liu <sdl.web@gmail.com>
11877
11878 * register.el: Move semantic tag handling back to
11879 cedet/semantic/senator.el. (Bug#14052)
11880
8d4c974e
SM
118812013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11882
11883 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11884 into the prompt either (bug#13963).
11885
b234d92c
SM
118862013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11889 part of "(error-foo)".
11890
ddfa3cb4
JL
118912013-03-24 Juri Linkov <juri@jurta.org>
11892
11893 * replace.el (list-matching-lines-prefix-face): New defcustom.
11894 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11895 `occur-engine' if `face-differs-from-default-p' returns t.
11896 (occur-engine): Add `,' inside backquote construct to evaluate
11897 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11898 Pass `prefix-face' to the functions `occur-context-lines' and
11899 `occur-engine-add-prefix'.
11900 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11901 `prefix-face' and propertize the prefix with `prefix-face'.
11902 (Bug#14017)
11903
7b0e2f85
LL
119042013-03-24 Leo Liu <sdl.web@gmail.com>
11905
11906 * nxml/rng-valid.el (rng-validate-while-idle)
11907 (rng-validate-quick-while-idle): Guard against deleted buffer.
11908 (Bug#13999)
11909
11910 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11911 is the last entry in kill-buffer-hook.
11912
11913 * files.el (kill-buffer-hook): Doc fix.
11914
b3082f49
DG
119152013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11916
b234d92c
SM
11917 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11918 Make it safe-local.
bde73d27 11919
b3082f49
DG
11920 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11921
a320a2db
LL
119222013-03-23 Leo Liu <sdl.web@gmail.com>
11923
7e74b0fb
LL
11924 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11925 Remove.
11926
11927 * nxml/rng-valid.el (rng-validate-mode)
11928 (rng-after-change-function, rng-do-some-validation):
11929 * nxml/rng-maint.el (rng-validate-buffer):
11930 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11931 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11932 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11933 (nxml-extend-after-change-region): Use with-silent-modifications.
11934
a320a2db
LL
11935 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11936 timer-idle-list.
11937
11938 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11939 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11940 timer-idle-list. (Bug#13999)
11941
e38e6780
JL
119422013-03-23 Juri Linkov <juri@jurta.org>
11943
11944 * info.el (info-index-match): New face.
11945 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11946 main pattern and add text properties with the new face to matches
11947 in index entries relative to the beginning of the index entry.
11948 (Bug#14015)
11949
e8cc7880
DE
119502013-03-21 Eric Ludlam <zappo@gnu.org>
11951
11952 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11953 Inhibit read only while inserting objects.
11954
9bb0d822
TZ
119552013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11956
11957 * progmodes/cfengine.el: Update docs to mention
11958 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11959 symbol motion. Remove "_" from the word syntax.
11960
aa703640
TZ
119612013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11962
11963 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11964 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11965
afff09d0
JL
119662013-03-20 Juri Linkov <juri@jurta.org>
11967
11968 * info.el (Info-next-reference-or-link)
11969 (Info-prev-reference-or-link): New functions.
11970 (Info-next-reference, Info-prev-reference): Use them.
11971 (Info-try-follow-nearest-node): Handle footnote navigation.
11972 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11973
9a1ff164
SM
119742013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11975
11976 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11977 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11978
2667d15d
PE
119792013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11980
11981 Suppress unnecessary non-ASCII chatter during build process.
11982 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11983 (batch-skkdic-convert): Suppress most of the chatter.
11984 It's not needed so much now that machines are faster,
11985 and its non-ASCII component was confusing; see Dmitry Gutov in
11986 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11987
438b0579
LL
119882013-03-20 Leo Liu <sdl.web@gmail.com>
11989
11990 * ido.el (ido-chop): Fix bug#10994.
11991
c128ab07
DG
119922013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11993
11994 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11995 Remove vars.
9a1ff164
SM
11996 (whitespace-color-on, whitespace-color-off):
11997 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11998
0e6008c5
SM
119992013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12002 remapping in mode-line.
12003 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12004
627b52b0
DG
120052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12006
12007 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12008 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12009 (whitespace-font-lock-keywords): Change description.
12010 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12011 the constructed keywords instead.
12012 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12013
50c3a20b
LL
120142013-03-19 Leo Liu <sdl.web@gmail.com>
12015
12016 * progmodes/compile.el (compilation-display-error): New command.
12017 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12018 C-o. (Bug#13992)
12019
2aa2157b
PE
120202013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12021
12022 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12023
e477dbfa
JD
120242013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12025
12026 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12027
64ab82d1
MA
120282013-03-18 Michael Albinus <michael.albinus@gmx.de>
12029
12030 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12031
12032 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12033 * net/tramp-gvfs.el (top):
12034 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12035 (tramp-handle-shell-command): Use it.
12036 (tramp-dissect-file-name): Raise an error when hostname is a
12037 method name, and neither method nor user is specified.
12038
12039 * net/trampver.el: Update release number.
12040
33cef733
LL
120412013-03-18 Leo Liu <sdl.web@gmail.com>
12042
12043 Make sure eldoc can be turned off properly.
12044 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12045 eldoc-mode.
12046 (eldoc-display-message-p): Revert last change.
12047 (eldoc-display-message-no-interference-p)
12048 (eldoc-print-current-symbol-info): Tweak.
12049
2167b7b2
TH
120502013-03-18 Tassilo Horn <tsdh@gnu.org>
12051
12052 * doc-view.el (doc-view-new-window-function): Check the new window
12053 overlay's display property instead the char property of the
12054 buffer's first char. Use `with-selected-window' instead of
12055 `save-window-excursion' with `select-window'.
12056 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12057 display property instead the char property of the buffer's first char.
2167b7b2 12058
982efbcd
PE
120592013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12060
12061 Automate the build of ja-dic.el (Bug#13984).
12062 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12063 from the input, rather than assume that it's been done for us by the
12064 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12065 the current date into a ja-dic.el comment, as that complicates
12066 regression testing.
12067
2fcc7665
SM
120682013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12069
12070 * whitespace.el: Fix double evaluation.
12071 (whitespace-space, whitespace-hspace, whitespace-tab)
12072 (whitespace-newline, whitespace-trailing, whitespace-line)
12073 (whitespace-space-before-tab, whitespace-indentation)
12074 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12075 obsolete defvars.
12076 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12077 (whitespace-color-on): Use a single font-lock-add-keywords call.
12078 Fix double-evaluation of face variables.
12079
67c0a6e6
MA
120802013-03-17 Michael Albinus <michael.albinus@gmx.de>
12081
2fcc7665
SM
12082 * net/tramp-adb.el (tramp-adb-parse-device-names):
12083 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12084 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12085
69489f1d
LL
120862013-03-17 Leo Liu <sdl.web@gmail.com>
12087
12088 Extend eldoc to display info in the mode-line. (Bug#13978)
12089 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12090 (eldoc-mode-line-string): New variable.
12091 (eldoc-minibuffer-message): New function.
12092 (eldoc-message-function): New variable.
12093 (eldoc-message): Use it.
12094 (eldoc-display-message-p)
2fcc7665
SM
12095 (eldoc-display-message-no-interference-p):
12096 Support eldoc-post-insert-mode.
69489f1d
LL
12097
12098 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12099 (eval-expression): Run it.
12100
9c44569e
RW
121012013-03-17 Roland Winkler <winkler@gnu.org>
12102
12103 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12104 strings in the list of return values.
12105
327f1f6f
JB
121062013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12107
12108 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12109 radix before checking for HMS forms.
12110
67ed8fcd
LL
121112013-03-16 Leo Liu <sdl.web@gmail.com>
12112
12113 * progmodes/scheme.el: Add indentation and font-locking for λ.
12114 (Bug#13975)
12115
78be8b64 121162013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12117
12118 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12119 token before point (bug#13942).
12120
78be8b64 121212013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12122
95b43468 12123 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12124
98e775e6
EZ
121252013-03-16 Eli Zaretskii <eliz@gnu.org>
12126
12127 * startup.el (command-line-normalize-file-name): Fix handling of
12128 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12129 <xfq.free@gmail.com> in
12130 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12131
2edd6029
MA
121322013-03-15 Michael Albinus <michael.albinus@gmx.de>
12133
12134 Sync with Tramp 2.2.7.
12135
12136 * net/trampver.el: Update release number.
12137
d35f5864
TH
121382013-03-14 Tassilo Horn <tsdh@gnu.org>
12139
e903c210 12140 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12141 (doc-view-insert-image): Don't modify overlay associated to
12142 non-live windows, and implement horizontal centering of image in
12143 case it's smaller than the window.
12144 (doc-view-new-window-function): Force redisplay of new windows on
12145 doc-view buffers.
d35f5864 12146
1c4a85ed
KF
121472013-03-13 Karl Fogel <kfogel@red-bean.com>
12148
12149 * saveplace.el (save-place-alist-to-file): Don't sort
12150 `save-place-alist', just pretty-print it (bug#13882).
12151
85b66a21
MA
121522013-03-13 Michael Albinus <michael.albinus@gmx.de>
12153
a020afb9
JB
12154 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12155 Check whether `default-file-name-coding-system' is bound.
12156 It isn't in XEmacs.
85b66a21 12157
175600da
SM
121582013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12159
e7f7cb1a
SM
12160 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12161 backquotes for `obsolete' (bug#13929).
12162
175600da
SM
12163 * international/mule.el (find-auto-coding): Include file name in
12164 obsolescence warning (bug#13922).
12165
ca68a22e
TZ
121662013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12167
12168 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12169 for CFEngine 3-specific indentation.
12170 (cfengine3-indent-line): Use it. Fix up category regex.
12171 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12172
940e5099
SM
121732013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * type-break.el (type-break-file-name):
12176 * textmodes/remember.el (remember-data-file):
12177 * strokes.el (strokes-file):
12178 * shadowfile.el (shadow-initialize):
12179 * saveplace.el (save-place-file):
12180 * ps-bdf.el (bdf-cache-file):
12181 * progmodes/idlwave.el (idlwave-config-directory):
12182 * net/quickurl.el (quickurl-url-file):
12183 * international/kkc.el (kkc-init-file-name):
12184 * ido.el (ido-save-directory-list-file):
12185 * emulation/viper.el (viper-custom-file-name):
12186 * emulation/vip.el (vip-startup-file):
12187 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12188 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12189
cc725808
PE
121902013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12191
12192 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12193 * language/thai-word.el: Switch to UTF-8.
12194
a020afb9 12195See ChangeLog.16 for earlier changes.
e3d51b27
MR
12196
12197;; Local Variables:
12198;; coding: utf-8
e3d51b27
MR
12199;; End:
12200
ba318903 12201 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12202
12203 This file is part of GNU Emacs.
12204
12205 GNU Emacs is free software: you can redistribute it and/or modify
12206 it under the terms of the GNU General Public License as published by
12207 the Free Software Foundation, either version 3 of the License, or
12208 (at your option) any later version.
12209
12210 GNU Emacs is distributed in the hope that it will be useful,
12211 but WITHOUT ANY WARRANTY; without even the implied warranty of
12212 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12213 GNU General Public License for more details.
12214
12215 You should have received a copy of the GNU General Public License
12216 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.