Spelling fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f952002e
PE
12014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2
3 Revert some of the CANNOT_DUMP fix (Bug#16494).
4 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5 but fixing this can wait until after the next release.
6 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
7
93675500
MA
82014-01-19 Michael Albinus <michael.albinus@gmx.de>
9
10 * eshell/esh-mode.el (eshell-password-prompt-regexp):
11 Use `password-word-equivalents'.
12 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13 to t. (Bug#5664, Bug#13124)
14
e3af763f
AM
152014-01-19 Alan Mackenzie <acm@muc.de>
16
17 Bind open-paren-in-column-0-is-defun-start to nil at some entry
18 points.
19 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
20 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
21 * progmodes/cc-mode.el (c-before-change, c-after-change)
22 (c-font-lock-fontify-region): Bind it here.
23
4ff6d92d
MR
242014-01-19 Martin Rudalics <rudalics@gmx.at>
25
26 * term.el (term-window-width): Call window-text-width instead of
27 window-width (Bug#16470).
28
9a685cf6
PE
292014-01-18 Paul Eggert <eggert@cs.ucla.edu>
30
31 * simple.el (password-word-equivalents): Remove duplicates.
32 Sort, to make this easier next time.
33 Downcase. Omit ": " after "jelszó".
34
5aa78c2d
JD
352014-01-18 Jan Djärv <jan.h.d@swipnet.se>
36
37 * term/common-win.el (saved-region-selection): Defvar it.
38 (x-select-text): Set saved-region-selection (Bug#16382).
39
cabb250c
GM
402014-01-18 Glenn Morris <rgm@gnu.org>
41
42 * emacs-lisp/authors.el (authors-aliases)
43 (authors-renamed-files-alist): Add some entries.
44
a1340440
MA
452014-01-17 Michael Albinus <michael.albinus@gmx.de>
46
93675500
MA
47 * net/tramp.el (tramp-password-prompt-regexp):
48 Use `password-word-equivalents' if available.
a1340440
MA
49 (tramp-action-password, tramp-process-one-action)
50 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
51
681ce5d2
CY
522014-01-17 Chong Yidong <cyd@gnu.org>
53
54 * simple.el (password-word-equivalents): New defcustom.
55 * comint.el (comint-password-prompt-regexp): Use it. Bump version
56 to 24.4.
57 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
58 to t. (Bug#13124)
59
fb3d479c
DG
602014-01-17 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
63 (ruby-align-to-stmt-keywords): Change the default value. Use
64 `ruby-alignable-keywords' to generate the possible customization
65 choices.
66 (ruby-smie-rules): Instead of using a hardcoded list of alignable
67 keywords, check against the value of `ruby-alignable-keywords'
68 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
69
0d613483
GM
702014-01-17 Glenn Morris <rgm@gnu.org>
71
fc23fe2d
GM
72 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
73
0d613483
GM
74 Make M-x authors return zero *Authors Errors* from current logs.
75 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
76 (authors-ignored-files): Add some entries, remove others.
77 (authors-ambiguous-files, authors-valid-file-names):
78 Add some entries.
79 (authors-renamed-files-alist): Add, remove, and adjust entries.
80 (authors-renamed-files-regexps): Add some entries.
81 Remove some very broad ones. Make some entries `lax'.
82 (authors-lax-changelogs): New constant.
83 (authors-disambiguate-file-name): Treat top-level specially.
84 (authors-lax-changelog-p): New function.
85 (authors-canonical-file-name): Check file as written against
86 authors-valid-file-names. Do not special-case etc/.
87 Handle `lax' logs and authors-renamed-files-regexps elements.
88
2dbf4ffd
DG
892014-01-16 Dmitry Gutov <dgutov@yandex.ru>
90
91 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
92 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
93 callers.
2dbf4ffd 94
87b2a7f2
SM
952014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
98 Assume we're already in the proper buffer.
99 Inspired by Anders Lindgren <andlind@gmail.com>.
100 (follow-post-command-hook): Call it from the right buffer.
101 (follow-comint-scroll-to-bottom): Adjust call.
102 (follow-all-followers): Use get-buffer-window-list.
103
93acfb0e
DC
1042014-01-15 Daniel Colascione <dancol@dancol.org>
105
106 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
107 `buffer-file-name' in interactive-form so that we don't leave
108 pathless file names in `file-name-history'.
109
ccc6b208
JL
1102014-01-15 Juri Linkov <juri@jurta.org>
111
112 * indent.el (indent-rigidly): Set deactivate-mark to nil
113 in transient indentation mode. (Bug#16438)
114
5c92e00d
DG
1152014-01-15 Dmitry Gutov <dgutov@yandex.ru>
116
117 * emacs-lisp/package.el (package-desc-keywords): New function
118 (Bug#16222).
119 (describe-package-1, package-all-keywords)
120 (package--has-keyword-p): Use it.
121
dac69660
NR
1222014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
123
124 * simple.el (define-alternatives): When creating the
125 COMMAND-alternatives variable, assign COMMAND as its definition
126 name so that `describe-variable' can relocate it.
127
8b63edf8
ML
1282014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
129
130 * font-lock.el (font-lock-keywords): Fix typo in docstring
131 (bug#16307).
132
c6a0b8eb
AM
1332014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
134
135 * ispell.el (ispell-region): Reset `in-comment' for new line
136 instead of wrongly reset `add-coment' (bug#13577).
137
02bf443d
DU
1382014-01-14 Daiki Ueno <ueno@gnu.org>
139
140 * epa-file.el (epa-file-write-region): Encode the region according
141 to `buffer-file-format'. Problem reported at:
142 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
143
fd7fde15
SM
1442014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
147 so it applies in the right buffer (bug#16410).
148
c176054f
DC
1492014-01-13 Daniel Colascione <dancol@dancol.org>
150
151 * textmodes/rst.el (rst-define-key): Provide deprecated
152 keybindings through named functions instead of anonymous ones so
153 that "??" doesn't appear in describe-mode output.
154
e3f33e5d
BG
1552014-01-13 Bastien Guerry <bzg@gnu.org>
156
157 * simple.el (define-alternatives): Call the selected command
158 interactively. When setting `COMMAND--implementation' for the
159 first time, tell the user how to chose another implementation.
160 Enhance the docstring.
161
c055d654
SM
1622014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
165 (log-edit--match-first-line): New function.
166 (log-edit-font-lock-keywords): Use it.
167 (log-edit-mode): Make jit-lock-defer-multiline work.
168
d791cc3b
BG
1692014-01-13 Bastien Guerry <bzg@gnu.org>
170
171 * rect.el (rectangle-mark-mode): When the region is not active,
172 display a message saying that the mark as been set and that
173 rectangle mode is in use.
174 (rectangle--highlight-for-redisplay): Only put an overlay with a
175 visible vertical bar when (display-graphic-p) is non-nil.
176 This partially fixes Bug#16403.
177
3c0c4562
JL
1782014-01-13 Juri Linkov <juri@jurta.org>
179
180 * info.el (Info-find-file): Go to DIR before displaying the error
181 about a nonexistent file if no previous Info file is visited.
182 Use `user-error' instead of `error' for "Info file %s does not exist".
183 (Info-find-node-2): In case of a nonexistent node in unwind forms
184 go to the Top node if there is no previous node to revert to.
185 (Bug#16405)
186
25a700d0
MR
1872014-01-13 Martin Rudalics <rudalics@gmx.at>
188
189 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
190 * window.el (fit-frame-to-buffer): Fix doc-string.
191 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
192 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
193 when avoiding that frame goes partially off-screen.
194 (fit-window-to-buffer): Respect window-min-height/-width
195 (Bug#14096).
196
6ae948d8
SM
1972014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
200 after an empty line.
201
6137cb82
SM
2022014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * net/shr.el (shr-render-region): Autoload.
205
e6344e17
XF
2062014-01-12 Xue Fuqiao <xfq.free@gmail.com>
207
208 * net/eww.el (eww-download-directory): Rename from
209 `eww-download-path' (Bug#16419).
210
3b922c70
LL
2112014-01-12 Leo Liu <sdl.web@gmail.com>
212
213 * dired-x.el (dired-mode-map): Fix last change.
214
215 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
216
4fa51741
PE
2172014-01-12 Paul Eggert <eggert@cs.ucla.edu>
218
219 Spelling fixes.
220 * emacs-lisp/generic.el (generic--normalize-comments):
221 Rename from generic--normalise-comments. All uses changed.
222 * play/bubbles.el (bubbles--neighborhood-score):
223 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
224 (bubbles--neighborhood-available)
225 (bubbles--update-neighborhood-score):
226 Rename from names with 'neighbourhood'. All uses changed.
227
9b335362
LL
2282014-01-12 Leo Liu <sdl.web@gmail.com>
229
230 Re-implement the feature of showing eldoc info after editing.
231 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
232 (eldoc-edit-message-commands): New function.
233 (eldoc-print-after-edit): New variable.
234 (eldoc-pre-command-refresh-echo-area): Emit message only by
235 eldoc-message-commands.
236 (eldoc-mode): Restrict eldoc-message-commands to editing commands
237 if eldoc-print-after-edit is set. (Bug#16346)
238
6137cb82 239 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 240
9685190b
ER
2412014-01-11 Eric S. Raymond <esr@thyrsus.com>
242
841a6d0c 243 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 244 function works correctly in either a Bazaar or Git repo.
0abf4134 245
6137cb82
SM
246 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
247 Goes with removal of the joke manpages from /etc.
9685190b 248
3923e7bd
KH
2492014-01-10 K. Handa <handa@gnu.org>
250
6137cb82
SM
251 * mail/rmail.el (rmail-get-coding-system):
252 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 253
d2f16e93
GM
2542014-01-10 Glenn Morris <rgm@gnu.org>
255
256 * emacs-lisp/authors.el (authors-fixed-entries):
257 Update for files that no longer exist.
258
7e03bb32
ER
2592014-01-10 Eric S. Raymond <esr@thyrsus.com>
260
261 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 262 24.3 (Tested).
7e03bb32 263
dd806710
BB
2642014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
265
266 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
267 and Podfile.
268
ed6ec139
EZ
2692014-01-10 Eli Zaretskii <eliz@gnu.org>
270
271 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
272
cc33cac9
CY
2732014-01-10 Chong Yidong <cyd@gnu.org>
274
6137cb82 275 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 276
d9d836b5
AL
2772014-01-10 Anders Lindgren <andlind@gmail.com>
278
279 * follow.el (follow-cache-command-list): Include right-char and
280 left-char.
281
06827ec8
PE
2822014-01-10 Paul Eggert <eggert@cs.ucla.edu>
283
284 Spelling fixes.
285 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
286 * woman.el (woman-mark-horizontal-position):
287 Rename from woman-mark-horizonal-position. Use changed.
288
458dbf5e
GM
2892014-01-10 Glenn Morris <rgm@gnu.org>
290
dad6fae7
GM
291 * info.el (info-initialize): If running uninstalled, ensure our
292 own info files are always found first, even if INFOPATH is set.
293
458dbf5e
GM
294 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
295
05e0afce
DE
2962014-01-09 David Engster <deng@randomsample.de>
297
298 * emacs-lisp/eieio-custom.el:
299 * emacs-lisp/eieio-opt.el: Set generated autoload file to
300 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
301 * emacs-lisp/eieio.el: Regenerate autoloads.
302
f29778b3
ER
3032014-01-09 Eric S. Raymond <esr@thyrsus.com>
304
305 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 306 following renames. (Bug#8756)
f29778b3 307
684d44ef
SM
3082014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
311 (bug#16382).
312 (activate-mark): Add `no-tmm' argument.
313 (set-mark, push-mark-command): Use it instead of running
314 activate-mark-hook by hand.
315
9475054f
ER
3162014-01-08 Eric S. Raymond <esr@thyrsus.com>
317
318 In preparation for the move to git, sanitize out some
319 Bazaar-specific names.
320
321 * version.el (emacs-bzr-version): Name changed to
689c9ca5 322 emacs-repository-version. Obsolete-variable alias made.
9475054f 323 * loadup.el: Follow through on this name change.
a12bf61e 324 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
325 assumption about the version control system in use.
326
0f918d96 3272014-01-08 David Engster <deng@randomsample.de>
abb82152 328
684d44ef
SM
329 * help-fns.el (help-fns-describe-function-functions):
330 New variable to call functions for augmenting help buffers.
abb82152
DE
331 (describe-function-1): Remove explicit calls to
332 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
333 `help-fns--obsolete'. Put them in above new variable instead, and
334 call them through `run-hook-with-args'.
335 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
336 `eieio-describe-class'. Not meant for interactive use anymore,
337 but to augment existing help buffers. Remove optional second
684d44ef
SM
338 argument. Create proper button for file location.
339 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
340 possible.
341 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
342 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
343 (describe-method, describe-generic, eieio-describe-method):
344 Remove aliases.
0f918d96
DE
345 (eieio-help-constructor, eieio-help-generic): Rename from
346 `eieio-describe-constructor' and `eieio-describe-generic', resp.
347 Rewrite to use `insert' in the current buffer and use proper help
348 buttons.
349 (eieio-help-find-method-definition)
350 (eieio-help-find-class-definition): Also accept symbols as
351 arguments.
352 (eieio-help-mode-augmentation-maybee): Remove.
353 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
354 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
355 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 356
136b74c5
PE
3572014-01-08 Paul Eggert <eggert@cs.ucla.edu>
358
359 Spelling fixes.
360 * language/china-util.el (hz-ascii-designation):
361 Rename from hz-ascii-designnation.
362 (hz-ascii-designation): Rename from hz-ascii-designnation.
363 All uses changed.
364
ec6c7de2
SM
3652014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
368 package-alist.
369
d6262c7c
BG
3702014-01-08 Bastien Guerry <bzg@gnu.org>
371
4b9e6087
GM
372 * emacs-lisp/package.el (package-delete):
373 Correctly delete the package from package-alist.
d6262c7c 374
0a3eec32
DU
3752014-01-08 Daiki Ueno <ueno@gnu.org>
376
377 * emacs-lisp/package.el (url-recreate-url): Declare.
378 (url-http-target-url): Declare.
4b9e6087 379 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
380 (package--check-signature): Don't re-signal errors from
381 package--with-work-buffer. Suggested by Stefan Monnier.
382
68f0bb97
BG
3832014-01-07 Bastien Guerry <bzg@gnu.org>
384
385 * minibuffer.el (completion--try-word-completion): When both a
386 hyphen and a space are possible candidates for the character
387 following a word, display both candidates. (Bug#15980)
388
7e1899d7
MR
3892014-01-07 Martin Rudalics <rudalics@gmx.at>
390
391 * window.el (balance-windows-2): While rounding don't give a
392 window more than the remainder. Bug#16351, Bug#16383.
393
0030ec15
GM
3942014-01-07 Glenn Morris <rgm@gnu.org>
395
396 * menu-bar.el (menu-bar-help-extra-packages): Remove.
397 (menu-bar-help-menu): Use view-external-packages instead.
398
2b6b4f20
BG
3992014-01-07 Bastien Guerry <bzg@gnu.org>
400
401 * emacs-lisp/package.el (package-delete): Also delete the package
402 name from `package-alist', not its description only.
403
e9be0a13
GM
4042014-01-07 Glenn Morris <rgm@gnu.org>
405
406 * help.el (view-external-packages):
407 * menu-bar.el (menu-bar-help-extra-packages):
408 Visit efaq.info rather than etc/MORE.STUFF.
409
e4f74da9
JL
4102014-01-07 Juri Linkov <juri@jurta.org>
411
412 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
413 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
414
415 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
416 that shadows RET. (Bug#16342)
417
de7ce2d1
CY
4182014-01-07 Chong Yidong <cyd@gnu.org>
419
420 * isearch.el (isearch-yank-char, isearch-yank-word)
421 (isearch-yank-line): Doc fix.
422
6bdd9204
SM
4232014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
426 * emacs-lisp/elint.el (elint-find-builtins):
427 * emacs-lisp/eldoc.el (eldoc-symbol-function):
428 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
429 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
430 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
431 * apropos.el (apropos-safe-documentation):
432 * subr.el (symbol-file): Remove redundant fboundp.
433 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
434
daccca97
BG
4352014-01-06 Bastien Guerry <bzg@gnu.org>
436
437 * hl-line.el (global-hl-line-overlay): Make a local variable.
438 (global-hl-line-overlays): New variable to store all overlays.
439 (global-hl-line-mode): Don't delete overlays from the current
440 buffer when `global-hl-line-sticky-flag' is non-nil.
441 (global-hl-line-highlight): Add new overlays to
442 `global-hl-line-overlays'.
443 (global-hl-line-unhighlight-all): New function to delete all
444 overlays when turning off `global-hl-line-mode'.
445 This fixes Bug#16183.
446
ec00f20f
SM
4472014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * subr.el (set-transient-map): Fix nested case and docstring.
450
a0031f97
TH
4512014-01-06 Tassilo Horn <tsdh@gnu.org>
452
453 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
454 `Texinfo' entry.
455
bf6a77f3
DC
4562014-01-06 Daniel Colascione <dancol@dancol.org>
457
458 Fix defun navigation in vc log view.
459
460 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
461 like `beginning-of-defun'.
462 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
463 log-view-end-of-defun to log-view-end-of-defun-1. Replace
464 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 465 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 466 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 467
d5081c1e
PE
4682014-01-06 Paul Eggert <eggert@cs.ucla.edu>
469
470 Spelling fixes.
471 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
472 * emacs-lisp/debug.el (cancel-debug-on-entry):
473 * epg.el (epg-error-to-string):
474 * files.el (recover-file):
475 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
476 * mail/emacsbug.el (report-emacs-bug-hook):
477 * mail/sendmail.el (mail-recover):
478 * ses.el (ses-yank-resize):
479 * term/ns-win.el (ns-print-buffer):
480 Spelling fixes in diagnostics, mostly for "canceled" with one L.
481 * epg.el (epg-key-capability-alist): Rename from misspelled version.
482 All uses changed.
483 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
484
53f6b148
LL
4852014-01-06 Leo Liu <sdl.web@gmail.com>
486
487 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 488 to avoid shadowing global key. (Bug#16354)
53f6b148 489
b82ace2f
DC
4902014-01-06 Daniel Colascione <dancol@dancol.org>
491
492 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
493 rst-mode.
494
3669b636
MR
4952014-01-05 Martin Rudalics <rudalics@gmx.at>
496
497 * window.el (balance-windows): Add mising t to fix Bug#16351.
498
1a29adc2
LMI
4992014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
500
501 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
502 (bug#16285).
3d95a0f4
LMI
503 (shr-insert): If we have a word that's longer than `shr-width',
504 break after it anyway. Otherwise we'll do no breaking once we get
505 such a long word.
1a29adc2 506
f4018140
KN
5072014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
508
189340f5
KN
509 * net/eww.el (eww): Support single/double quote for search.
510 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
511 (eww-history-quit): Delete and use quit-window.
512 (eww-history-kill): Delete, because it doesn't work well and
513 not necessary.
514 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 515
4e619754
PE
5162014-01-05 Paul Eggert <eggert@cs.ucla.edu>
517
73dbf960
PE
518 Fix misspelling of 'chinese' in rx (Bug#16237).
519 * emacs-lisp/rx.el (rx-categories): Correct spelling of
520 chinese-two-byte.
521
4e619754
PE
522 Change subword regexps back to vars (Bug#16296).
523 * progmodes/subword.el (subword-forward-regexp)
524 (subword-backward-regexp): Change these back to variables.
525
e18b70fc
SM
5262014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
529 syntax-begin-function (bug#16247).
530
0d53f628
CY
5312014-01-03 Chong Yidong <cyd@gnu.org>
532
533 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
534 (advice--docstring): Delete variable.
535 (advice--make-1): Leave the docstring empty.
536 (advice-add): Use function-documentation for advised docstring.
537
538 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
539 Ignore function-documentation property when getting documentation.
540 (ad-activate-advised-definition): Use function-documentation
541 generate the docstring.
542 (ad-make-advised-definition): Don't call
543 ad-make-advised-definition-docstring.
544 (ad-make-advised-definition-docstring, ad-advised-definition-p):
545 Delete functions.
546
547 * progmodes/sql.el (sql-help): Use function-documentation instead
548 of dynamic-docstring-function property. No need to autoload now.
549 (sql--help-docstring): New variable.
550 (sql--make-help-docstring): Use it.
551
6f547583
SM
5522014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
553
6ef9aed8
SM
554 * ielm.el (ielm-tab): Retarget.
555 (ielm-map): Use ielm-tab for tab.
556 (ielm-complete-filename): Use comint-filename-completion.
557 (ielm-complete-symbol): Remove.
558 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
559 remove ielm-tab from completion-at-point-functions (bug#16224).
560
6f547583
SM
561 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
562 Beware signals raised by predicates (bug#16201).
563
a574edbe
RS
5642014-01-02 Richard Stallman <rms@gnu.org>
565
e831604d
RS
566 * dired-aux.el (dired-do-print): Handle printer-name.
567
6f547583
SM
568 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
569 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
570 (rmail-epa-decrypt): Turn off mime processing.
571
572 * mail/rmail.el (rmail-make-in-reply-to-field):
573 Add parens in message-id.
574
575 * mail/rmail.el (rmail-get-coding-function): Variable.
576 (rmail-get-coding-system): Use it.
577
04311a16
KH
5782013-12-31 Eli Zaretskii <eliz@gnu.org>
579
580 * international/mule-conf.el: Unify the charset indian-is13194.
581 (indian-is13194): Specify unify-map.
582
c8d89778
LL
5832013-12-31 Leo Liu <sdl.web@gmail.com>
584
585 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
586
e63ace37
DC
5872013-12-30 Daniel Colascione <dancol@dancol.org>
588
9e0bf19a
DC
589 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
590 of printing a useless when we resume from sleep.
591
e63ace37
DC
592 * progmodes/sh-script.el
593 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
594 in indentation code. (Bug#16233)
595
e9d6c46a
JT
5962013-12-28 João Távora <joaotavora@gmail.com>
597
6f547583
SM
598 * elec-pair.el (electric-pair-post-self-insert-function):
599 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 600
bf7bea5d
EZ
6012013-12-28 Eli Zaretskii <eliz@gnu.org>
602
603 * frame.el (window-system-for-display): Don't allow to create a
604 GUI frame from a -nw session on MS-Windows. (Bug#14739)
605
8449dd1f
GM
6062013-12-28 Glenn Morris <rgm@gnu.org>
607
9c5a5c77
GM
608 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
609 Update callers.
610
611 * apropos.el (apropos-match-face):
612 * calculator.el (calculator-displayer):
613 * dabbrev.el (dabbrev-search-these-buffers-only):
614 * face-remap.el (buffer-face-mode-face):
615 * simple.el (yank-handled-properties):
616 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
617 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
618 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
619 (hashcash-double-spend-database):
620 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
621 (ruby-deep-indent-paren-style):
622 * textmodes/flyspell.el (flyspell-auto-correct-binding):
623 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
624 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
625 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
626 Specify custom types.
627
bb098075
GM
628 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
629 * bookmark.el (bookmark-bmenu-use-header-line):
630 * doc-view.el (doc-view-scale-internally):
631 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
632 * register.el (register-preview-delay):
633 * net/shr.el (shr-bullet):
634 * progmodes/cfengine.el (cfengine-cf-promises)
635 (cfengine-parameters-indent):
636 * progmodes/octave.el (inferior-octave-error-regexp-alist):
637 * textmodes/reftex-vars.el (reftex-label-regexps):
638 * vc/log-edit.el (log-edit-setup-add-author): Add version.
639
9c61f806
GM
640 * net/tls.el (tls-certtool-program): Fix default value.
641
642 * desktop.el (desktop-restore-in-current-display):
643 * newcomment.el (comment-empty-lines):
644 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
645 (idlwave-pad-keyword):
646 * progmodes/tcl.el (tcl-tab-always-indent):
647 * textmodes/reftex-vars.el (reftex-index-default-tag):
648 * elec-pair.el (electric-pair-skip-whitespace):
649 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
650
8449dd1f
GM
651 * emacs-lisp/authors.el (authors-ignored-files)
652 (authors-valid-file-names, authors-renamed-files-alist): Additions.
653
fdadeb49
JC
6542013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
655
72140a0f
GM
656 * shell.el (shell-dynamic-complete-command): Doc fix.
657 (shell--command-completion-data): Shell completion now matches
658 executable filenames from the current buffer's directory, on
da5ecfa9 659 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 660
e572a7d8
LI
6612013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
662
663 * net/shr.el (shr-insert): Don't infloop if the width is zero.
664
7514d3f8
SM
6652013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
666
a4151f3b
SM
667 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
668 (bug#16251).
669
7514d3f8
SM
670 * electric.el: Move all electric-pair-* to elec-pair.el.
671 * elec-pair.el: New file, split from electric.el.
672
ac5758d1
LI
6732013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
674
675 * net/shr.el (shr-find-fill-point): Don't try to fill if the
676 indentation level is larger than the width, because that will
677 infloop.
678 (shr-insert): Fill repeatedly long texts, so that Japanese is
679 formatted correctly (bug#16263).
24a6b65e
LI
680 (shr-find-fill-point): Off by one error in comparison with the
681 indentation.
ac5758d1 682
7514d3f8 6832013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
684
685 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 686 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
687 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
688 if that keeps or improves their balance in buffers.
689 (electric-pair-delete-adjacent-pairs): Delete the pair when
690 backspacing over adjacent matched delimiters.
691 (electric-pair-open-extra-newline): Open extra newline when
692 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
693 (electric--sort-post-self-insertion-hook):
694 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
695 minor-modes are activated.
696 * simple.el (newline-and-indent): Call newline with interactive
697 set to t.
698 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
699 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
700 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
701 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
702 electric-pair-open-newline-between-pairs to nil.
703
fbcc63a3
FEG
7042013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
705
706 * progmodes/python.el: Use lexical-binding.
707 (python-nav-beginning-of-defun): Stop searching ASAP.
708
ed78d16c
XF
7092013-12-25 Xue Fuqiao <xfq.free@gmail.com>
710
711 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
712 Fix interactive spec. Doc fix. (Bug#15754)
713
38b2c142
KY
7142013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
715
716 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 717 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
718 Fix edebug spec (bug#16184).
719
3c856c14
LI
7202013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
721
83fa295c 722 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
723 (shr-insert): Don't infloop if we can't find a good place to break
724 the line (bug#16256).
3c856c14 725
01379221
FEG
7262013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
727
728 * progmodes/python.el:
729 (python-nav--lisp-forward-sexp): New function.
730 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
731 python-nav-lisp-forward-sexp-safe.
732 (python-nav--forward-sexp): New argument SAFE allows switching
733 forward sexp movement behavior for parens.
734 (python-nav-forward-sexp): Throw errors on unterminated parens
735 (Bug#16191).
736 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
737 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
738 (python-shell-buffer-substring):
739 Use `python-nav-forward-sexp-safe'.
01379221 740
99e4926f
LI
7412013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
742
743 * net/shr.el (shr-find-fill-point): Don't break lines before a
744 quotation mark.
c6c20584
LI
745 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
746 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 747 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 748
fec0e828
KN
7492013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
750
751 * net/eww.el (eww-form-textarea): Use a different face for
752 textareas than text input since they have different keymaps
753 (bug#16142).
754
89c868ad
FEG
7552013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
756
7514d3f8
SM
757 * progmodes/python.el (python-nav-beginning-of-statement):
758 Speed up (Bug#15295).
89c868ad 759
eeef121a
LI
7602013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
761
762 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
763 the window configuration.
764
121ea65f
EZ
7652013-12-24 Eli Zaretskii <eliz@gnu.org>
766
767 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
768 we run on MS-Windows or MS-DOS.
769
18cee9ec
MR
7702013-12-24 Martin Rudalics <rudalics@gmx.at>
771
772 * window.el (balance-windows-area): Call window-size instead of
773 window-height and window-width. Bug#16241.
774
58f2b9a5
LI
7752013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
776
777 * net/eww.el (eww-bookmark-quit): Remove.
778 (eww-bookmark-browse): Restore the window configuration when you
779 choose a bookmark (bug#16144).
780
d64b6308
DC
7812013-12-24 Daniel Colascione <dancol@dancol.org>
782
783 * icomplete.el: Remove redundant :group arguments to `defcustom'
784 throughout.
785 (icomplete-show-matches-on-no-input): New customizable variable.
786 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
787 we have something to show.
7514d3f8 788 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 789
0da54898
DC
7902013-12-23 Daniel Colascione <dancol@dancol.org>
791
792 * icomplete.el: Move `provide' to end of file.
793
b90aa4f4
TZ
7942013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
795
796 * net/gnutls.el (gnutls-verify-error): Add version tag.
797
8cd22a08
CY
7982013-12-23 Chong Yidong <cyd@gnu.org>
799
800 * subr.el (set-transient-map): Rename from
801 set-temporary-overlay-map. Doc fix.
802
803 * face-remap.el (text-scale-adjust):
804 * indent.el (indent-rigidly):
805 * kmacro.el (kmacro-call-macro):
806 * minibuffer.el (minibuffer-force-complete):
807 * repeat.el (repeat):
808 * simple.el (universal-argument--mode):
809 * calendar/todo-mode.el (todo-insert-item--next-param):
810 * progmodes/f90.el (f90-abbrev-start): Callers changed.
811
7510b021
CY
812 * indent.el (indent-rigidly): Use substitute-command-keys.
813
72140a0f 8142013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
815
816 * net/eww.el (eww-tag-select): Add text-property to jump to next
817 select field.
e9dc713d 818 (eww): Add non-supported ftp error.
56890ecd 819
1f87a56c
DG
8202013-12-22 Dmitry Gutov <dgutov@yandex.ru>
821
822 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
823 comments. Handle electric indent after typing `?' and `!'.
824
dca38cf9
CY
8252013-12-22 Chong Yidong <cyd@gnu.org>
826
827 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
828 applicable to a frame, fall back on the defface spec.
829 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 830
f2351498
DG
8312013-12-22 Dmitry Gutov <dgutov@yandex.ru>
832
833 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
834 after `{'. We need it after block openers, and it doesn't seem
835 to hurt after hash openers.
836
6cddebc1
DG
8372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
838
839 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
840 extracted from `ruby-smie-rules'.
841 (ruby--electric-indent-chars): New variable.
842 (ruby--electric-indent-p): New function.
843 (ruby-mode): Use `electric-indent-functions' instead of
844 `electric-indent-chars'.
845
65a1da00
DG
8462013-12-22 Dmitry Gutov <dgutov@yandex.ru>
847
848 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
849 docstring.
850 (ruby-smie-rules): Indent plus one level after `=>'.
851
b51ad4cf
RS
8522013-12-21 Richard Stallman <rms@gnu.org>
853
854 * simple.el (newline): Doc fix.
855
72140a0f 8562013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 857
e9dc713d 858 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
859 (eww-history-browse, eww-history-quit, eww-history-kill)
860 (eww-history-mode-map, eww-history-mode): New command and
861 functions to list browser histories.
e9dc713d
JB
862 (eww-form-text): Support text form with disabled
863 and readonly attributes.
864 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 865
5e1901c1
RS
8662013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
867
868 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
869 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
870 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
871 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
872 Use `user-error'.
873 (eww-bookmark-mode-map): Add menu.
874 (eww-render, eww-mode): Use `setq-local'.
875 (eww-tool-bar-map): New variable.
876 (eww-mode): Set `tool-bar-map'.
877 (eww-view-source): Check for `html-mode' with `fboundp'.
878
073d5cfd
LMI
8792013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
880
881 * net/shr.el (shr--extract-best-source): Don't bug out on audio
882 elements with text inside. Also remove debugging.
883
41cf3d11
JD
8842013-12-21 Jan Djärv <jan.h.d@swipnet.se>
885
886 * cus-start.el (all): Add ns-use-srgb-colorspace.
887
aac2b673
CY
8882013-12-21 Chong Yidong <cyd@gnu.org>
889
890 * custom.el (custom-theme-recalc-face): Do nothing if the face is
891 undefined. Thus, theme settings for undefined faces do not take
892 effect until the faces are defined with defface, the same as with
893 theme variables.
894
895 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
896 (face-spec-reset-face): Don't assign extra properties in temacs.
897 (face-spec-recalc): Apply X resources too.
898
bacb0e77
CY
8992013-12-21 Chong Yidong <cyd@gnu.org>
900
901 * faces.el (face-spec-set):
902 * cus-face.el (custom-theme-set-faces, custom-set-faces):
903 * custom.el (defface): Doc fixes (Bug#16203).
904
77221051
CY
905 * indent.el (indent-rigidly-map): Add docstring, and move commands
906 into named functions.
907 (indent-rigidly-left, indent-rigidly-right)
908 (indent-rigidly-left-to-tab-stop)
909 (indent-rigidly-right-to-tab-stop): New functions. Decide on
910 indentation direction based on bidi direction, and accumulate
911 sequential commands in a single undo boundary.
912 (indent-rigidly--pop-undo): New utility function.
913
e0eb0550
JB
9142013-12-20 Juanma Barranquero <lekktu@gmail.com>
915
916 * faces.el (read-face-name): Require crm.el when using crm-separator.
917
3282bd2e
DC
9182013-12-20 Daniel Colascione <dancol@dancol.org>
919
920 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
921 so that we don't reflow comments into the shebang line.
922
1d42e5b6
JL
9232013-12-20 Juri Linkov <juri@jurta.org>
924
925 * saveplace.el (save-place-to-alist): Add `dired-filename' as
926 a position when `dired-directory' is non-nil. Check integer
927 positions with `integerp'.
928 (toggle-save-place, save-places-to-alist): Add check for
929 `dired-directory'.
930 (save-place-find-file-hook): Check integer positions with
931 `integerp'.
932 (save-place-dired-hook): Use `dired-goto-file' when
933 `dired-filename' is found in the assoc list. Check integer
934 positions with `integerp'.
935 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
936
937 * dired.el (dired-initial-position-hook): Rename back from
938 `dired-initial-point-hook'.
939 (dired-initial-position): Rename `dired-initial-point-hook' to
940 `dired-initial-position-hook'.
941 (dired-file-name-at-point): Doc fix. (Bug#15329)
942
24da7273
JL
9432013-12-20 Juri Linkov <juri@jurta.org>
944
945 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
946 (read-regexp-suggestions): New function.
947 (read-regexp): Use `read-regexp-defaults-function' to get default values.
948 Use `read-regexp-suggestions'. Add non-empty default to history
949 for empty input.
950 (occur-read-regexp-defaults-function): Remove function.
951 (occur-read-primary-args): Use `regexp-history-last' instead of
952 `occur-read-regexp-defaults-function'.
953
954 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
955 (hi-lock-line-face-buffer, hi-lock-face-buffer)
956 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
957 `hi-lock-read-regexp-defaults-function'. Doc fix.
958 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
959 with `find-tag-default-as-symbol-regexp'. Doc fix.
960 (hi-lock-read-regexp-defaults): Remove function.
961 (hi-lock-regexp-okay): Add check for null.
962
963 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
964 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
965
966 * subr.el (find-tag-default-as-symbol-regexp): New function.
967 (find-tag-default-as-regexp): Move symbol regexp formatting to
968 `find-tag-default-as-symbol-regexp'.
969
137f57c8
S
9702013-12-20 E Sabof <esabof@gmail.com> (tiny change)
971
972 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
973 (Bug#14179)
974
f3a66082
SB
9752013-12-20 Stephen Berman <stephen.berman@gmx.net>
976
977 * calendar/todo-mode.el: New implementation of item insertion
978 commands and key bindings.
979 (todo-key-prompt): New face.
980 (todo-insert-item): New command.
981 (todo-insert-item--parameters): New defconst, replacing defvar
982 todo-insertion-commands-args-genlist.
983 (todo-insert-item--param-key-alist): New defconst, replacing
984 defvar todo-insertion-commands-arg-key-list.
985 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
986 (todo-insert-item--argsleft, todo-insert-item--apply-args)
987 (todo-insert-item--next-param): New functions.
988 (todo-insert-item--args, todo-insert-item--argleft)
989 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
990 New variables.
991 (todo-key-bindings-t): Change binding of "i" from
992 todo-insertion-map to todo-insert-item.
993 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
994 (todo-insertion-command-name, todo-insertion-commands-names)
995 (todo-define-insertion-command, todo-insertion-commands)
996 (todo-insertion-key-bindings, todo-insertion-map): Remove.
997
2f99433b
SB
9982013-12-20 Stephen Berman <stephen.berman@gmx.net>
999
1000 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1001 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1002 eval-when-compile.
1003 (todo-move-category): Allow choosing a non-existing todo file to
1004 move the category to, and create that file.
1005 (todo-default-priority): New user option.
1006 (todo-set-item-priority): Use it.
1007 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1008 (desktop-restore-file-buffer): Declare.
1009 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1010 (todo-modes-set-2): Locally set desktop-save-buffer to
1011 todo-desktop-save-buffer.
1012 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1013 (auto-mode-alist): Add autoload cookie.
1014
131e4695
BB
10152013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1016
1017 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1018 helpers.el was a poor choice of name.
3cbfb935
BB
1019 (string-remove-prefix): New function.
1020 (string-remove-suffix): New function.
131e4695 1021
c44de18d
MR
10222013-12-20 Martin Rudalics <rudalics@gmx.at>
1023
1024 Fix assignment for new window total sizes.
1025 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1026 (window--pixel-to-total-1, window--pixel-to-total):
1027 Fix calculation of new total sizes.
c44de18d 1028
ca65efcc
VS
10292013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1030
1031 * comint.el (comint-output-filter): Fix rear-nonsticky property
1032 placement (Bug#16010).
1033
a9574eb7
CY
10342013-12-20 Chong Yidong <cyd@gnu.org>
1035
1036 * faces.el (read-color): Minor fix for completion function.
1037
b520f210
DG
10382013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1039
e0eb0550
JB
1040 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1041 New option. (Bug#16182)
b520f210
DG
1042 (ruby-smie--indent-to-stmt-p): Use it.
1043 (ruby-smie-rules): Revert the logic in the handling of `when'.
1044 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1045 (ruby-deep-arglist, ruby-deep-indent-paren)
1046 (ruby-deep-indent-paren-style): Update docstrings to note that the
1047 vars don't have any effect with SMIE.
1048
26b75b45
JB
10492013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1050
1051 * calc/calc.el (calc-enter, calc-pop): Use the variable
1052 `calc-context-sensitive-enter'.
1053
cf91cee7
LMI
10542013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1055
1056 * net/shr.el (shr-insert): Protect against infloops in degenerate
1057 tables.
1058
51d971b4
RS
10592013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1060
1061 * progmodes/octave.el (octave): Add link to manual and octave
1062 homepage.
1063 (octave-mode-menu): Link to octave-mode manual.
1064
8c2e462a
LL
10652013-12-20 Leo Liu <sdl.web@gmail.com>
1066
1067 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1068 insertion using skeleton-end-newline. (Bug#16138)
1069
501158bc
JL
10702013-12-20 Juri Linkov <juri@jurta.org>
1071
1072 * replace.el (occur-engine): Use `add-face-text-property'
1073 to add the face property to matches and titles. (Bug#14645)
1074
1075 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1076 the palette of other hi-lock colors.
1077 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1078
50ab1da6
JL
10792013-12-19 Juri Linkov <juri@jurta.org>
1080
1081 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1082 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1083 (minibuffer-history-symbol): Move variable declaration closer to
1084 its usage.
1085
1086 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1087 (Bug#14785)
1088
3d6e95e7
JL
10892013-12-19 Juri Linkov <juri@jurta.org>
1090
1091 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1092 New function.
1093 (log-edit-hook): Add it to :options. (Bug#16170)
1094
b41594fd
JL
10952013-12-19 Juri Linkov <juri@jurta.org>
1096
1097 * simple.el (eval-expression-print-format): Don't check for
1098 command names and the last command. Always display additional
1099 formats of the integer result in the echo area, and insert them
1100 to the current buffer only with a zero prefix arg.
1101 Display character when char-displayable-p is non-nil.
1102 (eval-expression): With a zero prefix arg, set `print-length' and
1103 `print-level' to nil, and insert the integer values from
1104 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1105
1106 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1107 `eval-last-sexp-arg-internal'. Doc fix.
1108 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1109 `eval-last-sexp-print-value'. Doc fix.
1110 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1111 Set `print-length' and `print-level' to nil when arg is zero.
1112 (eval-last-sexp): Doc fix.
1113 (eval-defun-2): Print the integer values from
1114 `eval-expression-print-format' at the end.
1115
1116 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1117 values from `eval-expression-print-format' at the end.
1118
1119 * ielm.el (ielm-eval-input): Print the integer
1120 values from `eval-expression-print-format' at the end.
1121
8f2be364
TZ
11222013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1123
1124 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1125 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1126
2230a6e3
SM
11272013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1130 (hl-line-highlight, global-hl-line-highlight): Use it.
1131 (hl-line-overlay): Use defvar-local.
1132
1269a680
JD
11332013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1134
1135 * term/ns-win.el: Require dnd.
1136 (global-map): Remove drag items.
1137 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1138 (ns-set-background-at-mouse):
1139 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1140 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1141 New functions.
1269a680 1142
049638ad
GM
11432013-12-19 Glenn Morris <rgm@gnu.org>
1144
1145 * emacs-lisp/ert.el (ert-select-tests):
1146 Fix string/symbol mixup. (Bug#16121)
1147
ce41edb4
DG
11482013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1149
1150 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1151 keywords to their parent.
1152
7e1549c9
DG
11532013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1156 first arg to be a string (fixed dead code), or an operator symbol.
1157 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1158 operator symbols.
1159 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1160 did nothing. Don't respond to `(:after ".")', it will be called
1161 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1162 change anything. Only return indentation for binary operators
1163 when they are hanging. De-dent opening paren when its parent is
1164 `.', otherwise it looks bad when the dot is not at bol or eol
1165 (bug#16182).
1166
3ee4cd64
JL
11672013-12-19 Juri Linkov <juri@jurta.org>
1168
1169 * replace.el (query-replace-read-args): Split a non-negative arg
1170 and a negative arg into separate elements.
1171 (query-replace, query-replace-regexp, replace-string)
1172 (replace-regexp): Add arg `backward'. Doc fix.
1173 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1174 move point to the beginning of the match.
1175 (replace-search, replace-highlight): Use new arg `backward'
1176 to set the value of `isearch-forward'.
1177 (perform-replace): Add arg `backward' and use it to perform
1178 replacement backward. (Bug#14979)
1179
1180 * isearch.el (isearch-query-replace): Use a negative prefix arg
1181 to call `perform-replace' with a non-nil arg `backward'.
1182
0cda6b7b
JL
11832013-12-18 Juri Linkov <juri@jurta.org>
1184
1185 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1186 to the default list. Move `log-edit-show-files' to the end.
1187 Add more available functions to options.
1188 (log-edit): Move default specific settings to
1189 `log-edit-insert-message-template'. Don't move point.
1190 (log-edit-insert-message-template): New function.
1191 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1192 (Bug#16170)
1193
b216f0a6
JL
11942013-12-18 Juri Linkov <juri@jurta.org>
1195
1196 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1197 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1198
1d1c55dc
LL
11992013-12-18 Leo Liu <sdl.web@gmail.com>
1200
e9dc713d
JB
1201 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1202 (Bug#16186)
1d1c55dc 1203
64e4c76e
EZ
12042013-12-18 Eli Zaretskii <eliz@gnu.org>
1205
1206 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1207 formats for displaying file sizes when the -s switch is given.
1208 Instead, compute a separate format for displaying the size in
1209 blocks, which is displayed in addition to the "regular" size.
1210 When -h is given in addition to -s, produce size in blocks in
1211 human-readable form as well. (Bug#16179)
1212
b2984e39
TH
12132013-12-18 Tassilo Horn <tsdh@gnu.org>
1214
2230a6e3
SM
1215 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1216 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1217
50ff2e06
CY
12182013-12-18 Chong Yidong <cyd@gnu.org>
1219
0081bc84
CY
1220 * cus-edit.el (custom-magic-alist): Fix "themed" description
1221 (Bug#14348).
1222
a7ee9424
CY
1223 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1224 is non-nil, do not create a new entry in the symbol's theme-value
1225 or theme-face property; update theme-settings only (Bug#14664).
18874304 1226 (custom-available-themes): Doc fix.
a7ee9424 1227
8f942537
CY
1228 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1229 (Bug#15674).
1230
50ff2e06
CY
1231 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1232
83c60f60
KI
12332013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1234
1235 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1236 (Bug#13914).
1237
e0eb0550 12382013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1239
1240 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1241
1f41ee56
GM
12422013-12-18 Glenn Morris <rgm@gnu.org>
1243
1244 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1245 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1246
e82134b1
LW
12472013-12-18 Le Wang <l26wang@gmail.com>
1248
2230a6e3
SM
1249 * comint.el (comint-previous-matching-input-from-input):
1250 Retain point (Bug#13404).
e82134b1 1251
33f5d4c1
CY
12522013-12-18 Chong Yidong <cyd@gnu.org>
1253
1254 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1255
ccc9f6dc
GM
12562013-12-18 Glenn Morris <rgm@gnu.org>
1257
1258 * mail/emacsbug.el (report-emacs-bug):
1259 Only mention enable-multibyte-characters if non-standard.
1260
33dd8e95
JL
12612013-12-17 Juri Linkov <juri@jurta.org>
1262
1263 * arc-mode.el (archive-extract-by-file): Check if directory exists
1264 before deletion to not show irrelevant errors if it doesn't exist.
1265
7a409b30
JL
12662013-12-17 Juri Linkov <juri@jurta.org>
1267
1268 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1269 (Bug#14751)
1270
1271 * net/eww.el (browse-web): Add alias to `eww'.
1272 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1273 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1274
1275 * net/browse-url.el (browse-url-browser-function): Move `eww'
1276 closer to similar functions.
1277
1278 * startup.el (fancy-startup-screen, fancy-about-screen):
1279 Set browse-url-browser-function to eww-browse-url locally.
1280 (Bug#14751)
1281
2d6b6005
SM
12822013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * window.el (window--pixel-to-total): Remove unused `mini' var.
1285 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1286 (split-window): Remove unused `new' var.
1287 (window--display-buffer): Remove unused `frame' and `delta' vars.
1288 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1289 and display-width'.
1290
cf2b7efc
MR
12912013-12-17 Martin Rudalics <rudalics@gmx.at>
1292
1293 * dired.el (dired-mark-pop-up):
1294 * register.el (register-preview): Don't bind
1295 split-height-threshold here since it's now done in
1296 display-buffer-below-selected.
1297
ed3af8a7 12982013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1299
1300 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1301 xterm-rgb-convert-to-16bit.
1302 (rxvt-register-default-colors): Standardize with
1303 xterm-register-default-colors (Bug#14078).
1304
76da3455
DK
13052013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1306
1307 * simple.el (kill-region): Pass mark first, then point, so that
1308 kill-append works right (Bug#12819).
1309 (copy-region-as-kill, kill-ring-save): Likewise.
1310
2b84d763
LL
13112013-12-17 Leo Liu <sdl.web@gmail.com>
1312
1313 * net/rcirc.el (rcirc-add-face):
1314 * eshell/em-prompt.el (eshell-emit-prompt):
1315 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1316 (Bug#16167)
1317
e2f6a0bc
CY
13182013-12-17 Chong Yidong <cyd@gnu.org>
1319
1320 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1321 Suggested by Xue Fuqiao.
1322
35b249a6
DG
13232013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1326
e9145444
SM
13272013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * net/shr.el (shr-insert-document): Remove unused var
1330 `shr-preliminary-table-render'.
1331 (shr-rescale-image): Remove unused arg `force'.
1332 (shr-put-image): Update calls accordingly.
1333 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1334
5556c0ce
DG
13352013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1336
1337 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1338 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1339 :close-all, to see which indentation method to use (Bug#16116).
1340 (smie-rules-function): Document the method :close-all.
1341
11bade0a
LMI
13422013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1343
1c4b1e61
LMI
1344 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1345
11bade0a
LMI
1346 * net/eww.el (eww-display-html): If we can't find the anchor we're
1347 looking for, then go to point-min.
1348
8fb8c4f3
PE
13492013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1350
1351 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1352 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1353 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1354 Expand dir too, in case it's relative.
1355
6c8e0ae6
JL
13562013-12-16 Juri Linkov <juri@jurta.org>
1357
1358 * desktop.el (desktop-auto-save-timeout): Change default to
1359 `auto-save-timeout'. Doc fix.
1360 (desktop-save): Skip the timestamp in desktop-saved-frameset
1361 when checking for auto-save changes.
1362 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1363 `desktop-auto-save' is called repeatedly by the idle timer.
1364 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1365 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1366 (Bug#15331)
1367
2178e858
JL
13682013-12-16 Juri Linkov <juri@jurta.org>
1369
1370 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1371 (Bug#16035)
1372 (isearch-pre-command-hook): Check `this-command' for symbolp.
1373
39cb42c6
SM
13742013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1377
5b9b750a
TZ
13782013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1379
1380 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1381 (cfengine3--current-function): Bring in the current-function
1382 functionality from `cfengine3--current-word'.
1383 (cfengine3-completion-function): Bring in the
1384 bounds-of-current-word functionality from
1385 `cfengine3--current-word'.
1386
d144ef06
MR
13872013-12-16 Martin Rudalics <rudalics@gmx.at>
1388
39cb42c6
SM
1389 * window.el (display-buffer-below-selected):
1390 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1391
a8bbe298
LL
13922013-12-16 Leo Liu <sdl.web@gmail.com>
1393
1394 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1395 Remove NOMSG arg and all uses changed.
1396
2013a2f9
SM
13972013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1400 (cua--deactivate-rectangle): Don't deactivate the mark.
1401 (cua-set-rectangle-mark): Don't set mark-active since
1402 cua--activate-rectangle already does it for us.
1403 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1404 non-rectangular region.
1405
1406 * emulation/cua-base.el (cua-repeat-replace-region):
1407 Use with-current-buffer.
1408
1409 * net/gnutls.el: Use cl-lib.
1410 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1411
5ae811dd
TZ
14122013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1413
1414 * emacs-lisp/package.el (package-built-in-p): Support both
1415 built-in and the package.el converted package descriptions.
1416 (package-show-package-list): Allow keywords.
1417 (package-keyword-button-action): Use it instead of
1418 `finder-list-matches'.
1419 (package-menu-filter-interactive): Interactive filtering (by
1420 keyword) function.
1421 (package-menu--generate): Support keywords and change keymappings
1422 and headers when they are given.
1423 (package--has-keyword-p): Helper function.
1424 (package-menu--refresh): Use it.
1425 (package--mapc): Helper function.
1426 (package-all-keywords): Use it.
1427 (package-menu-mode-map): Set up menu items and keybindings to
1428 provide a filtering UI.
1429
31b4827e
TZ
14302013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1431
1432 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1433 the behavior when a certificate fails validation. Defaults to
1434 old behavior: never abort, just warn.
1435 (gnutls-negotiate): Use it.
1436
f93cc74f
MR
14372013-12-14 Martin Rudalics <rudalics@gmx.at>
1438
1439 * window.el (display-buffer-below-selected): Never split window
1440 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1441
f77d7d17
TW
14422013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1443
1444 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1445 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1446
7514d3f8
SM
14472013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1448
aa2bddd7 1449 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1450 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1451
276bc333
DG
14522013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1453
1454 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1455 open-paren tokens when preceded by a open-paren, too.
1456 (ruby-smie-rules): Handle virtual indentation after open-paren
1457 tokens specially. If there is code between it and eol, return the
1458 column where is starts (Bug#16118).
1459
d43957f3
TZ
14602013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1461
a5c1ac0c 1462 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1463 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1464 (cfengine3--current-word): Fix parameters.
1465 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1466 (cfengine3-completion-function, cfengine3--current-function):
1467 Use `assq' for symbols.
d43957f3
TZ
1468 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1469
06a4f110
GM
14702013-12-13 Glenn Morris <rgm@gnu.org>
1471
1472 * loadup.el (load-path): Warn if site-load or site-init changes it.
1473 No more need to reset it when bootstrapping.
1474
978a5fda
TZ
14752013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1476
1477 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1478 locations for cf-promises.
1479 (cfengine-mode-syntax-functions-regex): New caching variable.
1480 (cfengine3-fallback-syntax): Fallback syntax for cases where
1481 cf-promises doesn't run.
1482 (cfengine3--current-word): Reimplement using
1483 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1484 (cfengine3-completion-function, cfengine3--current-function):
1485 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1486 (cfengine3-clear-syntax-cache): New function.
1487 (cfengine3-make-syntax-cache): Simplify and create
1488 `cfengine-mode-syntax-functions-regex' on demand.
1489 (cfengine3-format-function-docstring): Don't call
1490 `cfengine3-make-syntax-cache' explicitly.
1491
71e6691e
MR
14922013-12-13 Martin Rudalics <rudalics@gmx.at>
1493
1494 Fix windmove-find-other-window broken after pixelwise resizing
1495 (Bug#16017).
1496 * windmove.el (windmove-other-window-loc): Revert change from
1497 2013-12-04.
1498 (windmove-find-other-window): Call window-in-direction.
1499 * window.el (window-in-direction): New arguments SIGN, WRAP and
1500 MINI to emulate original windmove-find-other-window behavior.
1501
84c73ba0
DG
15022013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1503
1504 * simple.el (blink-matching--overlay): New variable.
1505 (blink-matching-open): Instead of moving point, highlight the
1506 matching paren with an overlay
1507 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1508
1509 * faces.el (paren-showing-faces, show-paren-match)
1510 (show-paren-mismatch): Move from paren.el.
1511
b9e20952
LL
15122013-12-13 Leo Liu <sdl.web@gmail.com>
1513
1514 * indent.el (indent-region): Disable progress reporter in
1515 minibuffer. (Bug#16108)
1516
1517 * bindings.el (visual-order-cursor-movement): Fix version.
1518
ce030451
FEG
15192013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1520
1521 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1522 Also match after beginning of line.
1523 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1524 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1525
4a9c6865
JL
15262013-12-13 Juri Linkov <juri@jurta.org>
1527
1528 * simple.el <Keypad support>: Remove key bindings duplicated
1529 with bindings.el. (Bug#14397)
1530
2bc170c3
JL
15312013-12-13 Juri Linkov <juri@jurta.org>
1532
1533 * comint.el (comint-mode-map): Replace `delete-char' with
1534 `delete-forward-char'. (Bug#16109)
1535
bc9222c9
FEG
15362013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1537
aa2bddd7 1538 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1539 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1540
cb3a1380
SM
15412013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1544 (advice--make): Pay attention to `depth'.
1545 (advice--make-1): Don't autoload commands eagerly.
1546 * emacs-lisp/elp.el (elp-instrument-function):
1547 * emacs-lisp/trace.el (trace-function-internal):
1548 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1549
1550 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1551
01633a17
EZ
15522013-12-12 Eli Zaretskii <eliz@gnu.org>
1553
1554 * term/w32-win.el (w32-handle-dropped-file):
1555 * startup.el (normal-top-level):
1556 * net/browse-url.el (browse-url-file-url):
1557 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1558 decode file names using 'utf-8' rather than
1559 file-name-coding-system.
1560
09faee72
FEG
15612013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1562
1563 * progmodes/python.el (python-indent-context)
1564 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1565 behavior for comment blocks. (Bug#15916)
09faee72 1566
f4f84024 15672013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1568
cb3a1380
SM
1569 * progmodes/python.el (python-indent-calculate-indentation):
1570 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1571 operators when they are just string constituents. (Bug#15812)
1572
d5ccb7be
JL
15732013-12-12 Juri Linkov <juri@jurta.org>
1574
1575 * uniquify.el (uniquify-buffer-name-style): Change default to
1576 `post-forward-angle-brackets'.
1577
1578 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1579 `uniquify'. Change default to `post-forward-angle-brackets'.
1580
7b3f5679
GM
15812013-12-11 Glenn Morris <rgm@gnu.org>
1582
1583 * emacs-lisp/package.el (finder-list-matches):
1584 Autoload rather than falsely declaring.
1585
f4fe8fdd
TZ
15862013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1587
1588 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1589 (eww-mode-map): Use them.
1590
3c29190f
MR
15912013-12-11 Martin Rudalics <rudalics@gmx.at>
1592
1593 * window.el (display-buffer-in-side-window): Fix doc-string
1594 (Bug#16115).
1595
0cd616a2
JB
15962013-12-11 Juanma Barranquero <lekktu@gmail.com>
1597
1598 * vc/vc-git.el: Silence byte-compiler warnings.
1599 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1600 (log-edit-set-header): Declare.
1601
3ef8e0d1
EZ
16022013-12-11 Eli Zaretskii <eliz@gnu.org>
1603
1604 * Makefile.in (custom-deps, finder-data): Run output file names
1605 through unmsys--file-name. (Bug#16099)
1606
afdadaf7
SM
16072013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1608
7ae3ae39 1609 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1610 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1611
5b4f37ab
SM
1612 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1613 instead of deleting the selection "by hand" (bug#16098).
1614 Rely on insert-for-yank to yank rectangles.
1615 (cua-highlight-region-shift-only): Mark obsolete.
1616 (cua-mode): Don't enable/disable transient-mark-mode,
1617 shift-select-mode (cua-mode works both with and without them), and
1618 pc-selection-mode (obsolete).
1619 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1620 (cua--deactivate-rectangle): Deactivate it.
1621
4b72c12b
SM
1622 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1623 (delete-selection-helper): Make sure yank starts at the top of the
1624 deleted region.
1625 (minibuffer-keyboard-quit): Use region-active-p.
1626
e82af72d
SM
1627 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1628
afdadaf7
SM
1629 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1630 to `delete' (bug#16109).
1631
ed4bc201
RS
16322013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1633
1634 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1635 info manual and show keybindings and set `:group' keyword.
1636
bb8097b9
JL
16372013-12-11 Juri Linkov <juri@jurta.org>
1638
1639 * delsel.el (delete-active-region): Let-bind `this-command'
1640 to prevent `kill-region' from changing its original value.
1641 (delete-selection-helper): Handle `overwrite-mode' for the type
1642 `kill' exactly the same way as for the type `t'.
1643 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1644 Support more commands. (Bug#13312)
1645
c1916ff5
JL
16462013-12-11 Juri Linkov <juri@jurta.org>
1647
1648 * bindings.el: Map kp keys to non-kp keys systematically
1649 with basic modifiers control, meta and shift. (Bug#14397)
1650
7514d3f8 16512013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1652
1653 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1654 "Close browser" menu items. Fix wrong function of "List
1655 bookmarks".
1656
4cc51eaf
JL
16572013-12-11 Juri Linkov <juri@jurta.org>
1658
1659 * misearch.el (multi-isearch-buffers): Set the value of
1660 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1661 arg of isearch-forward to t.
1662 (multi-isearch-buffers-regexp): Set the value of
1663 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1664 arg of isearch-forward-regexp to t.
1665 (multi-isearch-files): Set the value of
1666 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1667 arg of isearch-forward to t.
1668 (multi-isearch-files-regexp): Set the value of
1669 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1670 arg of isearch-forward-regexp to t. (Bug#16035)
1671
1672 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1673 arg of isearch-forward to t.
1674 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1675 arg of isearch-forward-regexp to t.
1676 (dired-isearch-filter-filenames): Remove unnecessary check for
1677 `dired-isearch-filenames'.
1678
1679 * comint.el (comint-history-isearch-backward):
1680 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1681 (comint-history-isearch-backward-regexp):
1682 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1683
ceac12b7
EZ
16842013-12-10 Eli Zaretskii <eliz@gnu.org>
1685
1686 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1687 unmsys--file-name. (Bug#16099)
1688
5a565782
TZ
16892013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1690
cb3a1380
SM
1691 * emacs-lisp/package.el (package-keyword-button-action):
1692 Remove finder.el require dependency.
5a565782 1693
a81fc7ba
TZ
16942013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1695
1696 * emacs-lisp/package.el: Require finder.el.
1697 (describe-package-1): Add keyword buttons.
1698 (package-make-button): New convenience function.
1699 (package-keyword-button-action): Keyword button action using
e0eb0550 1700 `finder-list-matches'.
a81fc7ba 1701
6aaca951
EZ
17022013-12-09 Eli Zaretskii <eliz@gnu.org>
1703
1704 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1705 last commit.
1706
a1099a91
MA
17072013-12-09 Michael Albinus <michael.albinus@gmx.de>
1708
1709 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1710 symlinked files.
1711
8212d9c0
DG
17122013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1715 after the end of a percent literal.
1716
8f48d131
CD
17172013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1718
cb3a1380
SM
1719 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1720 Handle caret-delimited strings (Bug#16079).
8f48d131 1721
ff8c9764
DG
17222013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1723
cb3a1380
SM
1724 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1725 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1726 `ruby-parse-partial' (Bug#16078).
1727
d64643b4
LL
17282013-12-09 Leo Liu <sdl.web@gmail.com>
1729
1730 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1731
47e59c66
DG
17322013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1733
1734 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1735 (js-switch-indent-offset): New option.
1736 (js--proper-indentation): Use it. And handle the case when
1737 "default" is actually a key in an object literal.
1738 (js--same-line): New function.
1739 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1740 (js--indent-in-array-comp, js--array-comp-indentation):
1741 New functions.
47e59c66
DG
1742 (js--proper-indentation): Use them, to handle array comprehension
1743 continuations.
1744
974ebc9c
LL
17452013-12-08 Leo Liu <sdl.web@gmail.com>
1746
1747 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1748 (flymake-make-overlay): Remove arg MOUSE-FACE.
1749 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1750
27262e39
SM
17512013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1754 New function.
1755 (redisplay-highlight-region-function): Use it.
1756
1757 * emulation/cua-base.el (cua--explicit-region-start)
1758 (cua--last-region-shifted): Remove.
1759 (cua--deactivate): Use deactivate-mark.
1760 (cua--pre-command-handler-1): Don't handle shift-selection.
1761 (cua--post-command-handler-1): Don't change transient-mark-mode.
1762 (cua--select-keymaps): Use region-active-p rather than
1763 cua--explicit-region-start or cua--last-region-shifted.
1764 (cua-mode): Enable shift-select-mode.
1765
6407822c
LL
17662013-12-08 Leo Liu <sdl.web@gmail.com>
1767
27262e39
SM
1768 * progmodes/flymake.el (flymake-popup-current-error-menu):
1769 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1770 (flymake-posn-at-point-as-event, flymake-popup-menu)
1771 (flymake-make-emacs-menu): Remove. (Bug#16077)
1772
00a2b823
SM
17732013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1774
02033d49
SM
1775 * rect.el (rectangle-mark-mode): Activate mark even if
1776 transient-mark-mode is off (bug#16066).
1777 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1778 is > mark and at bolp.
1779
6f8dfccf
SM
1780 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1781 (region-extract-function): Use it.
1782 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1783 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1784 Delete functions.
1785 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1786 kill-ring-save, kill-region, delete-char, delete-forward-char.
1787 Ignore self-insert-iso.
1788
1789 * emulation/cua-gmrk.el (cua--init-global-mark):
1790 Ignore `self-insert-iso'.
1791
1792 * emulation/cua-base.el (cua--prefix-copy-handler)
1793 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1794 checking cua--rectangle.
1795 (cua-delete-region): Use region-extract-function.
1796 (cua-replace-region): Delete function.
1797 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1798 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1799 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1800 (cua--init-keymaps): Don't remap delete-selection commands.
1801 (cua-mode): Use delete-selection-mode instead of rolling our own
1802 (bug#16085).
1803
1804 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1805 Obey region-extract-function.
1806
00a2b823
SM
1807 Make registers and delete-selection-mode work on rectangles.
1808 * register.el (describe-register-1): Don't modify the register's value.
1809 (copy-to-register): Obey region-extract-function.
1810 * delsel.el (delete-active-region): Obey region-extract-function.
1811
a92fa5f1
LL
18122013-12-08 Leo Liu <sdl.web@gmail.com>
1813
1814 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1815 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1816 (flymake-compilation-prevents-syntax-check)
1817 (flymake-start-syntax-check-on-newline)
1818 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1819 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1820 (flymake-xml-program, flymake-master-file-dirs)
1821 (flymake-master-file-count-limit)
1822 (flymake-allowed-file-name-masks): Relocate.
1823 (flymake-makehash, flymake-float-time)
1824 (flymake-replace-regexp-in-string, flymake-split-string)
1825 (flymake-get-temp-dir): Remove.
1826 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1827 (flymake-current-row, flymake-selected-frame)
1828 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1829 related functions. (Bug#16077)
1830
73c8ceea
BB
18312013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1832
1833 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1834
faec28d9
TH
18352013-12-07 Tassilo Horn <tsdh@gnu.org>
1836
1837 * help-fns.el (describe-function-1): Use new advice-* functions
1838 rather than old ad-* functions. Fix function type description and
1839 source links for advised functions and subrs.
1840
e330b646
LMI
18412013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1842
00a2b823 1843 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1844
4803595d
MA
18452013-12-06 Michael Albinus <michael.albinus@gmx.de>
1846
1847 * progmodes/compile.el (compilation-start):
1848 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1849
1850 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1851 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1852
fa834a93
DG
18532013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1854
00a2b823
SM
1855 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1856 Touch up the last change.
fa834a93 1857
b2856a6f
LL
18582013-12-06 Leo Liu <sdl.web@gmail.com>
1859
1860 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1861 (inferior-octave-startup): Always use "octave> " for prompt.
1862 (octave-goto-function-definition)
1863 (octave-sync-function-file-names)
1864 (octave-find-definition-default-filename): Remove redundant backquotes.
1865
af67e79a
DG
18662013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1867
1868 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1869 syntax for `?'.
1870 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1871 where appropriate already.
1872 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1873 end of method names (Bug#15874).
1874
bf093209
JL
18752013-12-06 Juri Linkov <juri@jurta.org>
1876
1877 * isearch.el (isearch--saved-overriding-local-map):
1878 New internal variable.
1879 (isearch-mode): Set it to the initial value of
1880 `overriding-terminal-local-map'.
1881 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1882 with `isearch--saved-overriding-local-map'. (Bug#16035)
1883
16588fad
DG
18842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1885
00a2b823
SM
1886 * progmodes/octave.el (inferior-octave-completion-table):
1887 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1888 (Bug#11906). Update all references.
1889
1890 * minibuffer.el (completion-table-with-cache): New function.
1891
bf4906d7
CD
18922013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1893
1894 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1895
ff69c18f
TZ
18962013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1897
1898 * net/eww.el (eww-current-source): New variable to store page
1899 source.
1900 (eww-display-html, eww-mode, eww-save-history)
1901 (eww-restore-history): Use it.
1902 (eww-view-source): New command to view page source.
1903 Opportunistically uses `html-mode' to highlight the buffer.
1904 (eww-mode-map): Install it.
1905
b85eff45
MA
19062013-12-05 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/dbus.el (dbus-unregister-service)
1909 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1910 Fix docstring.
1911 (dbus-unregister-service): Skip :serial entries in
1912 `dbus-registered-objects-table'.
1913 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1914
39eb0899
TZ
19152013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1916
1917 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1918 around keywords with extra `split-string' argument.
1919
456760a5
MR
19202013-12-04 Martin Rudalics <rudalics@gmx.at>
1921
1922 * windmove.el (windmove-other-window-loc): Handle navigation
1923 between windows (excluding the minibuffer window - Bug#16017).
1924
81961e4c
MA
19252013-12-04 Michael Albinus <michael.albinus@gmx.de>
1926
1927 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1928 in D-Bus type syntax.
1929 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1930 preserve unibyte strings. (Bug#16048)
1931
8497f938
SM
19322013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1935 Call force-mode-line-update is the proper buffer (bug#16042).
1936
dda61916
DG
19372013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1938
1939 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1940 `log-edit-remember-comment', make argument optional. Adjust all
1941 callers.
1942 (log-edit-mode): Add `log-edit-remember-comment' to
1943 `kill-buffer-hook' locally.
1944 (log-edit-kill-buffer): Don't remember comment explicitly since
1945 the buffer is killed anyway.
1946
c085e5b9
JL
19472013-12-04 Juri Linkov <juri@jurta.org>
1948
1949 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1950 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1951
e0eb0550 19522013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1953
1954 * notifications.el (notifications-close-notification): Call the
81961e4c 1955 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1956
39fa32d6
KY
19572013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1958
1959 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1960
9139632a
JL
19612013-12-03 Juri Linkov <juri@jurta.org>
1962
1963 * progmodes/compile.el (compilation-start): Rename window alist
1964 entry `no-display-ok' to `allow-no-window'.
1965
1966 * simple.el (shell-command): Add window alist entry
1967 `allow-no-window' to `display-buffer'.
1968 (async-shell-command): Doc fix.
1969
1970 * window.el (display-buffer-no-window): New action function.
1971 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1972
0f457a37
DG
19732013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1974
1975 * vc/log-edit.el (log-edit-set-header): Extract from
1976 `log-edit-toggle-header'.
1977 (log-edit-extract-headers): Separate the summary, when extracted
1978 from header, from the rest of the message with an empty line.
1979
1980 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1981 line, if present, to the Summary header.
1982
0962f376
SM
19832013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1986 in current-buffer (bug#16029).
1987
f345395c
HE
19882013-12-02 Helmut Eller <eller.helmut@gmail.com>
1989
1990 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1991 (debugger-mode-map): Bind it.
1992 (debugger--backtrace-base): New function.
1993 (debugger-eval-expression): Use it.
1994 (debugger-frame-number): Skip local vars when present.
1995 (debugger--locals-visible-p, debugger--insert-locals)
1996 (debugger--show-locals, debugger--hide-locals): New functions.
1997
a8a15d9d
MA
19982013-12-02 Michael Albinus <michael.albinus@gmx.de>
1999
2000 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2001 "LC_ALL".
2002 (tramp-get-remote-locale): New defun.
2003 (tramp-open-connection-setup-interactive-shell): Use it.
2004
0518b057
LL
20052013-12-02 Leo Liu <sdl.web@gmail.com>
2006
2007 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2008
2009 * progmodes/sh-script.el (sh-shell-process):
2010 * progmodes/octave.el (inferior-octave-process-live-p):
2011 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2012 (gdb-inferior-io-sentinel):
2013 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2014
3adc9c6d
DG
20152013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2016
2017 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2018 `save-selected-window' to `log-edit-hide-buf'. This makes
2019 `log-edit-show-files' idempotent.
2020 (log-edit-show-files): Mark the new window as dedicated.
2021
47e8b74e
DG
20222013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * vc/log-edit.el (log-edit-mode-map): Add binding for
2025 `log-edit-kill-biffer'.
2026 (log-edit-hide-buf): Add a FIXME comment.
2027 (log-edit-add-new-comment): New function, extracted from
2028 `log-edit-done'.
2029 (log-edit-done, log-edit-add-to-changelog): Use it.
2030 (log-edit-kill-buffer): New command.
2031
1f6e1bb0
LMI
20322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2033
2034 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2035 instead of killing the buffer.
2036
fb651d15
SM
20372013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2040
8feacce0
RS
20412013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2042
fb651d15 2043 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2044 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2045 (eww-form-checkbox, eww-toggle-checkbox):
2046 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2047
e0eb0550 2048 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2049 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2050 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2051 no :src tag was specified.
2052
fb651d15 2053 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2054 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2055 Use \\` to match beginning of string instead of ^.
2056 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2057 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2058
177948a5
RS
2059 * net/shr.el (shr-tag-video): Display content for video if no
2060 poster is available.
eb2dd24d 2061 (shr-tag-audio): Add support for <audio> tag.
177948a5 2062
e0eb0550 2063 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2064 (eww-process-text-input): Treat input types in
2065 `eww-text-input-types' as text.
2066
8feacce0
RS
2067 * net/shr.el (shr-tag-table): Fix comment typo.
2068
513562a1
LMI
20692013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2070
2071 * net/eww.el (eww-follow-link): New command to avoid reloading
2072 pages when we follow #target links (bug#15243).
de8a5633 2073 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2074
9dd99753
KN
20752013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2076
2077 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2078 forms.
2079
3e9876de
LMI
20802013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2081
2082 * net/eww.el (eww-restore-history): Update the window title after
2083 moving in the history.
ab6dea82 2084 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2085
52789f7f
DG
20862013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2087
2088 * vc/log-edit.el (log-edit-mode-map): Add binding for
2089 `log-edit-beginning-of-line'.
2090 (log-edit-setup-add-author): New user option.
2091 (log-edit-beginning-of-line): New command.
2092 (log-edit): Move major mode call above the contents setup so that
2093 the local variable values are already applied.
2094 (log-edit): Only insert "Author: " when
2095 `log-edit-setup-add-author' is non-nil.
2096 (log-edit): When SETUP is non-nil, position point after ": "
2097 instead of point-min.
2098
2e6710c3
GM
20992013-12-01 Glenn Morris <rgm@gnu.org>
2100
2101 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2102
fadec31f
EZ
21032013-11-30 Eli Zaretskii <eliz@gnu.org>
2104
2105 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2106 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2107 visible. (Bug#16014)
2108
10634b40 21092013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2110
2111 Support resizing frames and windows pixelwise.
2112 * cus-start.el (frame-resize-pixelwise)
2113 (window-resize-pixelwise): New entries.
2114 * emacs-lisp/debug.el (debug): Use window-total-height instead
2115 of window-total-size.
2116 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2117 * help.el (describe-bindings-internal): Call help-buffer
2118 (temp-buffer-max-width): New option.
2119 (resize-temp-buffer-window, help-window-setup)
2120 (with-help-window): Rewrite.
2121 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2122 dragging dividers.
2123 * window.el (frame-char-size, window-min-pixel-height)
2124 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2125 (window-min-pixel-width, window-safe-min-pixel-size)
2126 (window-combination-p, window-safe-min-size)
2127 (window-resizable-p, window--size-to-pixel)
2128 (window--pixel-to-size, window--resize-apply-p): New functions.
2129 (window-safe-min-height): Fix doc-string.
2130 (window-size, window-min-size, window--min-size-1)
2131 (window-sizable, window-sizable-p, window--min-delta-1)
2132 (window-min-delta, window--max-delta-1, window-max-delta)
2133 (window--resizable, window--resizable-p, window-resizable)
2134 (window-full-height-p, window-full-width-p, window-at-side-p)
2135 (window--in-direction-2, window-in-direction)
2136 (window--resize-reset-1, window--resize-mini-window)
2137 (window-resize, window-resize-no-error)
2138 (window--resize-child-windows-normal)
2139 (window--resize-child-windows, window--resize-siblings)
2140 (window--resize-this-window, window--resize-root-window)
2141 (window--resize-root-window-vertically)
2142 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2143 (maximize-window, minimize-window, delete-window)
2144 (quit-restore-window, window-split-min-size, split-window)
2145 (balance-windows-2, balance-windows)
2146 (balance-windows-area-adjust, balance-windows-area)
2147 (window--state-get-1, window-state-get, window--state-put-1)
2148 (window--state-put-2, window-state-put)
fb651d15
SM
2149 (display-buffer-record-window, window--display-buffer):
2150 Make functions handle pixelwise sizing of windows.
880e6158 2151 (display-buffer--action-function-custom-type)
fb651d15
SM
2152 (display-buffer-fallback-action):
2153 Add display-buffer-in-previous-window.
880e6158
MR
2154 (display-buffer-use-some-window): Resize window to height it had
2155 before.
2156 (fit-window-to-buffer-horizontally): New option.
2157 (fit-frame-to-buffer): Describe new values.
2158 (fit-frame-to-buffer-bottom-margin): Replace with
2159 fit-frame-to-buffer-margins.
2160 (window--sanitize-margin): New function.
2161 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2162 using window-text-pixel-size.
2163
f9b697dd
GM
21642013-11-30 Glenn Morris <rgm@gnu.org>
2165
3e2fb4db
GM
2166 * emacs-lisp/bytecomp.el (byte-compile-form):
2167 Make the `interactive-only' warning like the `obsolete' one.
2168 * comint.el (comint-run):
2169 * files.el (insert-file-literally, insert-file):
2170 * replace.el (replace-string, replace-regexp):
2171 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2172 (goto-line, insert-buffer, next-line, previous-line):
2173 Tweak `interactive-only' spec.
2174
f9b697dd
GM
2175 Stop keeping (most) generated cedet grammar files in the repository.
2176 * Makefile.in (semantic): New.
2177 (compile-main): Depend on semantic.
2178
da048127
SM
21792013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2180
7784b779
SM
2181 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2182 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2183
4e36a6a6
SM
2184 * uniquify.el (uniquify-buffer-name-style): Change default.
2185
2186 * loadup.el: Preload "uniquify".
2187
e0ba1308
SM
2188 * time.el (display-time-update): Update all mode lines (bug#15999).
2189
da048127
SM
2190 * electric.el (electric-indent-mode): Enable by default.
2191 * loadup.el: Preload "electric".
2192
015b3b3e
BB
21932013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2194
2195 * emacs-lisp/helpers.el (string-empty-p): New function.
2196 (string-blank-p): New function.
2197
7efb806d
AP
21982013-11-29 Andreas Politz <politza@hochschule-trier.de>
2199
2200 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2201 (Bug#14029).
2202
c8f0efc2
AP
22032013-11-29 Andreas Politz <politza@fh-trier.de>
2204 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2205 allow non-lambda lists as functions.
2206 (imenu--in-alist): Don't recurse into non-subalists.
2207 (imenu): Don't pass function itself as an argument (Bug#14029).
2208
bd15d9d1
SM
22092013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * progmodes/python.el (python-mode-map): Remove binding for ":".
2212 (python-indent-electric-colon): Remove command.
2213 (python-indent-post-self-insert-function): Integrate the previous code
2214 of python-indent-electric-colon. Make it conditional on
2215 electric-indent-mode.
2216 (python-mode): Add ?: to electric-indent-chars.
2217 Move python-indent-post-self-insert-function to the end of
2218 post-self-insert-hook.
2219
1b10adb6
SM
22202013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2221
655ab9a3
SM
2222 * doc-view.el (doc-view-goto-page): Update mode-line.
2223
1b10adb6
SM
2224 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2225
7e3bf78c
GM
22262013-11-27 Glenn Morris <rgm@gnu.org>
2227
2228 * international/charprop.el, international/uni-bidi.el:
2229 * international/uni-category.el, international/uni-combining.el:
2230 * international/uni-comment.el, international/uni-decimal.el:
2231 * international/uni-decomposition.el, international/uni-digit.el:
2232 * international/uni-lowercase.el, international/uni-mirrored.el:
2233 * international/uni-name.el, international/uni-numeric.el:
2234 * international/uni-old-name.el, international/uni-titlecase.el:
2235 * international/uni-uppercase.el:
2236 Remove generated files from VCS repository.
2237
fb6a5d68
EZ
22382013-11-27 Eli Zaretskii <eliz@gnu.org>
2239
2240 * filenotify.el (file-notify-add-watch): Don't special-case
2241 w32notify when computing the directory to watch.
2242
cb6c95a3
GM
22432013-11-27 Glenn Morris <rgm@gnu.org>
2244
20372d0c
GM
2245 Make bootstrap without generated uni-*.el files possible again.
2246 * loadup.el: Update command-line-args checking for unidata-gen.
2247 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2248 * composite.el, international/characters.el:
2249 Handle unicode tables being undefined.
2250
52d6635f 2251 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2252 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2253 (compile-main): Depend on leim rule.
2254 (leim): New rule.
2255 * loadup.el: Move leim-list.el to leim/ subdirectory.
2256 * startup.el (normal-top-level): No more leim directory.
2257 * international/ja-dic-cnv.el (skkdic-convert):
2258 Disable version-control and autoloads in output files.
2259 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2260 Disable version-control and autoloads in output files.
2261 * leim/quail: Move here from ../leim.
2262 * leim/quail/hangul.el (hangul-input-method-activate):
2263 Add autoload cookie.
2264 (generated-autoload-load-name): Set file-local value.
2265 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2266 (generated-autoload-load-name): Set file-local value.
2267
7514d3f8 22682013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2269
e0eb0550 2270 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2271 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2272 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2273
0e2c793f
EZ
22742013-11-26 Eli Zaretskii <eliz@gnu.org>
2275
2276 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2277 reading output from Diff on MS-Windows and MS-DOS.
2278
447bdcb8
BB
22792013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2280
2281 * emacs-lisp/helpers.el (string-reverse): New function.
2282
5fbf6856
MA
22832013-11-26 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2286 names on MS Windows, like "/[::1]:".
2287
2288 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2289 SWITCHES.
2290
624780f0
GM
22912013-11-26 Glenn Morris <rgm@gnu.org>
2292
0bf3f0fa
GM
2293 * progmodes/python.el (python-indent-guess-indent-offset):
2294 Avoid corner-case error. (Bug#15975)
2295
624780f0
GM
2296 Preload leim-list.el. (Bug#4789)
2297 * loadup.el: Load leim-list.el when found.
2298 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2299
4301875e 23002013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2301
2302 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2303
4301875e
BB
2304 * emacs-lisp/helpers.el (string-join): New function.
2305
1633a815 23062013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2307
2308 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2309 Mark as obsolete and replace it with a symbol property.
2310 (byte-compile-form): Use new 'interactive-only property.
2311 * comint.el, files.el, replace.el, simple.el:
2312 Apply new 'interactive-only properly.
2313
00139435
MR
23142013-11-25 Martin Rudalics <rudalics@gmx.at>
2315
2316 * window.el (display-buffer-at-bottom): Make sure that
2317 split-window-sensibly creates the new window on bottom
2318 (Bug#15961).
2319
5f5b128d
DK
23202013-11-23 David Kastrup <dak@gnu.org>
2321
2322 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2323 on the conflict markers when available.
2324 (smerge--get-marker): New function.
2325 (smerge-end-re, smerge-base-re): Add subgroup.
2326
623891e5
SM
23272013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * frame.el (handle-focus-in, handle-focus-out): Add missing
2330 interactive spec.
2331
05ca27d8
MA
23322013-11-25 Michael Albinus <michael.albinus@gmx.de>
2333
2334 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2335 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2336
511fa0d3
SM
23372013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2338
e82ad66c
SM
2339 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2340 (gomoku--last-pos): New var.
2341 (gomoku--intangible-chars): New const.
2342 (gomoku--intangible): New function.
2343 (gomoku-mode): Use it. Derive from special-mode.
2344 (gomoku-move-up): Adjust line count.
2345 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2346 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2347 Simplify accordingly.
2348
511fa0d3
SM
2349 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2350 Remove blink-cursor code.
2351 (blink-cursor-timer-function, blink-cursor-suspend):
2352 Don't special-case GUIs.
2353 (blink-cursor-mode): Use focus-in/out-hook.
2354
6f20dd03
DG
23552013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2356
2357 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2358 work when annotation is invisible (Bug#13886).
2359
431dec31 23602013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2361
2362 * json.el (json-alist-p): Only return non-nil if the alist has
2363 simple keys (Bug#13518).
2364
431dec31 23652013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2366
2367 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2368 when control-statement is the first statement in a buffer (Bug#15956).
2369
ee4f0261
DG
23702013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2371
2372 * imenu.el (imenu-generic-skip-comments-and-strings):
2373 New option (Bug#15560).
2374 (imenu--generic-function): Use it.
2375
c484f866
JS
23762013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2377
e9dc713d
JB
2378 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2379 (Bug#13898)
c484f866 2380
41ce6f70
BB
23812013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2382
b55aea38
BB
2383 * emacs-lisp/helpers.el: Add some string helpers.
2384 (string-trim-left): Removes leading whitespace.
2385 (string-trim-right): Removes trailing whitespace.
2386 (string-trim): Removes leading and trailing whitespace.
2387
41ce6f70
BB
2388 * subr.el (string-suffix-p): New function.
2389
3cfb6af3
GM
23902013-11-23 Glenn Morris <rgm@gnu.org>
2391
2392 * progmodes/python.el (python-shell-send-file):
2393 Add option to delete file when done. (Bug#15647)
2394 (python-shell-send-string, python-shell-send-region): Use it.
2395
c27924b7
IS
23962013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2397
e1b01c7f
IS
2398 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2399 to set buffer-read-only to t, never to nil. (Bug#15938)
2400
c27924b7
IS
2401 * textmodes/tex-mode.el (latex-noindent-environments):
2402 Add safe-local-variable property. (Bug#15936)
2403
17e0445b
GM
24042013-11-23 Glenn Morris <rgm@gnu.org>
2405
92f78ea3
GM
2406 * textmodes/enriched.el (enriched-mode): Doc fix.
2407 * emacs-lisp/authors.el (authors-renamed-files-alist):
2408 Add enriched.doc -> enriched.txt.
2409
17e0445b
GM
2410 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2411
965bb23a
LL
24122013-11-22 Leo Liu <sdl.web@gmail.com>
2413
2414 * progmodes/octave.el (inferior-octave-startup): Spit out error
2415 message.
2416
d19ffd64
BB
24172013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2418
2419 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2420 Improve docstring.
15ba2182
BB
2421 Add :version.
2422 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2423
7a7567d2
LL
24242013-11-22 Leo Liu <sdl.web@gmail.com>
2425
2426 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2427 (Bug#15076)
8c09f64b
LL
2428 (octave-help-mode): Adapt to change to help-mode-finish to use
2429 derived-mode-p on 2013-09-17.
2430 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2431 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2432
724bc265
LL
24332013-11-22 Leo Liu <sdl.web@gmail.com>
2434
2435 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2436 (inferior-octave-startup, inferior-octave-check-process)
2437 (inferior-octave-track-window-width-change)
2438 (octave-completion-at-point, octave-eldoc-function): Use it.
2439 (octave-kill-process): Provide confirmation. (Bug#10564)
2440
38637cca
LL
24412013-11-21 Leo Liu <sdl.web@gmail.com>
2442
511fa0d3
SM
2443 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2444 Fix obsolete variable comment-use-global-state.
38637cca 2445
06e752b4
RS
24462013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2447
511fa0d3
SM
2448 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2449 Add `octave-source-file'.
06e752b4
RS
2450 (octave-source-file): New function. (Bug#15935)
2451
7514d3f8 24522013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2453
2454 * net/eww.el (eww-local-regex): New variable.
2455 (eww): Use it to detect localhost and similar.
2456
b6ffa04a
LL
24572013-11-21 Leo Liu <sdl.web@gmail.com>
2458
2459 Add completion for command `ag'.
2021a200
LL
2460 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2461 (pcomplete/ag): New function.
e9dc713d 2462 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2463
d1a6bccc
SM
24642013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2467 (bug#14646).
2468 (make-obsolete): Remove interactive spec.
2469
2df10228
GM
24702013-11-21 Glenn Morris <rgm@gnu.org>
2471
2472 * startup.el (command-line-1): Use path-separator with -L.
2473
86fd16b6
TZ
24742013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2475
2476 * emacs-lisp/package.el (describe-package-1): Add package archive
2477 to shown fields.
2478
0449d6cd 24792013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2480
2481 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2482 Change default to "# encoding: %s" to differentiate it from the
2483 default Ruby encoding comment template.
2484
dc7e8c17 24852013-11-20 era eriksson <era+emacsbugs@iki.fi>
2486
2487 * ses.el (ses-mode): Doc fix. (Bug#14748)
2488
f0cfa5fe
LL
24892013-11-20 Leo Liu <sdl.web@gmail.com>
2490
2491 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2492
826dc7b6
DN
24932013-11-19 Dan Nicolaescu <dann@gnu.org>
2494
2495 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2496 when rebase or bisect are in progress.
2497
a6e3a5d5
XF
24982013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2499
2500 * filenotify.el (file-notify-add-watch): Doc fix.
2501
f130cb76
LL
25022013-11-19 Leo Liu <sdl.web@gmail.com>
2503
e0855d7d
LL
2504 * obsolete/rcompile.el: Mark obsolete.
2505
f130cb76 2506 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2507 (compilation-goto-locus, compilation-find-file):
2508 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2509 (Bug#13594)
2510
2511 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2512 new parameter no-display-ok. Return either a window or nil
2513 but never a non-window value.
f130cb76 2514
1f35d401
SM
25152013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2516
25158c76
SM
2517 * electric.el (electric-indent-mode-map): Remove.
2518 (electric-indent-mode): Change the global-map instead (bug#15915).
2519
2520 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2521 Use add-function.
1f35d401 2522
9bc67baa
SM
25232013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2524
986545b5
SM
2525 * emacs-lisp/nadvice.el (remove-function): Align with
2526 add-function's behavior.
2527
9bc67baa
SM
2528 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2529 (gdb--string-regexp): New constant.
2530 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2531 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2532 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2533 submatch 1.
2534 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2535 Adjust use accordingly.
2536 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2537
56cd894e
AS
25382013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2539
2540 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2541 interpolation curlies (Bug#15914).
2542
014690de
JB
25432013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2544
2545 * calc/calc.el (calc-context-sensitive-enter): New variable.
2546 (calc-enter): Use `calc-context-sensitive-enter'.
2547
7e26a6c3
TZ
25482013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2549
2550 * progmodes/cfengine.el: Version bump.
2551 (cfengine-cf-promises): New defcustom to locate cf-promises.
2552 (cfengine3-vartypes): Add new "data" type.
2553 (cfengine3--current-word): New function to get current name-like
2554 word or its bounds.
2555 (cfengine3--current-function): New function to look up a CFEngine
2556 function's definition.
2557 (cfengine3-format-function-docstring): New function.
2558 (cfengine3-make-syntax-cache): New function.
2559 (cfengine3-documentation-function): New function: ElDoc glue.
2560 (cfengine3-completion-function): New function: completion glue.
2561 (cfengine3-mode): Set `compile-command',
2562 `eldoc-documentation-function', and add to
2563 `completion-at-point-functions'.
2564
355204dd
MA
25652013-11-16 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2568 `tramp-current-connection'.
2569
43cebc23
DG
25702013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2571
2572 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2573 nil/self/true/false with "end of symbol".
2574
a3fed6ff
BB
25752013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2576
2577 * subr.el (version-regexp-alist): Fix a typo.
2578
e675b3e4
MA
25792013-11-15 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2582 "en_US.utf8" and "LC_CTYPE" to "".
2583 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2584 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2585
a1f03e89
LL
25862013-11-15 Leo Liu <sdl.web@gmail.com>
2587
2588 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2589
5d9d9451
SM
25902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2591
58362662
CS
2592 * progmodes/gud.el (ctl-x-map):
2593 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2594 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2595
6c1bf086
BB
25962013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2597
0d5363c4
BB
2598 * subr.el (version-regexp-alist):
2599 Recognize hg, svn and darcs versions as snapshot versions.
2600
4e9fc48c
BB
2601 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2602 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2603 (ruby--encoding-comment-required-p): Extract from
2604 `ruby-mode-set-encoding'.
2605 (ruby-mode-set-encoding): Add the ability to always insert an
2606 utf-8 encoding comment. Fix and simplify coding comment update
2607 logic.
6c1bf086 2608
2f7e72f8
MA
26092013-11-14 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * net/tramp-gvfs.el (top): Run init code only when
2612 `tramp-gvfs-enabled' is not nil.
2613 (tramp-gvfs-enabled): Check also :system bus.
2614
0f137a73
SM
26152013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 Sync with upstream verilog-mode revision 78e66ba.
2618 * progmodes/verilog-mode.el (verilog-end-of-defun)
2619 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2620 (verilog-get-end-of-defun): Remove unused argument.
2621 (verilog-comment-depth): Remove unused local `e'.
2622 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2623 Don't pass arg to verilog-get-end-of-defun.
2624
1c276bdd
GM
26252013-11-14 Glenn Morris <rgm@gnu.org>
2626
2627 * obsolete/assoc.el (aget): Prefix dynamic variable.
2628
2629 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2630
ff6ec81d
SM
26312013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * widget.el, hfy-cmap.el: Remove bogus package version number.
2634
75f777b6
GM
26352013-11-13 Glenn Morris <rgm@gnu.org>
2636
1d43dba1
GM
2637 * replace.el (replace-eval-replacement):
2638 Try to give more helpful error message. (Bug#15836)
2639
ff4b7bd5
GM
2640 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2641 (archive-7z-update): Avoid custom type mismatches.
2642
75f777b6
GM
2643 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2644
11151a06
MA
26452013-11-13 Michael Albinus <michael.albinus@gmx.de>
2646
e675b3e4 2647 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2648 address can be empty.
2649
2650 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2651 Accept nil SWITCHES.
2652 (tramp-gvfs-handle-write-region): Implement APPEND.
2653
7b08f97e
DG
26542013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2655
2656 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2657 binary "|" operator and closing block args delimiter.
2658 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2659 (ruby-smie--implicit-semi-p): Not after "|" operator.
2660 (ruby-smie--closing-pipe-p): New function.
2661 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2662 (ruby-smie-rules): Indent after "|".
2663
f201cf3a
GM
26642013-11-12 Glenn Morris <rgm@gnu.org>
2665
2666 * ps-print.el (ps-face-attribute-list):
2667 Handle anonymous faces. (Bug#15827)
2668
e6f759f9
MR
26692013-11-12 Martin Rudalics <rudalics@gmx.at>
2670
2671 * window.el (display-buffer-other-frame): Fix doc-string.
2672 (Bug#15868)
2673
ecda65d4
SM
26742013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2677
7ce8fcc3
MA
26782013-11-11 Michael Albinus <michael.albinus@gmx.de>
2679
2680 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2681 (tramp-sh-handle-file-local-copy): Don't write a message when
2682 saving temporary files.
2683
2684 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2685 both directories are remote.
2686 (tramp-smb-handle-directory-files): Do not return double entries.
2687 Do not expand full file names.
2688 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2689 (tramp-smb-handle-write-region): Implement APPEND.
2690 (tramp-smb-get-stat-capability): Fix a stupid bug.
2691
7818df11
SM
26922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2695
608c2085
NT
26962013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2697
2698 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2699 throwing error over malformed let/let* (bug#15814).
2700
122a7e46
SM
27012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * iswitchb.el (iswitchb-mode): Mark obsolete.
2704
766284d9
GM
27052013-11-11 Glenn Morris <rgm@gnu.org>
2706
2707 * international/uni-bidi.el, international/uni-category.el:
2708 * international/uni-name.el, international/uni-numeric.el:
2709 Regenerate for Unicode 6.3.0.
2710
7072a4e9
MA
27112013-11-10 Michael Albinus <michael.albinus@gmx.de>
2712
2713 * net/tramp.el (tramp-methods):
2714 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2715 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2716
c9df215b
AS
27172013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2718
608c2085
NT
2719 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2720 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2721
fa47d796
DG
27222013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2723
2724 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2725 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2726 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2727 (ispell-complete-word): Call `ispell-lookup-words' with the value
2728 independent of `ispell-look-p'.
2729
1629a329
DG
27302013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2731
2732 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2733 Not after "||".
2734 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2735 their parent.
2736
ad16897c
SM
27372013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2740 (ruby-font-lock-keywords): Use backquote.
2741
ffa2df72
DG
27422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2743
2744 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2745 (ruby-smie--backward-token): Only consider full-string matches.
2746
5b97b4c0
JD
27472013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2748
2749 * faces.el (describe-face): Add distant-foreground.
2750
71731c03
BB
27512013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2752
4e9fc48c
BB
2753 * progmodes/ruby-mode.el: Improve encoding comment handling.
2754 (ruby-encoding-magic-comment-style): New option.
2755 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2756 (ruby--insert-coding-comment, ruby--detect-encoding):
2757 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2758 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2759 to control the style of the auto-inserted encoding comment.
71731c03 2760
da3b328d
DG
27612013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2762
ad16897c
SM
2763 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2764 Use `smie-backward-sexp' with token argument.
da3b328d 2765
1606c2d3
MA
27662013-11-08 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2769 Remove instrumentation code.
2770
b0f4c320
GM
27712013-11-08 Glenn Morris <rgm@gnu.org>
2772
2773 * progmodes/autoconf.el (autoconf-mode):
2774 Tweak comment-start-skip. (Bug#15822)
2775
43668fb1
SM
27762013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2779 at bobp (bug#15826).
2780 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2781
daddb3fd
DH
27822013-11-08 Darren Hoo <darren.hoo@gmail.com>
2783
2784 * man.el (Man-start-calling): New macro, extracted from
2785 Man-getpage-in-background.
2786 (Man-getpage-in-background): Use it.
2787 (Man-update-manpage): New command.
2788 (Man-mode-map): Bind it.
2789
1f923923
DG
27902013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2791
2792 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2793 of "and", "or", "&&" and "||".
2794 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2795 argument. Prohibit opening curly brace because it could only be a
2796 block opener in that position.
daddb3fd
DH
2797 (ruby-smie--forward-token, ruby-smie--backward-token):
2798 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2799 arguments.
2800 (ruby-smie--indent-to-stmt): New function, seeks the end of
2801 previous statement or beginning of buffer.
2802 (ruby-smie-rules): Use it.
2803 (ruby-smie-rules): Check if there's a ":" before a curly block
2804 opener candidate; if there is, it's a hash.
2805
3220d527
SM
28062013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2809 (cl--block-wrapper): Fix last accidental change.
2810
1eb1f9e0
MA
28112013-11-07 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2814 Instrument, in order to hunt failure on hydra.
2815
e6e4db3c
NT
28162013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2817
2818 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2819 malformed bindings form (bug#15814).
2820
b420ccfc
DG
28212013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2822
2823 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2824 "." compared to " @ ". This incidentally fixes some indentation
2825 examples with "do".
e6e4db3c 2826 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2827 (ruby-smie-grammar): New tokens: "and" and "or".
2828 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2829 Exclude "and" and "or". Remove "do" in order to work around token
2830 priorities.
2831 (ruby-smie-rules): Add all infix tokens. Handle the case of
2832 beginning-of-buffer.
b420ccfc 2833
6b4ac03e
GM
28342013-11-06 Glenn Morris <rgm@gnu.org>
2835
2836 * Makefile.in (setwins_almost, setwins_for_subdirs):
2837 Avoid accidental matches.
2838
5ca114d1
SM
28392013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * menu-bar.el (popup-menu): Use key-binding.
2842
f72552bd
EZ
28432013-11-06 Eli Zaretskii <eliz@gnu.org>
2844
2845 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2846 menus, support also the menus produced by minor modes.
2847 (Bug#15817)
2848
5d5c701e
LL
28492013-11-06 Leo Liu <sdl.web@gmail.com>
2850
2851 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2852 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2853
0a8b75e2
GM
28542013-11-06 Glenn Morris <rgm@gnu.org>
2855
2856 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2857 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2858 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2859
a35287ea
SM
28602013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2861
feca4e2d
SM
2862 * electric.el (electric-indent-just-newline): New command.
2863 (electric-indent-mode-map): New keymap.
2864 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2865 Re-add :group which weren't redundant.
2866
a35287ea
SM
2867 * electric.el (electric-indent-local-mode): New minor mode.
2868 (electric-indent-functions-without-reindent): New var.
2869 (electric-indent-post-self-insert-function): Use it.
2870 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2871
375761b2
EZ
28722013-11-05 Eli Zaretskii <eliz@gnu.org>
2873
9a6ad735
EZ
2874 * international/quail.el (quail-help): Be more explicit about the
2875 meaning of the labels shown on the keys. (Bug#15800)
2876
375761b2
EZ
2877 * startup.el (normal-top-level): Load the subdirs.el files before
2878 setting the locale environment. (Bug#15805)
2879
520a6e4a
SM
28802013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2881
0acfafef
SM
2882 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2883 via arguments so as to get the right ones (bug#15418).
2884
520a6e4a
SM
2885 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2886
15826261
MA
28872013-11-05 Michael Albinus <michael.albinus@gmx.de>
2888
2889 Fix problems found while writing a test suite.
2890
2891 * net/tramp-compat.el (tramp-compat-load): New defun.
2892 * net/tramp.el (tramp-handle-load): Use it.
2893
2894 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2895 "(numberp ok-if-already-exists)" correctly.
2896
d35f31a4
XF
28972013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2898
2899 * international/characters.el (glyphless-char-display-control):
2900 Add usage note.
2901
ae93bc74
BB
29022013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2903
520a6e4a
SM
2904 * progmodes/python.el (python-mode):
2905 * progmodes/scheme.el (scheme-mode):
2906 * progmodes/prolog.el (prolog-mode):
2907 * progmodes/ruby-mode.el (ruby-mode):
2908 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2909 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2910
0ade65b5
SM
29112013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2912
a0d5f7a4
SM
2913 * rect.el (rectangle--highlight-for-redisplay):
2914 * emacs-lisp/smie.el (smie--next-indent-change):
2915 Use buffer-chars-modified-tick.
2916
c93f3f5c
SM
2917 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2918
0ade65b5
SM
2919 * electric.el (electric-indent-post-self-insert-function):
2920 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2921
ef9dd188
HE
29222013-11-04 Helmut Eller <eller.helmut@gmail.com>
2923
2924 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2925
306e7308
NT
29262013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2927
2928 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2929 (bug#15786).
2930
e5afbcac
SM
29312013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2932
1d01ad41
SM
2933 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2934
e5afbcac
SM
2935 * progmodes/python.el: Fix up last change.
2936 (python-shell--save-temp-file): New function.
2937 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2938 `string' comes from the current buffer.
2939 (python-shell-send-string-no-output): Remove `msg' arg.
2940 (python--use-fake-loc): New var.
2941 (python-shell-buffer-substring): Obey it. Try to compensate for the
2942 extra coding line added by python-shell--save-temp-file.
2943 (python-shell-send-region): Use python-shell--save-temp-file and
2944 python-shell-send-file directly. Add `nomain' argument.
2945 (python-shell-send-buffer): Use python-shell-send-region.
2946 (python-electric-pair-string-delimiter): New function.
2947 (python-mode): Use it.
2948
d0065ff1
EZ
29492013-11-04 Eli Zaretskii <eliz@gnu.org>
2950
2951 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2952 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2953 environment and decoding all of the default-directory's to here
2954 from command-line.
2955 (command-line): Decode also argv[0].
2956
2957 * loadup.el: Error out if default-directory is a multibyte string
2958 when we are dumping.
2959
2960 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2961
7397c587
TZ
29622013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2963
2964 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2965 (package-menu--print-info, package-menu--archive-predicate):
2966 Add Archive column to package list.
7397c587 2967
b27cc9fc
MA
29682013-11-04 Michael Albinus <michael.albinus@gmx.de>
2969
2970 Fix problems found while writing a test suite.
2971
2972 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2973 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2974 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2975 to nil when running original file name handler. Otherwise,
2976 there are problems with constructs like "$$FOO".
2977
2978 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2979 for `localname'.
2980
d8c4f18a
BB
29812013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2982
7b530552
BB
2983 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2984
2985 * subr.el (version<, version<=, version=):
2986 Update docstrings with information for snapshot versions.
2987
d8c4f18a
BB
2988 * helpers.el: New library for misc helper functions.
2989 (hash-table-keys): New function returning a list of hash keys.
2990 (hash-table-values): New function returning a list of hash values.
2991
dca01b09
DG
29922013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2993
2994 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2995 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2996
0a749fa0
MN
29972013-11-04 Michal Nazarewicz <mina86@mina86.com>
2998
2999 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3000 checking whether point is after a 1-letter word.
3001
30022013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3003
3004 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3005 Don't infloop when expanding region over `multiline' syntax-type that
3006 begins a line (bug#15778).
3007
4aca7145
SM
30082013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3011 Make it into a proper minor mode.
3012 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3013 (rectangle-mark-mode-map): New keymap.
3014 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3015
a0833f62
GM
30162013-11-04 Glenn Morris <rgm@gnu.org>
3017
3018 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3019
e61845c1
SM
30202013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3023 (ruby-smie-rules): Use smie-rule-parent instead.
3024
3025 * emacs-lisp/smie.el (smie-rule-parent): Always call
3026 smie-indent-virtual rather than only for hanging tokens.
3027 (smie--next-indent-change): New helper command.
3028
62942f89
GM
30292013-11-03 Glenn Morris <rgm@gnu.org>
3030
3031 * Makefile.in (abs_srcdir): Remove.
3032 (emacs): Unset EMACSLOADPATH.
3033
b0b9e592
GM
30342013-11-02 Glenn Morris <rgm@gnu.org>
3035
18ba6a33 3036 * Makefile.in (EMACS): Use a relative filename.
8061810d 3037 (abs_top_builddir): Remove.
18ba6a33
GM
3038 (custom-deps, finder-data, autoloads): Use --chdir.
3039
6a8b929e
GM
3040 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3041
c617f3d0
GM
3042 Use relative filenames in TAGS files.
3043 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3044 (lisptagsfiles4, TAGS): Use relative file names.
3045 (TAGS-LISP): Remove.
3046 (maintainer-clean): No more TAGS-LISP file.
3047
b0b9e592
GM
3048 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3049 (lisptagsfiles4): Use absolute filenames again.
3050 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3051 Remove all *loaddefs files, not just the first. Remove esh-groups.
3052 (maintainer-clean): Delete TAGS, TAGS-LISP.
3053
d1c0ea6a
BB
30542013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3055
e61845c1
SM
3056 * emacs-lisp/package.el (package-version-join):
3057 Recognize snapshot versions.
d1c0ea6a 3058
684d71c6
BB
30592013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3060
3061 * subr.el (version-regexp-alist): Add support for snapshot versions.
3062
3d42b968
DG
30632013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3064
e61845c1
SM
3065 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3066 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3067 skip over our direct parent if it's an assignment token..
3068 (ruby-smie-rules): Use it.
3069
7ffd3721
DG
30702013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3071
8449dd1f 3072 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3073 unconditionally. Remove now unnecessary forward declarations.
3074 Remove XEmacs-specific setup.
3075 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3076 (ruby-font-lock-syntactic-keywords)
3077 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3078 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3079 (ruby-here-doc-end-syntax): Remove.
3080 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3081 defined as function.
3082
a3996a2e
BB
30832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3084
3085 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3086
6f9260e8
BB
30872013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3088
3089 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3090 table and abbrev table, `define-derived-mode' does that for us
3091 anyway.
3092
6014de84
GM
30932013-11-01 Glenn Morris <rgm@gnu.org>
3094
3095 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3096 files is atomic for some time, so no parallel compilation issues).
3097
3c334c14
JD
30982013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3099
3100 * faces.el (face-x-resources): Add :distant-foreground.
3101 (region): Use :distant-foreground for gtk and ns.
3102
9bc236c8
TH
31032013-11-01 Tassilo Horn <tsdh@gnu.org>
3104
5246583b 3105 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3106 BibTeX.
3107 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3108 (reftex-locate-bibliography-files): Us it.
3109
d14c81ee
CB
31102013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3111
0e7690de
CB
3112 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3113 allow comments in pbm files.
3114
d14c81ee
CB
3115 * term/w32-win.el (dynamic-library-alist): Support newer versions
3116 of libjpeg starting with v7: look only for the DLL from the
3117 version against which Emacs was built.
ac1bf374 3118 Support versions of libpng beyond 1.4.x.
019c8218 3119 Support libtiff v4.x.
d14c81ee 3120
983d0df5
BB
31212013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3122
3123 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3124 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3125 Add property :safe.
3126 (ruby-deep-arglist): Add property :type.
3127
47f58d85
GM
31282013-10-31 Glenn Morris <rgm@gnu.org>
3129
3130 * Makefile.in (custom-deps, finder-data): No need to setq the target
3131 variables, we are in the right directory and the defaults work fine.
3132
4f85b479
GM
31332013-10-30 Glenn Morris <rgm@gnu.org>
3134
ca7dd4cd
GM
3135 * Makefile.in (autoloads): Do not use abs_lisp.
3136
4f85b479
GM
3137 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3138 `newline' does not respect `standard-output', so use `princ'.
3139
cf59e41c
AA
31402013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3141
3142 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3143 * buff-menu.el (Buffer-menu--unmark): New function.
3144 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3145
74cf04fb
GM
31462013-10-30 Glenn Morris <rgm@gnu.org>
3147
b040b60e
GM
3148 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3149
f53d3815
GM
3150 * emacs-lisp/package.el (lm-homepage): Declare.
3151
5413d873
GM
3152 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3153 Fix doc typos.
3154
cecedb36
GM
3155 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3156
74cf04fb
GM
3157 * Makefile.in (finder-data, autoloads, update-subdirs)
3158 (compile-main, compile-clean, compile-always, bootstrap-clean):
3159 Check return value of cd.
3160 (compile-calc): Remove.
3161
195ee2f0
SM
31622013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3163
ae4002ce
SM
3164 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3165
3166 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3167 (byte-compile-and-folded): New function.
3168 (=, <, >, <=, >=): Use it.
3169
3170 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3171 (path-separator, null-device, buffer-file-coding-system)
3172 (lpr-headers-switches): Check system-type before modifying them.
3173 (find-buffer-file-type-coding-system): Mark obsolete.
3174 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3175 find-file-not-found-set-buffer-file-coding-system.
3176 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3177 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3178 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3179 (w32-direct-print-region-helper, w32-direct-print-region-function)
3180 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3181 * startup.el (normal-top-level-add-subdirs-to-load-path):
3182 * ps-print.el (ps-print-region-function):
3183 * lpr.el (print-region-function): Use new name.
3184
53b39e89
SM
3185 * subr.el (custom-declare-variable-early): Remove function.
3186 (custom-declare-variable-list): Remove var.
3187 (error, user-error): Remove `while' loop.
3188 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3189 (user-emacs-directory-warning, locate-user-emacs-file):
3190 Move to files.el.
3191 * simple.el (read-quoted-char-radix, read-quoted-char):
3192 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3193 Move from subr.el.
3194 * custom.el (custom-declare-variable-list): Don't process
3195 custom-declare-variable-list.
3196
195ee2f0
SM
3197 * progmodes/python.el (python-shell-get-buffer): New function.
3198 (python-shell-get-process): Use it.
3199 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3200 Python which encoding was used. Don't split-string since we only care
3201 about the first line. Return the temp-file, if applicable.
3202 (python-shell-send-region): Tell compile.el how to turn locations in
3203 the temp-file into locations in the source buffer.
3204
7e3561ee
SM
32052013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3206
4c9797cb
SM
3207 * subr.el (undefined): Add missing behavior from the C code for
3208 unbound keys.
3209
3472b6c6
SM
3210 * rect.el: Use lexical-binding. Add new rectangular region support.
3211 (rectangle-mark): New command.
3212 (rectangle--region): New var.
3213 (deactivate-mark-hook): Reset rectangle--region.
3214 (rectangle--extract-region, rectangle--insert-for-yank)
3215 (rectangle--highlight-for-redisplay)
3216 (rectangle--unhighlight-for-redisplay): New functions.
3217 (region-extract-function, redisplay-unhighlight-region-function)
3218 (redisplay-highlight-region-function): Use them to handle
3219 rectangular region.
3220 * simple.el (region-extract-function): New var.
3221 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3222 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3223 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3224 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3225 (redisplay-unhighlight-region-function)
3226 (redisplay-highlight-region-function): New vars.
3227 (redisplay--update-region-highlight): New function.
3228 (pre-redisplay-function): Use it.
3229 (exchange-point-and-mark): Don't deactivate the mark before
3230 reactivate-it anyway.
3231 * comint.el (comint-kill-region): Remove yank-handler argument.
3232 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3233 (delete-char): Remove property, since it's now part of their
3234 default behavior.
3235 (self-insert-iso): Remove property since this command doesn't exist.
3236
7e3561ee
SM
3237 * emacs-lisp/package.el (package--download-one-archive)
3238 (describe-package-1): Don't query the user about final newline.
3239
b9bef71f
DC
32402013-10-29 Daniel Colascione <dancol@dancol.org>
3241
3242 * net/tramp.el (tramp-methods): Document new functionality.
3243 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3244 tramp-hostname-checker if method provides one instead of scanning
3245 argument list for "%h" to decide hostname acceptability.
3246
4efc33f0
MA
32472013-10-28 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3250 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3251 Handle COPY-CONTENTS. (Bug#15737)
3252
ed42a877
DU
32532013-10-28 Daiki Ueno <ueno@gnu.org>
3254
3255 * epa-file.el
7e3561ee
SM
3256 (epa-file-cache-passphrase-for-symmetric-encryption):
3257 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3258
18c9f8a2
XF
32592013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3260
7a4bc7be
XF
3261 * image.el (defimage):
3262 (image-load-path): Doc fixes.
18c9f8a2 3263
b1e8e010
AM
32642013-10-27 Alan Mackenzie <acm@muc.de>
3265
3266 Indent statements in macros following "##" correctly.
7e3561ee
SM
3267 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3268 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3269
73d40d1e 32702013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3271
3272 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3273
c8c605ac
DG
32742013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3275
3276 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3277 after `=' is probably a new expression.
3278
ca7e59d4
RS
32792013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3280
3281 * man.el (man-imenu-title): New option.
3282 (Man-mode-map): Add menu. (Bug#15722)
3283 (Man-mode): Add imenu to menu.
3284
bae91342
DG
32852013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3286
3287 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3288 specific in what the first arg can be: a non-keyword word,
3289 string/regexp/percent literal opener, opening paren, or unary
3290 operator followed directly by word.
3291
eb89dc14
SM
32922013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3295 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3296 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3297 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3298 Remove vars, they do not apply any more.
3299 (prolog-mode-abbrev-table): Remove redundant declaration.
3300 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3301 (prolog-use-smie): Remove.
3302 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3303 supported by prolog-electric-if-then-else-flag.
3304 (prolog-mode-variables, prolog-menu): Use setq-local.
3305 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3306 Remove binding to `Backspace' since this key doesn't exist anyway.
3307 Remove bindings for electric self-inserting keys.
3308 (prog-mode): Assume it's defined.
3309 (prolog-post-self-insert): New function.
3310 (prolog-mode): Use it.
3311 (prolog-indent-line, prolog-indent-level)
3312 (prolog-find-indent-of-matching-paren)
3313 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3314 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3315 (prolog-goto-next-paren, prolog-in-string-or-comment)
3316 (prolog-tokenize, prolog-inside-mline-comment)
3317 (prolog-find-start-of-mline-comment): Remove functions.
3318 (prolog-find-unmatched-paren, prolog-clause-end)
3319 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3320 (prolog-electric--if-then-else): Rename from
3321 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3322 (prolog-tokenize-searchkey): Remove const.
3323 (prolog-clause-info): Use forward-sexp.
3324 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3325 (prolog-electric-if-then-else): Remove commands.
3326 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3327 for use in post-self-insert-hook.
3328 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3329 for use in post-self-insert-hook.
3330 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3331 for use in post-self-insert-hook.
3332 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3333 adapt it for use in post-self-insert-hook.
3334
3dab0a83
MA
33352013-10-25 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * emacs-lisp/ert.el (ert-run-tests-interactively):
3338 Use `completing-read'. (Bug#9756)
3339
fbfd0e1d
EZ
33402013-10-25 Eli Zaretskii <eliz@gnu.org>
3341
3342 * simple.el (line-move): Call line-move-1 instead of
3343 line-move-visual when the current window hscroll is zero, but
3344 temporary-goal-column indicates we will need to hscroll as result
3345 of the movement. (Bug#15712)
3346
963ce636
DG
33472013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3348
3349 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3350 capitalization. Use :visible instead of :active.
3351 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3352 commands that are used with SMIE.
3353 (ruby-do-end-to-brace): Insert space after `{'.
3354
a0be396a
JA
33552013-10-25 John Anthony <john@jo.hnanthony.com>
3356
f73754c9
JA
3357 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3358
3359 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3360
f5bf77df
GM
33612013-10-25 Glenn Morris <rgm@gnu.org>
3362
3363 * vc/vc.el (vc-print-log): Don't use a working revision unless
3364 one was explicitly specified. (Bug#15322)
3365
37241f62
SM
33662013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * subr.el (add-to-list): Preserve return value in compiler-macro
3369 (bug#15692).
3370
6408a65d
RS
33712013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3372
3373 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3374 result. Ask user to retry using '-all' flag. (Bug#15701)
3375
71e3276b
SM
33762013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * emacs-lisp/smie.el: New smie-config system.
3379 (smie-config): New defcustom.
3380 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3381 (smie-config-guess, smie-config-save): New commands.
3382 (smie-config--mode-local, smie-config--buffer-local)
3383 (smie-config--trace, smie-config--modefuns): New vars.
3384 (smie-config--advice, smie-config--mode-hook)
3385 (smie-config--setter, smie-config-local, smie-config--get-trace)
3386 (smie-config--guess-value, smie-config--guess): New functions.
3387 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3388 text properties. Treat "string fence" syntax like string syntax.
3389
3390 * progmodes/sh-script.el (sh-use-smie): Change default.
3391 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3392 (sh-var-value): Simplify by CSE.
3393 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3394 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3395 is used.
3396 (sh-guess-basic-offset): Use cl-incf.
3397 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3398
60db713e
HE
33992013-10-24 Helmut Eller <eller.helmut@gmail.com>
3400
3401 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3402 (bug#15699).
3403
8b251df6
GM
34042013-10-24 Glenn Morris <rgm@gnu.org>
3405
3406 * Makefile.in (abs_top_srcdir): Remove.
3407 (update-subdirs): Use relative path to update-subdirs.
3408
6be0e22b
EZ
34092013-10-24 Eli Zaretskii <eliz@gnu.org>
3410
3411 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3412 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3413 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3414 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3415
50b5b857
MA
34162013-10-24 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3419 (ert-test-skipped): New error.
3420 (ert-skip, ert-stats-skipped): New defuns.
3421 (ert--skip-unless): New macro.
3422 (ert-test-skipped): New struct.
3423 (ert--run-test-debugger, ert-test-result-type-p)
3424 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3425 (ert--stats-set-test-and-result, ert-char-for-test-result)
3426 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3427 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3428 Handle skipped tests. (Bug#9803)
50b5b857 3429
6f317c2f
GM
34302013-10-24 Glenn Morris <rgm@gnu.org>
3431
e43817c1
GM
3432 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3433
6f317c2f
GM
3434 * Makefile.in (abs_top_srcdir): New, set by configure.
3435 (update-subdirs): Correct build-aux location.
3436
369bbf71
DG
34372013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3438
8297b2cf
DG
3439 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3440 value, whether we could auto-deduce `backend', or not.
3441
369bbf71
DG
3442 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3443 with parameters" example. Simplify the "is it block or is it
3444 hash" check, but also make it more thorough.
3445
d5f1282f
MF
34462013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3447
3448 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3449
bc4aaa31
SM
34502013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3451
03d44565
SM
3452 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3453 { if it is hanging.
3454
bc4aaa31
SM
3455 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3456 :before ";".
3457
f493ff19
JB
34582013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3459
3460 * progmodes/compile.el (compilation-directory-matcher)
3461 (compilation-page-delimiter):
3462 Support GNU Make-4.0 directory quoting. (Bug#15678)
3463
c744a3b9
LL
34642013-10-23 Leo Liu <sdl.web@gmail.com>
3465
3466 * ido.el (ido-tidy): Handle read-only text.
3467
b8e3b0a9
GM
34682013-10-23 Glenn Morris <rgm@gnu.org>
3469
3470 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3471 (emacs, compile, compile-always):
3472 Quote entities that might contain whitespace.
3473 (custom-deps, finder-data, autoloads): Use abs_lisp.
3474 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3475 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3476 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3477
ee4282cd
DG
34782013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3479
bc4aaa31
SM
3480 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3481 Use `following-char'.
7790a270 3482
ee4282cd 34832013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3484
3485 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3486 * progmodes/ruby-mode.el (ruby-smie-rules):
3487 Remove corresponding workaround. Fix indentation rule of ";" so it
3488 also applies when ";" is the parent.
3489
d40a46d7
XF
34902013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3491
3492 * frame.el (display-screens, display-pixel-height)
3493 (display-pixel-width, display-mm-width, display-backing-store)
3494 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3495 (display-visual-class, display-monitor-attributes-list):
3496 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3497
a0f143c9
MG
34982013-10-22 Michael Gauland <mikelygee@amuri.net>
3499
3500 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3501 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3502
18cacc39
DG
35032013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3504
3505 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3506 TODO. Add "." after " @ ".
3507 (ruby-smie--at-dot-call): New function. Checks if point at method
3508 call with explicit target.
3509 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3510 to the method name tokens when it precedes them.
3511 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3512 (ruby-smie-rules): Add rule for indentation before and after "."
3513 token.
3514
df74c4be
SM
35152013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3516
c6dab55f
SM
3517 * textmodes/remember.el (remember-diary-extract-entries):
3518 Avoid add-to-list.
3519
df74c4be
SM
3520 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3521 an instruction.
3522
8c1ae481
DG
35232013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3524
e9dc713d
JB
3525 * progmodes/ruby-mode.el (ruby-smie-grammar):
3526 Add (almost) all infix operators.
cfef16c0
DG
3527 (ruby-smie--implicit-semi-p): Add new operator chars.
3528
8c1ae481
DG
3529 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3530 `smie-down-list'.
3531 (ruby-smie--args-separator-p): Check that there's no newline
3532 between method call and its arguments.
3533
87756ca9
AM
35342013-10-20 Alan Mackenzie <acm@muc.de>
3535
3536 Allow comma separated lists after Java "implements".
3537
df74c4be
SM
3538 * progmodes/cc-engine.el (c-backward-over-enum-header):
3539 Parse commas.
87756ca9
AM
3540 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3541 from a "disallowed" list in enum fontification.
3542
c25f8957
JB
35432013-10-20 Johan Bockgård <bojohan@gnu.org>
3544
df74c4be 3545 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3546
c25f8957
JB
3547 * progmodes/verilog-mode.el (verilog-mode): Don't set
3548 comment-indent-function globally.
3549
aca5fcdc
JD
35502013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3551
5f161884
JD
3552 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3553 Move Info menu item creation to ns-win.el.
3554
3555 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3556 in menu bar.
3557
aca5fcdc
JD
3558 * menu-bar.el: Move GNUStep specific menus...
3559
3560 * term/ns-win.el (ns-initialize-window-system): ... to here.
3561
914b7f98
SM
35622013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * simple.el (newline): Only run post-self-insert-hook when
3565 called interactively.
3566
846ffe77
JB
35672013-10-19 Johan Bockgård <bojohan@gnu.org>
3568
3569 * icomplete.el (icomplete-with-completion-tables): Add :version.
3570
033f22dd
AM
35712013-10-19 Alan Mackenzie <acm@muc.de>
3572
3573 Fix fontification bugs with constructors and const.
3574
3575 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3576 CASE 2) Remove the check for the absence of a suffix construct
3577 after a function declaration with only types (no identifiers) in
3578 the parentheses. Also, accept a function declaration with just a
3579 type inside the parentheses, if this type can be positively
3580 recognised as such, or if a prefix keyword like "explicit" nails
3581 down the construct as a declaration.
3582
58ce0cfc
EZ
35832013-10-19 Eli Zaretskii <eliz@gnu.org>
3584
3585 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3586 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3587 the problem whereby selecting a menu item that leads to a
3588 minibuffer prompt moves the cursor out of the minibuffer window,
3589 making it hard to type at the prompt. Suggested by Stefan Monnier
3590 <monnier@iro.umontreal.ca>.
3591
50e28e7d
JD
35922013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3593
3594 * menu-bar.el: Don't make Services menu.
3595
7deed4bf
RS
35962013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3597
3598 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3599 (ffap-alist): Use ffap-c++-mode for c++-mode.
3600 (ffap-c++-path): New variable.
3601 (ffap-c++-mode): New function.
3602
7bcb455b
JVJ
36032013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3604
3605 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3606
f0ff1cd5
MA
36072013-10-18 Michael Albinus <michael.albinus@gmx.de>
3608
3609 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3610 introduced on 2013-09-08, which results in an infinite loop
3611 requesting a password.
3612
d64da4b7
GM
36132013-10-18 Glenn Morris <rgm@gnu.org>
3614
3615 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3616
ea89ff08
WS
36172013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3618
3619 Sync with upstream verilog-mode revision 1a6ecec7.
3620 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3621 (verilog-mode-release-date): Remove.
3622 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3623 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3624 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3625 (verilog-auto-tieoff-ignore-regexp)
3626 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3627 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3628 (verilog-signals-with, verilog-dir-cache-preserving)
3629 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3630 Doc fixes.
3631 (verilog-case-fold): New option, to control case folding in
3632 regexp searches, bug597.
3633 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3634 (verilog-string-match-fold, verilog-in-paren-count)
3635 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3636 (verilog-at-close-struct-p): New functions.
3637 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3638 (verilog-forward-sexp, verilog-set-auto-endcomments):
3639 (verilog-leap-to-case-head): Handle "unique0" case.
3640 (verilog-in-constraint-re): New constant.
3641 (verilog-keywords, verilog-type-font-keywords):
3642 Add some SystemVerilog 1800-2012 keywords.
3643 (verilog-label-be): Remove unimplemented argument, bug669.
3644 (verilog-batch-execute-func): When batch expanding clear
3645 create-lockfiles to prevent spurious user locks when a file ends
3646 up not changing.
3647 (verilog-calculate-indent, verilog-calc-1)
3648 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3649 (verilog-do-indent): Fix indentation of nested constraints
3650 and structures.
3651 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3652 (verilog-auto-inst-param): Use verilog-string-match-fold.
3653 (verilog-read-inst-module-matcher):
3654 Fix AUTOINST on gate primitives with #1.
3655 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3656 Reads all user-defined typed variables.
3657 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3658 (verilog-signals-matching-regexp)
3659 (verilog-signals-not-matching-regexp, verilog-auto):
3660 Respect verilog-case-fold.
3661 (verilog-diff-report): Fix line count.
3662 (verilog-auto-assign-modport): Remove unused local `modi'.
3663 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3664 better handle multidimensional arrays.
3665 Fix packed array ports misadding bit index in AUTOINST, bug637.
3666 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3667 to not double-declare existing outputs and inputs, respectively.
3668 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3669 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3670 (verilog-sk-uvm-component): New skeleton.
3671 (verilog-submit-bug-report): Add verilog-case-fold,
3672 remove verilog-mode-release-date.
3673
ef566920
BR
36742013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3675
a12bf61e 3676 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3677 as before.
3678
29df8a0b
RT
36792013-10-18 Reuben Thomas <rrt@sc3d.org>
3680
e0eb0550 3681 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3682 remember buffers (bug#13566).
3683
04a19a79
DC
36842013-10-18 Daniel Colascione <dancol@dancol.org>
3685
3686 When evaluating forms in ielm, direct standard output to ielm
3687 buffer. Add new ielm-return-for-effect command. Remove trailing
3688 whitespace throughout.
3689
3690 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3691 (ielm-return-for-effect): New command.
3692 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3693 (ielm-eval-input): Accept optional `for-effect' parameter.
3694 Bind `standard-output' to stream we create using
04a19a79
DC
3695 `ielm-standard-output-impl'. Suppress printing result when
3696 `for-effect'.
3697 (ielm-standard-output-impl): New function.
3698 (inferior-emacs-lisp-mode): Explain new features in documentation.
3699
4c1f03ef
MA
37002013-10-17 Michael Albinus <michael.albinus@gmx.de>
3701
3702 Code cleanup.
3703
3704 * net/tramp.el (tramp-debug-message): Do not check for connection
3705 buffer.
3706 (tramp-message): Use "vector" connection property.
3707
3708 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3709 (tramp-equal-remote, tramp-eshell-directory-change)
3710 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3711 (tramp-adb-handle-rename-file)
3712 * net/tramp-cmds.el (tramp-list-remote-buffers)
3713 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3714 * net/tramp-compat.el (tramp-compat-process-running-p)
3715 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3716 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3717 (tramp-gvfs-handle-rename-file)
3718 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3719 (tramp-set-file-uid-gid)
3720 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3721 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3722 of `file-remote-p'.
3723
3724 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3725 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3726 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3727 (tramp-gw-open-network-stream): Suppress unrelated traces.
3728
3729 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3730 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3731 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3732 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3733 connection property.
3734
3735 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3736 persistency file.
4c1f03ef
MA
3737
3738 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3739 Refactor common code. Improve debug message.
3740 (tramp-maybe-open-connection)
3741 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3742 connection buffer too early.
3743
3744 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3745 from `tramp-smb-actions-with-acl'.
3746 (tramp-smb-actions-set-acl): New defconst.
3747 (tramp-smb-handle-copy-directory)
3748 (tramp-smb-action-get-acl): New defun, renamed from
3749 `tramp-smb-action-with-acl'.
3750 (tramp-smb-action-set-acl): New defun.
3751 (tramp-smb-handle-set-file-acl): Rewrite.
3752
642eb8b6
GM
37532013-10-17 Glenn Morris <rgm@gnu.org>
3754
3755 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3756
85527ff3
SM
37572013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3758
921c1d62
SM
3759 * skeleton.el (skeleton-newline): Remove.
3760 (skeleton-internal-1): Use (insert "\n") instead.
3761
e333fb10
SM
3762 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3763 let-bindings.
3764
85527ff3
SM
3765 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3766 forward-sexp-function while we redo its job (bug#15613).
3767
c8722a97
JB
37682013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3769
3770 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3771 represented by lists.
3772
7a550bbb
GM
37732013-10-16 Glenn Morris <rgm@gnu.org>
3774
3775 * tmm.el (tmm--history): New dynamic variable.
3776 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3777
f19da8ad
MA
37782013-10-16 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3781 (tramp-smb-errors): Add error messages.
3782 (tramp-smb-actions-with-acl): New defconst.
3783 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3784 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3785 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3786 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3787 (tramp-smb-get-stat-capability): Fix tests.
3788
a24b9961
DK
37892013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3790
3791 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3792 (bug#15580).
3793
62ad85e6
GM
37942013-10-16 Glenn Morris <rgm@gnu.org>
3795
0283d6b0
GM
3796 * ansi-color.el (ansi-color-drop-regexp):
3797 Add 1J, 1K, 2K. (Bug#15617)
3798
012e2f9f
GM
3799 * files.el (hack-local-variables--warned-lexical): New.
3800 (hack-local-variables):
3801 Warn about misplaced lexical-binding. (Bug#15616)
3802
62ad85e6
GM
3803 * net/eww.el (eww-render): Always set eww-current-url,
3804 and update header line. (Bug#15622)
3805 (eww-display-html): ... Rather than just doing it here.
3806
6456c0ea
EZ
38072013-10-15 Eli Zaretskii <eliz@gnu.org>
3808
3809 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3810 menu navigations commands.
3811
c2de5588
DK
38122013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3813
3814 * progmodes/subword.el (subword-capitalize): Be careful when
3815 the search for [[:alpha:]] fails (bug#15580).
3816
ccd4a783
EZ
38172013-10-14 Eli Zaretskii <eliz@gnu.org>
3818
3819 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3820 to commands that scroll the menu.
3821
1eda1d8d
DG
38222013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3823
c2de5588
DK
3824 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3825 Handle methods ending with `?' and `!'.
1eda1d8d 3826
e70181b8
AM
38272013-10-14 Akinori MUSHA <knu@iDaemons.org>
3828
3829 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3830 `japanese-cp932' to `cp932' to fix the problem where saving a
3831 source file written in Shift_JIS twice would end up having
3832 `coding: japanese-cp932' which Ruby could not recognize.
3833 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3834 in `ruby-encoding-map'.
3835 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3836 doesn't need to be explicitly declared in magic comment.
3837 (ruby-encoding-map): Add type declaration for better customize UI.
3838
9148ee92
GM
38392013-10-13 Glenn Morris <rgm@gnu.org>
3840
a5d38e34
GM
3841 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3842 Occur buffers are read-only. http://bugs.debian.org/720775
3843
9148ee92
GM
3844 * emacs-lisp/authors.el (authors-fixed-entries):
3845 Comment out old alpha stuff.
3846
a9ba094b
DG
38472013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3848
3849 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3850 to `after-save-hook' instead of `before-save-hook'.
3851 (ruby-mode-set-encoding): Use the value of coding system used to
3852 write the file. Call `basic-save-buffer-1' after modifying the
3853 buffer.
3854
7a068717
AM
38552013-10-13 Alan Mackenzie <acm@muc.de>
3856
3857 Fix indentation/fontification of Java enum with
3858 "implements"/generic.
3859
c2de5588
DK
3860 * progmodes/cc-engine.el (c-backward-over-enum-header):
3861 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3862 (c-inside-bracelist-p): Uses new function above.
3863 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3864 function above.
3865 (c-font-lock-enum-tail): Uses new function above.
3866
85b64f02
KH
38672013-10-13 Kenichi Handa <handa@gnu.org>
3868
3869 * international/mule-cmds.el (select-safe-coding-system): Remove a
3870 superfluous condition in chekcing whether a coding system is safe
3871 or not.
3872
fc7f501b
OK
38732013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3874
3875 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3876
fdcb2049
AP
38772013-10-13 Andreas Politz <politza@hochschule-trier.de>
3878
3879 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3880
8c106d17
GM
38812013-10-13 Glenn Morris <rgm@gnu.org>
3882
feab892d
GM
3883 * menu-bar.el (menu-bar-update-buffers):
3884 Unify Buffers menu prompt string. (Bug#15576)
3885
b22d0686
GM
3886 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3887
8c106d17
GM
3888 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3889 Add some entries.
3890 (authors-fixed-entries): Use accented form of name.
3891
1b12c797
SM
38922013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3893
650fa7bf 3894 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3895 method calls (bug#15594).
650fa7bf
SM
3896 (ruby-smie--args-separator-p): New function.
3897 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3898 recognize paren-free method calls.
3899
1b12c797
SM
3900 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3901 internals of universal-argument.
3902
029619c8
EZ
39032013-10-11 Eli Zaretskii <eliz@gnu.org>
3904
3905 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3906 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3907 dropped menu on second mouse click on the menu bar.
029619c8 3908
dd070019
SM
39092013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3912 (explicit-shell-file-name): Declare.
3913 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3914 (sh-completion-at-point-function): New function.
3915 (sh-mode): Use it.
3916 (sh-smie--keyword-p): Remove unused argument.
3917 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3918 vars.
3919 (sh-set-shell): Always setup SMIE, even if we use the
3920 old indentation code.
3921
0922b826
DG
39222013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3923
b68e2926
DG
3924 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3925 cases of ? and =.
3926 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3927 predicate would return nil are almost non-existent.
3928 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3929
0922b826
DG
3930 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3931 cache also after commands that modify the buffer but don't move
3932 point.
3933
ee041f2d
SM
39342013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * env.el (substitute-env-in-file-name): New function.
3937 (substitute-env-vars): Extend the meaning of the optional arg.
3938
a5dab159
EZ
39392013-10-10 Eli Zaretskii <eliz@gnu.org>
3940
3941 * term/w32-win.el (dynamic-library-alist): Define separate lists
3942 of GIF DLLs for versions before and after 5.0.0 of giflib.
3943 (Bug#15531)
3944
0449d6cd 39452013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3946
3947 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3948 not locked, use last revision and current source as
3949 defaults. (Bug#15569)
3950
2f6e161e
MY
39512013-10-10 Masatake YAMATO <yamato@redhat.com>
3952
3953 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3954 menu-bar is hidden.
3955
6c8413fc
MR
39562013-10-10 Martin Rudalics <rudalics@gmx.at>
3957
3958 * window.el (pop-to-buffer-same-window): Fix doc-string.
3959 (Bug#15492)
3960
20832de0
SM
39612013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3964
c6e8ae77
AC
39652013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3966
3967 * calendar/icalendar.el (icalendar-import-file):
3968 Fix interactive spec. (Bug#15482)
3969
9db13baf
GM
39702013-10-10 Glenn Morris <rgm@gnu.org>
3971
9271e90e
GM
3972 * desktop.el (desktop-save): Default to saving in .emacs.d,
3973 since PWD is no longer in desktop-path by default. (Bug#15319)
3974
9db13baf
GM
3975 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3976 now that text mode has a menu with the same entry.
3977 (menu-bar-text-mode-auto-fill): Remove now unused func.
3978 * textmodes/text-mode.el (text-mode-map):
3979 Use auto-fill help text from menu-bar.el.
3980
a0be396a 39812013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3982
3983 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3984
2edcd3c7
JL
39852013-10-09 Juri Linkov <juri@jurta.org>
3986
3987 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3988 instead of this-command-keys. Add universal-argument-more and
3989 universal-argument-minus to the list of prefix commands. (Bug#15568)
3990
574411d0
GM
39912013-10-09 Glenn Morris <rgm@gnu.org>
3992
14afa541
GM
3993 * vc/vc-svn.el (vc-svn-create-repo):
3994 Expand paths in file://... url. (Bug#15446)
3995
574411d0
GM
3996 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3997 Add some entries.
3998 (authors): Remove unused local variables.
3999
79804536
SM
40002013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * profiler.el: Create a more coherent calltree from partial backtraces.
4003 (profiler-format): Hide the tail with `invisible' so that C-s can still
4004 find the hidden elements.
4005 (profiler-calltree-depth): Don't recurse so enthusiastically.
4006 (profiler-function-equal): New hash-table-test.
4007 (profiler-calltree-build-unified): New function.
4008 (profiler-calltree-build): Use it.
4009 (profiler-report-make-name-part): Indent the calltree less.
4010 (profiler-report-mode): Add visibility specs for profiler-format.
4011 (profiler-report-expand-entry, profiler-report-toggle-entry):
4012 Expand the whole subtree when provided with a prefix arg.
4013
238150c8
DG
40142013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4015
4016 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4017 iuwu-mod token.
4018 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4019 hanging iuwu-mod token.
4020 (ruby-smie--forward-token): Do not include a dot after a token in
4021 that token.
4022 (ruby-smie--backward-token): Likewise.
4023
b0949cc4
JL
40242013-10-08 Juri Linkov <juri@jurta.org>
4025
4026 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4027 to isearch-other-control-char.
4028 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4029 and isearch-post-command-hook to post-command-hook.
4030 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4031 and isearch-post-command-hook from post-command-hook.
4032 (isearch-unread-key-sequence)
4033 (isearch-reread-key-sequence-naturally)
4034 (isearch-lookup-scroll-key, isearch-other-control-char)
4035 (isearch-other-meta-char): Remove functions.
4036 (isearch-pre-command-hook, isearch-post-command-hook):
4037 New functions based on isearch-other-meta-char rewritten
4038 relying on the new behavior of overriding-terminal-local-map
4039 that does not replace the local keymaps any more. (Bug#15200)
4040
4ed77415
EZ
40412013-10-08 Eli Zaretskii <eliz@gnu.org>
4042
4043 Support menus on text-mode terminals.
4044 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4045 functionality.
4046
4047 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4048
c2de5588
DK
4049 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4050 Move here from mouse.el.
4ed77415
EZ
4051 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4052 and arrow keys.
4053 (tty-menu-navigation-map): New map for TTY menu navigation.
4054
4055 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4056
4057 * frame.el (display-mouse-p): Report text-mode mouse as available
4058 on w32.
4059 (display-popup-menus-p): Report availability if mouse is
4060 available; don't condition on window-system.
4061
4062 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4063 (tty-menu-selected-face): New faces.
4064
b7d5bd82
TL
40652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4066
06286513
SM
4067 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4068 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4069 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4070 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4071 New constants.
4072 (lisp-mode-variables): New `elisp' argument.
4073 (emacs-lisp-mode): Use it.
4074 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4075 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4076
b7d5bd82
TL
4077 * indent.el: Use lexical-binding.
4078 (indent-region): Add progress reporter.
4079 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4080 last step.
4081 (indent--next-tab-stop): New function to implement this behavior.
4082 (tab-to-tab-stop, move-to-tab-stop): Use it.
4083
40842013-10-08 Teemu Likonen <tlikonen@iki.fi>
4085
4086 * indent.el (indent-rigidly--current-indentation): New function.
4087 (indent-rigidly-map): New var.
4088 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4089
5ea75d23
BG
40902013-10-08 Bastien Guerry <bzg@gnu.org>
4091
4092 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4093
cc5da1ec
SM
40942013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4095
8ffa1a0b
SM
4096 * progmodes/perl-mode.el: Use lexical-binding.
4097 Remove redundant :group args.
4098 (perl-nochange): Change default to be closer to other major modes's
4099 standard behavior.
4100 (perl-indent-line): Don't consider text on current line as a
4101 valid beginning of function from which to indent.
4102
f2223371
SM
4103 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4104 with more than one argument (bug#15538).
4105
44256060
SM
4106 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4107
cc5da1ec
SM
4108 * vc/pcvs.el: Use lexical-binding.
4109 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4110 environment of `eval'.
4111 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4112 than a list of expressions. Adjust callers.
4113 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4114
0ea1599d
DG
41152013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4116
4117 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4118 case of the dot in a chained method call being on the following line.
0ea1599d 4119
da3e5ebb
SM
41202013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4121
2abb4e65
SM
4122 * electric.el (electric-indent-inhibit): New var.
4123 (electric-indent-post-self-insert-function): Use it.
4124 * progmodes/python.el (python-mode): Set it.
4125
d2e0e795
SM
4126 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4127 open braces.
4128
4129 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4130
bdc6b4c8
SM
4131 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4132 (css-mode): Use electric-indent-chars.
4133
da3e5ebb
SM
4134 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4135 (font-lock-beg, font-lock-end): Move before first use.
4136 (nxml-mode): Use syntax-propertize-function.
4137 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4138 (nxml-extend-after-change-region): Remove.
4139 * nxml/xmltok.el: Use lexical-binding.
4140 (xmltok-save): Use `declare'.
4141 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4142 * nxml/nxml-util.el: Use lexical-binding.
4143 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4144 Use `declare'.
4145 * nxml/nxml-ns.el: Use lexical-binding.
4146 (nxml-ns-save): Use `declare'.
4147 (nxml-ns-prefixes-for): Avoid add-to-list.
4148 * nxml/rng-match.el: Use lexical-binding.
4149 (rng--ipattern): Use cl-defstruct.
4150 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4151 (rng-cons-group-after, rng-subst-group-after)
4152 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4153 Use closures instead of `(lambda...).
4154
f8f91d5d
MA
41552013-10-07 Michael Albinus <michael.albinus@gmx.de>
4156
4157 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4158 of BEG and END.
4159
da3e5ebb
SM
4160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4161 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4162 (tramp-gvfs-handle-insert-file-contents): Remove function.
4163
da3e5ebb
SM
4164 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4165 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4166
4167 * net/trampver.el: Update release number.
4168
7ccae3b1
SM
41692013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4170
55ca2c0d
SM
4171 * progmodes/compile.el (compilation-parse-errors):
4172 Use compilation--put-prop.
4173 (compilation--ensure-parse): Check compilation-multiline.
4174
731fc3ae
SM
4175 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4176
da3e5ebb
SM
4177 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4178 lexical-binding.
a5833280 4179
2e7ba2c2
SM
4180 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4181
7ccae3b1
SM
4182 * progmodes/ruby-mode.el: Fix recently added tests.
4183 (ruby-smie-grammar): Add - and +.
4184 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4185 (ruby-smie--backward-id): New functions.
4186 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4187 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4188 any more.
4189
85698d63
LL
41902013-10-07 Leo Liu <sdl.web@gmail.com>
4191
4192 * register.el (register-preview-delay)
4193 (register-preview-functions): New variables.
4194 (register-read-with-preview, register-preview)
4195 (register-describe-oneline): New functions.
4196 (point-to-register, window-configuration-to-register)
4197 (frame-configuration-to-register, jump-to-register)
4198 (number-to-register, view-register, insert-register)
4199 (copy-to-register, append-to-register, prepend-to-register)
4200 (copy-rectangle-to-register): Use register-read-with-preview to
4201 read register. (Bug#15525)
4202
3986af6c
DS
42032013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4204
4205 * net/network-stream.el (network-stream-open-starttls): Don't add
4206 --insecure if it's already present, because that gnutls-cli
4207 rejects getting that parameter twice.
4208
5cd9cda9
DG
42092013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4210
4211 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4212 keyword, too.
4213
da9ea6d9
DG
42142013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4215
4216 * newcomment.el (comment-use-global-state): Change default value
4217 to t, mark obsolete (Bug#15251).
4218 (comment-beginning): In addition to `comment-to-syntax', check the
4219 value of `comment-use-global-state'.
4220
34d1a133
SM
42212013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4222
4223 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4224 (ruby-comment-column): Follow the global default, by default.
4225 (ruby-smie-grammar): Add assignment syntax.
4226 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4227 open-paren, a comma, or a \.
4228 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4229 and line continuations.
4230 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4231 followed by implicit semi-colons. Add rule for string concatenation
4232 and for indentation at BOB.
4233 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4234
4235 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4236 calling next-sexp, since next-token may have skipped chars which
4237 next-sexp doesn't know should be skipped!
4238
6f6ab820
LL
42392013-10-05 Leo Liu <sdl.web@gmail.com>
4240
34d1a133
SM
4241 * progmodes/octave.el (octave-send-region):
4242 Call compilation-forget-errors.
6f6ab820 4243
34ca0f4c
XF
42442013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4245
4246 * vc/vc-svn.el (vc-svn-find-admin-dir):
4247 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4248 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4249 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4250 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4251
a27c1b72
SM
42522013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4255
258ab3bc
SM
42562013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * subr.el (read-passwd): Hide chars even when called within a context
4259 where after-change-functions is disabled (bug#15501).
4260 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4261 until we removed ourself from overriding-terminal-local-map.
4262
939fb29c
LL
42632013-10-04 Leo Liu <sdl.web@gmail.com>
4264
258ab3bc
SM
4265 * progmodes/octave.el (inferior-octave-mode):
4266 Call compilation-forget-errors.
939fb29c 4267
63bd7f35
XF
42682013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4269
4270 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4271
9e6229fa
MA
42722013-10-04 Michael Albinus <michael.albinus@gmx.de>
4273
4274 * net/secrets.el (secrets-create-collection): Add optional
4275 argument ALIAS. Use proper Label keyword. Append ALIAS as
4276 dbus-call-method argument. (Bug#15516)
4277
1dab32a3
LL
42782013-10-04 Leo Liu <sdl.web@gmail.com>
4279
4280 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4281 (inferior-octave-compilation-font-lock-keywords): New variables.
4282 (compilation-error-regexp-alist)
4283 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4284 (inferior-octave-mode): Use compilation-shell-minor-mode.
4285
6cad7ba3
JS
42862013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4287
4288 * minibuffer.el (completion--replace): Be careful that `end' might be
4289 a marker.
4290
acbadd00
DU
42912013-10-03 Daiki Ueno <ueno@gnu.org>
4292
4293 Add support for package signature checking.
4294 * emacs-lisp/package.el (url-http-file-exists-p)
4295 (epg-make-context, epg-context-set-home-directory)
4296 (epg-verify-string, epg-context-result-for)
4297 (epg-signature-status, epg-signature-to-string)
4298 (epg-check-configuration, epg-configuration)
4299 (epg-import-keys-from-file): Declare.
4300 (package-check-signature): New user option.
4301 (package-unsigned-archives): New user option.
4302 (package-desc): Add `signed' field.
4303 (package-load-descriptor): Set `signed' field if .signed file exists.
4304 (package--archive-file-exists-p): New function.
4305 (package--check-signature): New function.
4306 (package-install-from-archive): Check package signature.
4307 (package--download-one-archive): Check archive signature.
4308 (package-delete): Remove .signed file.
4309 (package-import-keyring): New command.
4310 (package-refresh-contents): Import default keyring.
4311 (package-desc-status): Add "unsigned" status.
4312 (describe-package-1, package-menu--print-info)
4313 (package-menu-mark-delete, package-menu--find-upgrades)
4314 (package-menu--status-predicate): Support "unsigned" status.
4315
adf2aa61
SM
43162013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4319 the new compilation scheme using the new byte-codes.
4320
4321 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4322 (byte-pophandler): New byte codes.
4323 (byte-goto-ops): Adjust accordingly.
4324 (byte-compile--use-old-handlers): New var.
4325 (byte-compile-catch): Use new byte codes depending on
4326 byte-compile--use-old-handlers.
4327 (byte-compile-condition-case--old): Rename from
4328 byte-compile-condition-case.
4329 (byte-compile-condition-case--new): New function.
4330 (byte-compile-condition-case): New function that dispatches depending
4331 on byte-compile--use-old-handlers.
4332 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4333 when we can.
4334
4335 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4336 Optimize under `condition-case' and `catch' if
4337 byte-compile--use-old-handlers is nil.
4338 (disassemble-offset): Handle new bytecodes.
4339
328a8179
SM
43402013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * subr.el (error): Use `declare'.
4343 (decode-char, encode-char): Use advertised-calling-convention instead
4344 of the docstring to discourage use of the `restriction' arg.
4345
15a1e936
DU
43462013-10-03 Daiki Ueno <ueno@gnu.org>
4347
4348 * epg.el (epg-verify-file): Add a comment saying that it does not
4349 notify verification error as a return value nor a signal.
4350 (epg-verify-string): Ditto.
4351
376f862a
KR
43522013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4353
4354 * progmodes/compile.el (compilation-start): Try globbing the arg to
4355 `cd' (bug#15417).
4356
a2f93a5f
MA
43572013-10-02 Michael Albinus <michael.albinus@gmx.de>
4358
4359 Sync with Tramp 2.2.8.
4360
4361 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4362 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4363 * net/trampver.el: Update release number.
4364
0daa0804
JD
43652013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4366
4367 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4368 and default-process-coding-system for darwin only.
4369
abd1ae34
SM
43702013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4373
be4e325d
MH
43742013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4375
4376 * vc/vc-git.el (vc-git-grep): Disable pager.
4377
e9155c4a
DG
43782013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4379
494e898b
DG
4380 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4381 Use :url instead of :homepage, as per
4382 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4383
e9155c4a
DG
4384 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4385 non-nil, use `syntax-ppss' (Bug#15251).
4386
481a8e0f
RS
43872013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4388
be4e325d
MH
4389 * progmodes/octave.el (inferior-octave-startup-file):
4390 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4391
056453c6
DG
43922013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4393
be4e325d
MH
4394 * emacs-lisp/package.el (package-desc-from-define):
4395 Accept additional arguments as plist, convert them to an alist and store
4396 them in the `extras' slot.
056453c6
DG
4397 (package-generate-description-file): Convert extras alist back to
4398 plist and append to the `define-package' form arguments.
4399 (package--alist-to-plist): New function.
4400 (package--ac-desc): Add `extras' slot.
4401 (package--add-to-archive-contents): Check if the archive-contents
4402 vector is long enough, and if it is, pass its `extras' slot value
4403 to `package-desc-create'.
4404 (package-buffer-info): Call `lm-homepage', pass the returned value
4405 to `package-desc-from-define'.
4406 (describe-package-1): Render the homepage button (Bug#13291).
4407
be4e325d
MH
4408 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4409 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4410
832966e5
JD
44112013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4412
4413 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4414 and default-process-coding-system to utf-8-unix (Bug#15402).
4415
6cfe977d
XF
44162013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4417
4418 * subr.el (looking-back): Do not recommend using looking-back.
4419
38de11bd
AM
44202013-09-28 Alan Mackenzie <acm@muc.de>
4421
4422 Fix indentation/fontification of Java enum with "implements".
4423
4424 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4425 regexp which matches "implements", etc., in Java.
4426 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4427 specifier clauses coming after "enum".
4428 * progmodes/cc-fonts.el (c-font-lock-declarations)
4429 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4430 after "enum".
4431
1610938f
JD
44322013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4433
4434 * faces.el (region): Change ns_selection_color to
4435 ns_selection_fg_color, add ns_selection_bg_color.
4436
e090f499
LL
44372013-09-28 Leo Liu <sdl.web@gmail.com>
4438
4d2e94d1
LL
4439 * progmodes/octave.el (inferior-octave-completion-table)
4440 (inferior-octave-completion-at-point): Minor tweaks.
4441
e090f499
LL
4442 * textmodes/ispell.el (ispell-lookup-words): Rename from
4443 lookup-words. (Bug#15460)
4444 (lookup-words): Obsolete.
4445 (ispell-complete-word, ispell-command-loop): All uses changed.
4446
7e138a62
RS
44472013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4448
a12bf61e 4449 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4450 (octave-mode-menu): Add octave-send-buffer.
4451 (octave-send-buffer): New function.
4452
5af5ed08
RS
44532013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4454
a12bf61e 4455 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4456 octave-lookfor.
4457 (octave-mode-menu): Add octave-lookfor.
4458 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4459 octave-lookfor.
4460 (octave-lookfor): New function.
4461
3b7b2692
SM
44622013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/cl-macs.el:
4465 (cl--loop-destr-temps): Remove.
4466 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4467 its convention.
4468 (cl--loop-set-iterator-function): New function.
4469 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4470 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4471 Bind `it' with `let' instead of substituting it with `cl-subst'.
4472 (cl--unused-var-p): New function.
4473 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4474 Eliminate some unused variable warnings (bug#15326).
4475
529fb53f
TH
44762013-09-27 Tassilo Horn <tsdh@gnu.org>
4477
4478 * doc-view.el (doc-view-scale-reset): Rename from
4479 `doc-view-reset-zoom-level'.
4480 (doc-view-scale-adjust): New command.
4481 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4482 `doc-view-scale-adjust'.
4483
0550c95a
TH
44842013-09-26 Tassilo Horn <tsdh@gnu.org>
4485
4486 * doc-view.el (doc-view-reset-zoom-level): New command.
4487 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4488 zoom commands (bug#15466).
4489
6950f152
KH
44902013-09-26 Kenichi Handa <handa@gnu.org>
4491
4492 * international/quail.el (quail-help): Make it not a command.
4493
39587580
LL
44942013-09-26 Leo Liu <sdl.web@gmail.com>
4495
4496 * minibuffer.el (completion-all-sorted-completions): Make args
4497 optional as they are.
4498
00578659
DC
44992013-09-25 Daniel Colascione <dancol@dancol.org>
4500
4501 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4502 specs are and that they're not evaluated.
4503
0c173878
SS
45042013-09-24 Sam Steingold <sds@gnu.org>
4505
4506 * midnight.el (clean-buffer-list-kill-regexps)
4507 (clean-buffer-list-kill-buffer-names): Update for the new Man
4508 buffer naming which includes the object name.
4509
84998447
SM
45102013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4513 (eshell-parse-command, eshell-parse-pipeline): Use it since
4514 eshell-separate-commands requires a dynamic scoped var.
4515 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4516
33215353
LL
45172013-09-23 Leo Liu <sdl.web@gmail.com>
4518
4519 * autoinsert.el (auto-insert-alist): Make the value of
4520 lexical-binding match its file setting.
4521
57b16162
JB
45222013-09-23 Juanma Barranquero <lekktu@gmail.com>
4523
c8af4e67
JB
4524 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4525
57b16162
JB
4526 * autoarg.el (autoarg-kp-digit-argument):
4527 * electric.el (Electric-command-loop):
4528 * kmacro.el (kmacro-step-edit-insert):
4529 Do not set universal-argument-num-events.
4530
7186ba60
LL
45312013-09-22 Leo Liu <sdl.web@gmail.com>
4532
4533 * files.el (interpreter-mode-alist): Add octave.
4534
ece15004
AM
45352013-09-21 Alan Mackenzie <acm@muc.de>
4536
4537 C++: fontify identifier in declaration following "public:" correctly.
4538 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4539 to match "public", etc.
4540 (c-decl-prefix-re): Add ":" into the C++ value.
4541 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4542 bit. Add a check for a ":" preceded by "public", etc.
4543
75d83e22
EZ
45442013-09-21 Eli Zaretskii <eliz@gnu.org>
4545
4546 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4547 recognized by GDB 7.5 and later.
4548
d052d3bd
XF
45492013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4550
4551 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4552
31dca772
R
45532013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * subr.el (internal--call-interactively): New const.
4556 (called-interactively-p): Use it (bug#3984).
4557
98ccf24e
XF
45582013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4559
4560 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4561 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4562 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4563
c39cc7d1
SM
45642013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4567 (eshell-ls-orig-insert-directory): Remove.
4568 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4569 (eshell-ls-use-in-dired): Use advice-add/remove.
4570 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4571 Add `orig-fun' arg for use in :around advice.
4572 Make it check (redundantly) eshell-ls-use-in-dired.
4573
9a0289a2
GM
45742013-09-19 Glenn Morris <rgm@gnu.org>
4575
a2c501b8
GM
4576 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4577
c440407a
GM
4578 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4579
9a0289a2
GM
4580 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4581
85e05915
MA
45822013-09-19 Michael Albinus <michael.albinus@gmx.de>
4583
4584 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4585 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4586 (tramp-get-remote-python): New defuns.
4587 (tramp-get-remote-uid-with-perl)
4588 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4589 contributed by yary <not.com@gmail.com> (tiny change).
4590 (tramp-get-remote-uid-with-python)
4591 (tramp-get-remote-gid-with-python): New defuns. Python code
4592 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4593 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4594
ce503312
GM
45952013-09-19 Glenn Morris <rgm@gnu.org>
4596
f7544773
GM
4597 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4598
72fd2877
GM
4599 * eshell/em-unix.el (eshell-remove-entries):
4600 Rename argument to avoid name-clash with global `top-level'.
4601
336b5a56
GM
4602 * eshell/esh-proc.el (eshell-kill-process-function):
4603 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4604 (eshell-reset-after-proc): Remove unused arg `proc'.
4605
57a3a53d
GM
4606 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4607 (directory-files-and-attributes): Mark unused arg.
4608
3261d4af
GM
4609 * eshell/em-unix.el (eshell-remove-entries):
4610 Remove unused arg `path'. Update callers.
4611
8e51b5d0
GM
4612 * eshell/em-hist.el (eshell-hist-parse-arguments):
4613 Remove unused arg `silent'. Update callers.
4614
ce503312
GM
4615 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4616 Fix (f)boundp mix-up.
4617
4618 * eshell/em-smart.el (eshell-smart-scroll-window)
4619 (eshell-disable-after-change):
336b5a56 4620 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4621
ee3ce8a7
AM
46222013-09-18 Alan Mackenzie <acm@muc.de>
4623
4624 Fix fontification of type when followed by "const".
4625 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4626 "known" types from fontification.
4627
ec9177ba
GM
46282013-09-18 Glenn Morris <rgm@gnu.org>
4629
7bb3e768
GM
4630 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4631 (chart-face-list): Drop Emacsen without display-color-p.
4632
5148da15
GM
4633 * net/eww.el (libxml-parse-html-region): Declare.
4634 (eww-display-html): Explicit error if no libxml2 support.
4635
2f68e157
GM
4636 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4637
9019d095
GM
4638 * image.el (image-type-from-buffer, image-multi-frame-p):
4639 Remove --without-x warning/error.
67645389 4640
5f30349b 4641 * mouse.el (mouse-yank-primary):
45069b2e 4642 * term.el (term-mouse-paste):
5f30349b
GM
4643 Reorder to silence --without-x compilation.
4644
cd8edbbe
GM
4645 * mpc.el (doc-view-mode): Silence --without-x compilation.
4646
8a78544e
GM
4647 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4648 Silence --without-x compilation.
4649
12679bfd
GM
4650 * progmodes/gud.el (gud-find-file, gud-mode):
4651 Silence --without-x compilation.
4652 (tooltip-mode): Declare.
30810a05 4653
f0047cb9
GM
4654 * wdired.el (dired-backup-overwrite): Remove declaration.
4655 (wdired-mode-map): Add doc string.
4656
e740f9d2
GM
4657 * custom.el (x-get-resource): Declare.
4658
92d77c89
GM
4659 * eshell/em-glob.el (ange-cache):
4660 * eshell/em-unix.el (ange-cache): Declare.
4661
76e69577
GM
4662 * faces.el (x-display-list, x-open-connection, x-get-resource):
4663 Declare.
7e58af4b
GM
4664
4665 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4666 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4667 Declare.
76e69577 4668
4bd4c0af 4669 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4670
ffb82dbd
GM
4671 * net/gnutls.el (gnutls-log-level): Declare.
4672
986ed135
GM
4673 * net/shr.el (image-size, image-animate): Declare.
4674
e740f9d2
GM
4675 * simple.el (font-info): Declare.
4676
d2f3e9f8
GM
4677 * subr.el (x-popup-dialog): Declare.
4678
047a1a4c
GM
4679 * term/common-win.el (x-select-enable-primary)
4680 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4681 Declare.
4682
f4a1d572
GM
4683 * term/ns-win.el (x-handle-args): Declare.
4684
e843de77
GM
4685 * term/x-win.el (x-select-enable-clipboard): Declare.
4686
5fa89513
GM
4687 * term/w32-win.el (create-default-fontset): Declare.
4688
38702b5b
GM
4689 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4690 Declare.
4691
e740f9d2
GM
4692 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4693 (fit-frame-to-buffer): Explicit error if --without-x.
4694 (mouse-autoselect-window-select): Silence compiler.
4695
49a053fc
GM
4696 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4697
4698 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4699 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4700 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4701 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4702 Remove unused local variables.
4703
4704 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4705
ec9177ba
GM
4706 * textmodes/two-column.el: Make 2C-split work for --without-x.
4707 (scroll-bar-columns): Autoload.
4708 (top-level): Require fringe when compiling.
4709
9f25cb77
LL
47102013-09-18 Leo Liu <sdl.web@gmail.com>
4711
4712 * subr.el (add-hook): Robustify to handle closure as well.
4713
2b42da98
GM
47142013-09-17 Glenn Morris <rgm@gnu.org>
4715
4716 * simple.el (messages-buffer-mode-map): Unbind "g".
4717
e8b66a6a
SM
47182013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4719
9c0ad4f7
SM
4720 * help-mode.el (help-mode-finish): Use derived-mode-p.
4721 Remove obsolete highlighting.
4722
7a806dfb
SM
4723 * play/life.el (life-mode): Use define-derived-mode. Derive from
4724 special-mode.
4725 (life): Let-bind inhibit-read-only.
4726 (life-setup): Avoid `setq'. Use `life-mode'.
4727
96dbf5a8
SM
4728 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4729 which should not be needed any more.
4730 (package-menu-refresh, package-menu-describe-package): Use user-error.
4731
e8b66a6a
SM
4732 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4733 (eshell-post-rewrite-command-hook): Make obsolete.
4734 (eshell-parse-command): Simplify.
4735 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4736 (eshell--cmd): Declare.
4737 (eshell-parse-pipeline): Remove unused var `final-p'.
4738 Pass a dynvar to eshell-post-rewrite-command-hook.
4739 Implement the new eshell-post-rewrite-command-function.
4740 (eshell-invoke-directly): Remove unused arg `input'.
4741 * eshell/esh-io.el (eshell-io-initialize):
4742 Use eshell-post-rewrite-command-function (bug#15399).
4743 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4744 adjust to new calling convention.
4745 (eshell-create-handles): Rename args to avoid clashing with dynvar
4746 `standard-output'.
4747
90582f05
GM
47482013-09-17 Glenn Morris <rgm@gnu.org>
4749
4750 * simple.el (messages-buffer-mode): New major mode.
4751 (messages-buffer): New function.
4752 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4753 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4754 (ert-run-test): Use `messages-buffer' function.
90582f05 4755 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4756 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4757 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4758
39eb0cb5 47592013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4760
4761 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4762
1d42e5b6 4763 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4764
70568a90
SM
47652013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4766
504a0381
SM
4767 * icomplete.el (icomplete-in-buffer): New var.
4768 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4769 vars and replace them with functions.
4770 (icomplete-minibuffer-setup): Adjust accordingly.
4771 (icomplete--completion-table, icomplete--completion-predicate)
4772 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4773 New functions.
4774 (icomplete-forward-completions, icomplete-backward-completions)
4775 (icomplete-simple-completing-p, icomplete-exhibit)
4776 (icomplete-completions): Use them.
4777 (icomplete--in-region-buffer): New var.
4778 (icomplete--in-region-setup): New function.
4779 (icomplete-mode): Use it.
4780
70568a90
SM
4781 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4782 (bug#15379).
4783 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4784 return args and options.
4785 (eshell-eval-using-options): Use the new return value of
4786 eshell--do-opts to set the options's vars in their scope.
4787 (eshell--set-option): Rename from eshell-set-option.
4788 Add arg `opt-vals'.
4789 (eshell--process-option): Rename from eshell-process-option.
4790 Add arg `opt-vals'.
4791 (eshell--process-args): Use an `opt-vals' alist to store the options's
4792 values during their processing and return them additionally to the
4793 remaining args.
4794
578c21bc
DG
47952013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4796
4797 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4798 continuation character an operator, as far as indentation is
4799 concerned (Bug#15369).
4800
c089653d
MR
48012013-09-15 Martin Rudalics <rudalics@gmx.at>
4802
4803 * window.el (window--state-put-2): Don't process buffer state
4804 when buffer doesn't exist any more (Bug#15382).
4805
1e53bb4b
GM
48062013-09-15 Glenn Morris <rgm@gnu.org>
4807
30753242
GM
4808 * eshell/em-unix.el (eshell/rm):
4809 Make -f ignore missing files. (Bug#15373)
4810
1e53bb4b
GM
4811 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4812 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4813 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4814
0d8863b3
GM
48152013-09-14 Glenn Morris <rgm@gnu.org>
4816
4817 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4818
d3fc6549
GM
48192013-09-13 Glenn Morris <rgm@gnu.org>
4820
4821 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4822 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4823
fcd42c11
DA
48242013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4825
4826 * frame.el (x-focus-frame): Mark as declared in frame.c.
4827
7830899f
SM
48282013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * ls-lisp.el: Use advice-add.
4831 (original-insert-directory): Remove.
4832 (ls-lisp--insert-directory): Rename from insert-directory; add
4833 `orig-fun' argument.
4834 (insert-directory): Advise.
4835
84387cd2
EZ
48362013-09-13 Eli Zaretskii <eliz@gnu.org>
4837
4838 * term.el (term-emulate-terminal): Decode the command string
4839 before passing it to term-command-hook. (Bug#15337)
4840
35ffc6ba
GM
48412013-09-13 Glenn Morris <rgm@gnu.org>
4842
5c3f9bcc
GM
4843 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4844
2ada368a
GM
4845 * eshell/esh-ext.el (eshell-search-path): Declare.
4846
fcef2e13
GM
4847 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4848 Otherwise an error occurs if eshell-dirs module not loaded.
4849
35ffc6ba
GM
4850 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4851
35c3d36e
MA
48522013-09-13 Michael Albinus <michael.albinus@gmx.de>
4853
4854 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4855 `tramp-check-proper-host'. Check for a valid method name.
4856
4857 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4858 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4859 * net/tramp-sh.el (tramp-maybe-open-connection):
4860 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4861
4862 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4863 also for hash values.
4864
ae5e4c48
SM
48652013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4866
379add74
SM
4867 * term/ns-win.el (parameters): Don't declare as dynamic.
4868 (before-make-frame-hook): Don't add ineffective function.
4869
ae5e4c48
SM
4870 * eshell/*.el: Use lexical-binding (bug#15231).
4871
b5623270
KH
48722013-09-12 Kenichi Handa <handa@gnu.org>
4873
ae5e4c48 4874 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4875
30213927
GM
48762013-09-12 Glenn Morris <rgm@gnu.org>
4877
be94d713 4878 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4879 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4880
44915370
GM
4881 * subr.el (do-after-load-evaluation): Also give compiler warnings
4882 when obsolete files are used (except by obsolete files).
4883
a6ae021f
GM
4884 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4885 in the status output, assume `filename' is the first. (Bug#15322)
4886
40e64f0c
GM
4887 * vc/vc.el (vc-deduce-fileset): Doc fix.
4888
16d9f896
GM
4889 * calc/calc-help.el (Info-goto-node):
4890 * progmodes/cperl-mode.el (Info-find-node):
4891 * vc/ediff.el (Info-goto-node): Update declarations.
4892
dea01c6e
GM
4893 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4894
759880bf 4895 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4896 (vc-bzr-pull): Require vc-dispatcher.
4897 * vc/vc-git.el (vc-compilation-mode): Declare.
4898 (vc-git-pull): Require vc-dispatcher.
4899
08d66420
GM
4900 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4901
30b626e9
GM
4902 * progmodes/octave.el (help-button-action): Declare.
4903
8c05cb10
GM
4904 * shell.el (shell-directory-tracker): Output error as a message
4905 rather than just returning it as a string.
4906 (shell-process-pushd): Remove useless use of message.
4907
30213927
GM
4908 * dframe.el (dframe-timer-fn):
4909 * files.el (dir-locals-read-from-file):
4910 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4911 (mpc-format):
4912 * reveal.el (reveal-post-command):
4913 * saveplace.el (load-save-place-alist-from-file):
4914 * shell.el (shell-resync-dirs):
4915 * w32-common-fns.el (x-get-selection-value):
4916 * emacs-lisp/copyright.el (copyright-find-copyright):
4917 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4918 * emulation/tpu-edt.el (tpu-copy-keyfile):
4919 * play/bubbles.el (bubbles--mark-neighbourhood):
4920 * progmodes/executable.el
4921 (executable-make-buffer-file-executable-if-script-p):
4922 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4923
d3b049e6
SM
49242013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4925
170266d0
SM
4926 Cleanup Eshell to rely less on dynamic scoping.
4927 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4928 last-value, and ext-command here. Bind `args' closer to `body'.
4929 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4930 (eshell--args): Declare new dynamic var.
4931 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4932 last-value, and ext-command. Pass `args' to `body'.
4933 (eshell-process-args): Bind eshell--args.
4934 (eshell-set-option): Use eshell--args.
4935 * eshell/eshell.el (eshell): Use derived-mode-p.
4936 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4937 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4938 (eshell-glob-function): Declare.
4939 * eshell/esh-util.el: Require cl-lib.
4940 (eshell-read-hosts-file): Avoid add-to-list.
4941 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4942 `err'.
4943 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4944 Declare.
4945 (eshell/diff): Remove unused var `err'.
4946 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4947 `killflag'.
4948 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4949 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4950 first use.
4951 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4952 Move declaration before first use.
4953 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4954 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4955 rely on cl-return.
4956
56834f3b
GM
49572013-09-12 Glenn Morris <rgm@gnu.org>
4958
4959 * term/ns-win.el (global-map): Remove binding for ispell-next,
4960 deleted 1999-05-29. (Bug#15357)
4961
5c91a2b8
GM
49622013-09-11 Glenn Morris <rgm@gnu.org>
4963
da712f22
GM
4964 * echistory.el (electric-command-history): Remove call to deleted func.
4965
512e4cdc
GM
4966 * play/landmark.el (landmark-mode): Fix typos.
4967
d3506ca5
GM
4968 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4969 Check cvs-sort-ignore-file is bound.
4970
5c91a2b8
GM
4971 * savehist.el: No need for cl when compiling on Emacs.
4972
feeff482
SM
49732013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4974
656bd483
SM
4975 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4976 (bug#15338).
d3b049e6
SM
4977 (eshell-self-insert-command, eshell-send-invisible):
4978 Remove unused argument.
656bd483
SM
4979 (eshell-handle-control-codes): Remove unused var `orig'.
4980 Avoid delete-backward-char.
4981
feeff482
SM
4982 * files.el (set-auto-mode): Simplify a bit further.
4983
2a08047a
GM
49842013-09-11 Glenn Morris <rgm@gnu.org>
4985
4986 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4987 (set-auto-mode): Don't regexp-quote elements.
4988 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4989 * progmodes/cc-mode.el (interpreter-mode-alist):
4990 * progmodes/ruby-mode.el (interpreter-mode-alist):
4991 Revert previous change.
4992
34675540
SM
49932013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4994
1b3b87df
SM
4995 * play/snake.el (snake-mode):
4996 * play/mpuz.el (mpuz-mode):
4997 * play/landmark.el (lm-mode):
4998 * play/blackbox.el (blackbox-mode):
4999 * play/5x5.el (5x5-mode):
5000 * obsolete/options.el (Edit-options-mode):
5001 * net/quickurl.el (quickurl-list-mode):
5002 * net/newst-treeview.el (newsticker-treeview-mode):
5003 * mail/rmailsum.el (rmail-summary-mode):
5004 * mail/mspools.el (mspools-mode):
5005 * locate.el (locate-mode):
5006 * ibuffer.el (ibuffer-mode):
5007 * emulation/ws-mode.el (wordstar-mode):
5008 * emacs-lisp/debug.el (debugger-mode):
5009 * array.el (array-mode):
5010 * net/eudc.el (eudc-mode): Use define-derived-mode.
5011 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5012 Move initialization into declaration.
5013 (mairix-searches-mode): Use define-derived-mode.
5014 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5015 (eudc-edit-hotlist): Use dolist.
5016 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5017 (Man-mode): Use define-derived-mode.
5018 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5019 (Info-edit-mode): Use define-derived-mode.
5020 (Info-cease-edit): Use Info-mode.
5021 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5022 into declaration.
5023 (eshell-mode): Use define-derived-mode.
5024 * chistory.el (command-history-mode-map): Rename from
5025 command-history-map.
5026 (command-history-mode): Use define-derived-mode.
da712f22 5027 (Command-history-setup): Remove function.
1b3b87df
SM
5028 * calc/calc.el (calc-trail-mode-map): New var.
5029 (calc-trail-mode): Use define-derived-mode.
5030 (calc-trail-buffer): Set calc-main-buffer manually.
5031 * bookmark.el (bookmark-insert-annotation): New function.
5032 (bookmark-edit-annotation): Use it.
5033 (bookmark-edit-annotation-mode): Make it a proper major mode.
5034 (bookmark-send-edited-annotation): Use derived-mode-p.
5035 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5036 closer to its ideal place. Use \' to match EOS.
5037
34675540
SM
5038 * profiler.el (profiler-calltree-find): Use function-equal.
5039
6a5c15d9
GM
50402013-09-10 Glenn Morris <rgm@gnu.org>
5041
1af4c220
GM
5042 * files.el (interpreter-mode-alist): Convert to regexps.
5043 (set-auto-mode): Adapt for this. (Bug#15306)
5044 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5045 Comment out unused variable.
5046 * progmodes/cc-mode.el (interpreter-mode-alist):
5047 * progmodes/python.el (interpreter-mode-alist):
5048 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5049 * progmodes/sh-script.el (sh-set-shell):
5050 No longer use interpreter-mode-alist to get list of shells.
5051
6a5c15d9
GM
5052 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5053
8c27f5ff
SM
50542013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5055
02ef6c1a 5056 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5057 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5058 Bind switch-frame explicitly. Replace universal-argument-minus with
5059 a conditional binding.
5060 (universal-argument-num-events, saved-overriding-map): Remove.
5061 (restore-overriding-map): Remove.
5062 (universal-argument--mode): Rename from save&set-overriding-map,
5063 and rewrite.
5064 (universal-argument, universal-argument-more, negative-argument)
5065 (digit-argument): Adjust accordingly.
5066 (universal-argument-minus): Remove.
5067 (universal-argument-other-key): Remove.
5068
8c27f5ff
SM
5069 * subr.el (with-demoted-errors): Add `format' argument.
5070
6480194c
MA
50712013-09-10 Michael Albinus <michael.albinus@gmx.de>
5072
5073 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5074 `tramp-cleanup-connection'.
5075
5076 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5077 parameters KEEP-DEBUG and KEEP-PASSWORD.
5078
5079 * net/tramp.el (tramp-file-name-handler):
5080 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5081 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5082 (tramp-maybe-open-connection):
8c27f5ff
SM
5083 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5084 Use `tramp-cleanup-connection'.
6480194c 5085
8c27f5ff
SM
5086 * net/tramp-sh.el (tramp-maybe-open-connection):
5087 Catch 'uname-changed inside the progress reporter.
6480194c 5088
e5e916d8
GM
50892013-09-10 Glenn Morris <rgm@gnu.org>
5090
9a2c9b47
GM
5091 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5092
e5e916d8
GM
5093 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5094 returns "alternate access method" in mode (eg "-rw-r--r--.").
5095
144e38fe
GM
50962013-09-08 Glenn Morris <rgm@gnu.org>
5097
5098 * saveplace.el (load-save-place-alist-from-file):
5099 Demote errors. (Bug#15305)
5100
af9ff9e8
MA
51012013-09-08 Michael Albinus <michael.albinus@gmx.de>
5102
5103 Improve compatibility with older Emacsen, and XEmacs.
5104
5105 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5106 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5107 (with-tramp-progress-reporter): Do not let-bind `result'.
5108 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5109 (tramp-handle-make-auto-save-file-name): New function, moved from
5110 tramp-sh.el.
5111
5112 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5113 for `make-auto-save-file-name'.
8c27f5ff
SM
5114 (tramp-adb--gnu-switches-to-ash):
5115 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5116
5117 * net/tramp-cache.el (tramp-cache-print): Call
5118 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5119
5120 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5121 bound. It isn't for XEmacs.
5122
8c27f5ff
SM
5123 * net/tramp-compat.el (tramp-compat-copy-file):
5124 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5125 (tramp-compat-replace-regexp-in-string): New defun.
5126
5127 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5128 for `make-auto-save-file-name'.
5129 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5130 `copy-file'.
5131 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5132 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5133 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5134
8c27f5ff
SM
5135 * net/tramp-gw.el (tramp-gw-open-network-stream):
5136 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5137
8c27f5ff
SM
5138 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5139 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5140 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5141 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5142 (tramp-sh-file-inotifywait-process-filter):
5143 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5144 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5145
5146 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5147 for `make-auto-save-file-name'.
8c27f5ff
SM
5148 (tramp-smb-handle-copy-directory):
5149 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5150 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5151 (tramp-smb-handle-copy-file): Improve error message.
5152 (tramp-smb-handle-rename-file): Rename directly only in case
5153 `newname' does not exist yet. This is a restriction of smbclient.
5154 (tramp-smb-maybe-open-connection): Rerun the function only when
5155 `auth-sources' is non-nil.
5156
0ca754d0
KH
51572013-09-08 Kenichi Handa <handa@gnu.org>
5158
e0eb0550 5159 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5160 more characters.
5161
e8dd0787
AM
51622013-09-07 Alan Mackenzie <acm@muc.de>
5163
5164 Correctly fontify Java class constructors.
5165 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5166 in Java Mode.
5167 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5169 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5170 "typeless" declaration there.
5171
f2f248e7
RW
51722013-09-07 Roland Winkler <winkler@gnu.org>
5173
5174 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5175 field subtitle for entry type book.
5176
67982e2b
SM
51772013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * minibuffer.el: Make minibuffer-complete call completion-in-region
5180 rather than other way around.
5181 (completion--some, completion-pcm--find-all-completions):
5182 Don't delay signals when debugging.
5183 (minibuffer-completion-contents): Beware fields within the
5184 minibuffer contents.
5185 (completion-all-sorted-completions): Use defvar-local.
5186 (completion--do-completion, completion--cache-all-sorted-completions)
5187 (completion-all-sorted-completions, minibuffer-force-complete):
5188 Add args `beg' and `end'.
5189 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5190 (minibuffer-complete): Use completion-in-region.
5191 (completion-complete-and-exit): New fun, extracted from
5192 minibuffer-complete-and-exit.
5193 (minibuffer-complete-and-exit): Use it.
5194 (completion--complete-and-exit): Rename from
5195 minibuffer--complete-and-exit.
5196 (completion-in-region--single-word): New function, extracted from
5197 minibuffer-complete-word.
5198 (minibuffer-complete-word): Use it.
5199 (display-completion-list): Make `common-substring' argument obsolete.
5200 (completion--in-region): Call completion--in-region-1 instead of
5201 minibuffer-complete.
5202 (completion-help-at-point): Pass boundaries to
5203 minibuffer-completion-help as args rather than via an overlay.
5204 (completion-pcm--string->pattern): Use `any-delim'.
5205 (completion-pcm--optimize-pattern): New function.
5206 (completion-pcm--pattern->regex): Handle `any-delim'.
5207 * icomplete.el (icomplete-forward-completions)
5208 (icomplete-backward-completions, icomplete-completions):
5209 Adjust calls to completion-all-sorted-completions and
5210 completion--cache-all-sorted-completions.
5211 (icomplete-with-completion-tables): Default to t.
5212 * emacs-lisp/crm.el (crm--current-element): Rename from
5213 crm--select-current-element. Don't put an overlay but return the
5214 boundaries instead.
5215 (crm--completion-command): Take two new args to bind to the boundaries.
5216 (crm-completion-help): Adjust accordingly.
5217 (crm-complete): Use completion-in-region.
5218 (crm-complete-word): Use completion-in-region--single-word.
5219 (crm-complete-and-exit): Use completion-complete-and-exit.
5220
e17d94a5
SM
52212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5224 than dynamically.
5225
96727100
JL
52262013-09-06 Juri Linkov <juri@jurta.org>
5227
5228 * info.el (Info-display-images-node): When image file doesn't exist
5229 display text version of the image if it's provided in the Info file.
5230 Otherwise, display the location of missing image from SRC attribute.
5231 Add help-echo text property from ALT attribute. (Bug#15279)
5232
86cf7329
SM
52332013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5236 (edit-abbrevs-mode): Use define-derived-mode.
5237
5238 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5239 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5240 that it's defined.
5241 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5242 Use define-derived-mode.
5243
5244 * epg.el (epg-start-encrypt): Minor CSE simplification.
5245
816244a2
WX
52462013-09-06 William Xu <william.xwl@gmail.com>
5247
5248 * arc-mode.el: Add support for 7za (bug#15264).
5249 (archive-7z-program): New var.
5250 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5251 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5252 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5253
1486fa31
MA
52542013-09-06 Michael Albinus <michael.albinus@gmx.de>
5255
5256 Remove URL syntax.
5257
5258 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5259 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5260 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5261 (tramp-postfix-host-format, tramp-file-name-regexp)
5262 (tramp-completion-file-name-regexp)
5263 (tramp-completion-dissect-file-name)
5264 (tramp-handle-substitute-in-file-name): Remove 'url case.
5265 (tramp-file-name-regexp-url)
5266 (tramp-completion-file-name-regexp-url): Remove constants.
5267
39785324
GM
52682013-09-06 Glenn Morris <rgm@gnu.org>
5269
5270 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5271
1f896cb7
DG
52722013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5273
5274 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5275 keywords" below "here-doc beginnings" (Bug#15270).
5276
c0458e0b
SM
52772013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * subr.el (pop): Use `car-safe'.
5280 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5281 to detect unused `pop' return value.
5282
5283 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5284 var `block-regexp'.
5285 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5286 (python-fill-string): Remove unused var `marker'.
5287 (python-skeleton-add-menu-items): Remove unused var `items'.
5288
5289 * international/mule-cmds.el: Require CL.
5290 (find-coding-systems-for-charsets): Avoid add-to-list.
5291 (sanitize-coding-system-list): New function, extracted from
5292 select-safe-coding-system-interactively.
5293 (select-safe-coding-system-interactively): Use it.
5294 (read-input-method-name): Accept symbols for `default'.
5295
5296 * emacs-lisp/advice.el (defadvice): Add indent rule.
5297
6c42fc3e
DH
52982013-09-05 Daniel Hackney <dan@haxney.org>
5299
5300 * dired-x.el:
5301 * net/ange-ftp.el:
5302 * net/browse-url.el:
5303 * net/dbus.el:
5304 * net/eudc.el:
5305 * net/eudcb-ldap.el:
5306 * net/eww.el:
5307 * net/imap.el:
5308 * printing.el:
5309 * vc/ediff-diff.el:
5310 * vc/ediff-init.el:
5311 * vc/ediff-merg.el:
5312 * vc/ediff-mult.el:
5313 * vc/ediff-util.el:
5314 * vc/ediff-wind.el:
5315 * vc/ediff.el:
5316 * vc/emerge.el:
5317 * vc/pcvs.el:
5318 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5319 byte compiler. Remove some unused let-bound variables.
5320
4c528aab
SM
53212013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5324 a "ref-cell", since it gets better optimized (bug#14883).
5325
bd15c390
GM
53262013-09-05 Glenn Morris <rgm@gnu.org>
5327
5328 * progmodes/cc-awk.el (c-forward-sws): Declare.
5329
1c3ac2e5
GM
53302013-09-04 Glenn Morris <rgm@gnu.org>
5331
5332 * generic-x.el [rul-generic-mode]: Require cc-mode.
5333 (c++-mode-syntax-table): Declare.
5334 (rul-generic-mode-syntax-table): Init in the defvar.
5335
52b1cc79
SM
53362013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5337
c828af56
SM
5338 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5339 (vc-do-command, vc-set-async-update):
5340 * vc/vc-mtn.el (vc-mtn-dir-status):
5341 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5342 (vc-hg-pull, vc-hg-merge-branch):
5343 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5344 (vc-git-merge-branch):
5345 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5346 (vc-cvs-dir-status-files):
5347 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5348 (vc-bzr-dir-status-files):
5349 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5350 * vc/vc-annotate.el: Use lexical-binding.
5351 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5352 (vc-sentinel-movepoint): Declare.
5353 (vc-annotate): Don't use `goto-line'.
5354 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5355 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5356 (vc-sentinel-movepoint): Declare.
5357 * vc/vc-svn.el: Use lexical-binding.
5358 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5359 * vc/vc-sccs.el:
5360 * vc/vc-rcs.el: Use lexical-binding.
5361
abae272c
SM
5362 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5363 `deleted'. Don't drop errors silently.
5364
52b1cc79
SM
5365 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5366
63191d9f
XF
53672013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5368
5369 * vc/vc.el (vc-ignore): Rewrite.
5370 (vc-default-ignore): New function.
5371 (vc-default-ignore-completion-table): Use find-ignore-file.
5372
5373 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5374 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5375 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5376 Remove. Most code moved to vc.el.
5377
9d3f707c
SM
53782013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5379
abae272c 5380 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5381 * net/tramp-smb.el (tramp-smb-get-file-entries):
5382 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5383 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5384
fde38d49
SM
5385 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5386 Update call to it.
5387 (eww-change-select): Remove unused var `properties'.
5388 (eww-make-unique-file-name): Remove unused var `base'.
5389
5390 * finder.el (finder-compile-keywords): Don't mess with windows.
5391
84032db7
SM
5392 * calculator.el (calculator-funcall): Fix typo in last change.
5393
724f5e41
SM
5394 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5395
14b511d4
SM
5396 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5397 <pkg>-autoloads.el file stop us.
5398
9d3f707c 5399 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5400 warnings, and factor out common code.
9d3f707c 5401
88527bc0
DG
54022013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5403
5404 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5405 two-character operators and whether the character preceding them
5406 changes their meaning (Bug#15208).
5407
96edb677
FEG
54082013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5409
5410 Format code sent to Python shell for robustness.
9d3f707c
SM
5411 * progmodes/python.el (python-shell-buffer-substring):
5412 New function.
96edb677
FEG
5413 (python-shell-send-region, python-shell-send-buffer): Use it.
5414
95beaef3
MA
54152013-09-02 Michael Albinus <michael.albinus@gmx.de>
5416
5417 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5418 * net/tramp.el (tramp-user-error): ... here.
5419 (tramp-find-method, tramp-check-proper-host)
5420 (tramp-dissect-file-name, tramp-debug-message)
5421 (tramp-handle-shell-command):
5422 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5423 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5424
5425 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5426
f167c27b
MR
54272013-09-02 Martin Rudalics <rudalics@gmx.at>
5428
5429 * avoid.el (mouse-avoidance-point-position)
5430 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5431 returns nil.
5432
cd16c5f1
FEG
54332013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5434
5435 * progmodes/python.el (python-shell-completion-get-completions):
5436 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5437 (python-nav-if-name-main): New command.
cd16c5f1 5438
e73c3a0d
GM
54392013-09-01 Glenn Morris <rgm@gnu.org>
5440
f8ccce03
GM
5441 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5442 Avoid leading space in $wins. Otherwise the sed command used by
5443 eg compile-main ends up containing "/*.el". (Bug#15170)
5444
e73c3a0d
GM
5445 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5446
415f808e
GM
54472013-08-30 Glenn Morris <rgm@gnu.org>
5448
5449 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5450 Fix is-this-a-directory logic. (Bug#15220)
5451
f069bba8
SM
54522013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5453
112798c1
SM
5454 * textmodes/css-mode.el: Use SMIE.
5455 (css-smie-grammar): New var.
5456 (css-smie--forward-token, css-smie--backward-token)
5457 (css-smie-rules): New functions.
5458 (css-mode): Use them.
5459 (css-navigation-syntax-table): Remove var.
5460 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5461 (css-indent-calculate, css-indent-line): Remove functions.
5462
5463 Misc changes to reduce use of `(lambda...); and other cleanups.
5464 * cus-edit.el: Use lexical-binding.
5465 (customize-push-and-save, customize-apropos)
5466 (custom-buffer-create-internal): Use closures.
5467 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5468 * progmodes/ada-xref.el: Use setq.
5469 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5470 * dframe.el: Use lexical-binding.
5471 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5472 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5473 * descr-text.el: Use lexical-binding.
5474 (describe-text-widget, describe-text-sexp, describe-property-list):
5475 Use closures.
5476 * comint.el (comint-history-isearch-push-state): Use a closure.
5477 * calculator.el: Use lexical-binding.
5478 (calculator-number-to-string): Make it work with lexical-binding.
5479 (calculator-funcall): Same and use cl-letf.
5480
2da4c3ab
SM
5481 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5482 (lisp--company-doc-string, lisp--company-location): New functions.
5483 (lisp-completion-at-point): Use them to improve Company support.
5484
f069bba8
SM
5485 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5486 params of lambda expressions.
5487 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5488 (ruby-smie--opening-pipe-p): New function.
5489 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5490 symbols and matched |...| for formal params.
5491 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5492 from being treated as hanging. Handle "rescue".
5493
6758b6a8
GM
54942013-08-29 Glenn Morris <rgm@gnu.org>
5495
5496 * progmodes/cc-engine.el (c-pull-open-brace):
5497 Move definition before use.
5498
e8dfd197
SM
54992013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5502 are immutable. Don't use `unsafe' any more.
5503 (cl--defsubst-expand): Don't substitute at the same time as keeping
5504 a residual unused let-binding. Don't use `unsafe' any more.
5505
cc585c96
GM
55062013-08-29 Glenn Morris <rgm@gnu.org>
5507
ba579ea6
GM
5508 * calendar/cal-china.el (calendar-chinese-year-cache):
5509 Recenter on 2015.
5510
8201a87e
GM
5511 * nxml/nxml-util.el (nxml-debug-clear-inside):
5512 Use cl-loop rather than loop.
5513
6ee877c7
GM
5514 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5515
cc585c96
GM
5516 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5517
27be8d39
GM
55182013-08-28 Glenn Morris <rgm@gnu.org>
5519
397440a1
GM
5520 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5521
2bb762d4
GM
5522 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5523
27be8d39
GM
5524 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5525
2d69b99e
SM
55262013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5527
f663baa7
SM
5528 * simple.el (repeat-complex-command--called-interactively-skip):
5529 New function.
5530 (repeat-complex-command): Use it (bug#14136).
5531
dd4f8b74
SM
5532 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5533 (c-define-abbrev-table): Add `doc' argument.
5534 (c-mode-abbrev-table, c++-mode-abbrev-table)
5535 (objc-mode-abbrev-table, java-mode-abbrev-table)
5536 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5537 (awk-mode-abbrev-table): Use it.
5538 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5539 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5540 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5541 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5542 Move initialization into the declaration; and remove any
5543 autoload cookie.
5544
b58969f7
SM
5545 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5546 and dynamic let binding.
5547
4021d6a6
SM
5548 * vc/smerge-mode.el: Remove redundant :group args.
5549
2d69b99e
SM
5550 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5551 to load-path.
5552
274919fd
JL
55532013-08-28 Juri Linkov <juri@jurta.org>
5554
5555 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5556 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5557 (isearch-other-meta-char): Handle an undefined shifted printing
5558 character by downshifting it. (Bug#15200)
5559
121f8c95
JL
55602013-08-28 Juri Linkov <juri@jurta.org>
5561
5562 * isearch.el (isearch-search): Change regexp error message for
5563 non-regexp searches. (Bug#15166)
5564
50b13cde
PE
55652013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5566
5567 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5568 for portability to hosts where /bin/sh has problems.
5569
95888bca
SM
55702013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5573
bbe558f1
JL
55742013-08-27 Juri Linkov <juri@jurta.org>
5575
5576 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5577 in the keyboard macro. (Bug#15126)
5578
26f98a7d
JL
55792013-08-27 Juri Linkov <juri@jurta.org>
5580
5581 * isearch.el (isearch-quote-char): Comment out converting unibyte
5582 to multibyte, thus syncing with its `quoted-insert' counterpart.
5583 (Bug#15166)
5584
7c97d35e
MR
55852013-08-27 Martin Rudalics <rudalics@gmx.at>
5586
5587 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5588 argument in call of get-largest-window (Bug#15185).
5589 Reported by Stephen Leake.
7c97d35e 5590
a0b5606e 55912013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5592
5593 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5594
9e89d835
SM
55952013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5598 from a matcher-function unless there's no more matches (bug#15161).
5599
78fc2530
MA
56002013-08-26 Michael Albinus <michael.albinus@gmx.de>
5601
5602 * minibuffer.el: Revert change from 2013-08-20.
5603
5604 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5605 with text property `tramp-default', if appropriate.
5606 (tramp-check-proper-host): New defun.
5607 (tramp-dissect-file-name): Do not check hostname. Revert change
5608 of 2013-03-18.
5609 (tramp-backtrace): Make VEC-OR-PROC optional.
5610
5611 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5612 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5613 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5614 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5615 Apply `tramp-check-proper-host'.
78fc2530 5616
edca97cd
TH
56172013-08-26 Tassilo Horn <tsdh@gnu.org>
5618
5619 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5620 lambda expression in order to have `describe-variable' display it.
5621
df54bcbd
MA
56222013-08-26 Michael Albinus <michael.albinus@gmx.de>
5623
5624 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5625 BUF can be optional. (Bug#15186)
5626
eed99101
XF
56272013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5628
5629 * progmodes/flymake.el (flymake-get-real-file-name-function):
5630 Fix broken customization. (Bug#15184)
5631
b5eb9035
AM
56322013-08-25 Alan Mackenzie <acm@muc.de>
5633
8a51e842
AM
5634 Improve indentation of bracelists defined by macros (without "=").
5635
5636 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5637 expansion begins with "{", regard it as bracelist when it doesn't
5638 contain a ";".
5639
869455d4
AM
5640 Parse C++ inher-intro when there's a template split over 2 lines.
5641
5642 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5643 rigorously the search for "class" etc. followed by ":".
5644
5645 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5646 random languages a regexp which never matches rather than nil.
5647
b5eb9035
AM
5648 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5649
5650 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5651 (c-awk-regexp-one-line-possibly-open-char-list-re)
5652 (c-awk-one-line-possibly-open-regexp-re)
5653 (c-awk-one-line-non-syn-ws*-re): Remove.
5654 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5655 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5656 (c-awk-space*-unclosed-regexp-/-re): New constants.
5657 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5658 aren't regexp delimiters.
5659
5660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5661 handling for a rare situation in AWK Mode involving unterminated
5662 strings/regexps.
5663
61611d54
GM
56642013-08-23 Glenn Morris <rgm@gnu.org>
5665
2d85dc34
GM
5666 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5667
cb8d2612
GM
5668 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5669
bb35f42f
GM
5670 * files.el (create-file-buffer): If the result would begin with
5671 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5672
b9808e77
SM
56732013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5674
e3a66363
SM
5675 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5676 text-properties (bug#15155).
5677
b9808e77
SM
5678 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5679 exist any more.
5680 (calc-keypad-redraw): Remove unused var `pad'.
5681 (calc-keypad-press): Remove unused var `menu'.
5682
7fd5f65e
MR
56832013-08-23 Martin Rudalics <rudalics@gmx.at>
5684
b9808e77
SM
5685 * window.el (display-buffer-pop-up-frame):
5686 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5687 use it as the new frame's buffer (Bug#15133).
5688
8352b530
SM
56892013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5690
5691 * calendar/timeclock.el: Minor cleanups.
5692 (timeclock-ask-before-exiting, timeclock-use-display-time):
5693 Use `symbol'.
5694 (timeclock-modeline-display): Define as alias before the
5695 actual definition.
5696 (timeclock-mode-line-display): Use define-minor-mode.
5697 (timeclock-day-list-template): Make it a function, add an argument.
5698 (timeclock-day-list-required, timeclock-day-list-length)
5699 (timeclock-day-list-debt, timeclock-day-list-span)
5700 (timeclock-day-list-break): Adjust calls accordingly.
5701
9f7b1925
SM
57022013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5705 Use read--expression so that completion works again.
5706
6e50e983
SS
57072013-08-21 Sam Steingold <sds@gnu.org>
5708
5709 Add rudimentary inferior shell interaction
5710 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5711 (sh-set-shell): Reset it.
9f7b1925
SM
5712 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5713 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5714
dbb0d350
SM
57152013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * align.el: Use lexical-binding.
5718 (align-region): Simplify accordingly.
5719
c88586a9
MA
57202013-08-20 Michael Albinus <michael.albinus@gmx.de>
5721
5722 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5723
5724 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5725 `non-essential' up.
5726
f95527c8
MA
57272013-08-17 Michael Albinus <michael.albinus@gmx.de>
5728
5729 * net/tramp.el:
5730 * net/tramp-adb.el:
5731 * net/tramp-cmds.el:
5732 * net/tramp-ftp.el:
5733 * net/tramp-gvfs.el:
5734 * net/tramp-gw.el:
5735 * net/tramp-sh.el: Don't wrap external variable declarations by
5736 `eval-when-compile'.
5737
4b5fe4ee
LMI
57382013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5739
5740 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5741 now that Emacs supports ImageMagick animations.
5742
13c366c9
MA
57432013-08-16 Michael Albinus <michael.albinus@gmx.de>
5744
5745 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5746 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5747
3dfc5cd6
MR
57482013-08-16 Martin Rudalics <rudalics@gmx.at>
5749
5750 * window.el (mouse-autoselect-window-select): Do autoselect when
5751 mouse pointer is on margin.
5752
4bbb4381
WP
57532013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5754
5755 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5756
3a2ddc2d
GM
57572013-08-16 Glenn Morris <rgm@gnu.org>
5758
e8bedf5a
GM
5759 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5760 Handle "Remote Directory" response of some clients. (Bug#15058)
5761
58c4682f
GM
5762 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5763 Tweak warning. (Bug#14926)
5764
57953f49
GM
5765 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5766 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5767
3a2ddc2d
GM
5768 * image-mode.el (image-mode-map): Add menu items to reverse,
5769 increase, decrease, reset animation speed.
5770 (image--set-speed, image-increase-speed, image-decrease-speed)
5771 (image-reverse-speed, image-reset-speed): New functions.
5772 (image-mode-map): Add bindings for speed commands.
5773
5774 * image.el (image-animate-get-speed, image-animate-set-speed):
5775 New functions.
5776 (image-animate-timeout): Respect image :speed property.
5777
10fa0ed3
SM
57782013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5781 previous line (bug#15101).
5782 (debugger-eval-expression, debugger-record-expression):
5783 Use read--expression (bug#15102).
5784
5d89d9d2
MA
57852013-08-15 Michael Albinus <michael.albinus@gmx.de>
5786
5787 Remove byte compiler warnings, visible when compiling with
5788 `byte-compile-force-lexical-warnings' set to t.
5789
5790 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5791 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5792 (tramp-handle-unhandled-file-name-directory)
5793 (tramp-handle-file-notify-add-watch, tramp-action-login)
5794 (tramp-action-succeed, tramp-action-permission-denied)
5795 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5796 arguments with "_".
5797
5798 * net/tramp-adb.el (tramp-adb-parse-device-names)
5799 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5800 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5801 (tramp-adb-handle-file-truename): Remove unused arguments.
5802
5803 * net/tramp-cache.el (tramp-flush-directory-property)
5804 (tramp-flush-connection-property, tramp-list-connections)
5805 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5806
10fa0ed3
SM
5807 * net/tramp-compat.el (tramp-compat-make-temp-file):
5808 Rename FILENAME to F.
5d89d9d2
MA
5809
5810 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5811 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5812 (tramp-zeroconf-parse-workstation-device-names)
5813 (tramp-zeroconf-parse-webdav-device-names)
5814 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5815
5816 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5817 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5818
5819 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5820 arguments.
5821 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5822 (tramp-sh-handle-insert-file-contents-literally)
5823 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5824 with "_".
5825 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5826 Remove unused variables.
5827
5828 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5829 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5830 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5831
5832 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5833 Make them a defconst.
5834 (tramp-uuencode-region): Remove unused variable.
5835
62f33bae
JB
58362013-08-14 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * frameset.el (frameset--prop-setter): New function.
5839 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5840 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5841 parameter was already set in FILTERED. Doc fix.
5842 (frameset--record-minibuffer-relationships): Allow saving a
5843 minibufferless frame without its corresponding minibuffer frame.
5844 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5845 frame, if the frame id matches.
5846 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5847 frames before orphaned ones.
5848 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5849
c660a885
MR
58502013-08-14 Martin Rudalics <rudalics@gmx.at>
5851
5852 * window.el (window-make-atom): Don't overwrite parameter
5853 already present.
5854 (display-buffer-in-atom-window): Handle special case where we
5855 split an already atomic window.
5856 (window--major-non-side-window, display-buffer-in-side-window)
5857 (window--side-check): Ignore minibuffer window when walking
5858 window tree.
5859 (window-deletable-p): Return 'frame only if no other frame uses
5860 our minibuffer window.
5861 (record-window-buffer): Run buffer-list-update-hook.
5862 (split-window): Make sure window--check-frame won't destroy an
5863 existing atomic window in case the new window gets nested
5864 inside.
5865 (display-buffer-at-bottom): Ignore minibuffer window when
5866 walking window tree. Don't split a side window.
5867 (pop-to-buffer): Don't set-buffer here, the select-window call
5868 should do that.
5869 (mouse-autoselect-window-select): Autoselect only if we are in the
5870 text portion of the window.
5871
8259030d
LMI
58722013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5873
21c58ae2
LMI
5874 * net/shr.el (shr-parse-image-data): New function to grab both the
5875 data itself and the Content-Type.
5876 (shr-put-image): Use it.
5877
5878 * net/eww.el (eww-display-image): Ditto.
5879
8259030d
LMI
5880 * image.el (image-content-type-suffixes): New variable.
5881
ad756449
FEG
58822013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5883
5884 * progmodes/python.el (python-imenu--build-tree)
5885 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5886
f73f4ce6
XF
58872013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5888
5889 * simple.el (backward-word): Mention the optional argument.
5890
1f585e65
SM
58912013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * frameset.el (frameset--make): Rename constructor from make-frameset.
5894 (frameset-p, frameset-valid-p): Don't autoload.
5895 (frameset-valid-p): Use normal accessors.
5896
af1c6c84
GM
58972013-08-13 Glenn Morris <rgm@gnu.org>
5898
55e47f95
GM
5899 * progmodes/compile.el (compile-command): Tweak example in doc.
5900 * obsolete/scribe.el (scribe-mode):
5901 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5902
f0024d8c
GM
5903 * mail/feedmail.el (feedmail-confirm-outgoing)
5904 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5905
5906 * cus-start.el (truncate-partial-width-windows): Fix type.
5907
5908 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5909
af1c6c84
GM
5910 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5911
5514cc4c
SM
59122013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * emacs-lisp/timer.el (timer--time-setter): New function.
5915 (timer--time): Use it as gv-setter.
5916
5917 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5918 setter is not a symbol.
5919
7997a2f1
GJ
59202013-08-12 Grégoire Jadi <daimrod@gmail.com>
5921
5922 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5923 if sending fails. This makes debugging easier.
5924
01f1a9ab
JB
59252013-08-12 Juanma Barranquero <lekktu@gmail.com>
5926
5927 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5928 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5929 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5930
594a4307
EZ
59312013-08-12 Eli Zaretskii <eliz@gnu.org>
5932
5933 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5934
7a22490f 59352013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5936
5937 * format.el (format-annotate-function):
5938 Handle read-only text properties in the source. (Bug#14887)
5939
3e41a054
LMI
59402013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5941
5514cc4c
SM
5942 * net/eww.el (eww-display-html): Ignore coding system errors.
5943 One web site uses "utf-8lias" as the coding system.
3e41a054 5944
7ec326db
JB
59452013-08-11 Juanma Barranquero <lekktu@gmail.com>
5946
5947 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5948
5660113b
JB
59492013-08-10 Juanma Barranquero <lekktu@gmail.com>
5950
9a4ebc74
JB
5951 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5952 (tutorial--detailed-help): Remove unused local variables.
5953 (tutorial--save-tutorial-to): Use ignore-errors.
5954 (help-with-tutorial): Use looking-at-p.
5955
5956 * view.el (view-buffer-other-window, view-buffer-other-frame):
5957 Mark unused arguments.
5958
5959 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5960 (woman-select-symbol-fonts, woman, woman-find-file)
5961 (woman-insert-file-contents, woman-non-underline-faces):
5962 Use string-match-p.
5963 (woman1-unquote): Move declaration.
5964
5965 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5966 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5967 argument. Remove unused local variable.
5968 (xml-parse-elem-type): Use string-match-p.
5969 (xml-substitute-numeric-entities): Use ignore-errors.
5970
45fdb482
JB
5971 * calculator.el (calculator): Mark unused argument.
5972 (calculator-paste, calculator-quit, calculator-integer-p):
5973 Use ignore-errors.
5974 (calculator-string-to-number, calculator-decimal, calculator-exp)
5975 (calculator-op-or-exp): Use string-match-p.
5976
5977 * dired.el (dired-buffer-more-recently-used-p): Declare.
5978 (dired-insert-set-properties, dired-insert-old-subdirs):
5979 Use ignore-errors.
5980
5981 * dired-aux.el (dired-compress): Use ignore-errors.
5982 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5983 (dired-do-async-shell-command, dired-do-shell-command)
5984 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5985 (dired-insert-subdir-validate): Use string-match-p.
5986 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5987 (dired-add-entry): Use string-match-p, looking-at-p.
5988 (dired-insert-subdir-newpos): Remove unused local variable.
5989
5990 * filenotify.el (file-notify-callback): Remove unused local variable.
5991
5992 * filesets.el (filesets-error): Mark unused argument.
5993 (filesets-which-command-p, filesets-filter-dir-names)
5994 (filesets-directory-files, filesets-get-external-viewer)
5995 (filesets-ingroup-get-data): Use string-match-p.
5996
5997 * find-file.el (ff-other-file-name, ff-other-file-name)
5998 (ff-find-the-other-file, ff-cc-hh-converter):
5999 Remove unused local variables.
6000 (ff-get-file-name): Use string-match-p.
6001 (ff-all-dirs-under): Use ignore-errors.
6002
6003 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6004 (follow-select-if-visible): Remove unused local variable.
6005
6006 * forms.el (read-file-filter): Move declaration.
6007 (forms--make-format, forms--make-parser, forms-insert-record):
6008 Quote function with #'.
6009 (forms--update): Use string-match-p. Quote function with #'.
6010
6011 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6012 (help-make-xrefs): Use looking-at-p.
6013 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6014
6015 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6016 (ibuffer-confirm-operation-on): Use string-match-p.
6017
6018 * msb.el (msb-item-handler, msb-dired-item-handler):
6019 Mark unused arguments.
6020
6021 * ses.el (ses-decode-cell-symbol)
6022 (ses-kill-override): Remove unused local variable.
6023 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6024 (ses-load): Use ignore-errors, looking-at-p.
6025 (ses-jump-safe): Use ignore-errors.
6026 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6027
6028 * tabify.el (untabify, tabify): Mark unused arguments.
6029
6030 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6031 Mark unused argument.
6032 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6033 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6034
c880af52
JB
6035 * emacs-lisp/timer.el (timer--time): Define setter with
6036 gv-define-setter to avoid deprecation warning.
6037
5660113b 6038 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6039 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6040 (cmpl-statistics-block): Remove (body was commented out).
6041 All callers changed.
6042 (add-completions-from-buffer, load-completions-from-file):
6043 Remove unused variables.
6044
156aab80
JB
60452013-08-09 Juanma Barranquero <lekktu@gmail.com>
6046
5c5dee78
JB
6047 * filecache.el (file-cache-delete-file-list):
6048 Print message only when told so.
6049 (file-cache-files-matching): Use #' in mapconcat argument.
6050
156aab80
JB
6051 * ffap.el (ffap-url-at-point): Fix reference to variable
6052 thing-at-point-default-mail-uri-scheme.
6053
ad9dcd70
SM
60542013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6055
54bd972f
SM
6056 * subr.el (define-error): New function.
6057 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6058 error-file-not-found and define with define-error.
6059 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6060 and define with define-error.
6061 * userlock.el (file-locked, file-supersession):
6062 * simple.el (mark-inactive):
6063 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6064 * progmodes/ada-mode.el (ada-mode-errors):
6065 * play/life.el (life-extinct):
6066 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6067 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6068 * nxml/rng-util.el (rng-error):
6069 * nxml/rng-uri.el (rng-uri-error):
6070 * nxml/rng-match.el (rng-compile-error):
6071 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6072 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6073 * nxml/nxml-rap.el (nxml-scan-error):
6074 * nxml/nxml-outln.el (nxml-outline-error):
6075 * net/soap-client.el (soap-error):
6076 * net/gnutls.el (gnutls-error):
6077 * net/ange-ftp.el (ftp-error):
6078 * mpc.el (mpc-proc-error):
6079 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6080 (json-number-format, json-string-escape, json-string-format)
6081 (json-key-format, json-object-format):
6082 * jka-compr.el (compression-error):
6083 * international/quail.el (quail-error):
6084 * international/kkc.el (kkc-error):
6085 * emacs-lisp/ert.el (ert-test-failed):
6086 * calc/calc.el (calc-error, inexact-result, math-overflow)
6087 (math-underflow):
6088 * bookmark.el (bookmark-error-no-filename):
6089 * epg.el (epg-error): Define with define-error.
6090
0ea9e53a
SM
6091 * time.el (display-time-event-handler)
6092 (display-time-next-load-average): Don't call sit-for since it seems
6093 unnecessary (bug#15045).
6094
b0429158
SM
6095 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6096 Use #' instead of ' to quote functions.
6097 (checkdoc-output-mode): Use setq-local.
6098 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6099 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6100 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6101 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6102 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6103 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6104 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6105 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6106
ad9dcd70
SM
6107 * ido.el (ido-completion-help): Fix up compiler warning.
6108
77187e6f
JB
61092013-08-09 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * frameset.el (frameset-p): Add autoload cookie.
6112 (frameset--jump-to-register): New function, based on code moved from
6113 register.el.
6114 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6115
6116 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6117 (frameset-restore, frameset-save, frameset-session-filter-alist):
6118 Remove declarations.
6119 (register-alist): Doc fix.
6120 (frameset-to-register): Move to frameset.el.
6121 (jump-to-register, describe-register-1): Remove frameset-specific code.
6122
9d3aa82c
JB
61232013-08-08 Juanma Barranquero <lekktu@gmail.com>
6124
6125 * allout-widgets.el (allout-widgets-pre-command-business)
6126 (allout-widgets-post-command-business)
6127 (allout-widgets-after-change-handler)
6128 (allout-decorate-item-and-context, allout-set-boundary-marker)
6129 (allout-body-modification-handler)
6130 (allout-graphics-modification-handler): Mark ignored arguments.
6131 (allout-widgets-post-command-business)
6132 (allout-widgets-exposure-change-processor)
6133 (allout-widgets-exposure-undo-processor)
6134 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6135 (allout-parse-item-at-point, allout-decorate-item-guides)
6136 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6137 * allout.el (epa-passphrase-callback-function): Declare.
6138 (allout-overlay-insert-in-front-handler)
6139 (allout-overlay-interior-modification-handler)
6140 (allout-isearch-end-handler, allout-chart-siblings)
6141 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6142 (allout-yank-processing, allout-process-exposed)
6143 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6144 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6145 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6146 (lisp-indent-defform): Mark ignored arguments.
6147 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6148 (calculate-lisp-indent): Remove unused variables.
6149 * international/characters.el (indian-2-column, arabic-2-column)
6150 (tibetan): Mark ignored arguments.
6151 (use-cjk-char-width-table): Mark ignored arguments.
6152 Remove unused variables.
6153 * international/fontset.el (build-default-fontset-data)
6154 (x-compose-font-name, create-fontset-from-fontset-spec):
6155 Mark ignored arguments.
6156 (fontset-plain-name): Remove unused variables.
6157 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6158 (keyboard-coding-system): Mark ignored arguments.
6159 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6160 * help.el (resize-temp-buffer-window):
6161 * window.el (display-buffer-in-major-side-window)
6162 (display-buffer-in-side-window, display-buffer-in-previous-window):
6163 Remove unused variables.
6164 * isearch.el (isearch-forward-symbol):
6165 * version.el (emacs-bzr-version-bzr):
6166 * international/mule-cmds.el (current-language-environment):
6167 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6168 (x-handle-display):
6169 * term/pc-win.el (x-list-fonts, x-display-planes)
6170 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6171 (x-server-version, x-display-screens, x-display-mm-height)
6172 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6173 (x-selection-owner-p, x-own-selection-internal)
6174 (x-disown-selection-internal, x-get-selection-internal)
6175 (msdos-initialize-window-system):
6176 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6177 * term/x-win.el (x-handle-no-bitmap-icon):
6178 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6179 (vc-default-find-file-hook, vc-default-extra-menu):
6180 Mark ignored arguments.
6181
0ca3f70e
SM
61822013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6183
6184 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6185 break-condition in the context of the debugged code (bug#12685).
6186
74c5d24c
CS
61872013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6188
6189 * comint.el:
6190 Do not use an overlay to highlight the last prompt. (Bug#14744)
6191 (comint-mode): Make comint-last-prompt buffer local.
6192 (comint-last-prompt): New variable.
6193 (comint-last-prompt-overlay): Remove. Superseded by
6194 comint-last-prompt.
0ca3f70e
SM
6195 (comint-snapshot-last-prompt, comint-output-filter):
6196 Use comint-last-prompt.
74c5d24c 6197
c03c02ee
JB
61982013-08-08 Juanma Barranquero <lekktu@gmail.com>
6199
a3738d20 6200 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6201 (frameset-save): Check validity of the resulting frameset.
6202
04263d23
XF
62032013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6204
6205 * ido.el (ido-record-command): Add doc string.
6206
76c5e5ab
JB
62072013-08-08 Juanma Barranquero <lekktu@gmail.com>
6208
6209 * frameset.el (frameset): Do not disable creation of the default
6210 frameset-p predicate. Doc fix.
6211 (frameset-valid-p): New function, copied from the old predicate-p.
6212 Add additional checks.
6213 (frameset-restore): Check with frameset-valid-p.
6214 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6215 (frameset-name, frameset-description, frameset-properties)
6216 (frameset-states): Add docstring.
f9dbf1cb
JB
6217 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6218 (frameset-filter-alist): Doc fixes.
76c5e5ab 6219
bd0c3c0b
JB
62202013-08-08 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6223
c735544c
SM
62242013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6227 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6228 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6229 (byte-compile-normal-call): Remove obsolescence check.
6230
2805a651
JB
62312013-08-08 Juanma Barranquero <lekktu@gmail.com>
6232
3677ffeb
JB
6233 * frameset.el (frameset-restore): Doc fix.
6234
2805a651
JB
6235 * register.el (frameset-frame-id, frameset-frame-with-id)
6236 (frameset-p, frameset-restore, frameset-save): Declare.
6237 (register-alist): Document framesets.
6238 (frameset-session-filter-alist): Declare.
6239 (frameset-to-register): New function.
6240 (jump-to-register): Implement jumping to framesets. Doc fix.
6241 (describe-register-1): Describe framesets.
6242
6243 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6244
a912c016
JB
62452013-08-07 Juanma Barranquero <lekktu@gmail.com>
6246
6247 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6248 Use lexical-binding.
6249
6250 * frameset.el (frameset): Use type vector, not list (incompatible
6251 change). Do not declare a new constructor, use the default one.
6252 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6253 `name' and `description', respectively, and add read-only slot
6254 `timestamp'. Doc fixes.
6255 (frameset-copy, frameset-persistent-filter-alist)
6256 (frameset-filter-alist, frameset-switch-to-gui-p)
6257 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6258 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6259 (frameset-filter-iconified, frameset-keep-original-display-p):
6260 Doc fixes.
6261 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6262 Rename from frameset-filter-(save|restore)-param. All callers changed.
6263 Doc fix.
6264 (frameset-p): Adapt to change to vector and be more thorough.
6265 Change arg name to OBJECT. Doc fix.
6266 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6267 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6268 All callers changed.
6269 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6270 All callers changed.
6271 (frameset--record-minibuffer-relationships): Rename from
6272 frameset--process-minibuffer-frames. All callers changed.
6273 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6274 Use new default constructor (again). Doc fix.
6275 (frameset--find-frame-if): Rename from `frameset--find-frame.
6276 All callers changed.
6277 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6278 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6279 Doc fix.
6280 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6281 PARAMETERS and WINDOW-STATE, respectively.
6282 (frameset-restore): Add new keyword argument PREDICATE.
6283 Reset frameset--target-display to nil. Doc fix.
6284
bb41480a
SM
62852013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6286
f001e98e
SM
6287 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6288 (bat-mode): Use it.
6289 (bat-mode-syntax-table): Mark \n as end-of-comment.
6290 (bat-font-lock-keywords): Remove comment rule.
6291
7679edb1
SM
6292 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6293 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6294
bb41480a
SM
6295 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6296 (byte-compile-callargs-warn): Use `push'.
6297 (byte-compile-arglist-warn): Ignore higher-order "calls".
6298 (byte-compile-file-form-autoload): Use `pcase'.
6299 (byte-compile-function-form): If quoting a symbol, check that it exists.
6300
cdc1ebb9
EZ
63012013-08-07 Eli Zaretskii <eliz@gnu.org>
6302
6303 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6304 and add a few popular commands found in batch files.
6305 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6306 (dos-mode): Doc fixes.
6307
312b1740
SM
63082013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6311 (dos-mode): Use setq-local. Add space after "rem".
6312 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6313 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6314
400a3178
AM
63152013-08-07 Arni Magnusson <arnima@hafro.is>
6316
6317 * progmodes/dos.el: New file.
6318 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6319 dos-mode.
6320
3b5c03d3
GM
63212013-08-06 Glenn Morris <rgm@gnu.org>
6322
6323 * calendar/calendar.el: Add new faces, and day-header-array.
6324 (calendar-weekday-header, calendar-weekend-header)
6325 (calendar-month-header): New faces.
6326 (calendar-day-header-construct): New function.
6327 (calendar-day-header-width): Also :set calendar-day-header-array.
6328 (calendar-american-month-header, calendar-european-month-header)
6329 (calendar-iso-month-header): Use calendar- faces.
6330 (calendar-generate-month):
6331 Use calendar-day-header-array for day headers; apply faces to them.
6332 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6333 (calendar-abbrev-construct): Add optional maxlen argument.
6334 (calendar-day-name-array): Doc fix.
6335 (calendar-day-name-array, calendar-abbrev-length)
6336 (calendar-day-abbrev-array):
6337 Also :set calendar-day-header-array, and maybe redraw.
6338 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6339 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6340 (calendar-day-name): Add option to use header array.
6341
ec6a2d7a
LMI
63422013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6343
6344 * net/shr.el (shr-render-td): Remove debugging.
6345 (shr-render-td): Make width computation consistent by defaulting
6346 all zero-width columns to 10 characters. This may not be optimal,
6347 but it's at least consistent.
2122cb6d
LMI
6348 (shr-make-table-1): Redo last change to fix the real problem in
6349 colspan handling.
ec6a2d7a 6350
ed4fd9c5
DA
63512013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6352
0ca3f70e
SM
6353 * files.el (cache-long-line-scans):
6354 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6355
64e22afe
JB
63562013-08-06 Juanma Barranquero <lekktu@gmail.com>
6357
024b38fc
JB
6358 * frameset.el (frameset, frameset-filter-alist)
6359 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6360 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6361 (frameset-compute-pos): Rename from frameset--compute-pos,
6362 and add docstring.
6363 (frameset-move-onscreen): Use frameset-compute-pos.
6364 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6365
64e22afe
JB
6366 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6367 Fix typos in docstrings.
6368
c8c2aca8
DA
63692013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6370
6371 * frame.el (get-other-frame): Tiny cleanup.
6372
1d237bba
JB
63732013-08-06 Juanma Barranquero <lekktu@gmail.com>
6374
8951efef
JB
6375 * vc/vc.el (vc-default-ignore-completion-table):
6376 Silence byte-compiler warning.
6377
307764cc
JB
6378 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6379 slot , which can indeed be nil.
6380 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6381 Move entry for `left' from persistent to live filter alist.
6382 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6383 Doc fixes.
6384 (frameset-filter-params): When restoring a frame, copy items added to
6385 `filtered', to avoid unwittingly modifying the original parameters.
6386 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6387 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6388
1d237bba
JB
6389 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6390 to use looking-at-p instead of looking-at. (Bug#15028)
6391
dc6c0eda
SM
63922013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 Revert introduction of isearch-filter-predicates (bug#14714).
6395 Rely on add-function instead.
6396 * isearch.el (isearch-filter-predicates): Rename it back to
6397 isearch-filter-predicate.
6398 (isearch-message-prefix): Use advice-function-mapc and advice
6399 properties to get the isearch-message-prefix.
6400 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6401 instead of run-hook-with-args-until-failure.
6402 (isearch-filter-visible): Not obsolete any more.
6403 * loadup.el: Preload nadvice.
6404 * replace.el (perform-replace): Revert to funcall
6405 instead of run-hook-with-args-until-failure.
6406 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6407 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6408 dired-isearch-filenames-toggle; make it into a proper minor mode.
6409 Use add/remove-function.
6410 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6411 Call the minor-mode rather than add/remove-hook.
6412 (dired-isearch-filter-filenames):
6413 Remove isearch-message-prefix property.
6414 * info.el (Info--search-loop): New function, extracted from Info-search.
6415 Funcall isearch-filter-predicate instead of
6416 run-hook-with-args-until-failure isearch-filter-predicates.
6417 (Info-search): Use it.
6418 (Info-mode): Use isearch-filter-predicate instead of
6419 isearch-filter-predicates.
6420
290d5b58
DA
64212013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6422
6423 Do not call to `selected-window' where it is assumed by default.
6424 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6425 `window-hscroll', `window-width', `window-height', `window-buffer',
6426 `window-frame', `window-start', `window-point', `next-window'
6427 and `window-display-table'.
6428 * abbrev.el (abbrev--default-expand):
6429 * bs.el (bs--show-with-configuration):
6430 * buff-menu.el (Buffer-menu-mouse-select):
6431 * calc/calc.el (calc):
6432 * calendar/calendar.el (calendar-generate-window):
6433 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6434 (diary-make-entry):
6435 * comint.el (send-invisible, comint-dynamic-complete-filename)
6436 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6437 * completion.el (complete):
6438 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6439 * disp-table.el (describe-current-display-table):
6440 * doc-view.el (doc-view-insert-image):
6441 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6442 * ehelp.el (with-electric-help):
6443 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6444 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6445 * emacs-lisp/helper.el (Helper-help-scroller):
6446 * emulation/cua-base.el (cua--post-command-handler-1):
6447 * eshell/esh-mode.el (eshell-output-filter):
6448 * ffap.el (ffap-gnus-wrapper):
6449 * help-macro.el (make-help-screen):
6450 * hilit-chg.el (highlight-compare-buffers):
6451 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6452 * hl-line.el (global-hl-line-highlight):
6453 * icomplete.el (icomplete-simple-completing-p):
6454 * isearch.el (isearch-done):
6455 * jit-lock.el (jit-lock-stealth-fontify):
6456 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6457 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6458 * mpc.el (mpc-tagbrowser, mpc):
6459 * net/rcirc.el (rcirc-any-buffer):
6460 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6461 * play/landmark.el (landmark-max-width, landmark-max-height):
6462 * play/zone.el (zone):
6463 * progmodes/compile.el (compilation-goto-locus):
6464 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6465 * progmodes/etags.el (find-tag-other-window):
6466 * progmodes/fortran.el (fortran-column-ruler):
6467 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6468 * progmodes/verilog-mode.el (verilog-point-text):
6469 * reposition.el (reposition-window):
6470 * rot13.el (toggle-rot13-mode):
6471 * server.el (server-switch-buffer):
6472 * shell.el (shell-dynamic-complete-command)
6473 (shell-dynamic-complete-environment-variable):
6474 * simple.el (insert-buffer, set-selective-display)
6475 (delete-completion-window):
6476 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6477 (speedbar-recenter):
6478 * startup.el (fancy-splash-head):
6479 * textmodes/ispell.el (ispell-command-loop):
6480 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6481 * tutorial.el (help-with-tutorial):
6482 * vc/add-log.el (add-change-log-entry):
6483 * vc/compare-w.el (compare-windows):
6484 * vc/ediff-help.el (ediff-indent-help-message):
6485 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6486 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6487 (ediff-setup-control-frame):
6488 * vc/emerge.el (emerge-position-region):
6489 * vc/pcvs-util.el (cvs-bury-buffer):
6490 * window.el (walk-windows, mouse-autoselect-window-select):
6491 * winner.el (winner-set-conf, winner-undo): Related users changed.
6492
38276e01
JB
64932013-08-05 Juanma Barranquero <lekktu@gmail.com>
6494
6495 * frameset.el (frameset--set-id): Doc fix.
6496 (frameset-frame-id, frameset-frame-id-equal-p)
6497 (frameset-locate-frame-id): New functions.
6498 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6499 (frameset-restore): Use them.
6500
12b4c0ea
DA
65012013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6502
6503 Do not call to `selected-frame' where it is assumed by default.
6504 Affected functions are `raise-frame', `redraw-frame',
6505 `frame-first-window', `frame-terminal' and `delete-frame'.
6506 * calendar/appt.el (appt-disp-window):
6507 * epg.el (epg-wait-for-completion):
6508 * follow.el (follow-delete-other-windows-and-split)
6509 (follow-avoid-tail-recenter):
6510 * international/mule.el (set-terminal-coding-system):
6511 * mail/rmail.el (rmail-mail-return):
6512 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6513 * progmodes/f90.el (f90-add-imenu-menu):
6514 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6515 * server.el (server-switch-buffer):
6516 * simple.el (delete-completion-window):
6517 * talk.el (talk):
6518 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6519 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6520 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6521 * vc/ediff.el (ediff-documentation): Related users changed.
6522 * frame.el (selected-terminal): Remove the leftover.
6523
17f25e76
GM
65242013-08-05 Glenn Morris <rgm@gnu.org>
6525
6526 * calendar/calendar.el (calendar-generate-month):
6527 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6528 (calendar-generate-month, calendar-font-lock-keywords):
6529 Fix for calendar-day-header-width > length of any day name.
17f25e76 6530
063233c3
JB
65312013-08-05 Juanma Barranquero <lekktu@gmail.com>
6532
6533 * desktop.el (desktop-clear): Use new name of sort predicate.
6534
6535 * frameset.el (frameset): Add docstring. Move :version property to its
6536 own `version' slot.
6537 (frameset-copy): Rename from copy-frameset.
6538 (frameset-p): Check more thoroughly.
6539 (frameset-prop): Do not check for :version, which is no longer a prop.
6540 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6541 Use new :never value instead of t.
6542 (frameset-filter-alist): Expand and clarify docstring.
6543 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6544 (frameset-filter-minibuffer, frameset-filter-save-param)
6545 (frameset-filter-restore-param, frameset-filter-iconified):
6546 Add pointer to docstring of frameset-filter-alist.
6547 (frameset-filter-params): Rename filter values to be more meaningful:
6548 :never instead of t, and reverse the meanings of :save and :restore.
6549 (frameset--process-minibuffer-frames): Clarify error message.
6550 (frameset-save): Avoid unnecessary and confusing call to framep.
6551 Use new BOA constructor for framesets.
6552 (frameset--reuse-list): Doc fix.
6553 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6554 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6555 (frameset-minibufferless-first-p): Doc fix.
6556 Rename from frameset-sort-frames-for-deletion.
6557 (frameset-restore): Doc fixes. Use new function names.
6558 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6559
d5671a82
JB
65602013-08-04 Juanma Barranquero <lekktu@gmail.com>
6561
6562 * desktop.el (desktop-restore-forces-onscreen)
6563 (desktop-restore-reuses-frames): Document :keyword constant values.
6564 (desktop-filter-parameters-alist): Remove, now identical to
6565 frameset-filter-alist.
6566 (desktop--filter-tty*): Remove, moved to frameset.el.
6567 (desktop-save-frameset, desktop-restore-frameset):
6568 Do not pass :filters argument.
6569
6570 * frameset.el (frameset-live-filter-alist)
6571 (frameset-persistent-filter-alist): New variables.
6572 (frameset-filter-alist): Use them. Add autoload cookie.
6573 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6574 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6575 `frameset--id' (it's supposed to be internal to frameset.el).
6576 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6577 (frameset--initial-params): New function.
6578 (frameset--get-frame): Use it. Doc fix.
6579 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6580 Accept :all, not 'all.
6581 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6582 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6583 with fbound symbols. Fix frame id matching, and remove matching ids if
6584 the frame being restored is deleted. Obey :delete.
6585
671d5c16
SM
65862013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * subr.el (macrop): New function.
6589 (text-clone--maintaining): New var.
6590 (text-clone--maintain): Rename from text-clone-maintain. Use it
6591 instead of inhibit-modification-hooks.
6592
6593 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6594 a proxy, so as handle autoloads and redefinitions of the target.
6595 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6596
6597 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6598 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6599 (pcase--mutually-exclusive-p): New function.
6600 (pcase--split-consp): Use it.
6601 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6602 mutually exclusive with the current predicate.
6603
6604 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6605 (edebug-macrop): Remove. Use `macrop' instead.
6606 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6607 (ad-macro-p):
6608 * eshell/esh-cmd.el (eshell-macrop):
6609 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6610
1d44e9dc
SM
66112013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6614 (advice-mapc): New function, using it.
6615 (advice-function-member-p): New function.
6616 (advice--normalize): Store the cdr in advice--saved-rewrite since
6617 that's the part that will be changed.
6618 (advice--symbol-function): New function.
6619 (advice-remove): Handle removal before the function is defined.
6620 Adjust to new advice--saved-rewrite.
6621 (advice-member-p): Use advice-function-member-p and
6622 advice--symbol-function.
6623
5414a283
JB
66242013-08-04 Juanma Barranquero <lekktu@gmail.com>
6625
51d30f2c
JB
6626 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6627 (frameset-filter-minibuffer): Doc fix.
6628 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6629 (frameset--set-id, frameset--process-minibuffer-frames)
6630 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6631 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6632
5414a283
JB
6633 * desktop.el (desktop-clear): Only delete frames when called
6634 interactively and desktop-restore-frames is non-nil. Doc fix.
6635 (desktop-read): Set desktop-saved-frameset to nil.
6636
ab419665
XF
66372013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6638
6639 * vc/vc.el (vc-ignore): Rewrite.
6640 (vc-default-ignore-completion-table):
6641 (vc--read-lines):
6642 (vc--add-line, vc--remove-regexp): New functions.
6643
6644 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6645 (vc-svn-ignore-completion-table): New function.
6646
6647 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6648 (vc-hg-ignore-completion-table):
6649 (vc-hg-find-ignore-file): New functions.
6650
6651 * vc/vc-git.el (vc-git-ignore): Rewrite.
6652 (vc-git-ignore-completion-table):
6653 (vc-git-find-ignore-file): New functions.
6654
6655 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6656
6657 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6658 (vc-bzr-ignore-completion-table):
6659 (vc-bzr-find-ignore-file): New functions.
6660
2613dea2
JB
66612013-08-03 Juanma Barranquero <lekktu@gmail.com>
6662
6663 * frameset.el (frameset-prop): New function and setter.
6664 (frameset-save): Do not modify frame list passed by the caller.
6665
9c959872
SM
66662013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6669
a104f656
SM
66702013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6671
70122acf
SM
6672 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6673 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6674
a104f656
SM
6675 * custom.el (custom-initialize-default, custom-initialize-set)
6676 (custom-initialize-reset, custom-initialize-changed): Affect the
6677 toplevel-default-value (bug#6275, bug#14586).
6678 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6679 for bug#6275.
6680
f078d570
JB
66812013-08-02 Juanma Barranquero <lekktu@gmail.com>
6682
185e3b5a
JB
6683 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6684 Add cl-def* expressions.
6685
f078d570
JB
6686 * frameset.el (frameset-filter-params): Fix order of arguments.
6687
9421876d
JB
66882013-08-02 Juanma Barranquero <lekktu@gmail.com>
6689
6690 Move code related to saving frames to frameset.el.
6691 * desktop.el: Require frameset.
6692 (desktop-restore-frames): Doc fix.
6693 (desktop-restore-reuses-frames): Rename from
6694 desktop-restoring-reuses-frames.
6695 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6696 (desktop-clear): Clear frames too.
6697 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6698 (desktop--filter-tty*, desktop-save, desktop-read):
6699 Use frameset functions.
6700 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6701 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6702 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6703 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6704 (desktop--process-minibuffer-frames, desktop-save-frames)
6705 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6706 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6707 (desktop--sort-states, desktop-restoring-frames-p)
6708 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6709 (desktop-restoring-frameset-p, desktop-restore-frameset)
6710 (desktop--check-dont-save, desktop-save-frameset): New functions.
6711 (desktop--app-id): New constant.
6712 (desktop-first-buffer, desktop-buffer-ok-count)
6713 (desktop-buffer-fail-count): Move before first use.
6714 * frameset.el: New file.
6715
76dc5996
SM
67162013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * files.el: Use lexical-binding.
6719 (dir-locals-read-from-file): Remove unused `err' variable.
6720 (hack-dir-local-variables--warned-coding): New var.
6721 (hack-dir-local-variables): Use it to avoid repeated warnings.
6722 (make-backup-file-name--default-function): New function.
6723 (make-backup-file-name-function): Use it as default.
6724 (buffer-stale--default-function): New function.
6725 (buffer-stale-function): Use it as default.
6726 (revert-buffer-insert-file-contents--default-function): New function.
6727 (revert-buffer-insert-file-contents-function): Use it as default.
6728 (insert-directory): Avoid add-to-list.
6729
6730 * autorevert.el (auto-revert-handler): Simplify.
6731 Use buffer-stale--default-function.
6732
06d36e2b
TH
67332013-08-01 Tassilo Horn <tsdh@gnu.org>
6734
5f648ab4
TH
6735 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6736
06d36e2b
TH
6737 * whitespace.el (whitespace-ensure-local-variables): New function.
6738 (whitespace-cleanup-region): Call it.
6739 (whitespace-turn-on): Call it.
6740
a43dc424
MA
67412013-08-01 Michael Albinus <michael.albinus@gmx.de>
6742
6743 Complete file name handlers.
6744
6745 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6746 (tramp-handle-verify-visited-file-modtime)
6747 (tramp-handle-file-notify-rm-watch): New functions.
6748 (tramp-call-process): Do not bind `default-directory'.
6749
44e18199
JB
6750 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6751 Order alphabetically.
a43dc424
MA
6752 [access-file, add-name-to-file, dired-call-process]:
6753 [dired-compress-file, file-acl, file-notify-rm-watch]:
6754 [file-ownership-preserved-p, file-selinux-context]:
6755 [make-directory-internal, make-symbolic-link, set-file-acl]:
6756 [set-file-selinux-context, set-visited-file-modtime]:
6757 [verify-visited-file-modtime]: Add handler.
6758 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6759
6760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6761 [file-notify-add-watch, file-notify-rm-watch]:
6762 [set-file-times, set-visited-file-modtime]:
6763 [verify-visited-file-modtime]: Add handler.
6764 (with-tramp-gvfs-error-message)
6765 (tramp-gvfs-handle-set-visited-file-modtime)
6766 (tramp-gvfs-fuse-file-name): Remove.
6767 (tramp-gvfs-handle-file-notify-add-watch)
6768 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6769 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6770
44e18199
JB
6771 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6772 Order alphabetically.
a43dc424
MA
6773 [file-notify-rm-watch ]: Use default Tramp handler.
6774 [executable-find]: Remove private handler.
6775 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6776 `default-directory'.
6777 (tramp-sh-handle-executable-find)
6778 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6779 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6780 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6781 Do not use `format' in `tramp-message'.
6782
6783 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6784 [file-notify-rm-watch, set-visited-file-modtime]:
6785 [verify-visited-file-modtime]: Add handler.
6786 (tramp-smb-call-winexe): Do not bind `default-directory'.
6787
7188b515
XF
67882013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6789
6790 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6791
2412ee1a
DG
67922013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6793
6794 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6795 use it.
6796 (log-view-diff-changeset): Same.
6797 (log-view-diff-common): Call backend command `previous-revision'
6798 to find out the previous revision, in both cases. Swap the
6799 variables `to' and `fr', so that `fr' usually refers to the
6800 earlier revision (Bug#14989).
6801
5002a754
KRC
68022013-07-31 Kan-Ru Chen <kanru@kanru.info>
6803
6804 * ibuf-ext.el (ibuffer-filter-by-filename):
6805 Make it work with dired buffers too.
6806
44e18199 68072013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6808
6809 * emacs-lisp/re-builder.el (reb-color-display-p):
6810 * files.el (save-buffers-kill-terminal):
6811 * net/browse-url.el (browse-url):
6812 * server.el (server-save-buffers-kill-terminal):
6813 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6814 Prefer nil to selected-frame for the first arg of frame-parameter.
6815
aeca3fbb
XF
68162013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6817
6818 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6819
158bc55c
SB
68202013-07-30 Stephen Berman <stephen.berman@gmx.net>
6821
6822 * minibuffer.el (completion--twq-all): Try and preserve each
6823 completion's case choice (bug#14907).
6824
d50fceab
LMI
68252013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6826
ac38e731
LMI
6827 * net/network-stream.el (open-network-stream): Mention the new
6828 :nogreeting parameter.
6829 (network-stream-open-starttls): Use the :nogreeting parameter
6830 (bug#14938).
6831
1211de50
LMI
6832 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6833
997798bf
LMI
6834 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6835 more natural than popping.
6836
d50fceab 6837 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6838 (shr-urlify): Highlight under mouse.
d50fceab 6839
5c09de04
XF
68402013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6841
207d1d04
XF
6842 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6843
6844 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6845
5c09de04
XF
6846 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6847 buffer for output.
6848
3cd51eaa
XF
6849 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6850 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6851
44e18199 6852 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6853 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6854
6855 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6856
6857 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6858 buffer for output.
6859
35a89bdd
EZ
68602013-07-29 Eli Zaretskii <eliz@gnu.org>
6861
6862 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6863 initial frame is minibuffer-less. (Bug#14841)
6864
78822e94
MA
68652013-07-29 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6868 option.
6869
6870 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6871 (tramp-maybe-open-connection): Use it.
6872
9503c190
JB
68732013-07-28 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6876 minimal set of parameters passed when creating a frame, because
6877 the minibuffer status of a frame cannot be changed later.
6878
d5a845b4
SB
68792013-07-28 Stephen Berman <stephen.berman@gmx.net>
6880
6881 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6882 replace-regexp-in-string and inadvertent omissions in previous change.
6883 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6884 name of filtered items buffer.
d5a845b4 6885
ddeffb17
JB
68862013-07-28 Juanma Barranquero <lekktu@gmail.com>
6887
6888 * desktop.el: Optionally force offscreen frames back onscreen.
6889 (desktop-restoring-reuses-frames): New option.
6890 (desktop--compute-pos, desktop--move-onscreen): New functions.
6891 (desktop--make-frame): Use desktop--move-onscreen.
6892
f5950f7a
AM
68932013-07-27 Alan Mackenzie <acm@muc.de>
6894
6895 Fontify a Java generic method as a function.
6896 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6897 value to t.
6898
ae43b66a
SB
68992013-07-27 Stephen Berman <stephen.berman@gmx.net>
6900
6901 * calendar/todo-mode.el: Add command to rename todo files.
6902 (todo-rename-file): New command.
6903 (todo-key-bindings-t): Add key binding for it. Change the
6904 bindings of todo-filter-regexp-items(-multifile) to use `x'
6905 instead of `r', since the latter is better suited to the new
6906 renaming command.
6907
5ab78d3d
AM
69082013-07-27 Alan Mackenzie <acm@muc.de>
6909
6910 Make Java try-with-resources statement parse properly.
6911 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6912 (c-block-stmt-1-2-key): New language constants/variables.
6913 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6914 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6915 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6916 with c-block-stmt-1-2-key.
5ab78d3d 6917
d85c4d50
JB
69182013-07-27 Juanma Barranquero <lekktu@gmail.com>
6919
6920 * desktop.el (desktop--make-frame): Apply most frame parameters after
6921 creating the frame to force (partially or totally) offscreen frames to
6922 be restored as such.
6923
e4c467f9
XF
69242013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6925
6926 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6927 (Bug#14948)
e4c467f9 6928
7ced0d04
SM
69292013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6932 `base' arg of backtrace-frame.
6933
fec92060
EZ
69342013-07-26 Eli Zaretskii <eliz@gnu.org>
6935
6936 * simple.el (list-processes): Doc fix.
6937
d58d31fb
JB
69382013-07-26 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * desktop.el (desktop--select-frame):
d85c4d50 6941 Try harder to reuse existing frames.
d58d31fb 6942
53ff3e77
SM
69432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6946 (edebug-eval): Use backtrace-eval.
6947 (edebug--display, edebug--recursive-edit): Don't let-bind the
6948 edebug-outer-* vars that keep track of variables we locally let-bind.
6949 (edebug-outside-excursion): Don't restore outside values of locally
6950 let-bound vars.
6951 (edebug--display): Use user-error.
6952 (cl-lexical-debug, cl-debug-env): Remove.
6953
045f7a53
JB
69542013-07-26 Juanma Barranquero <lekktu@gmail.com>
6955
6956 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6957 are restored to be sure that they are visible before deleting any
6958 remaining ones.
6959
59070b32
MM
69602013-07-26 Matthias Meulien <orontee@gmail.com>
6961
742a3501
XF
6962 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6963 vc-print-root-log. (Bug#14948)
59070b32 6964
b1fb3596
RS
69652013-07-26 Richard Stallman <rms@gnu.org>
6966
6967 Add aliases for encrypting mail.
6968 * epa.el (epa-mail-aliases): New option.
6969 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6970 Bind inhibit-read-only so read-only text doesn't ruin everything.
6971 (epa-mail-default-recipients): New subroutine broken out.
6972 Handle epa-mail-aliases.
6973
56ea7291
SM
69742013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 Add support for lexical variables to the debugger's `e' command.
6977 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6978 vars, except for debugger-outer-match-data.
6979 (debugger-frame-number): Move check for "on a function call" from
6980 callers into it. Add `skip-base' argument.
6981 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6982 (debugger-env-macro): Only reset the state stored in non-variables,
6983 i.e. current-buffer and match-data.
6984 (debugger-eval-expression): Rewrite using backtrace-eval.
6985 * subr.el (internal--called-interactively-p--get-frame): Remove.
6986 (called-interactively-p):
6987 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6988 `base' arg of backtrace-frame instead.
6989
15ac32d5
GM
69902013-07-26 Glenn Morris <rgm@gnu.org>
6991
8358a09d
GM
6992 * align.el (align-regexp): Doc fix. (Bug#14857)
6993 (align-region): Explicit error if subexpression missing/does not match.
6994
15ac32d5
GM
6995 * simple.el (global-visual-line-mode):
6996 Do not duplicate the mode lighter. (Bug#14858)
6997
f47ad11b
MR
69982013-07-25 Martin Rudalics <rudalics@gmx.at>
6999
7000 * window.el (display-buffer): In display-buffer bind
7001 split-window-keep-point to t, bug#14829.
7002
02530987
JB
70032013-07-25 Juanma Barranquero <lekktu@gmail.com>
7004
7005 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7006 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7007 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7008 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7009 Change accordingly.
f63ebeb5
JB
7010 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7011 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7012
6ccb9cab 70132013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7014
6ccb9cab 7015 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7016
cb3a56d2
JB
70172013-07-25 Juanma Barranquero <lekktu@gmail.com>
7018
7019 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7020 parameter to modify-frame-parameters if the value has not changed;
7021 this is a workaround for bug#14949.
7022 (desktop--make-frame): On cl-delete-if call, check parameter name,
7023 not full parameter.
7024
7aa7fff0
XF
70252013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7026
7027 * vc/vc.el (vc-ignore): New function.
7028
7029 * vc/vc-svn.el (vc-svn-ignore): New function.
7030
7031 * vc/vc-hg.el (vc-hg-ignore): New function.
7032
7033 * vc/vc-git.el (vc-git-ignore): New function.
7034
7035 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7036 (vc-dir-ignore): New function.
7037
7038 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7039 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7040
7041 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7042
7043 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7044
889acc5c
JB
70452013-07-24 Juanma Barranquero <lekktu@gmail.com>
7046
7047 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7048 (desktop-restore-frames): Warn when deleting an existing frame failed.
7049
86c40970
GM
70502013-07-24 Glenn Morris <rgm@gnu.org>
7051
7052 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7053
d5d3c58a
MA
70542013-07-24 Michael Albinus <michael.albinus@gmx.de>
7055
7056 * filenotify.el (file-notify-supported-p):
7057 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7058 Remove functions.
7059
7060 * autorevert.el (auto-revert-use-notify):
7061 (auto-revert-notify-add-watch):
7062 * net/tramp.el (tramp-file-name-for-operation):
7063 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7064 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7065 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7066 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7067 Remove `file-notify-supported-p' entry.
7068
d100084b
GM
70692013-07-24 Glenn Morris <rgm@gnu.org>
7070
7071 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7072 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7073
ac93e56b
SM
70742013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7075
249eea30
SM
7076 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7077 checked with memq (bug#14935).
7078
ac93e56b
SM
7079 * files.el (revert-buffer-function): Use a non-nil default.
7080 (revert-buffer-preserve-modes): Declare var to
7081 provide access to the `preserve-modes' argument.
7082 (revert-buffer): Let-bind it.
7083 (revert-buffer--default): New function, extracted from revert-buffer.
7084
2cdeb903
SM
70852013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * lpr.el: Signal print errors more prominently.
7088 (print-region-function): Don't default to nil.
7089 (lpr-print-region): New function, extracted from print-region-1.
7090 Check lpr's return value and signal an error in case of problem.
7091 (print-region-1): Use it.
7092 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7093 versions instead.
7094 (ps-printer-name): Default to nil.
7095 (ps-printer-name-option): Default to lpr-printer-switch.
7096 (ps-print-region-function): Don't default to nil.
7097 (ps-postscript-code-directory): Simplify default.
7098 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7099 (ps-string-list, ps-eval-switch, ps-flatten-list)
7100 (ps-flatten-list-1): Remove.
7101 (ps-multibyte-buffer): Avoid setq.
7102 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7103 (print-region-function, ps-print-region-function): Don't set them here.
7104
73600831
XF
71052013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7106
0e55c076
XF
7107 * ido.el (ido-fractionp):
7108 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7109 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7110 (ido-max-directory-size, ido-max-dir-file-cache)
7111 (ido-decorations): Doc fix.
7112
73600831
XF
7113 * ansi-color.el: Fix old URL.
7114
3d012865
MM
71152013-07-23 Michael R. Mauger <michael@mauger.com>
7116
e903c210 7117 * progmodes/sql.el: Version 3.3
3d012865
MM
7118 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7119 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7120 (sql-interactive-remove-continuation-prompt): Rewrite, use
7121 functions above. Fix continuation prompt and complete output line
7122 handling.
7123 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7124 redirected output buffer.
7125 (sql-mode): Restore deleted code (Bug#13591).
7126
da77a2e2
JB
71272013-07-23 Juanma Barranquero <lekktu@gmail.com>
7128
7129 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7130
80ff0c71
MA
71312013-07-23 Michael Albinus <michael.albinus@gmx.de>
7132
7133 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7134
7135 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7136 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7137 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7138
b61d71e4
JB
71392013-07-23 Juanma Barranquero <lekktu@gmail.com>
7140
7141 * desktop.el (desktop-clear): Simplify; remove useless checks
7142 against invalid buffer names.
7143 (desktop-list*): Use cl-list*.
7144 (desktop-buffer-info, desktop-create-buffer): Simplify.
7145
c3512092
LL
71462013-07-23 Leo Liu <sdl.web@gmail.com>
7147
7148 * bookmark.el (bookmark-make-record): Restore NAME as a default
7149 value. (Bug#14933)
7150
0ac26976
SM
71512013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7d22ce18
SM
7153 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7154 extracted from autoload--insert-text.
7155 (autoload--insert-text): Remove.
7156 (autoload--print-cookie-text): New function, extracted from
7157 autoload--insert-cookie-text.
7158 (autoload--insert-cookie-text): Remove.
7159 (autoload-generate-file-autoloads): Adjust calls accordingly.
7160
9b2607e8
SM
7161 * winner.el (winner-hook-installed-p): Remove.
7162 (winner-mode): Simplify accordingly.
7163
c43a8618
SM
7164 * subr.el (add-to-list): Fix compiler-macro when `append' is
7165 not constant. Don't use `cl-member' for the base case.
7166
0ac26976
SM
7167 * progmodes/subword.el: Fix boundary case (bug#13758).
7168 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7169 own group.
7170 (subword-backward-regexp): Make it a constant.
7171 (subword-forward-internal): Don't treat a trailing capital as the
7172 beginning of a word.
7173
6874724a
AR
71742013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7175
7176 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7177 global value of tabulated-list-revert-hook (bug#14930).
7178
70f1b5e8
JB
71792013-07-22 Juanma Barranquero <lekktu@gmail.com>
7180
a1c80d9d
JB
7181 * desktop.el: Require 'cl-lib.
7182 (desktop-before-saving-frames-functions): New hook.
7183 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7184 for frames being saved. Rename from desktop--save-minibuffer-frames.
7185 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7186 Do not save frames with non-nil `desktop-dont-save' parameter.
7187 Filter out deleted frames.
a1c80d9d
JB
7188 (desktop--find-frame): Use cl-find-if.
7189 (desktop--select-frame): Use cl-(first|second|third) to access values
7190 of desktop-mini.
7191 (desktop--make-frame): Use cl-delete-if.
7192 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7193 (desktop-restore-frames): Use cl-(first|second|third) to access values
7194 of desktop-mini. Look for visible frame at the end, not while
7195 restoring frames.
7196
70f1b5e8
JB
7197 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7198 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7199 Use string-match-p, looking-at-p (bug#14927).
7200
728dc3cc
JB
72012013-07-21 Juanma Barranquero <lekktu@gmail.com>
7202
56bc453c
JB
7203 * desktop.el (desktop-saved-frame-states):
7204 Rename from desktop--saved-states; all users changed.
7205 (desktop-save-frames): Rename from desktop--save-frames.
7206 Do not save state to desktop file.
7207 (desktop-save): Save desktop-saved-frame-states to desktop file
7208 and reset to nil.
7209 (desktop-restoring-frames-p): New function.
7210 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7211 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7212 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7213
728dc3cc
JB
7214 * desktop.el: Correctly restore iconified frames.
7215 (desktop--filter-iconified-position): New function.
7216 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7217
862f1c9c
GM
72182013-07-20 Glenn Morris <rgm@gnu.org>
7219
c4074c9f
GM
7220 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7221 Let `message' do the formatting.
7222 (def-gdb-preempt-display-buffer): Add explicit format.
7223
d828e5f9
GM
7224 * image-dired.el (image-dired-track-original-file):
7225 Use with-current-buffer.
7226 (image-dired-track-thumbnail): Use with-current-buffer.
7227 Avoid changing point of wrong window.
7228
862f1c9c
GM
7229 * image-dired.el (image-dired-track-original-file):
7230 Avoid changing point of wrong window. (Bug#14909)
7231
f0398ec1 72322013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7233
7234 * progmodes/gdb-mi.el (gdb-done-or-error):
7235 Guard against "%" in gdb output. (Bug#14127)
7236
1451928f
AS
72372013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7238
763a086d
JB
7239 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7240 (Bug#14826)
f7a03897 7241
1451928f
AS
7242 * international/mule.el (coding-system-iso-2022-flags): Fix last
7243 change.
7244
99107004
KH
72452013-07-20 Kenichi Handa <handa@gnu.org>
7246
763a086d
JB
7247 * international/mule.el (coding-system-iso-2022-flags):
7248 Add `8-bit-level-4'. (Bug#8522)
99107004 7249
48494e06
LMI
72502013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7251
8ba8eec5
LMI
7252 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7253 (bug#14815).
7254
dfbc66e3
LMI
7255 * net/eww.el (eww-process-text-input): Allow inputting when the
7256 point is at the start of the line, as the properties aren't
7257 front-sticky.
7258
48494e06
LMI
7259 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7260 degenerate widths.
7261
77c92cb9
RS
72622013-07-19 Richard Stallman <rms@gnu.org>
7263
aec7da77
RS
7264 * epa.el (epa-popup-info-window): Doc fix.
7265
77c92cb9
RS
7266 * subr.el (split-string): New arg TRIM.
7267
945c5bb1
JB
72682013-07-18 Juanma Barranquero <lekktu@gmail.com>
7269
7270 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7271 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7272
e06ec67f
MA
72732013-07-18 Michael Albinus <michael.albinus@gmx.de>
7274
c7064f05 7275 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7276 `file-notify-support'. Do not autoload. Adapt all uses.
7277 (file-notify-supported-p): New defun.
7278
c7064f05
JB
7279 * autorevert.el (auto-revert-use-notify):
7280 Use `file-notify-supported-p' instead of `file-notify-support'.
7281 Adapt docstring.
e06ec67f
MA
7282 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7283
7284 * net/tramp.el (tramp-file-name-for-operation):
7285 Add `file-notify-supported-p'.
7286
7287 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7288 New defun.
7289 (tramp-sh-file-name-handler-alist): Add it as handler for
7290 `file-notify-supported-p '.
7291
7292 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7293 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7295 Add `ignore' as handler for `file-notify-*' functions.
7296
5dc8a629
EZ
72972013-07-17 Eli Zaretskii <eliz@gnu.org>
7298
7299 * simple.el (line-move-partial, line-move): Don't start vscroll or
7300 scroll-up if the current line is not taller than the window.
7301 (Bug#14881)
7302
77aea2fb
DG
73032013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7304
7305 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7306 highlight question marks in the method names as strings.
ac72c08d
DG
7307 (ruby-block-beg-keywords): Inline.
7308 (ruby-font-lock-keyword-beg-re): Extract from
7309 `ruby-font-lock-keywords'.
77aea2fb 7310
18c26d81
JD
73112013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7312
7313 * frame.el (blink-cursor-blinks): New defcustom.
7314 (blink-cursor-blinks-done): New defvar.
7315 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7316 (blink-cursor-timer-function): Check if number of blinks has been
7317 done on X and NS.
7318 (blink-cursor-suspend, blink-cursor-check): New defuns.
7319
da48522e
GM
73202013-07-15 Glenn Morris <rgm@gnu.org>
7321
7322 * edmacro.el (edmacro-format-keys): Fix previous change.
7323
0463c1ef
PE
73242013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7325
7326 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7327 The hack didn't work outside English locales anyway.
7328
b43f6451
JB
73292013-07-15 Juanma Barranquero <lekktu@gmail.com>
7330
7331 * simple.el (define-alternatives): Rename from alternatives-define,
7332 per RMS' suggestion.
7333
b958c0ad
JB
73342013-07-14 Juanma Barranquero <lekktu@gmail.com>
7335
7336 * desktop.el (desktop-restore-frames): Change default to t.
7337 (desktop-restore-in-current-display): Now offer more options.
7338 (desktop-restoring-reuses-frames): New customization option.
7339 (desktop--saved-states): Doc fix.
7340 (desktop-filter-parameters-alist): New variable, renamed and expanded
7341 from desktop--excluded-frame-parameters.
7342 (desktop--target-display): New variable.
7343 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7344 (desktop--filter-tty*, desktop--filter-*-color)
7345 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7346 (desktop--filter-save-desktop-parm)
7347 (desktop-restore-in-original-display-p): New functions.
7348 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7349 (desktop--save-minibuffer-frames): New function, inspired by a similar
7350 function from Martin Rudalics.
7351 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7352 (desktop--restore-in-this-display-p): Remove.
7353 (desktop--find-frame): Rename from desktop--find-frame-in-display
7354 and add predicate argument.
7355 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7356 (desktop--reuse-list): New variable.
7357 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7358 New functions.
7359 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7360
f6dd8b36
MA
73612013-07-14 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7364
2ce3c565
DG
73652013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7366
763a086d
JB
7367 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7368 Highlight conversion methods on Kernel.
2ce3c565 7369
2cdb7698
AM
73702013-07-13 Alan Mackenzie <acm@muc.de>
7371
7372 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7373 and comment it out. This out-commenting enables certain C++
7374 declarations to be parsed correctly.
7375
1a67b811
EZ
73762013-07-13 Eli Zaretskii <eliz@gnu.org>
7377
1b796d6b
EZ
7378 * international/mule.el (define-coding-system): Doc fix.
7379
1a67b811
EZ
7380 * simple.el (default-font-height): Don't call font-info if the
7381 frame's default font didn't change since the frame was created.
7382 (Bug#14838)
7383
58fbe886
LL
73842013-07-13 Leo Liu <sdl.web@gmail.com>
7385
7386 * ido.el (ido-read-file-name): Guard against non-symbol value.
7387
1f0480d4
FEG
73882013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7389
7390 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7391 in nested defuns.
7392
97ead0e5
LL
73932013-07-13 Leo Liu <sdl.web@gmail.com>
7394
7395 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7396 ido-set-matches call. (Bug#6852)
7397
0880a952
DG
73982013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7399
7400 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7401 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7402 Ruby 2.0.
7403 (ruby-font-lock-keywords): Distinguish calls to functions with
7404 module-like names from module references. Highlight character
7405 literals.
7406
a7d8babb
SDJ
74072013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7408
7409 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7410 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7411
acfcc8c5
JB
74122013-07-12 Juanma Barranquero <lekktu@gmail.com>
7413
7414 * desktop.el (desktop--v2s): Remove unused local variable.
7415 (desktop-save-buffer): Make defvar-local; adjust docstring.
7416 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7417 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7418
051f2775
AS
74192013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7420
7421 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7422
f24e7572
GM
74232013-07-12 Eli Zaretskii <eliz@gnu.org>
7424
7425 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7426 (Bug#14842)
7427
539a920c
GM
74282013-07-12 Glenn Morris <rgm@gnu.org>
7429
7430 * doc-view.el: Require cl-lib at runtime too.
7431 (doc-view-remove-if): Remove.
7432 (doc-view-search-next-match, doc-view-search-previous-match):
7433 Use cl-remove-if.
7434
7435 * edmacro.el: Require cl-lib at runtime too.
7436 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7437 (edmacro-mismatch, edmacro-subseq): Remove.
7438
7439 * shadowfile.el: Require cl-lib.
7440 (shadow-remove-if): Remove.
7441 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7442 Use cl-remove-if.
7443
7444 * wid-edit.el: Require cl-lib.
7445 (widget-choose): Use cl-remove-if.
7446 (widget-remove-if): Remove.
7447
7448 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7449 (ebrowse-delete-if-not): Remove.
7450 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7451 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7452 Use cl-delete-if-not.
7453
1048af7c
JB
74542013-07-12 Juanma Barranquero <lekktu@gmail.com>
7455
7456 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7457 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7458
6c0674ee
LL
74592013-07-12 Leo Liu <sdl.web@gmail.com>
7460
7461 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7462
a19b3c2d
GM
74632013-07-11 Glenn Morris <rgm@gnu.org>
7464
4582a01c
GM
7465 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7466 (edebug-gensym-index, edebug-gensym):
7467 Remove reimplementation of cl-gensym.
7468 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7469
7470 * thumbs.el: Require cl-lib at run-time too.
7471 (thumbs-gensym-counter, thumbs-gensym):
7472 Remove reimplementation of cl-gensym.
7473 (thumbs-temp-file): Use cl-gensym.
7474
a19b3c2d
GM
7475 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7476 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7477 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7478 (ert--union, ert--gensym-counter, ert--gensym-counter)
7479 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7480 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7481 (ert-make-test-unbound, ert--expand-should-1)
7482 (ert--expand-should, ert--should-error-handle-error)
7483 (should-error, ert--explain-equal-rec)
7484 (ert--plist-difference-explanation, ert-select-tests)
7485 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7486 Use cl-lib functions rather than reimplementations.
7487
88f6a933
MA
74882013-07-11 Michael Albinus <michael.albinus@gmx.de>
7489
7490 * net/tramp.el (tramp-methods): Extend docstring.
7491 (tramp-connection-timeout): New defcustom.
7492 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7493 (with-tramp-progress-reporter): Simplify.
7494 (tramp-process-actions): Improve messages.
7495
7496 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7497 * net/tramp-sh.el (tramp-maybe-open-connection):
7498 Use `tramp-connection-timeout'.
7499 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7500 (Bug#14808)
7501
a43d577e
LL
75022013-07-11 Leo Liu <sdl.web@gmail.com>
7503
7504 * ido.el (ido-read-file-name): Conform to the requirements of
7505 read-file-name. (Bug#11861)
7506 (ido-read-directory-name): Conform to the requirements of
7507 read-directory-name.
7508
d77974bf
JB
75092013-07-11 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * subr.el (delay-warning): New function.
7512
35cb8a3e
EZ
75132013-07-10 Eli Zaretskii <eliz@gnu.org>
7514
7515 * simple.el (default-line-height): New function.
7516 (line-move-partial, line-move): Use it instead of computing the
7517 line height inline.
7518 (line-move-partial): Always compute ROWH. If the last line is
7519 partially-visible, but its text is completely visible, allow
7520 cursor to enter such a partially-visible line.
7521
525c5c77
MA
75222013-07-10 Michael Albinus <michael.albinus@gmx.de>
7523
7524 Improve error messages. (Bug#14808)
7525
7526 * net/tramp.el (tramp-current-connection): New defvar, moved from
7527 tramp-sh.el.
0ac26976 7528 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7529 needed anymore.
0ac26976
SM
7530 (tramp-error-with-buffer): Show message in minibuffer.
7531 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7532 (with-tramp-progress-reporter): Improve messages.
7533 (tramp-process-actions): Use progress reporter. Delete process in
7534 case of error. Improve messages.
7535
763a086d
JB
7536 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7537 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7538 (tramp-current-connection): Remove.
525c5c77
MA
7539 (tramp-maybe-open-connection): The car of
7540 `tramp-current-connection' are the first 3 slots of the vector.
7541
c7a4d368
TZ
75422013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7543
7544 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7545 inside continued strings.
7546
954b166e
PE
75472013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7548
7549 Timestamp fixes for undo (Bug#14824).
7550 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7551
56973319
LL
75522013-07-10 Leo Liu <sdl.web@gmail.com>
7553
7554 * files.el (require-final-newline): Allow safe local value.
7555 (Bug#14834)
7556
5550a72c
LL
75572013-07-09 Leo Liu <sdl.web@gmail.com>
7558
7559 * ido.el (ido-read-directory-name): Handle fallback.
7560 (ido-read-file-name): Update DIR to ido-current-directory.
7561 (Bug#1516)
c28b9050 7562 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7563
70c46b28
DG
75642013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7565
7566 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7567 "autoload". Remove "warn lower camel case" section, previously
7568 commented out. Highlight negation char. Do not highlight the
7569 target in singleton method definitions.
7570
0b64b838
SM
75712013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7fd72e2c
SM
7573 * faces.el (tty-setup-hook): Declare the hook.
7574
0b64b838
SM
7575 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7576 and detect when a guard/pred depends on local vars (bug#14773).
7577 (pcase--u1): Adjust caller.
7578
ab49d60b
EZ
75792013-07-08 Eli Zaretskii <eliz@gnu.org>
7580
7581 * simple.el (line-move-partial, line-move): Account for
7582 line-spacing.
701d79aa
EZ
7583 (line-move-partial): Avoid setting vscroll when the last
7584 partially-visible line in window is of default height.
ab49d60b 7585
2d756ae0
LMI
75862013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7587
7588 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7589 been used a while.
7590
ed095bd7
JB
75912013-07-07 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * subr.el (read-quoted-char): Remove unused local variable `char'.
7594
f1e6674b
MK
75952013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7596
584ee3fc
GM
7597 * ediff.el (ediff-version): Version update.
7598 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7599 (ediff-merge-with-ancestor-command, ediff-directories-command)
7600 (ediff-directories3-command, ediff-merge-directories-command)
7601 (ediff-merge-directories-with-ancestor-command): New functions.
7602 All are command-line interfaces to ediff: to facilitate calling
7603 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7604
7605 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7606 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7607
584ee3fc
GM
7608 * viper.el (viper-version): Version update.
7609 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7610
584ee3fc
GM
76112013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7614 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7615 (viper-intercept-ESC-key): Simplify.
7616 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7617 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7618 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7619 (viper-setup-ESC-to-escape): New functions.
7620 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7621 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7622
9aff9b38
EZ
76232013-07-07 Eli Zaretskii <eliz@gnu.org>
7624
5165d44a
JB
7625 * simple.el (default-font-height, window-screen-lines):
7626 New functions.
9aff9b38
EZ
7627 (line-move, line-move-partial): Use them instead of
7628 frame-char-height and window-text-height. This makes scrolling
7629 text smoother when the buffer's default face uses a font that is
7630 different from the frame's default font.
7631
1afb1d07
JD
76322013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7633
7634 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7635 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7636
23de972a
EZ
76372013-07-06 Eli Zaretskii <eliz@gnu.org>
7638
7639 * simple.el (line-move-partial): Adjust the row returned by
7640 posn-at-point for the current window-vscroll. (Bug#14567)
7641
54a42486
MA
76422013-07-06 Michael Albinus <michael.albinus@gmx.de>
7643
7644 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7645 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7646 spaces.
7647
34ada5f4
MR
76482013-07-06 Martin Rudalics <rudalics@gmx.at>
7649
7650 * window.el (window-state-put-stale-windows): New variable.
7651 (window--state-put-2): Save list of windows without matching buffer.
7652 (window-state-put): Remove "bufferless" windows if possible.
7653
11e03d89
JB
76542013-07-06 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * simple.el (alternatives-define): Remove leftover :group keyword.
7657 Tweak docstring.
7658
3504a4be
LL
76592013-07-06 Leo Liu <sdl.web@gmail.com>
7660
7661 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7662 (ido-enable-virtual-buffers): New variable.
7663 (ido-buffer-internal, ido-toggle-virtual-buffers)
7664 (ido-make-buffer-list): Use it.
7665 (ido-exhibit): Support turning on and off virtual buffers
7666 automatically.
7667
61e56e2c
JB
76682013-07-06 Juanma Barranquero <lekktu@gmail.com>
7669
7670 * simple.el (alternatives-define): New macro.
7671
321e1a9c
SM
76722013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * subr.el (read-quoted-char): Use read-key.
7675 (sit-for): Let read-event decode tty input (bug#14782).
7676
d610f6dd
SB
76772013-07-05 Stephen Berman <stephen.berman@gmx.net>
7678
7679 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7680 mode command and externally. Fix various related bugs.
7681 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7682 (todo-delete-file): New command.
7683 (todo-check-file): New function.
7684 (todo-show): Handle external deletion of the file we're trying to
7685 show (bug#14688). Replace called-interactively-p by an optional
7686 prefix argument to avoid problematic interaction with catch form
7687 when byte compiled (bug#14702).
7688 (todo-quit): Handle external deletion of the archive's todo file.
7689 Make sure the buffer that was visiting the archive file is still
7690 live before trying to bury it.
7691 (todo-category-completions): Handle external deletion of any
7692 category completion files.
7693 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7694 of todo files, in case of external deletion.
7695 (todo-add-file): Replace unnecessary setq by let-binding.
7696 (todo-find-archive): Check whether there are any archives.
7697 Replace unnecessary setq by let-binding.
7698 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7699 archive buffer whether or not the archive already exists.
7700 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7701 check if the archive is new; if it is, update list of archives.
7702 (todo-default-todo-file): Allow nil to be a valid value for when
7703 there are no todo files.
7704 (todo-reevaluate-default-file-defcustom): Use corrected definition
7705 of todo-default-todo-file.
7706 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7707 (todo-delete-category, todo-show-categories-table)
7708 (todo-category-number): Clarify comment.
7709 (todo-filter-items): Clarify documentation string.
7710 (todo-show-current-file, todo-display-as-todo-file)
7711 (todo-reset-and-enable-done-separator): Tweak documentation string.
7712 (todo-done-separator): Make separator length window-width, since
7713 bug#2749 is now fixed.
7714
ddbdfd6f
MA
77152013-07-05 Michael Albinus <michael.albinus@gmx.de>
7716
321e1a9c
SM
7717 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7718 Support both "gvfs-monitor-dir" and "inotifywait".
7719 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7720 `tramp-sh-file-notify-process-filter'.
7721 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7722 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7723
96eb829a
LL
77242013-07-05 Leo Liu <sdl.web@gmail.com>
7725
7726 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7727
cf13177e
YM
77282013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7729
7730 * frame.el (display-pixel-height, display-pixel-width)
7731 (display-mm-height, display-mm-width): Mention behavior on
7732 multi-monitor setups in docstrings.
7733 (w32-display-monitor-attributes-list): Declare function.
7734 (display-monitor-attributes-list): Use it.
7735
864c58ca
MA
77362013-07-04 Michael Albinus <michael.albinus@gmx.de>
7737
7738 * filenotify.el: New package.
7739
7740 * autorevert.el (top): Require filenotify.el.
7741 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7742 instead.
7743 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7744 (auto-revert-notify-handler): Use `file-notify-*' functions.
7745
7746 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7747
321e1a9c
SM
7748 * net/tramp.el (tramp-file-name-for-operation):
7749 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7750
7751 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7752 for `file-notify-add-watch' and `file-notify-rm-watch'.
7753 (tramp-process-sentinel): Improve trace.
7754 (tramp-sh-handle-file-notify-add-watch)
7755 (tramp-sh-file-notify-process-filter)
7756 (tramp-sh-handle-file-notify-rm-watch)
7757 (tramp-get-remote-inotifywait): New defuns.
7758
96673afe
JL
77592013-07-03 Juri Linkov <juri@jurta.org>
7760
7761 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7762 call of `occur-read-primary-args' to interactive spec.
7763
7764 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7765 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7766
924494f4
MM
77672013-07-03 Matthias Meulien <orontee@gmail.com>
7768
7769 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7770 `Buffer-menu-multi-occur'. Add it to the menu.
7771 (Buffer-menu-mode): Document it in docstring.
7772 (Buffer-menu-multi-occur): New command. (Bug#14673)
7773
56f75efc
DG
77742013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7775
7776 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7777 keywords and built-ins.
7778
9b057d61
GM
77792013-07-03 Glenn Morris <rgm@gnu.org>
7780
208dee4d
GM
7781 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7782
9b057d61
GM
7783 Make info-xref checks case-sensitive by default
7784 * info.el (Info-find-node, Info-find-in-tag-table)
7785 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7786 Add option for exact case matching of nodes.
7787 * info-xref.el (info-xref): New custom group.
7788 (info-xref-case-fold): New option.
7789 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7790
e01aa29c
LL
77912013-07-03 Leo Liu <sdl.web@gmail.com>
7792
7793 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7794
3086ca2e
DG
77952013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7796
7797 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7798 middle of block statement initially, lower the depth. Remove
7799 FIXME comment, not longer valid. Remove middle of block statement
7800 detection, no need to do that anymore since we've been using
7801 `ruby-parse-region' here.
7802
a3b49114
JD
78032013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7804
7805 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7806
08e5c823 78072013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7808
7809 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7810
2addf922
JB
78112013-07-01 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7814 (desktop-restore-in-current-display): New customization option.
7815 (desktop--excluded-frame-parameters): Add `font'.
7816 (desktop--save-frames): Rename from desktop--save-windows.
7817 (desktop--restore-in-this-display-p): New function.
7818 (desktop--make-full-frame): Remove unwanted width/height from
7819 full(width|height) frames.
7820 (desktop--restore-frames): Rename from desktop--restore-windows.
7821 Obey desktop-restore-current-display. Do not delete old frames or
7822 select a new frame unless we were able to restore at least one frame.
7823
ef099a94
MN
78242013-06-30 Michal Nazarewicz <mina86@mina86.com>
7825
7826 * files.el (find-file-noselect): Simplify conditional expression.
7827
a12bf61e 7828 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7829 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7830
7831 Add `remember-notes' function to store random notes across Emacs
7832 restarts.
a12bf61e 7833 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7834 notes buffer (if any).
7835 (remember-notes): New command.
7836 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7837 New defcustoms for the `remember-notes' function.
7838 (remember-notes-save-and-bury-buffer): New command.
7839 (remember-notes-mode-map): New variable.
7840 (remember-mode): New minor mode.
7841 (remember-notes--kill-buffer-query): New function.
7842 * startup.el (initial-buffer-choice): Add notes to custom type.
7843
0865d506
EZ
78442013-06-30 Eli Zaretskii <eliz@gnu.org>
7845
0ba54312
EZ
7846 * bindings.el (right-char, left-char): Don't call sit-for, this is
7847 no longer needed. Use arithmetic comparison only for numerical
7848 arguments.
7849
ef099a94
MN
7850 * international/mule-cmds.el (select-safe-coding-system):
7851 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7852
2fae38e5
LMI
78532013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7854
7855 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7856 progression on degenerate tables.
ef099a94 7857 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7858
a47cbd64
JB
78592013-06-30 Juanma Barranquero <lekktu@gmail.com>
7860
7861 Some fixes and improvements for desktop frame restoration.
7862 It is still experimental and disabled by default.
7863 * desktop.el (desktop--save-windows): Put the selected frame at
7864 the head of the list.
7865 (desktop--make-full-frame): New function.
7866 (desktop--restore-windows): Try to re-select the frame that was
7867 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7868 just show an error message and continue. Set up maximized frames
7869 so they have default non-maximized dimensions.
a47cbd64 7870
6dbafa30
DG
78712013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7872
ef099a94
MN
7873 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7874 Don't start heredoc inside a string or comment.
6dbafa30 7875
4c672a0f
EZ
78762013-06-29 Eli Zaretskii <eliz@gnu.org>
7877
7878 * bindings.el (visual-order-cursor-movement): New defcustom.
7879 (right-char, left-char): Provide visual-order cursor motion by
7880 calling move-point-visually. Update the doc strings.
7881
50960f36
KH
78822013-06-28 Kenichi Handa <handa@gnu.org>
7883
7884 * international/mule.el (define-coding-system): New coding system
7885 properties :inhibit-null-byte-detection,
7886 :inhibit-iso-escape-detection, and :prefer-utf-8.
7887 (set-buffer-file-coding-system): If :charset-list property of
7888 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7889 appropriate for setting.
7890
c1ea3abf
JB
7891 * international/mule-cmds.el (select-safe-coding-system):
7892 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7893 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7894
7895 * international/mule-conf.el (prefer-utf-8): New coding system.
7896 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7897 files.
7898
75dbaf9d
IK
78992013-06-28 Ivan Kanis <ivan@kanis.fr>
7900
eadb6068
IK
7901 * net/shr.el (shr-render-region): New function.
7902
75dbaf9d
IK
7903 * net/eww.el: Autoload `eww-browse-url'.
7904
9ea5cf9f
DG
79052013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7906
c1ea3abf
JB
7907 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7908 Adapt to `package-desc-version' being a list.
7909 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7910 archive element.
7911
39c0e36f
JB
79122013-06-27 Juanma Barranquero <lekktu@gmail.com>
7913
7914 New experimental feature to save&restore window and frame setup.
7915 * desktop.el (desktop-save-windows): New defcustom.
7916 (desktop--saved-states): New var.
7917 (desktop--excluded-frame-parameters): New defconst.
7918 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7919 (desktop--restore-windows, desktop--save-windows): New functions.
7920 (desktop-save): Call `desktop--save-windows'.
7921 (desktop-read): Call `desktop--restore-windows'.
7922
7f13406b
LMI
79232013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924
ef099a94 7925 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7926
1e072639
SB
79272013-06-27 Stephen Berman <stephen.berman@gmx.net>
7928
7929 * info.el (Info-try-follow-nearest-node): Move search for footnote
7930 above search for node name to prevent missing a footnote (bug#14717).
7931
f3e2cbde
SB
79322013-06-27 Stephen Berman <stephen.berman@gmx.net>
7933
7934 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7935
99906aa0
LL
79362013-06-27 Leo Liu <sdl.web@gmail.com>
7937
7938 * net/eww.el (eww-read-bookmarks): Check file size.
7939
539f75f4
SM
79402013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7943 advice--pending if newdef is nil or an autoload (bug#13820).
7944 (advice-mapc): New function.
7945
843571cb
LMI
79462013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7947
7948 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7949 probably.
23a75d7f 7950 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7951 (eww-add-bookmark): New command.
7952 (eww-bookmark-mode): New mode and commands.
a285ce99 7953 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7954 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7955
f2136e1e
GM
79562013-06-26 Glenn Morris <rgm@gnu.org>
7957
eab35f39
GM
7958 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7959 (hfy-size): Handle ttys. (Bug#14668)
7960
f2136e1e
GM
7961 * info-xref.el: Update for Texinfo 5 change in *note format.
7962 (info-xref-node-re, info-xref-note-re): New constants.
7963 (info-xref-check-buffer): Use info-xref-note-re.
7964
a49ff80c
SM
79652013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7966
a343d218
SM
7967 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7968
a49ff80c
SM
7969 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7970 nil terminate the loop (bug#14718).
7971
8308f184
LMI
79722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7973
7974 * net/eww.el: Rework history traversal. When going forward/back,
7975 put these actions into the history, too, so that they can be
7976 replayed.
26bf2b82 7977 (eww-render): Move the history reset to the correct buffer.
8308f184 7978
ec64c273
JL
79792013-06-25 Juri Linkov <juri@jurta.org>
7980
7981 * files-x.el (modify-dir-local-variable): Change the header comment
7982 in the file with directory local variables. (Bug#14692)
7983
e080a9d7
JL
7984 * files-x.el (read-file-local-variable-value): Add `default'.
7985 (Bug#14710)
7986
bfbc93a1
IK
79872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7988
7989 * net/eww.el (eww-make-unique-file-name): Create a unique file
7990 name before saving to entering `y' accidentally asynchronously.
7991
79922013-06-25 Ivan Kanis <ivan@kanis.fr>
7993
7994 * net/eww.el (eww-download): New command and keystroke.
7995
16f74f10
LMI
79962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7997
a49ff80c 7998 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7999
8000 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8001 be more consistent with Info and dired.
8002
8003 * net/eww.el (eww-mode-map): Ditto.
8004
12059709
SM
80052013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8008 packages from archives.
8009 (package-archive-contents): Change format; include obsolete packages.
8010 (package-desc): Use `dir' to mark builtin packages.
8011 (package--from-builtin): Set the `dir' field to `builtin'.
8012 (generated-autoload-file, version-control): Declare.
8013 (package-compute-transaction): Change first arg and return value to be
8014 lists of package-descs. Adjust to new package-archive-contents format.
8015 (package--add-to-archive-contents): Adjust to new
8016 package-archive-contents format.
8017 (package-download-transaction): Arg is now a list of package-descs.
8018 (package-install): If `pkg' is a package name, pass it as
8019 a requirement, so it is subject to the usual (e.g. disabled) checks.
8020 (describe-package): Accept package-desc as well.
8021 (describe-package-1): Describe a specific package-desc. Add links to
8022 other package-descs for the same package name.
8023 (package-menu-describe-package): Pass the actual package-desc.
8024 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8025 works correctly.
8026 (package-desc-status): New function.
8027 (package-menu--refresh): New function, extracted
8028 from package-menu--generate.
8029 (package-menu--generate): Use it.
8030 (package-delete): Update package-alist.
8031 (package-menu-execute): Don't call package-initialize.
8032
8033 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8034 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8035 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8036 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8037 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8038 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8039
8bbdea0f
MR
80402013-06-25 Martin Rudalics <rudalics@gmx.at>
8041
8042 * window.el (window--state-get-1): Workaround for bug#14527.
8043 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8044
e82b0991
LMI
80452013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8046
8047 * net/eww.el (eww-back-url): Implement the history by stashing all
8048 the data into a list.
d3f0f918 8049 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8050
c763842b
SM
80512013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8054 for values and use read--expression for expressions (bug#14710).
8055 (read-file-local-variable): Avoid setq.
8056 (read-file-local-variable-mode): Use minor-mode-list.
8057
bceff189
RW
80582013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8059
864c58ca 8060 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8061 for DOI URLs.
8062
45f431c6
RW
80632013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8064
864c58ca 8065 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8066 Update imenu-support when dialect changes.
8067
f42d8237
LL
80682013-06-25 Leo Liu <sdl.web@gmail.com>
8069
8070 * ido.el (ido-read-internal): Allow forward slash on windows.
8071
be549ce6
LMI
80722013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073
8074 * net/eww.el (eww): Start of strings is \\`, not ^.
8075
71d4c19d
IK
80762013-06-24 Ivan Kanis <ivan@kanis.fr>
8077
5196f88a
IK
8078 * net/shr.el (shr-browse-url): Fix interactive spec.
8079
71d4c19d
IK
8080 * net/eww.el (eww): Add a trailing slash to domain names.
8081
ae36ca55
JB
80822013-06-24 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8085
0ebd92a3
LMI
80862013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8087
bdaa086b
LMI
8088 * net/shr.el (shr-browse-url): Use an external browser if given a
8089 prefix.
8090
c763842b 8091 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8092
b89fc156
IK
80932013-06-24 Ivan Kanis <ivan@kanis.fr>
8094
8095 * net/eww.el (eww): Work more correctly for file: URLs.
8096 (eww-detect-charset): Allow quoted charsets.
8097 (eww-yank-page-url): New command and keystroke.
8098
18eb4bca
DU
80992013-06-24 Daiki Ueno <ueno@gnu.org>
8100
8101 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8102 file name of gpg executable.
8103 (epg-context-program): New function.
8104 (epg-context-home-directory): New function.
8105 (epg-context-set-program): New function.
8106 (epg-context-set-home-directory): New function.
8107 (epg--start): Use `epg-context-program' instead of
8108 'epg-gpg-program'.
8109 (epg--list-keys-1): Likewise.
8110
6c6268c8
LL
81112013-06-24 Leo Liu <sdl.web@gmail.com>
8112
8113 * ido.el (ido-read-internal): Fix bug#14620.
8114
5e400cb3
JB
81152013-06-23 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * faces.el (face-documentation): Simplify.
8118 (read-face-attribute, tty-find-type, x-resolve-font-name):
8119 Use `string-match-p'.
8120 (list-faces-display): Use `string-match-p'. Simplify.
8121 (face-spec-recalc): Check face to avoid face alias loops.
8122 (read-color): Use `string-match-p' and non-capturing parenthesis.
8123
f3f9606c
LMI
81242013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8125
8126 * net/shr.el (shr-rescale-image): Use the new
8127 :max-width/:max-height functionality.
8128
a3ca09b9
IK
81292013-06-23 Ivan Kanis <ivan@kanis.fr>
8130
8131 * net/eww.el (eww-search-prefix): New variable.
8132 (eww): Use it.
f865b474
IK
8133 (eww-external-browser): New variable.
8134 (eww-mode-map): New keystroke.
8135 (eww-browse-with-external-browser): New command.
a3ca09b9 8136
e854cfc7
IK
8137 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8138
18bb9e21
JB
81392013-06-23 Juanma Barranquero <lekktu@gmail.com>
8140
8141 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8142 Don't skip aligning the next header field when padding is 0;
8143 otherwise, field width is not respected unless the title is as
8144 wide as the field.
8145
5b165ade
SM
81462013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * emacs-lisp/package.el (package-el-version): Remove.
8149 (package-process-define-package): Fix inf-loop.
8150 (package-install): Allow symbols as arguments again.
8151
12adebe9
DG
81522013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8153
8154 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8155 add some more keyword-like methods.
8156 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8157
388573ee
JB
81582013-06-22 Juanma Barranquero <lekktu@gmail.com>
8159
8160 * bs.el (bs-buffer-show-mark): Make defvar-local.
8161 (bs-mode): Use setq-local.
8162
8163 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8164 (emacs-lock--try-unlocking): Make defvar-local.
8165
4582a01c 81662013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8167
2663dd23
GM
8168 * play/cookie1.el (cookie-apropos): Minor simplification.
8169
3d94f3ad
GM
8170 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8171
f72e2fdb
DG
81722013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8173
8174 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8175 `regexp-opt', it breaks the build during dumping.
8176
73eab938
DG
81772013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8178
c763842b
SM
8179 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8180 Highlight keyword-like methods on Kernel and Module with
73eab938 8181 font-lock-builtin-face.
5cf8176d
DG
8182 (auto-mode-alist): Consolidate different entries into one regexp
8183 and add more *file-s.
73eab938 8184
d26255f6
SB
81852013-06-21 Stephen Berman <stephen.berman@gmx.net>
8186
8187 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8188
8189 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8190 (diary-entry): Use it in the action of this button type instead of
8191 diary-goto-entry.
8192
8193 * calendar/todo-mode.el: New version.
8194 (todo-add-category): Append new category to end of file and give
8195 it the highest number, instead of putting it at the beginning and
8196 giving it 0. Incorporate noninteractive functionality.
8197 (todo-forward-category): Adapt to 1-based category numbering.
8198 Allow skipping over archived categories.
8199 (todo-backward-category): Derive from todo-forward-category.
8200 (todo-backward-item, todo-forward-item): Make noninteractive and
8201 delegate interactive part to new commands. Make sensitive to done items.
8202 (todo-categories): Make value an alist of category names and
8203 vectors of item counts.
8204 (todo-category-beg): Make a defconst.
8205 (todo-category-number): Use 1 instead of 0 as initial value.
8206 (todo-category-select): Make sensitive to overlays, optional item
8207 highlighting and done items.
8208 (todo-delete-item): Make sensitive to overlays and marked and done items.
8209 (todo-edit-item): Make sensitive to overlays and editing of
8210 date/time header optional. Add format checks.
8211 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8212 no-op if point is not on an item. Advertise using todo-edit-quit.
8213 (todo-edit-mode): Make sensitive to new format, font-locking, and
8214 multiple todo files.
8215 (todo-insert-item, todo-insert-item-here): Derive from
8216 todo-basic-insert-item and extend functionality.
8217 (todo-item-end, todo-item-start): Make sensitive to done items.
8218 (todo-item-string): Don't return text properties. Restore point.
8219 (todo-jump-to-category): Make sensitive to multiple todo files and
8220 todo archives. Use extended category completion.
8221 (todo-lower-item, todo-raise-item): Rename to *-priority and
8222 derive from todo-set-item-priority.
8223 (todo-mode): Derive from special-mode. Make sensitive to new
8224 format, font-locking and multiple todo files. Make read-only.
8225 (todo-mode-map): Don't suppress digit keys, so they can supply
8226 prefix arguments. Add many new key bindings.
8227 (todo-prefix): Insert as an overlay instead of file text.
8228 Change semantics from diary date expression to purely visual mark.
8229 (todo-print): Rename to todo-print-buffer. Make buffer display
8230 features printable. Remove option to restrict number of items
8231 printed. Add option to print to file.
8232 (todo-print-function): Rename to todo-print-buffer-function.
8233 (todo-quit): Extend to handle exiting new todo modes.
8234 (todo-remove-item): Make sensitive to overlays.
8235 (todo-save): Extend to buffers of filtered items.
8236 (todo-show): Make sensitive to done items, multiple todo files and
8237 new todo modes. Offer to convert legacy todo file before creating
8238 first new todo file.
8239 (todo-show-priorities): Rename to todo-top-priorities.
8240 Change semantics of value 0.
8241 (todo-top-priorities): Rename to todo-filter-top-priorities,
8242 derive from todo-filter-items and extend functionality.
8243 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8244 and extend functionality to other types of filtered items.
8245 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8246 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8247 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8248 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8249 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8250 (todo-edit-mode-hook, todo-entry-prefix-function)
8251 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8252 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8253 (todo-initials, todo-insert-threshold, todo-item-string-start)
8254 (todo-line-string, todo-menu, todo-mode-hook)
8255 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8256 (todo-print-priorities, todo-remove-separator)
8257 (todo-save-top-priorities-too, todo-string-count-lines)
8258 (todo-string-multiline-p, todo-time-string-format)
8259 (todo-tmp-buffer-name): Remove.
8260 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8261 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8262 (todo-edit-category-diary-inclusion)
8263 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8264 (todo-edit-file, todo-edit-item-date-day)
8265 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8266 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8267 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8268 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8269 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8270 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8271 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8272 (todo-filter-top-priorities-multifile, todo-find-archive)
8273 (todo-find-filtered-items-file, todo-go-to-source-item)
8274 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8275 (todo-jump-to-archive-category, todo-lower-category)
8276 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8277 (todo-move-category, todo-move-item, todo-next-button)
8278 (todo-next-item, todo-padded-string, todo-powerset)
8279 (todo-previous-button, todo-previous-item)
8280 (todo-print-buffer-to-file, todo-raise-category)
8281 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8282 (todo-set-category-number, todo-set-item-priority)
8283 (todo-set-top-priorities-in-category)
8284 (todo-set-top-priorities-in-file, todo-show-categories-table)
8285 (todo-sort-categories-alphabetically-or-numerically)
8286 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8287 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8288 (todo-toggle-item-header, todo-toggle-item-highlighting)
8289 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8290 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8291 (todo-unarchive-items, todo-unmark-category): New commands.
8292 (todo-absolute-file-name, todo-add-to-buffer-list)
8293 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8294 (todo-basic-insert-item, todo-category-completions)
8295 (todo-category-number, todo-category-string-matcher-1)
8296 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8297 (todo-check-format, todo-clear-matches)
8298 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8299 (todo-current-category, todo-date-string-matcher)
8300 (todo-define-insertion-command, todo-diary-expired-matcher)
8301 (todo-diary-goto-entry, todo-diary-item-p)
8302 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8303 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8304 (todo-done-item-section-p, todo-done-separator)
8305 (todo-done-string-matcher, todo-files, todo-filter-items)
8306 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8307 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8308 (todo-insert-category-line, todo-insert-item-from-calendar)
8309 (todo-insert-sort-button, todo-insert-with-overlays)
8310 (todo-insertion-command-name, todo-insertion-key-bindings)
8311 (todo-label-to-key, todo-longest-category-name-length)
8312 (todo-make-categories-list, todo-mode-external-set)
8313 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8314 (todo-modes-set-3, todo-multiple-filter-files)
8315 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8316 (todo-read-category, todo-read-date, todo-read-dayname)
8317 (todo-read-file-name, todo-read-time)
8318 (todo-reevaluate-category-completions-files-defcustom)
8319 (todo-reevaluate-default-file-defcustom)
8320 (todo-reevaluate-filelist-defcustoms)
8321 (todo-reevaluate-filter-files-defcustom)
8322 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8323 (todo-reset-done-separator, todo-reset-done-separator-string)
8324 (todo-reset-done-string, todo-reset-global-current-todo-file)
8325 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8326 (todo-reset-prefix, todo-set-categories)
8327 (todo-set-date-from-calendar, todo-set-show-current-file)
8328 (todo-set-top-priorities, todo-short-file-name)
8329 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8330 (todo-total-item-counts, todo-update-buffer-list)
8331 (todo-update-categories-display, todo-update-categories-sexp)
8332 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8333 New functions.
8334 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8335 New major modes.
8336 (todo-categories, todo-display, todo-edit, todo-faces)
8337 (todo-filtered): New defgroups.
8338 (todo-archived-only, todo-button, todo-category-string, todo-date)
8339 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8340 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8341 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8342 (todo-add-item-if-new-category, todo-always-add-time-string)
8343 (todo-categories-align, todo-categories-archived-label)
8344 (todo-categories-category-label, todo-categories-diary-label)
8345 (todo-categories-done-label, todo-categories-number-separator)
8346 (todo-categories-todo-label, todo-categories-totals-label)
8347 (todo-category-completions-files, todo-completion-ignore-case)
8348 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8349 (todo-done-separator-string, todo-done-string)
8350 (todo-files-function, todo-filter-done-items, todo-filter-files)
8351 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8352 (todo-initial-category, todo-initial-file, todo-item-mark)
8353 (todo-legacy-date-time-regexp, todo-mode-line-function)
8354 (todo-nondiary-marker, todo-number-prefix)
8355 (todo-print-buffer-function, todo-show-current-file)
8356 (todo-show-done-only, todo-show-first, todo-show-with-done)
8357 (todo-skip-archived-categories, todo-top-priorities-overrides)
8358 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8359 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8360 New defcustoms.
8361 (todo-category-done, todo-date-pattern, todo-date-string-start)
8362 (todo-diary-items-buffer, todo-done-string-start)
8363 (todo-filtered-items-buffer, todo-item-start)
8364 (todo-month-abbrev-array, todo-month-name-array)
8365 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8366 (todo-top-priorities-buffer): New defconsts.
8367 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8368 (todo-categories-with-marks, todo-category-string-face)
8369 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8370 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8371 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8372 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8373 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8374 (todo-font-lock-keywords, todo-global-current-todo-file)
8375 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8376 (todo-insertion-commands-args)
8377 (todo-insertion-commands-args-genlist)
8378 (todo-insertion-commands-names, todo-insertion-map)
8379 (todo-key-bindings-t, todo-key-bindings-t+a)
8380 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8381 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8382 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8383 (todo-visited): New variables.
8384
cad5d1cb
GM
83852013-06-21 Glenn Morris <rgm@gnu.org>
8386
8387 * play/cookie1.el (cookie-apropos): Add optional display argument.
8388 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8389 (psychoanalyze-pinhead): Use cookie-doctor.
8390
9e277302
JB
83912013-06-21 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * emacs-lisp/package.el (tar-get-file-descriptor)
8394 (tar--extract): Declare.
8395
c5b0993e
EW
83962013-06-21 Eduard Wiebe <usenet@pusto.de>
8397
8398 Extend flymake's warning predicate to be a function (bug#14217).
8399 * progmodes/flymake.el (flymake-warning-predicate): New.
8400 (flymake-parse-line): Use it.
8401 (flymake-warning-re): Make obsolete alias to
8402 `flymake-warning-predicate'.
8403
a7d2d465
SM
84042013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8407 (package-obsolete-list): Remove.
8408 (package-activate): Remove min-version argument. Add `force' argument.
8409 Adjust to new package-alist format.
8410 (package-mark-obsolete): Remove.
8411 (package-unpack): Force reload of the package's autoloads.
8412 (package-installed-p): Check builtins if the installed package is not
8413 recent enough.
8414 (package-initialize): Don't reset package-obsolete-list.
8415 Don't specify which package version to activate.
8416 (package-process-define-package, describe-package-1)
8417 (package-menu--generate): Adjust to new package-alist format.
8418
cedf5c9d
JB
84192013-06-21 Juanma Barranquero <lekktu@gmail.com>
8420
8421 * allout-widgets.el (allout-widgets-mode-off)
8422 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8423 (allout-widgets-post-command-business)
8424 (allout-widgets-after-copy-or-kill-function)
8425 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8426 (allout-decorate-item-and-context)
8427 (allout-graphics-modification-handler): Fix typos in docstrings.
8428 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8429
8430 * cmuscheme.el (scheme-start-file): Doc fix.
8431 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8432 (scheme-input-filter): Use `string-match-p'.
8433
8434 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8435
8436 * dired-x.el: Use Dired consistently in docstrings.
8437
8438 * dired.el: Use Dired consistently in docstrings.
8439 (dired-readin, dired-mode): Use `setq-local'.
8440 (dired-switches-alist): Make defvar-local.
8441 (dired-buffers-for-dir): Use `zerop'.
8442 (dired-safe-switches-p, dired-switches-escape-p)
8443 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8444 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8445 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8446 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8447 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8448 (dired-toggle-marks, dired-mark-files-containing-regexp)
8449 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8450 (dired-flag-auto-save-files, dired-flag-backup-files):
8451 Use `looking-at-p'.
8452 (dired-mark-files-regexp, dired-build-subdir-alist):
8453 Use `string-match-p', `looking-at-p'.
8454
8455 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8456 (direct-print-region-helper): Use `string-match-p'.
8457
aed838b5
LL
84582013-06-21 Leo Liu <sdl.web@gmail.com>
8459
cedf5c9d
JB
8460 * comint.el (comint-redirect-results-list-from-process):
8461 Fix infinite loop.
aed838b5 8462
d80a808f
LMI
84632013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464
8465 * net/eww.el (eww-update-header-line-format): Quote % characters.
8466
e7a526e3
GM
84672013-06-21 Glenn Morris <rgm@gnu.org>
8468
8469 * play/cookie1.el (cookie): New custom group.
8470 (cookie-file): New option.
8471 (cookie-check-file): New function.
8472 (cookie): Make it interactive. Make start and end messages optional.
8473 Interactively, display the result. Default to cookie-file.
8474 (cookie-insert): Default to cookie-file.
8475 (cookie-snarf): Make start and end messages optional.
8476 Default to cookie-file. Use with-temp-buffer.
8477 (cookie-read): Rename from read-cookie.
8478 Make start and end messages optional. Default to cookie-file.
8479 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8480 Do not autoload it.
e7a526e3
GM
8481 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8482 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8483
62efb35e
LL
84842013-06-21 Leo Liu <sdl.web@gmail.com>
8485
8486 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8487
21e3f963
GM
84882013-06-21 Glenn Morris <rgm@gnu.org>
8489
8490 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8491
fd846ab4
SM
84922013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8493 Daniel Hackney <dan@haxney.org>
8494
8495 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8496 Consolidate the single-file vs tarball code.
8497 (package-desc-suffix): New function.
8498 (package-desc-full-name): Don't bother inlining it.
8499 (package-load-descriptor): Return the new package-desc.
8500 (package-mark-obsolete): Remove unused arg `package'.
8501 (package-unpack): Make it work for single files as well.
8502 Make it update package-alist.
8503 (package--make-autoloads-and-stuff): Rename from
8504 package--make-autoloads-and-compile. Don't compile any more.
8505 (package--compile): New function.
8506 (package-generate-description-file): New function, extracted from
8507 package-unpack-single.
8508 (package-unpack-single): Remove.
8509 (package--with-work-buffer): Add indentation and debugging info.
8510 (package-download-single): Remove.
8511 (package-install-from-archive): Rename from package-download-tar, make
8512 it take a pkg-desc, and make it work for single files as well.
8513 (package-download-transaction): Simplify.
8514 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8515 external tar program.
8516 (package-install-from-buffer): Remove `pkg-desc' argument.
8517 Use package-tar-file-info for tar-mode buffers.
8518 (package-install-file): Simplify accordingly.
8519 (package-archive-base): Change to take a pkg-desc.
8520 * tar-mode.el (tar--check-descriptor): New function, extracted from
8521 tar-get-descriptor.
8522 (tar-get-descriptor): Use it.
8523 (tar-get-file-descriptor): New function.
8524 (tar--extract): New function, extracted from tar-extract.
8525 (tar--extract): Use it.
8526 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8527 case the summary uses non-ascii. Adjust to new calling convention of
8528 package-tar-file-info.
8529
b7deae5e
LL
85302013-06-21 Leo Liu <sdl.web@gmail.com>
8531
fd846ab4
SM
8532 * comint.el (comint-redirect-results-list-from-process):
8533 Fix random delay. (Bug#14681)
b7deae5e 8534
7a65a0b2
JB
85352013-06-21 Juanma Barranquero <lekktu@gmail.com>
8536
8537 * profiler.el (profiler-format-number): Use log, not log10.
8538
1493c2af
JB
85392013-06-20 Juanma Barranquero <lekktu@gmail.com>
8540
8541 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8542
aff6371e
SM
85432013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8546 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8547 yet available.
8548 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8549 (AUTOGENEL): ... here.
8550 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8551 (cl--defsubst-expand): Use it.
8552
89561f72
PE
85532013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8554
8555 * subr.el (log10): Move here from C code, and declare as obsolete.
8556 All uses of (log10 X) replaced with (log X 10).
8557
47199123
JB
85582013-06-20 Juanma Barranquero <lekktu@gmail.com>
8559
8560 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8561 Declare with `defvar-local'.
8562 (tabulated-list-use-header-line, tabulated-list-entries)
8563 (tabulated-list-padding, tabulated-list-printer)
8564 (tabulated-list-sort-key): Declare with `defvar-local'.
8565 (tabulated-list-init-header, tabulated-list-print-fake-header):
8566 Use `setq-local'.
8567
4a172eab
MA
85682013-06-20 Michael Albinus <michael.albinus@gmx.de>
8569
47199123
JB
8570 * arc-mode.el (archive-mode): Add `archive-write-file' to
8571 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8572
5fc0acc0
JB
85732013-06-20 Juanma Barranquero <lekktu@gmail.com>
8574
d5b27848
JB
8575 * cus-edit.el (custom-commands): Fix typos.
8576 (custom-display): Fix tooltip text.
8577 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8578 Fix typos in docstrings.
8579 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8580 (custom-unlispify-menu-entry, custom-magic-value-create)
8581 (custom-add-see-also, custom-group-value-create): Use ?\s.
8582 (custom-guess-type, customize-apropos, editable-field)
8583 (custom-face-value-create): Use `string-match-p'.
8584 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8585
8586 * custom.el (custom-load-symbol): Use `string-match-p'.
8587
a5c581d8
JB
8588 * ansi-color.el: Convert to lexical binding.
8589 (ansi-colors): Fix URL.
8590 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8591 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8592 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8593
970ad972
G
85942013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8595
8596 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8597
8598 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8599
86002013-06-19 Tom Tromey <tromey@redhat.com>
8601
8602 * net/eww.el (eww-top-url): Remove.
8603 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8604 (eww-render): Set new variables. Don't set eww-top-url.
8605 (eww-handle-link): Handle "prev", "home", and "contents".
8606 Downcase the rel text.
8607 (eww-top-url): Choose best top URL.
8608
86092013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8610
8611 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8612 relying in widget.el. Using widget.el leads to too many
8613 user interface inconsistencies.
8614 (eww-self-insert): Implement entering commands in text fields.
8615 (eww-process-text-input): New function to make text input field editing
8616 work.
8617 (eww-submit): Rewrite to use the new-style form methods.
8618 (eww-select-display): Display the correct selected item.
8619 (eww-change-select): Implement changing the select value.
8620 (eww-toggle-checkbox): Implement radio/checkboxes.
8621 (eww-update-field): Fix compilation error.
8622 (eww-tag-textarea): Implement <textarea>.
8623
8624 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8625 we don't shadow mode-specific bindings.
8626
8627 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8628 nothing to push.
8629
8630 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8631
4582a01c 86322013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8633
8634 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8635
15b263dc
MA
86362013-06-19 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8639 not needed.
8640
8641 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8642
8f5297f7
LMI
86432013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
8645 * net/browse-url.el (browse-url-browser-function):
8646 `eww-browse-url' has the right calling signature, `eww' does not.
8647
011c4552
GM
86482013-06-19 Glenn Morris <rgm@gnu.org>
8649
2285bd27
GM
8650 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8651 Only eval autoloaded macros.
8652 (byte-compile-autoload): Only give the macro warning for macros.
8653
1d653303
GM
8654 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8655 (ps-underlined-faces): Declare.
8656
bdd779ec
GM
8657 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8658 (speedbar-add-supported-extension): Declare.
8659
011c4552
GM
8660 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8661 Don't include a date stamp in the header of the generated file;
8662 it leads to needless differences between output files.
8663
e59dfb0e
MA
86642013-06-19 Michael Albinus <michael.albinus@gmx.de>
8665
c763842b
SM
8666 * net/secrets.el (secrets-struct-secret-content-type):
8667 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8668 Some servers do not offer introspection.
e59dfb0e 8669
102626e2
SM
86702013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * electric.el (electric-pair-mode): Improve interaction with
8673 electric-layout-mode.
8674 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8675 (electric-pair-syntax): Use text-mode-syntax-table in comments
8676 and strings.
8677 (electric-pair--insert): New function.
8678 (electric-pair-post-self-insert-function): Use it and
8679 electric--after-char-pos.
8680
ad528125
LL
86812013-06-19 Leo Liu <sdl.web@gmail.com>
8682
8683 * progmodes/octave.el (octave-help): Fix regexp.
8684
924d6997
G
86852013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8686
8687 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8688 (shr-table-horizontal-line): Allow nil as a value, and change the
8689 default.
8690 (shr-insert-table-ruler): Respect the nil value.
8691
86922013-06-18 Tom Tromey <tromey@barimba>
8693
8694 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8695 New defvars.
8696 (eww-open-file): New defun.
8697 (eww-render): Initialize new variables.
8698 (eww-display-html): Handle "link" and "a".
8699 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8700 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8701 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8702 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8703 New defuns.
924d6997 8704
d1bbba4f
DG
87052013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8706
8707 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8708 Distinguish ternary operator tokens from slash symbol and slash
8709 char literal.
8710
14dd22d2
JB
87112013-06-18 Juanma Barranquero <lekktu@gmail.com>
8712
8713 Convert symbol prettification into minor mode and global minor mode.
8714
8715 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8716 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8717 (prettify-symbols--keywords): Rename from
8718 `prog-prettify-symbols-alist' and make a local defvar.
8719 (prettify-symbols--compose-symbol): Rename from
8720 `prog--prettify-font-lock-compose-symbol'.
8721 (prettify-symbols--make-keywords): Rename from
8722 `prog-prettify-font-lock-symbols-keywords' and simplify.
8723 (prog-prettify-install): Remove.
8724 (prettify-symbols-mode): New minor mode, based on
8725 `prog-prettify-install'.
8726 (turn-on-prettify-symbols-mode): New function.
8727 (global-prettify-symbols-mode): New globalized minor mode.
8728
8729 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8730 * progmodes/cfengine.el (cfengine3-mode):
8731 * progmodes/perl-mode.el (perl-mode): Don't call
8732 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8733
292c880c
JL
87342013-06-18 Juri Linkov <juri@jurta.org>
8735
8736 * files-x.el (modify-file-local-variable-message): New function.
8737 (modify-file-local-variable)
8738 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8739 and call `modify-file-local-variable-message' when it's non-nil.
8740 (add-file-local-variable, delete-file-local-variable)
8741 (add-file-local-variable-prop-line)
8742 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8743 and use it. (Bug#9820)
8744
0950aa27
JL
87452013-06-18 Juri Linkov <juri@jurta.org>
8746
8747 * emulation/vi.el (vi-shell-op):
8748 * emulation/vip.el (vip-execute-com, ex-command):
8749 * emulation/viper-cmd.el (viper-exec-bang):
8750 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8751 the call of `shell-command-on-region'. (Bug#14637)
8752
8753 * simple.el (shell-command-on-region): Doc fix.
8754
8fbcca16
SM
87552013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8758 (bug#14633).
8759
dd7426ea
GM
87602013-06-18 Glenn Morris <rgm@gnu.org>
8761
4ba54f7d
GM
8762 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8763
dd7426ea
GM
8764 * newcomment.el (comment-search-forward, comment-search-backward):
8765 Doc fix. (Bug#14376)
8766
58aa805b
JB
87672013-06-18 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8770 (buffer-face-mode-invoke): Doc fix.
8771
9a08a617
MM
87722013-06-18 Matthias Meulien <orontee@gmail.com>
8773
8774 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8775 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8776
f2f426ca
GM
87772013-06-18 Glenn Morris <rgm@gnu.org>
8778
9445f99b
GM
8779 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8780 Replace obsolete function generic-make-keywords with its expansion.
8781
e0df2d14
GM
8782 * progmodes/python.el (ffap-alist): Declare.
8783
f2f426ca
GM
8784 * textmodes/reftex.el (bibtex-mode-map): Declare.
8785
f7f9a720
SM
87862013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8789 (package-unpack, package-unpack-single): Return the pkg-dir.
8790 (package-download-transaction): Use it to update package-alist.
8791
57ff04e0
LMI
87922013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8793
8794 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8795 possible choice.
8796
c048c022
JL
87972013-06-17 Juri Linkov <juri@jurta.org>
8798
8799 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8800
b5bcaee5
DG
88012013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8802
a020afb9
JB
8803 * emacs-lisp/package.el (package-load-descriptor):
8804 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8805 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8806
551e07e5
JB
88072013-06-17 Juanma Barranquero <lekktu@gmail.com>
8808
8809 * startup.el (command-line): Expand package name returned by
8810 `package--description-file' (bug#14639).
8811
d363bffb
DG
88122013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8813
8814 * emacs-lisp/package.el (package-load-descriptor): Do not call
8815 `emacs-lisp-mode', just use its syntax table.
8816
f612933b
JB
88172013-06-17 Juanma Barranquero <lekktu@gmail.com>
8818
8819 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8820 `font-lock-extra-managed-props' if any prettifying keyword is added.
8821 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8822 (prog-mode): Use `setq-local'.
8823
db3b7db5
SM
88242013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * international/characters.el (standard-case-table): Set syntax of ?»
8827 and ?« to punctuation.
8828
f3d674df
JB
88292013-06-16 Juanma Barranquero <lekktu@gmail.com>
8830
8831 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8832 Save relevant match data before calling `syntax-ppss' (bug#14595).
8833
31489a32
JL
88342013-06-15 Juri Linkov <juri@jurta.org>
8835
8836 * files-x.el (modify-file-local-variable-prop-line): Add local
8837 variables to the end of the existing comment on the first line.
8838 Use `file-auto-mode-skip' to skip interpreter magic line,
8839 and also skip XML declaration.
8840
66bd25ab
SM
88412013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * startup.el (package--builtin-versions): New var.
8844 (package-subdirectory-regexp): Remove.
8845 (package--description-file): Hard code its value instead.
8846
8847 * emacs-lisp/package.el: Don't activate packages older than builtin.
8848 (package-obsolete-list): Rename from package-obsolete-alist, and make
8849 it into a simple list of package-desc.
8850 (package-strip-version): Remove.
8851 (package-built-in-p): Use package--builtin-versions.
8852 (package-mark-obsolete): Simplify.
8853 (package-process-define-package): Mark it obsolete if older than the
8854 builtin version.
8855 (package-handle-response): Use line-end-position.
8856 (package-read-archive-contents, package--download-one-archive):
8857 Simplify.
8858 (package--add-to-archive-contents): Skip if older than the builtin or
8859 installed version.
8860 (package-menu-describe-package): Fix last change.
8861 (package-list-unversioned): New var.
8862 (package-menu--generate): Use it.
8863
8864 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8865 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8866 (autoload-builtin-package-versions): New variable.
8867 (autoload-generate-file-autoloads): Use them.
8868 Remove the list of autoloaded functions/macros from the
8869 (autoload...) comments.
8870
8871 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8872
9583ec36
EZ
88732013-06-15 Eli Zaretskii <eliz@gnu.org>
8874
8875 * simple.el (line-move-partial): Don't jump to the next screen
8876 line as soon as it becomes visible. Instead, continue enlarging
8877 the vscroll until the portion of a tall screen line that's left on
8878 display is about the height of the frame's default font.
8879 (Bug#14567)
8880
f0100d8a
GM
88812013-06-15 Glenn Morris <rgm@gnu.org>
8882
b86a85ca
GM
8883 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8884 compilation-error-regexp-alist void, or local while let-bound.
8885
f0100d8a
GM
8886 * progmodes/make-mode.el (makefile-mode-syntax-table):
8887 Treat "=" as punctuation. (Bug#14614)
8888
05e7ce90
JB
88892013-06-15 Juanma Barranquero <lekktu@gmail.com>
8890
8891 * help-fns.el (describe-variable):
8892 Add extra line for permanent-local variables.
8893
12e5e86e
SH
88942013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8895
8896 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8897 Add export, import, library. (Bug#9164)
8898 (library): Set indent function.
8899
230dcbaf
GM
89002013-06-14 Glenn Morris <rgm@gnu.org>
8901
8902 * term/xterm.el (xterm--query):
8903 Stop after first matching handler. (Bug#14615)
8904
e36b2d20 89052013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8906
8907 Add support for dired in saveplace.
8908 * dired.el (dired-initial-position-hook): New variable.
8909 (dired-initial-position): Call hook to place cursor position.
8910 * saveplace.el (save-place-to-alist): Add dired position.
8911 (save-place-dired-hook): New function.
8912
0b31660d
SM
89132013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8914
bf1e6ae8
SM
8915 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8916 through a symbol rather than letrec.
8917
1b8dff23
SM
8918 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8919 (package-desc): Add `dir' field.
8920 (package-desc-full-name): New function.
8921 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8922 (package-maybe-load-descriptor): Remove.
8923 (package-load-all-descriptors): Just call package-load-descriptor.
8924 (package--disabled-p): New function.
8925 (package-desc-vers, package-desc-doc): Remove aliases.
8926 (package--dir): Remove function.
8927 (package-activate): Check if a package is disabled.
8928 (package-process-define-package): New function, extracted from
8929 define-package.
8930 (define-package): Turn into a place holder.
8931 (package-unpack-single, package-tar-file-info):
8932 Use package--description-file.
8933 (package-compute-transaction): Use package--disabled-p.
8934 (package-download-transaction): Don't call
8935 package-maybe-load-descriptor since they're all loaded anyway.
8936 (package-install): Change argument to be a pkg-desc.
8937 (package-delete): Use a single pkg-desc argument.
8938 (describe-package-1): Use package-desc-dir instead of package--dir.
8939 Use package-desc property instead of package-symbol.
8940 (package-install-button-action): Adjust accordingly.
8941 (package--push): Rewrite.
8942 (package-menu--print-info): Adjust accordingly. Change the ID format
8943 to be a pkg-desc.
8944 (package-menu-describe-package, package-menu-get-status)
8945 (package-menu--find-upgrades, package-menu-mark-upgrades)
8946 (package-menu-execute, package-menu--name-predicate):
8947 Adjust accordingly.
8948 * startup.el (package--description-file): New function.
8949 (command-line): Use it.
8950 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8951 Use package-desc-version.
8952
0b31660d
SM
8953 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8954 (byte-compile-preprocess): Use it.
8955 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8956 can't quite recognize.
8957 (byte-compile-add-to-list): Remove.
8958 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8959 (cconv-closure-convert): Add assertion.
8960
8961 * emacs-lisp/map-ynp.el: Use lexical-binding.
8962 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8963 Factor out some repeated code.
8964
de0503df
SM
89652013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * subr.el (with-eval-after-load): New macro.
8968 (eval-after-load): Allow form to be a function.
8969 take advantage of lexical-binding.
8970 (do-after-load-evaluation): Use dolist and adjust to new format.
8971 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8972
bc5c8c5a
JL
89732013-06-13 Juri Linkov <juri@jurta.org>
8974
8975 * replace.el (perform-replace): Display "symbol " and other search
8976 modes from `isearch-message-prefix' in the *Help* buffer.
8977
8978 * isearch.el (isearch-query-replace): Add " symbol" and other
8979 possible search modes from `isearch-message-prefix' to the prompt.
8980 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8981 when reading a regexp to collect.
8982
a22289f7
JL
89832013-06-13 Juri Linkov <juri@jurta.org>
8984
8985 * isearch.el (word-search-regexp): Match whitespace if the search
8986 string begins or ends in whitespace. The LAX arg is applied to
8987 both ends of the search string. Use `regexp-quote' and explicit
8988 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8989 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8990 boundaries are replaced with symbol boundaries, and characters
8991 between symbols match non-word non-symbol syntax. (Bug#14602)
8992
cb89acab
JL
89932013-06-13 Juri Linkov <juri@jurta.org>
8994
8995 * isearch.el (isearch-del-char): Don't exceed the length of
8996 `isearch-string' by the prefix arg. (Bug#14563)
8997
6e8cfc81
JL
89982013-06-13 Juri Linkov <juri@jurta.org>
8999
9000 * isearch.el (isearch-yank-word, isearch-yank-line)
9001 (isearch-char-by-name, isearch-quote-char)
9002 (isearch-printing-char, isearch-process-search-char):
9003 Add optional count prefix arg. (Bug#14563)
9004
9005 * international/isearch-x.el
9006 (isearch-process-search-multibyte-characters):
9007 Add optional count prefix arg.
9008
c23d55f4
VS
90092013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9012 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9013 lexical-binding.
9014
90152013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9016
9017 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9018
ba947bc4
GM
90192013-06-13 Glenn Morris <rgm@gnu.org>
9020
8baeb37a
GM
9021 * startup.el (tty-handle-args):
9022 Don't just discard "--" and anything after. (Bug#14608)
9023
ba947bc4
GM
9024 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9025
9abefce4
MA
90262013-06-13 Michael Albinus <michael.albinus@gmx.de>
9027
9028 Implement changes in Secret Service API. Make it backward compatible.
9029 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9030 (secrets-create-item): Use it. Prefix properties with interface.
9031
5755011f
MH
90322013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9033
9034 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9035 (term-emulate-terminal): Respect term-suppress-hard-newline.
9036
1261d2da
S
90372013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9038
9039 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9040 Only remove a `thumb-file' overlay. (Bug#14548)
9041
868490bb
GJ
90422013-06-12 Grégoire Jadi <daimrod@gmail.com>
9043
9044 * mail/reporter.el (reporter-submit-bug-report):
9045 Handle missing package-name. (Bug#14600)
9046
79d7167f
TH
90472013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9048
9049 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9050 (reftex-citation-prompt, reftex-default-bibliography)
9051 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9052 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9053 (reftex-bib-sort-author, reftex-bib-sort-year)
9054 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9055 (reftex-extract-bib-entries-from-thebibliography)
9056 (reftex-get-bibkey-default, reftex-get-bib-names)
9057 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9058 (reftex-format-bib-entry, reftex-parse-bibitem)
9059 (reftex-format-bibitem, reftex-do-citation)
9060 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9061 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9062 (reftex-insert-bib-matches, reftex-format-citation)
9063 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9064 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9065 existing comments into docstrings.
9066
5f9dbd7a
XF
90672013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9068
9069 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9070
94df41ab
AS
90712013-06-12 Andreas Schwab <schwab@suse.de>
9072
9073 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9074 for auto-save files.
9075
a7f3fecc
GM
90762013-06-12 Glenn Morris <rgm@gnu.org>
9077
001809f6
GM
9078 * ido.el (ido-delete-ignored-files): Remove.
9079 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9080 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9081
834b5ded
EL
90822013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9083
08c73ed2
EL
9084 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9085
834b5ded
EL
9086 * ido.el (ido-delete-ignored-files): New function,
9087 split from ido-make-file-list-1.
9088 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9089 (ido-make-file-list-1): Use ido-delete-ignored-files.
9090
daabf15a
LL
90912013-06-12 Leo Liu <sdl.web@gmail.com>
9092
9093 * progmodes/octave.el (inferior-octave-startup)
9094 (inferior-octave-completion-table)
9095 (inferior-octave-track-window-width-change)
9096 (octave-eldoc-function-signatures, octave-help)
9097 (octave-find-definition): Use single quoted strings.
9098 (inferior-octave-startup-args): Change default value.
9099 (inferior-octave-startup): Do not hard code "-i" and
9100 "--no-line-editing".
9101 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9102 (inferior-octave-directory-tracker): Use it.
9103 (octave-goto-function-definition): Robustify.
9104 (octave-help): Support highlighting operators in 'See also'.
9105 (octave-find-definition): Find subfunctions only in Octave mode.
9106
cf4e5178
SM
91072013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * help-fns.el (help-fns--compiler-macro): If the handler function is
9110 named, then put a link to it.
9111 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9112 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9113 (cl-typep): Use it.
9114 (cl-eval-when): Simplify debug spec.
9115 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9116 compiler-macro function instead of setting `compiler-macro-file'.
9117
99c81280 91182013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9119
9120 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9121 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9122
f56be016
SM
91232013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9124 Daniel Hackney <dan@haxney.org>
9125
9126 First part of Daniel Hackney's patch to package.el.
9127 * emacs-lisp/package.el: Use defstruct.
9128 (package-desc): New, main struct.
9129 (package--bi-desc, package--ac-desc): New structs, used to describe the
9130 format in external files.
9131 (package-desc-vers): Replace with package-desc-version accessor.
9132 (package-desc-doc): Replace with package-desc-summary accessor.
9133 (package-activate-1): Remove `package' arg since the pkg-vec now
9134 includes the name.
9135 (define-package): Use package-desc-from-define.
9136 (package-unpack-single): Change file-name arg to be a symbol.
9137 (package--add-to-archive-contents): Use package-desc-create and new
9138 accessor functions to package--ac-desc.
9139 (package-buffer-info, package-tar-file-info): Return a package-desc.
9140 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9141 arg to be a package-desc.
9142 (package-install-file): Adjust accordingly. Use \' to match EOS.
9143 (package--from-builtin): New function.
9144 (describe-package-1, package-menu--generate): Use it.
9145 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9146 (package-generate-autoloads): Idem and return the name of the file.
9147 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9148 Change pkg-info arg to be a package-desc.
9149 Use package-make-ac-desc.
9150 (package-upload-file): Use \' to match EOS.
9151 * finder.el (finder-compile-keywords): Use package-make-builtin.
9152
31119d63
SM
91532013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9154
931a2762
SM
9155 * vc/vc.el (vc-deduce-fileset): Change error message.
9156 (vc-read-backend): New function.
9157 (vc-next-action): Use it.
9158
5a3eb0c6
SM
9159 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9160
e3eb1bb7
SM
9161 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9162 (prolog-font-lock-keywords): Use regexp-opt instead.
9163 Don't manually highlight strings.
9164 (prolog-mode-variables): Simplify comment-start-skip.
9165 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9166
31119d63
SM
9167 * emacs-lisp/generic.el (generic--normalise-comments)
9168 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9169 (generic-mode-set-comments): Use them.
9170 (generic-bracket-support): Use setq-local.
9171 (generic-make-keywords-list): Declare obsolete.
9172
7de135d0
GM
91732013-06-11 Glenn Morris <rgm@gnu.org>
9174
9175 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9176 Prettify after setting font-lock-defaults. (Bug#14574)
9177
fa6bc6fd
JB
91782013-06-11 Juanma Barranquero <lekktu@gmail.com>
9179
9180 * replace.el (query-replace, occur-read-regexp-defaults-function)
9181 (replace-search):
9182 * subr.el (declare-function, number-sequence, local-set-key)
9183 (substitute-key-definition, locate-user-emacs-file)
9184 (with-silent-modifications, split-string, eval-after-load):
9185 Fix typos, remove unneeded backslashes and reflow some docstrings.
9186
cf1f9b9a
SM
91872013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9190 default for Elisp files.
9191
56602a4b
GM
91922013-06-11 Glenn Morris <rgm@gnu.org>
9193
9194 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9195 although define-derived-mode was doing this anyway. (Bug#14583)
9196
30ae0b2c
JB
91972013-06-10 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9200 Fix make-variable-buffer-local call to refer to the correct variable.
9201
fa472906
AG
92022013-06-10 Aidan Gauland <aidalgol@amuri.net>
9203
9204 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9205 (eshell-visual-subcommands, eshell-visual-options):
9206 Add summary line to docstrings. Add cross-references.
fa472906 9207
ff4871b9
GM
92082013-06-10 Glenn Morris <rgm@gnu.org>
9209
9210 * epa.el (epa-read-file-name): New function. (Bug#14510)
9211 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9212
04fcf1b0
AG
92132013-06-09 Aidan Gauland <aidalgol@amuri.net>
9214
9215 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9216 output redirection to be ignored with visual commands.
9217
88b00caa
AG
92182013-06-09 Aidan Gauland <aidalgol@amuri.net>
9219
9220 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9221 (eshell-term-initialize): Move long lambda to separate function
9222 eshell-visual-command-p.
e7b41c4c
JB
9223 * eshell/em-dirs.el (eshell-dirs-initialise):
9224 * eshell/em-script.el (eshell-script-initialize):
9225 Add missing #' to lambda.
88b00caa 9226
fda74125
LL
92272013-06-08 Leo Liu <sdl.web@gmail.com>
9228
9229 * progmodes/octave.el (octave-add-log-current-defun): New function.
9230 (octave-mode): Set add-log-current-defun-function.
9231 (octave-goto-function-definition): Do not move point if not found.
9232 (octave-find-definition): Enhance to try subfunctions first.
9233
467f3b33
GM
92342013-06-08 Glenn Morris <rgm@gnu.org>
9235
9236 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9237 (byte-compile-backward-char, byte-compile-backward-word):
9238 Improve previous change, to handle non-explicit nil.
9239
544badc3
SM
92402013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9243 (smie--opener/closer-at-point): New function.
9244 (smie--matching-block-data): Use it. Don't match from right after an
9245 opener or right before a closer. Obey smie-blink-matching-inners.
9246 Don't signal a mismatch for repeated inners like "switch..case..case".
9247
a175bf33
LL
92482013-06-07 Leo Liu <sdl.web@gmail.com>
9249
9250 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9251 to t. (Bug#14303)
ce8209d4
LL
9252 (octave-function-header-regexp): Fix. (Bug#14570)
9253 (octave-help-mode-finish-hook, octave-help-mode-finish):
9254 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9255
9256 * newcomment.el (comment-search-backward): Revert last change.
9257 (Bug#14434)
9258
9259 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9260
a822acff
EZ
92612013-06-07 Eli Zaretskii <eliz@gnu.org>
9262
9263 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9264 through xargs, to avoid failure due to MS-Windows limitations on
9265 command-line length.
9266
961166f5
GM
92672013-06-06 Glenn Morris <rgm@gnu.org>
9268
d0341459
GM
9269 * font-lock.el (lisp-font-lock-keywords-2):
9270 Treat user-error like error.
9271
961166f5
GM
9272 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9273 (byte-compile-backward-char, byte-compile-backward-word):
9274 Handle explicit nil arguments. (Bug#14565)
9275
80fa505f
AM
92762013-06-05 Alan Mackenzie <acm@muc.de>
9277
9278 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9279 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9280 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9281 (Bug#9706)
80fa505f 9282
fccdc796
SM
92832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * autorevert.el (auto-revert-notify-handler): Use memq.
9286 Hide assertion failure.
9287
9288 * skeleton.el: Use cl-lib.
9289 (skeleton-further-elements): Use defvar-local.
9290 (skeleton-insert): Use cl-progv.
9291
9bfff84b
TZ
92922013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9293
9294 * progmodes/prog-mode.el (prog-prettify-symbols)
9295 (prog-prettify-install): Update docstrings.
9296
55577e7c
SM
92972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * simple.el: Move all the prog-mode code to prog-mode.el.
9300 * progmodes/prog-mode.el: New file.
9301 * loadup.el: Add prog-mode.el.
9302
8fc57765
TZ
93032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9304
9305 * simple.el (prog-prettify-symbols): Add version.
9306 (prog-prettify-install): Add convenience function to prettify symbols.
9307
9308 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9309 (perl--augmented-font-lock-keywords-1)
9310 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9311 variables and use it.
9312
9313 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9314 (cfengine3-mode): Remove unneeded variable and use it.
9315
9316 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9317 (lisp--augmented-font-lock-keywords-1)
9318 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9319 Remove unneeded variables and use it.
9320
650645d5 93212013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9322
9323 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9324 to point when opening the connection. (Bug#14380)
28f5da6d 9325
781b4af6
SM
93262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * subr.el (load-history-regexp, load-history-filename-element)
9329 (eval-after-load, after-load-functions, do-after-load-evaluation)
9330 (eval-next-after-load, display-delayed-warnings)
9331 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9332 definition of save-match-data.
9333 (overriding-local-map): Remove accidental obsolescence declaration.
9334
9335 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9336
3ca0d0b4
TZ
93372013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9338
9339 Generalize symbol prettify support to prog-mode and implement it
9340 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9341 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9342 (prog--prettify-font-lock-compose-symbol)
9343 (prog-prettify-font-lock-symbols-keywords): New variables and
9344 functions to support symbol prettification.
9345 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9346 (lisp--augmented-font-lock-keywords-1)
9347 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9348 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9349 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9350 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9351 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9352 * progmodes/perl-mode.el (perl-prettify-symbols)
9353 (perl--font-lock-compose-symbol)
9354 (perl--font-lock-symbols-keywords): Move to prog-mode.
9355 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9356 (perl-font-lock-keywords-1)
9357 (perl-font-lock-keywords-2): Remove explicit prettify support.
9358 (perl--augmented-font-lock-keywords)
9359 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9360 (perl--augmented-font-lock-keywords-2, perl-mode):
9361 Implement prettify support.
3ca0d0b4 9362
976cb066
LL
93632013-06-05 Leo Liu <sdl.web@gmail.com>
9364
9365 Re-implement smie matching block highlight using
9366 show-paren-data-function. (Bug#14395)
9367 * emacs-lisp/smie.el (smie-matching-block-highlight)
9368 (smie--highlight-matching-block-overlay)
9369 (smie--highlight-matching-block-lastpos)
9370 (smie-highlight-matching-block)
9371 (smie-highlight-matching-block-mode): Remove.
9372 (smie--matching-block-data-cache): New variable.
9373 (smie--matching-block-data): New function.
9374 (smie-setup): Use smie--matching-block-data for
9375 show-paren-data-function.
9376
9377 * progmodes/octave.el (octave-mode-menu): Fix.
9378 (octave-find-definition): Skip garbage lines.
9379
208d0342
SM
93802013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 Fix compilation error with simultaneous dynamic+lexical scoping.
9383 Add warning when a defvar appears after the first let-binding.
9384 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9385 (byte-compile-close-variables): Initialize it.
9386 (byte-compile--declare-var): New function.
9387 (byte-compile-file-form-defvar)
9388 (byte-compile-file-form-define-abbrev-table)
9389 (byte-compile-file-form-custom-declare-variable): Use it.
9390 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9391 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9392 (byte-compile-bind): Handle dynamic bindings that shadow
9393 lexical bindings.
9394 (byte-compile-unbind): Make arg non-optional.
9395 (byte-compile-let): Simplify.
9396 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9397 (cconv--analyse-function, cconv-analyse-form): Populate it.
9398 Protect byte-compile-bound-variables to limit the scope of defvars.
9399 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9400 Remove unneeded rule for `declare'.
9401
9402 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9403 so as to avoid depending on cl-adjoin at run-time.
9404 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9405
9406 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9407 (macroexp--warn-and-return): Use it.
9408
1ac2891e
GM
94092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9410
a12bf61e 9411 * subr.el: Convert to lexical binding.
1ac2891e
GM
9412 (overriding-local-map): Make obsolete.
9413 (add-to-list): Doc fix. Add compiler macro.
9414 (read-key): Swap values of local maps.
9415
2587b005
LL
94162013-06-05 Leo Liu <sdl.web@gmail.com>
9417
9418 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9419
f1da3c88
LL
94202013-06-04 Leo Liu <sdl.web@gmail.com>
9421
9422 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9423 (compilation-auto-jump): Suppress the "Mark set" message to give
9424 way to exit message.
9425
3caa391f
AM
94262013-06-04 Alan Mackenzie <acm@muc.de>
9427
9428 Remove faulty optimisation from indentation calculation.
9429 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9430 search limit based on 2000 characters back from indent-point.
9431
068922a2
TH
94322013-06-03 Tassilo Horn <tsdh@gnu.org>
9433
9434 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9435
1f8fdd53
SM
94362013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9437
bbcc4d97
SM
9438 * emacs-lisp/lisp.el: Use lexical-binding.
9439 (lisp--local-variables-1, lisp--local-variables): New functions.
9440 (lisp--local-variables-completion-table): New var.
208d0342 9441 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9442
1f8fdd53
SM
9443 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9444 eagerly (bug#14422).
9445
c9628c79
MA
94462013-06-03 Michael Albinus <michael.albinus@gmx.de>
9447
9448 * autorevert.el (auto-revert-notify-enabled)
9449 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9450 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9451 (auto-revert-notify-handler): Handle also gfilenotify.
9452
e7b41c4c 9453 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9454 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9455 Remove.
c9628c79 9456
e5e4a942
JL
94572013-06-03 Juri Linkov <juri@jurta.org>
9458
9459 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9460 `M-s h .'. (Bug#14427)
9461
9462 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9463 command `hi-lock-face-symbol-at-point'.
9464 (hi-lock-face-symbol-at-point): New command.
9465 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9466 (hi-lock-menu): Add `highlight-symbol-at-point'.
9467 (hi-lock-mode): Doc fix.
9468
9469 * isearch.el (isearch-forward-symbol-at-point): New command.
9470 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9471 (isearch-highlight-regexp): Add a regexp which matches
9472 words/symbols for word/symbol mode.
9473
9474 * subr.el (find-tag-default-bounds): New function with the body
9475 mostly moved from `find-tag-default'.
9476 (find-tag-default): Move most code to `find-tag-default-bounds',
9477 call it and apply `buffer-substring-no-properties' afterwards.
9478
26b3353a
TH
94792013-06-03 Tassilo Horn <tsdh@gnu.org>
9480
781b4af6
SM
9481 * eshell/em-term.el (eshell-term-initialize):
9482 Use `cl-intersection' rather than `intersection'.
26b3353a 9483
51b60f53
XF
94842013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9485
fe054b63 9486 * vc/log-view.el: Doc fix.
d3ffe17c 9487 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9488
a0eb10b3 94892013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9490
9491 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9492 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9493 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9494 (eieio-unbound, eieio-default-superclass)
9495 (eieio--define-field-accessors, method-static, method-before)
9496 (method-primary, method-after, method-num-lists)
9497 (method-generic-before, method-generic-primary)
9498 (method-generic-after, method-num-slots)
9499 (eieio-specialized-key-to-generic-key)
9500 (eieio--check-type, class-v, class-p)
9501 (eieio-class-name, define-obsolete-function-alias)
9502 (eieio-class-parents-fast, eieio-class-children-fast)
9503 (same-class-fast-p, class-constructor, generic-p)
9504 (generic-primary-only-p, generic-primary-only-one-p)
9505 (class-option-assoc, class-option, eieio-object-p)
9506 (class-abstract-p, class-method-invocation-order)
9507 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9508 (eieio-class-un-autoload, eieio-defclass)
9509 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9510 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9511 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9512 (eieio-defgeneric-reset-generic-form)
9513 (eieio-defgeneric-form-primary-only)
9514 (eieio-defgeneric-reset-generic-form-primary-only)
9515 (eieio-defgeneric-form-primary-only-one)
9516 (eieio-defgeneric-reset-generic-form-primary-only-one)
9517 (eieio-unbind-method-implementations)
9518 (eieio--defmethod, eieio--typep)
9519 (eieio-perform-slot-validation, eieio-validate-slot-value)
9520 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9521 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9522 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9523 (eieio-slot-name-index, eieio-class-slot-name-index)
9524 (eieio-set-defaults, eieio-initarg-to-attribute)
9525 (eieio-attribute-to-initarg, eieio-c3-candidate)
9526 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9527 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9528 (eieio-class-precedence-list, eieio-generic-call-methodname)
9529 (eieio-generic-call-arglst, eieio-generic-call-key)
9530 (eieio-generic-call-next-method-list)
9531 (eieio-pre-method-execution-functions, eieio-generic-call)
9532 (eieio-generic-call-primary-only, eieiomt-method-list)
9533 (eieiomt-optimizing-obarray, eieiomt-install)
9534 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9535 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9536 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9537 (defclass): Remove `eval-and-compile' from macro.
9538 (call-next-method, shared-initialize): Instead of using
9539 `scoped-class' variable, use new eieio--scoped-class, and
9540 eieio--with-scoped-class.
9541 (initialize-instance): Rename local variable 'scoped-class' to
9542 'this-class' to remove ambiguitity from old global.
9543
9544 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9545 eieio.el.
4f405069
JB
9546 (eieio--scoped-class-stack): New variable.
9547 (eieio--scoped-class): New fcn.
890f7890
DE
9548 (eieio--with-scoped-class): New scoping macro.
9549 (eieio-defclass): Use pushnew instead of add-to-list.
9550 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9551 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9552 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9553 `scoped-class' variable, use new eieio--scoped-class, and
9554 eieio--with-scoped-class.
9555
9556 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9557
d105b0e2
TH
95582013-06-02 Tassilo Horn <tsdh@gnu.org>
9559
9560 * eshell/esh-ext.el (eshell-external-command): Pass args to
9561 `eshell-find-interpreter'.
9562 (eshell-find-interpreter): Add new second parameter ARGS.
9563
9564 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9565 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9566
9567 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9568 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9569
9570 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9571 (eshell-visual-options): New defcustom.
9572 (eshell-escape-control-x): Adapt docstring.
9573 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9574 `eshell-visual-options' in addition to `eshell-visual-commands'.
9575 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9576
f46305c8 95772013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9578
9579 * progmodes/python.el (python-indent-block-enders): Add break,
9580 continue and raise keywords.
9581
d870df21
GM
95822013-06-01 Glenn Morris <rgm@gnu.org>
9583
9133b82e
GM
9584 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9585
02c992ec 9586 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9587 * progmodes/cc-cmds.el (delete-forward-p):
9588 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9589 * progmodes/cc-engine.el (buffer-syntactic-context):
9590 * progmodes/cc-fonts.el (face-property-instance):
9591 * progmodes/cc-mode.el (set-keymap-parents):
9592 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9593 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9594 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9595 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9596 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9597
31e7b090
GM
9598 * progmodes/cc-vars.el (other): Emacs has this widget since
9599 at least 21.1, so don't (re)define it.
9600
d870df21
GM
9601 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9602 Replace the obsolete alias pcomplete-arg-quote-list.
9603
c75c93c7
LL
96042013-06-01 Leo Liu <sdl.web@gmail.com>
9605
9606 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9607 punctuation syntax.
9608 (inferior-octave-minimal-columns)
9609 (inferior-octave-last-column-width): New variables.
9610 (inferior-octave-track-window-width-change): New function.
9611 (inferior-octave-mode): Adjust column width so that Octave output,
9612 for example from 'ls', can fit into the window nicely.
9613
973d1e12
DG
96142013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9615
9616 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9617 Highlight expansions inside regexp literals.
9618
0888c286
GM
96192013-05-31 Glenn Morris <rgm@gnu.org>
9620
e26aac1f
GM
9621 * obsolete/sym-comp.el (symbol-complete):
9622 Replace obsolete completion-annotate-function.
9623
0888c286
GM
9624 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9625
19bb8e62
DG
96262013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9627
781b4af6
SM
9628 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9629 New function, checks if point is inside a literal that allows
19bb8e62
DG
9630 expression expansion.
9631 (ruby-syntax-propertize-expansion): Use it.
9632 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9633 around the body.
9634
01dea85f
JL
96352013-05-30 Juri Linkov <juri@jurta.org>
9636
9637 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9638 to "\M-si".
9639 (isearch-invisible): New variable.
9640 (isearch-forward): Doc fix.
9641 (isearch-mode): Set `isearch-invisible'
9642 to the value of `search-invisible'.
9643 (isearch-toggle-case-fold): Doc fix.
9644 (isearch-toggle-invisible): New command.
9645 (isearch-query-replace): Let-bind `search-invisible'
9646 to the value of `isearch-invisible'.
9647 (isearch-search): Use `isearch-invisible' instead of
9648 `search-invisible'. Let-bind `search-invisible'
9649 to the value of `isearch-invisible'. (Bug#11378)
9650
ab1bdce5
JL
96512013-05-30 Juri Linkov <juri@jurta.org>
9652
9653 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9654 call when `query-flag' is nil and `search-invisible' is non-nil.
9655 (Bug#11746)
9656
d6d236e2
GM
96572013-05-30 Glenn Morris <rgm@gnu.org>
9658
8accd027
GM
9659 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9660
2a8bed1c
GM
9661 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9662 (cc-require): Suppress spurious "noruntime" warnings.
9663 (cc-require-when-compile): Use fboundp, for sake of compiler.
9664
d6d236e2
GM
9665 * progmodes/cc-mode.el: Move load of cc-vars before that of
9666 cc-langs (which in turn loads cc-vars), to quieten compiler.
9667
9190b35b
SM
96682013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * paren.el: Simplify the code.
9671 (show-paren-mode): Always start the timer.
9672 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9673 (show-paren--overlay, show-paren--overlay-1): Rename from
9674 show-paren-overlay and show-paren-overlay-1, and initialize to an
9675 overlay rather than to nil.
9676 (show-paren-function): Misc cleanup and simplifications.
9677
4f8d1cf6
SM
96782013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * paren.el (show-paren-data-function): New hook.
9681 (show-paren--default): New function, extracted from show-paren-function.
9682 (show-paren-function): Use show-paren-data-function.
9683
02d844b5
GM
96842013-05-30 Glenn Morris <rgm@gnu.org>
9685
d209d4a9
GM
9686 * ielm.el (ielm-map, ielm-complete-symbol):
9687 Use completion-at-point rather than obsolete functions.
9688 (inferior-emacs-lisp-mode): Doc fix.
9689 Set completion-at-point-functions, rather than
9690 comint-dynamic-complete-functions.
9691
2082faa6
GM
9692 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9693 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9694 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9695
dd8620de
GM
9696 * image.el (image-animated-p): Tweak definition.
9697
ceca95b1
GM
9698 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9699 (rlogin-process-connection-type): Tweak default. Add set-after.
9700 (rlogin-host): Doc fix.
9701 (rlogin): Tweak prompt.
9702 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9703
ee9f1acc
GM
9704 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9705 * progmodes/tcl.el (inferior-tcl-mode-map):
9706 Use completion-at-point rather than obsolete alias.
9707
45ce222e
GM
9708 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9709
02d844b5
GM
9710 * minibuffer.el (read-file-name-completion-ignore-case):
9711 Move before completion--in-region, for eager macro expansion.
9712
ac44d6c1
JL
97132013-05-29 Juri Linkov <juri@jurta.org>
9714
9715 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9716 for total count of matching lines. Add `global-matches' for total
9717 count of matches. Rename `matches' to `lines' for count of
9718 matching lines. Add `matches' for count of matches.
9719 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9720 to `prev-line' for line number of prev match endpt.
9721 Increment `matches' for every match. Print the number of
9722 matching lines in the header.
9723 (occur-context-lines): Rename `lines' to `curr-line'.
9724 Rename `prev-lines' to `prev-line'. (Bug#14017)
9725
3c9c9d38
JL
97262013-05-29 Juri Linkov <juri@jurta.org>
9727
9728 * replace.el (perform-replace): Add `skip-read-only-count',
9729 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9730 Increment them for corresponding conditions and report the number
9731 of skipped occurrences in the final message. (Bug#11746)
9732 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9733 (replace-string, replace-regexp): Doc fix.
9734
33e249a2
SM
97352013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9736
8e399682
SM
9737 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9738
33e249a2 9739 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9740 prog-mode-map (bug#14504).
33e249a2 9741
f236dd84
LL
97422013-05-29 Leo Liu <sdl.web@gmail.com>
9743
9744 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9745 (octave-help): Small simplification.
9746
9747 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9748 off the highlight first.
9749
3694d13f
GM
97502013-05-29 Glenn Morris <rgm@gnu.org>
9751
03983bdc
GM
9752 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9753 Handle idlwave-last-system-routine-info-cons-cell being nil.
9754
bc74a74a
GM
9755 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9756 (idlwave-write-paths): Simplify via with-temp-buffer.
9757
8b394200
GM
9758 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9759 * emulation/cua-rect.el: Also load cua-base at run time.
9760
3694d13f
GM
9761 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9762 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9763 (cperl-imenu-on-info): Require imenu.
9764
336d7284
AM
97652013-05-28 Alan Mackenzie <acm@muc.de>
9766
9767 Handle "capitalised keywords" correctly.
33e249a2 9768 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9769
cb29c582
AG
97702013-05-28 Aidan Gauland <aidalgol@amuri.net>
9771
781b4af6 9772 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9773
690e44b2
GM
97742013-05-28 Glenn Morris <rgm@gnu.org>
9775
e658d75c
GM
9776 * vc/vc-arch.el (vc-exec-after): Declare.
9777 (vc-switches): Autoload.
9778 * vc/vc-bzr.el: No need to require vc when compiling.
9779 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9780 (vc-resynch-buffer, vc-dir-refresh): Declare.
9781 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9782 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9783 (vc-resynch-buffer): Declare.
9784 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9785 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9786 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9787 (grep-read-regexp, grep-read-files, grep-expand-template)
9788 (vc-dir-refresh): Declare.
9789 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9790 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9791 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9792 * vc/vc-mtn.el (vc-exec-after): Declare.
9793 (vc-switches): Autoload.
9794 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9795 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9796 (vc-file-tree-walk): Declare.
712b9732
GM
9797 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9798 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9799 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9800 * vc/vc-svn.el (vc-exec-after): Declare.
9801 (vc-switches, vc-setup-buffer): Autoload.
9802 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9803 Autoload.
9804 (vc-resynch-buffer): Declare.
9805
98e87fb3
GM
9806 * obsolete/fast-lock.el (byte-compile-warnings):
9807 Don't warn about obsolete features in this obsolete file.
9808
f5379553
GM
9809 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9810 Move definition before use.
9811
7a20ef83
GM
9812 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9813 (dun-unix-verbs): Remove dun-zippy.
9814 (dun-zippy): Remove function.
9815
690e44b2
GM
9816 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9817
3a52ccf7
JL
98182013-05-27 Juri Linkov <juri@jurta.org>
9819
9820 * replace.el (replace-search): New function with code moved out
9821 from `perform-replace'.
9822 (replace-highlight, replace-dehighlight): Move function definitions
9823 up closer to `replace-search'. (Bug#11746)
9824
d289938a
JL
98252013-05-27 Juri Linkov <juri@jurta.org>
9826
9827 * replace.el (perform-replace): Ignore invisible matches.
9828 In addition to checking `query-replace-skip-read-only', also
9829 filter out matches by calling `run-hook-with-args-until-failure'
9830 on `isearch-filter-predicates', and also check `search-invisible'
9831 for t or call `isearch-range-invisible'.
9832 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9833
66fc57e3
JL
98342013-05-27 Juri Linkov <juri@jurta.org>
9835
9836 * isearch.el (isearch-filter-predicates): Rename from
9837 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9838 (isearch-message-prefix): Display text from the property
9839 `isearch-message-prefix' of the currently active filters.
9840 (isearch-search): Don't compare `isearch-filter-predicate' with
9841 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9842 on `isearch-filter-predicates'. Also check `search-invisible' for t
9843 or call `isearch-range-invisible'.
9844 (isearch-filter-visible): Make obsolete.
9845 (isearch-lazy-highlight-search):
9846 Call `run-hook-with-args-until-failure' on
9847 `isearch-filter-predicates' and use `isearch-range-invisible'.
9848
9849 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9850 `isearch-filter-predicates' instead of `funcall'ing
9851 `isearch-filter-predicate'.
9852 (Info-mode): Set `Info-isearch-filter' to
9853 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9854
9855 * dired-aux.el (dired-isearch-filter-predicate-orig):
9856 Remove variable.
9857 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9858 (dired-isearch-filenames-end): Add and remove
9859 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9860 instead of changing the value of `isearch-filter-predicate'.
9861 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9862 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9863 Put property `isearch-message-prefix' to "filename " on
9864 `dired-isearch-filter-filenames'.
9865
9866 * wdired.el (wdired-change-to-wdired-mode):
9867 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9868 locally instead of changing `isearch-filter-predicate'.
9869 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9870
f1a60a0f
DG
98712013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9872
9873 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9874 return the commit hash (Bug#14459). Also set the
9875 `vc-git-detached' property.
9876 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9877 (vc-git-mode-line-string): Use the same help-echo format whether
9878 in detached mode or not, because we know the actual revision now.
9879 When in detached mode, shorten the revision to 7 chars.
9880
7f17cc40
SM
98812013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9882
9883 * emacs-lisp/easy-mmode.el (define-minor-mode):
9884 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9885 mode hook and provide a docstring.
9886
25c8401c
AM
98872013-05-27 Alan Mackenzie <acm@muc.de>
9888
9889 Remove spurious syntax-table text properties inserted by C-y.
9890 * progmodes/cc-mode.el (c-after-change): Also clear hard
9891 syntax-table property with value nil.
9892
dde84790
MA
98932013-05-27 Michael Albinus <michael.albinus@gmx.de>
9894
9895 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9896 when reading the events; the buffer layout shall not be changed.
9897
837fd9af
LL
98982013-05-27 Leo Liu <sdl.web@gmail.com>
9899
9900 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9901 New variable.
9902 (inferior-octave-directory-tracker): Automatically re-sync
9903 default-directory.
9904 (octave-help): Improve handling of 'See also'.
9905
4fd996b3
SM
99062013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9907
416f1802
SM
9908 * doc-view.el: Minor naming convention tweaks.
9909 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9910
4fd996b3
SM
9911 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9912 even if there's no `display' property yet (bug#14435).
9913
a052ef3b
EZ
99142013-05-25 Eli Zaretskii <eliz@gnu.org>
9915
4fd996b3 9916 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9917
9918 * Makefile.in (custom-deps, finder-data, autoloads)
9919 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9920 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9921 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9922
c9023370
SM
99232013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9926 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9927 Don't burp at EOB.
c9023370 9928
24d699fa
LL
99292013-05-25 Leo Liu <sdl.web@gmail.com>
9930
9931 * comint.el (comint-previous-matching-input): Do not flood the
9932 *Messages* buffer with trivial messages.
9933
17e5c0cc
SM
99342013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * progmodes/flymake.el (flymake-nop): Don't return a string.
9937 (flymake-set-at): Fix typo.
9938
9939 * simple.el (read--expression): New function, extracted from
9940 eval-expression. Set completion-at-point-functions (bug#14465).
9941 (eval-expression, eval-minibuffer): Use it.
9942
5d028165
XF
99432013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9944
9945 * progmodes/flymake.el (flymake-save-buffer-in-file)
9946 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9947 (flymake-selected-frame, flymake-log, flymake-ins-after)
9948 (flymake-set-at, flymake-get-buildfile-from-cache)
9949 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9950 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9951 Refine the doc string.
9952 (flymake-get-file-name-mode-and-masks): Reformat.
9953 (flymake-get-real-file-name-function): Fix a minor bug.
9954
7a1d7ba7
JL
99552013-05-24 Juri Linkov <juri@jurta.org>
9956
9957 * progmodes/grep.el (grep-mode-font-lock-keywords):
9958 Support =linenumber= format used by git-grep for lines with
9959 function names. (Bug#13549)
9960
650cff3d
SM
99612013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9964 0 after a semi-colon; it works better for smie-auto-fill.
9965 (octave--indent-new-comment-line): New function.
9966 (octave-indent-new-comment-line): Use it (indirectly).
9967 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9968 modify comment-line-break-function.
9969
9970 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9971 (smie-setup): Use add-function to set it.
9972
9631677d
SS
99732013-05-24 Sam Steingold <sds@gnu.org>
9974
9975 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9976 argument (before the `interactive' argument).
9977
50105835
SM
99782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * image-mode.el (image-mode-winprops): Add winprops to
9981 image-mode-winprops-alist before running
9982 image-mode-new-window-functions.
9983 * doc-view.el (doc-view-new-window-function): Don't delay
9984 doc-view-goto-page via timers (bug#14435).
9985
57b9823e
TH
99862013-05-24 Tassilo Horn <tsdh@gnu.org>
9987
9988 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9989 (doc-view-desktop-save-buffer): New function.
9990 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9991 (desktop-buffer-mode-handlers):
9992 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9993 handler.
9994 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9995 `desktop-save-buffer' function.
9996
91aafa16
MA
99972013-05-24 Michael Albinus <michael.albinus@gmx.de>
9998
9999 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10000 (tramp-gvfs-file-name-handler): Raise a user error when
10001 `tramp-gvfs-enabled' is nil.
10002 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10003 Do not raise a user error when loading package. (Bug#14447)
10004
ec076379
MA
10005 * net/xesam.el: Move to obsolete/.
10006
db785726
GM
100072013-05-24 Glenn Morris <rgm@gnu.org>
10008
af5c7606
GM
10009 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10010
e5d1916a
GM
10011 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10012
ded62b08
GM
10013 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10014 (Info-find-node, Man-getpage-in-background): Declare.
10015
9e614a3f
GM
10016 * mail/unrmail.el (unrmail):
10017 Replace obsolete detect-coding-with-priority.
10018
892f8ca3
GM
10019 * net/socks.el (socks-split-string): Use this rather than split-string.
10020 (socks-nslookup-host): Update for above change.
10021 (dynamic-choice, s5-dynamic-choice-match)
10022 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10023 Comment out unused code.
10024
3c291973
GM
10025 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10026 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10027 (gud-tooltip-echo-area): Make obsolete.
10028 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10029
43cc956b
GM
10030 * progmodes/js.el (js--optimize-arglist): Declare.
10031
dab49a3b
GM
10032 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10033
36b9d085
GM
10034 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10035 (ediff-window-C): Declare.
10036
e354ae76
GM
10037 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10038 Tweak requires to silence compiler.
10039
b8e57bf4
GM
10040 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10041 (he-search-string, he-tried-table, he-expand-list)
10042 (he-init-string, he-string-member, he-substitute-string)
10043 (he-reset-string): Declare.
10044
db785726
GM
10045 * obsolete/options.el (list-options): Use custom-variable-p,
10046 rather than obsolete alias.
10047
b3531901
SS
100482013-05-23 Sam Steingold <sds@gnu.org>
10049
10050 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10051 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10052 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10053
bdda4c66
SM
100542013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * emacs-lisp/smie.el (smie-indent-forward-token)
10057 (smie-indent-backward-token): Handle string tokens (bug#14381).
10058
c43d45f9
TH
100592013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10060
fe1eb856
RS
10061 * ielm.el (ielm-menu): New menu.
10062 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10063
fe1eb856
RS
100642013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10065
a12bf61e 10066 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10067 Fix deactivate action.
10068
a12bf61e 10069 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10070 Add cleveref macros.
074dd971 10071
a12bf61e 10072 * textmodes/reftex-parse.el
c43d45f9
TH
10073 (reftex-locate-bibliography-files): Accept options for
10074 bibliography commands.
a12bf61e 10075 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10076 Add addbibresource. Basic Biblatex support.
10077
7764286e
MA
100782013-05-23 Michael Albinus <michael.albinus@gmx.de>
10079
10080 * net/tramp-gvfs.el (top):
10081 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10082 when loading package. (Bug#14447)
10083
d361bc10
GM
100842013-05-23 Glenn Morris <rgm@gnu.org>
10085
8fa23984
GM
10086 * progmodes/js.el: No need to load comint when compiling.
10087 (ring-insert, comint-send-string, comint-send-input)
10088 (comint-last-input-end, ido-chop): Declare.
10089
a5c7df1a
GM
10090 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10091 * vc/ediff-mult.el: Adjust requires.
10092 (ediff-directories-internal, ediff-directory-revisions-internal)
10093 (ediff-patch-file-internal): Declare.
10094 * vc/ediff-ptch.el: Adjust requires.
10095 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10096 (ediff-find-file): Autoload.
10097 * vc/ediff-util.el: No need to load ediff when compiling.
10098 (ediff-regions-internal): Declare.
10099 * vc/ediff-wind.el: Adjust requires.
10100 (ediff-compute-toolbar-width): Define when compiling.
10101 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10102 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10103 (dired-get-filename, dired-get-marked-files)
10104 (ediff-last-dir-patch, ediff-patch-default-directory)
10105 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10106 (ediff-patch-buffer-internal): Declare.
10107
e2aec513
GM
10108 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10109 (ispell-process, ispell-buffer-local-words, lm-summary)
10110 (lm-section-start, lm-section-end): Declare.
10111 (checkdoc-ispell-init): Simplify.
10112
e68bbd7c
GM
10113 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10114 (he-string-member, he-reset-string, he-substitute-string): Declare.
10115
7efe0991
GM
10116 * eshell/em-ls.el: Adjust requires.
10117 (eshell-glob-regexp): Declare.
f87b1284
GM
10118 * eshell/em-tramp.el: Adjust requires.
10119 (eshell-parse-command): Autoload.
10120 * eshell/em-xtra.el: Adjust requires.
10121 (eshell-parse-command): Autoload.
10122 * eshell/esh-ext.el: Adjust requires.
10123 (eshell-parse-command, eshell-close-handles): Autoload.
10124 * eshell/esh-io.el: Adjust requires.
10125 (eshell-output-filter): Autoload.
10126 * eshell/esh-util.el: No need to load tramp when compiling.
10127 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10128 Declare.
10129 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10130 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10131 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10132 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10133 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10134 * eshell/esh-opt.el, eshell/esh-proc.el:
10135 * eshell/esh-var.el: Adjust requires.
10136 * eshell/eshell.el: Do not require esh-util twice.
10137 (eshell-add-input-to-history): Declare.
10138 (eshell-command): Check history module is active before using it.
10139
d361bc10
GM
10140 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10141
85d090a9
LL
101422013-05-22 Leo Liu <sdl.web@gmail.com>
10143
10144 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10145
5d0acd9d
MA
101462013-05-22 Michael Albinus <michael.albinus@gmx.de>
10147
10148 * autorevert.el (auto-revert-notify-add-watch)
10149 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10150 it indicates changes in file modification time.
10151
0cdffd7d
GM
101522013-05-22 Glenn Morris <rgm@gnu.org>
10153
ca5995ec
GM
10154 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10155 Always delete the autoloaded function from the noruntime and
10156 unresolved functions lists.
10157
6450907e
GM
10158 * allout.el: No need to load epa, epg, overlay when compiling.
10159 (epg-context-set-passphrase-callback, epg-list-keys)
10160 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10161 (epg-key-user-id-list): Declare.
10162
9c6906f6
GM
10163 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10164 (viper-set-parsing-style-toggling-macro)
10165 (viper-set-emacs-state-searchstyle-macros):
10166 Use called-interactively-p on Emacs.
10167 (viper-looking-back): Make it an obsolete alias. Update callers.
10168 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10169 Use looking-back rather than viper-looking-back.
10170 (viper-tmp-insert-at-eob, viper-enlarge-region)
10171 (viper-read-string-with-history, viper-register-to-point)
10172 (viper-append-to-register, viper-change-state-to-vi)
10173 (viper-backward-char-carefully, viper-forward-char-carefully)
10174 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10175 (viper-change-state-to-emacs): Declare.
10176 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10177 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10178 * emulation/viper-mous.el: Do not load viper-cmd.
10179 (viper-backward-char-carefully, viper-forward-char-carefully)
10180 (viper-forward-word, viper-adjust-window): Declare.
10181
5f70c169
GM
10182 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10183
b1b7f300
GM
10184 * progmodes/idlw-help.el (idlwave-help-fontify):
10185 Use called-interactively-p.
10186
f6ebbb46
GM
10187 * term/w32console.el (w32-get-console-codepage)
10188 (w32-get-console-output-codepage): Declare.
10189
0cdffd7d
GM
10190 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10191 Remove unnecessary declarations.
10192 (dframe-message): Doc fix.
10193
10194 * info.el (dframe-select-attached-frame, dframe-current-frame):
10195 Declare.
10196
10197 * speedbar.el (speedbar-message): Make it an obsolete alias.
10198 Update all callers.
10199 (speedbar-with-attached-buffer)
10200 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10201 (speedbar-with-writable): Use backquote.
10202 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10203 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10204 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10205 rather than speedbar- aliases.
10206 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10207 (speedbar-make-specialized-keymap, speedbar-insert-button)
10208 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10209 (speedbar-do-function-pointer): Declare.
10210 (rmail-speedbar-button, rmail-speedbar-find-file)
10211 (rmail-speedbar-move-message):
10212 Use dframe-with-attached-buffer rather than speedbar- alias.
10213 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10214 (dframe-message, speedbar-make-specialized-keymap)
10215 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10216 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10217 (speedbar-insert-button, dframe-select-attached-frame)
10218 (dframe-maybee-jump-to-attached-frame)
10219 (speedbar-change-initial-expansion-list)
10220 (speedbar-previously-used-expansion-list-name): Declare.
10221 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10222 Use dframe-message, dframe-with-attached-buffer rather than
10223 speedbar- aliases.
10224 (gud-sentinel): Silence compiler.
10225 * progmodes/vhdl-mode.el (speedbar-refresh)
10226 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10227 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10228 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10229 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10230 (speedbar-file-lists, speedbar-make-tag-line)
10231 (speedbar-line-directory, speedbar-goto-this-file)
10232 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10233 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10234 (speedbar-make-button, speedbar-reset-scanners)
10235 (speedbar-files-item-info, speedbar-line-text)
10236 (speedbar-find-file-in-frame, speedbar-set-timer)
10237 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10238 (speedbar-with-writable): Do not (re)define it.
10239 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10240 rather than speedbar- alias.
10241
ee44b62a
LL
102422013-05-21 Leo Liu <sdl.web@gmail.com>
10243
10244 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10245 menu items.
10246 (octave-mode): Tweak fill-nobreak-predicate.
10247 (inferior-octave-startup): Check process to avoid infinite loop.
10248 (inferior-octave): Pop to buffer first to show abornmal process
10249 exit information.
10250
640f050f
GM
102512013-05-21 Glenn Morris <rgm@gnu.org>
10252
79458038
GM
10253 * printing.el (pr-menu-bar): Define when compiling.
10254
9cc3e83f
LL
102552013-05-21 Leo Liu <sdl.web@gmail.com>
10256
10257 * progmodes/octave.el (octave-auto-fill): Remove.
10258 (octave-indent-new-comment-line): Improve.
10259 (octave-mode): Use auto fill mode through
4f405069 10260 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10261 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10262 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10263 (octave-help): Show parent directory.
10264
f440830d
GM
102652013-05-21 Glenn Morris <rgm@gnu.org>
10266
10267 * files.el (dired-unmark):
10268 * progmodes/gud.el (gdb-input): Update declarations.
10269
10270 * calculator.el (electric, ehelp): No need to load when compiling.
10271 (Electric-command-loop, electric-describe-mode): Declare.
10272
10273 * doc-view.el (doc-view-current-converter-processes): Move before use.
10274
10275 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10276 Move MODE-set-explicitly definition before use.
10277
10278 * international/mule-diag.el (mule-diag):
10279 Don't use obsolete window-system-version.
10280
10281 * mail/feedmail.el (smtpmail): No need to load when compiling.
10282 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10283
10284 * mail/mail-utils.el (rfc822): No need to load when compiling.
10285 (rfc822-addresses): Autoload it.
10286 (mail-strip-quoted-names): Trivial simplification.
10287
10288 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10289 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10290
10291 * net/snmp-mode.el (tempo): Don't duplicate requires.
10292
10293 * progmodes/prolog.el (info): No need to load when compiling.
10294 (comint): Require before shell requires it.
10295 (Info-goto-node): Autoload it.
10296 (Info-follow-nearest-node): Declare.
10297 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10298
10299 * textmodes/artist.el (picture-mode-exit): Declare.
10300
10301 * textmodes/reftex-parse.el (reftex-parse-from-file):
10302 Trivial rewrite so the compiler can parse it better.
10303
b4da2cbb
LL
103042013-05-20 Leo Liu <sdl.web@gmail.com>
10305
10306 * progmodes/octave.el (octave-help-mode-map)
10307 (octave-help-mode-finish-hook): New variables.
10308 (octave-help-mode, octave-help-mode-finish): New functions.
10309 (octave-help): Use octave-help-mode.
10310
33c0f65b
GM
103112013-05-20 Glenn Morris <rgm@gnu.org>
10312
10313 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10314
1a0a0a8a
DG
103152013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10316
10317 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10318 start at point, so that expansion starting right after opening
10319 slash in a regexp is recognized.
10320 (ruby-syntax-before-regexp-re): New defvar, extracted from
10321 ruby-syntax-propertize-function. Since the value of this regexp
10322 is looked up at runtime now, we should be able to turn
10323 `ruby-syntax-methods-before-regexp' into a defcustom later.
10324 (ruby-syntax-propertize-function): Split regexp matching into two
10325 parts, for opening and closing slashes. That allows us to skip
10326 over string interpolations and support multiline regexps.
10327 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10328 for them, which calls `ruby-syntax-propertize-expansion'.
10329 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10330 call to `ruby-syntax-propertize-function'.
10331 (ruby-syntax-propertize-expansion): Extracted from
10332 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10333 (ruby-syntax-propertize-percent-literal): Leave point right after
10334 the percent symbol, so that the expression expansion rule can
10335 propertize the contents.
462388b6
DG
10336 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10337 heredoc openers.
10338 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10339
c1a6c0a4
JL
103402013-05-18 Juri Linkov <juri@jurta.org>
10341
10342 * man.el (Man-default-man-entry): Remove `-' from the end
10343 of the default value. (Bug#14400)
10344
8051fccd
GM
103452013-05-18 Glenn Morris <rgm@gnu.org>
10346
10347 * comint.el (comint-password-prompt-regexp):
10348 Allow "password for XXX" where XXX contains colons (eg https://...).
10349
5e80b74f
LL
103502013-05-18 Leo Liu <sdl.web@gmail.com>
10351
10352 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10353 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10354 (octave-source-directories): Don't check process.
10355 (octave-source-directories, octave-find-definition): Doc fix.
10356
521a54c5
GM
103572013-05-18 Glenn Morris <rgm@gnu.org>
10358
86a94b05
GM
10359 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10360 Remove backspace/delete bindings. (Bug#14392)
10361
521a54c5
GM
10362 * cus-dep.el (custom-make-dependencies): Sort the output.
10363 (custom-versions-load-alist): Convert comment to doc.
10364
42caeb89
LL
103652013-05-17 Leo Liu <sdl.web@gmail.com>
10366
10367 * newcomment.el (comment-search-backward): Stricter in finding
10368 comment start. (Bug#14303)
10369
10370 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10371 (octave-comment-start-skip): Properly anchored.
10372
e219dd97
LL
103732013-05-17 Leo Liu <sdl.web@gmail.com>
10374
fe1eb856
RS
10375 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10376 Clean up when turned off. (Bug#14395)
e219dd97
LL
10377 (smie--highlight-matching-block-overlay): No longer buffer-local.
10378 (smie-highlight-matching-block): Adjust.
10379
dc5dcb4b
PE
103802013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10381
10382 Doc string fix for "nanoseconds" (Bug#14406).
10383 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10384 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10385
1db165f0
JB
103862013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10387
10388 * calc/calc-units.el (math-extract-units): Preserve powers
10389 of units.
10390
c7a8fcac
LL
103912013-05-17 Leo Liu <sdl.web@gmail.com>
10392
10393 * subr.el (delete-consecutive-dups): New function.
10394 * ido.el (ido-set-matches-1): Use it.
10395 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10396 * ido.el (ido-remove-consecutive-dups): Remove.
10397
f678b18a
SM
103982013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10401 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10402 regexp-opt's `words'.
10403
ebfe68e8
LL
104042013-05-16 Leo Liu <sdl.web@gmail.com>
10405
10406 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10407 (smie--highlight-matching-block-overlay)
10408 (smie--highlight-matching-block-lastpos)
10409 (smie--highlight-matching-block-timer): New variables.
10410 (smie-highlight-matching-block): New function.
10411 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10412 (smie-setup): Conditionally enable smie-blink-matching-open.
10413
bc8bc17d
WS
104142013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10415
10416 Sync with upstream verilog-mode r840.
10417 * progmodes/verilog-mode.el (verilog-mode-version)
10418 (verilog-mode-release-date): Update.
10419 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10420 (verilog-sig-tieoff): Fix string error on
10421 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10422 (verilog-read-decls): Fix parameters confusing
10423 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10424
df065a0b
EZ
104252013-05-16 Eli Zaretskii <eliz@gnu.org>
10426
10427 * subr.el (reveal-filename): New function.
10428
10429 * loadup.el: Compute Emacs executable versions on MS-Windows,
10430 where executables have the .exe extension. Add a hard link
10431 emacs-XX.YY.ZZ.exe on MS-Windows.
10432
10433 * Makefile.in (XARGS_LIMIT): New variable.
10434 (custom-deps, finder-data, autoloads)
10435 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10436 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10437 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10438 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10439
2d4bf34b
LL
104402013-05-16 Leo Liu <sdl.web@gmail.com>
10441
10442 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10443 (octave-mode-menu, octave-mode-map): Remove its uses.
10444
6b9c2d85
RZ
104452013-05-16 Reto Zimmermann <reto@gnu.org>
10446
10447 Sync with upstream vhdl mode v3.34.2.
10448 * progmodes/vhdl-mode.el: Use `push' throughout.
10449 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10450 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10451 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10452 (vhdl-actual-generic-name): New option to derive actual generic name.
10453 (vhdl-port-paste-signals): Replace formal by actual generics.
10454 (vhdl-beautify): New name for old group vhdl-align. Update users.
10455 (vhdl-beautify-options): New option.
10456 (vhdl-last-input-event): New compat alias. Use throughout.
10457 (vhdl-goto-line): Replace user level function `goto-line'.
10458 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10459 vhdl-fix-statement-buffer.
10460 (vhdl-create-mode-menu): Add some entries.
10461 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10462 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10463 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10464 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10465 to force statements on one line.
10466 (vhdl-remove-trailing-spaces-region):
10467 New, split from vhdl-remove-trailing-spaces.
10468 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10469 Respect vhdl-beautify-options.
10470 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10471 (vhdl-update-sensitivity-list): Not add with index if exists without.
10472 Not include array index with signal. Ignore keywords in comments.
10473 (vhdl-get-visible-signals): Regexp tweaks.
10474 (vhdl-template-component-inst): Handle empty library.
10475 (vhdl-template-type): Add template for 'enum' type.
10476 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10477 Use vhdl-replace-string.
10478 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10479 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10480 (vhdl-speedbar-initialize): Update for above name change.
10481 (vhdl-compose-wire-components): Fix in handling of constants.
10482 (vhdl-error-regexp-emacs-alist): New variable.
10483 (vhdl-error-regexp-add-emacs): New function;
10484 adds support for new compile.el (Emacs 22+)
10485 (vhdl-generate-makefile-1): Change target order for single lib. units.
10486 Allow use of absolute file names.
10487
9df4ec5e
LL
104882013-05-16 Leo Liu <sdl.web@gmail.com>
10489
10490 * simple.el (prog-indent-sexp): Indent enclosing defun.
10491
f5ba00a6
GM
104922013-05-15 Glenn Morris <rgm@gnu.org>
10493
ed8be7ff
GM
10494 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10495 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10496 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10497 (whitespace-highlight): Move to whitespace group.
10498
10499 * comint.el (comint-source):
10500 * pcmpl-linux.el (pcmpl-linux):
10501 * shell.el (shell-faces):
10502 * eshell/esh-opt.el (eshell-opt):
10503 * international/ccl.el (ccl): Remove empty custom groups.
10504
10505 * completion.el (dynamic-completion-mode):
10506 * jit-lock.el (jit-lock-debug-mode):
10507 * minibuffer.el (completion-in-region-mode):
10508 * type-break.el (type-break-mode-line-message-mode)
10509 (type-break-query-mode):
10510 * emulation/tpu-edt.el (tpu-edt-mode):
10511 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10512 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10513 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10514
10515 * term/xterm.el (xterm): Change parent group to terminals.
10516
10517 * master.el (master): Remove empty custom group.
10518 (master-mode): Remove unused :group argument.
10519 * textmodes/refill.el (refill): Remove empty custom group.
10520 (refill-mode): Remove unused :group argument.
10521
10522 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10523
82a7c41b
GM
10524 * cus-dep.el: Provide a feature.
10525 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10526 Don't mistakenly ignore files whose basenames match a basename
10527 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10528 Add a fallback method for getting :group.
f5ba00a6 10529
6d65486d
JL
105302013-05-15 Juri Linkov <juri@jurta.org>
10531
da547b32
JL
10532 * isearch.el (isearch-char-by-name): Rename from
10533 `isearch-insert-char-by-name'. Doc fix.
10534 (isearch-forward): Mention `isearch-char-by-name' in
10535 the docstring. (Bug#13348)
10536
6d65486d
JL
10537 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10538 `exit-minibuffer' instead of
10539 `isearch-nonincremental-exit-minibuffer'.
10540 (isearch-edit-string): Remove mention of
10541 `isearch-nonincremental-exit-minibuffer' from docstring.
10542 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10543 (isearch-forward-exit-minibuffer)
10544 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10545
c9990474
SM
105462013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10547
6e911150
SM
10548 * loadup.el: Just use unversioned DOC.
10549
c9990474
SM
10550 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10551 literals as extending to EOB.
10552 (nxml-last-fontify-end): Remove unused variable.
10553 (nxml-after-change1): Use with-silent-modifications.
10554 (nxml-extend-after-change-region): Simplify.
10555 (nxml-extend-after-change-region1): Remove function.
10556 (nxml-after-change1): Don't adjust for dependent regions.
10557 (nxml-fontify-matcher): Simplify.
10558 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10559 (xmltok-add-dependent): Remove function.
10560 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10561 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10562 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10563 unclosed <[[, <?, comment, and other literals as extending to EOB.
10564 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10565 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10566 Remove functions.
10567 (rng-do-some-validation-1): Don't mark dependent regions.
10568 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10569 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10570 (nxml-clear-dependent-regions): Remove functions.
10571 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10572 (nxml-ensure-scan-up-to-date):
10573 Don't clear&mark dependent regions.
10574
e3772e98
LL
105752013-05-15 Leo Liu <sdl.web@gmail.com>
10576
c9990474
SM
10577 * progmodes/octave.el (octave-goto-function-definition):
10578 Improve and fix callers.
e3772e98 10579
5ac2eb34
SM
105802013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10581
c46c57b0
SM
10582 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10583 the setter (bug#14387).
10584
5ac2eb34
SM
10585 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10586 surrounding group (bug#14402).
10587
180ed218
JL
105882013-05-14 Juri Linkov <juri@jurta.org>
10589
10590 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10591 (Bug#14390)
10592
0ac0fecb
GM
105932013-05-14 Glenn Morris <rgm@gnu.org>
10594
10595 * progmodes/f90.el (f90-imenu-generic-expression):
10596 Fix typo in 2013-05-08 change. (Bug#14402)
10597
2e78e6a7
JPG
105982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10599
5ac2eb34
SM
10600 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10601 Remove signals for which replies are never received.
2e78e6a7 10602
53267cca
JPG
106032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10604
10605 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10606 (gdb-handler-alist, gdb-handler-number): Remove variables.
10607 (gdb-handler-list): New variable.
10608 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10609 (gdb-pending-handler-p, gdb-handle-reply)
10610 (gdb-remove-all-pending-triggers): New functions.
10611 (gdb-discard-unordered-replies): New defcustom.
10612 (gdb-handler): New defstruct.
10613 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10614 instead of gdb-pending-triggers. Update docstring.
10615 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10616 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10617 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10618 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10619 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10620 (gdb-frame-handler): Pending triggers are now automatically managed.
10621 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10622 Remove argument.
10623 (gdb-input): Automatically handles pending triggers. Update docstring.
10624 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10625 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10626 Update comments.
10627 (gdb-done-or-error): Now use gdb-handle-reply.
10628
d04ce803
JPG
106292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10630
10631 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10632 gdb-debug-log.
10633
0114073a
GM
106342013-05-14 Glenn Morris <rgm@gnu.org>
10635
10636 * subr.el (user-emacs-directory-warning): New option.
10637 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10638
4d25fd7e
LL
106392013-05-14 Leo Liu <sdl.web@gmail.com>
10640
10641 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10642 during redisplay.
10643 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10644 (octave-font-lock-texinfo-comment): Fix invalid search bound
10645 error: wrong side of point.
4d25fd7e 10646
27c8b6eb
GM
106472013-05-14 Glenn Morris <rgm@gnu.org>
10648
61aaeb01
GM
10649 * progmodes/flymake.el (flymake-xml-program): New option.
10650 (flymake-xml-init): Use it.
10651
5bf90bc5
GM
10652 * term/xterm.el: Provide a feature.
10653
10654 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10655
f4c7dfd2
GM
106562013-05-13 Glenn Morris <rgm@gnu.org>
10657
10658 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10659 Add compat aliases as a hack workaround. (Bug#14384)
10660
2aeb3a1d
LL
106612013-05-13 Leo Liu <sdl.web@gmail.com>
10662
b0e069c2
LL
10663 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10664 ###, and %!.
f5a9432f
LL
10665 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10666 C-M-q.
b0e069c2
LL
10667 (octave-comment-start-skip): Include %!.
10668 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10669
30ea8374
LL
106702013-05-12 Leo Liu <sdl.web@gmail.com>
10671
10672 * progmodes/octave.el (inferior-octave-startup): Store the value
10673 of __octave_srcdir__ for octave-source-directories.
10674 (inferior-octave-check-process): New function refactored out of
10675 inferior-octave-send-list-and-digest.
10676 (octave-source-directories)
10677 (octave-find-definition-filename-function): New variables.
10678 (octave-source-directories)
10679 (octave-find-definition-default-filename): New functions.
10680 (octave-find-definition): Improve to find functions implemented in C++.
10681
472a3834
GM
106822013-05-12 Glenn Morris <rgm@gnu.org>
10683
10684 * calendar/diary-lib.el (diary-outlook-format-1):
10685 Don't include dayname in the output. (Bug#14349)
10686
3191b52f
GM
106872013-05-11 Glenn Morris <rgm@gnu.org>
10688
0060ac73
GM
10689 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10690
3191b52f
GM
10691 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10692 Treat cc-provide like provide.
10693
e065ba74
KR
106942013-05-11 Kevin Ryde <user42@zip.com.au>
10695
10696 * cus-dep.el (custom-make-dependencies):
10697 Use generated-autoload-load-name for the sake of files such
10698 such cedet/semantic/bovine/c.el, where the base file name
10699 is not in load-path. (Bug#5277)
10700
36f84c37
GM
107012013-05-11 Glenn Morris <rgm@gnu.org>
10702
10703 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10704 Provide features.
10705
c8730c3a
LL
107062013-05-11 Leo Liu <sdl.web@gmail.com>
10707
10708 * progmodes/octave.el (octave-indent-comment): Improve.
10709 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10710 (octave-eldoc-function-signatures, octave-eldoc-function):
10711 New functions.
c8730c3a
LL
10712 (octave-mode, inferior-octave-mode): Add eldoc support.
10713
212e29f2
RS
107142013-05-11 Richard Stallman <rms@gnu.org>
10715
10716 * epa.el (epa-decrypt-file): Take output file name as argument
10717 and read it using `interactive'.
10718
083fe0d7
LL
107192013-05-11 Leo Liu <sdl.web@gmail.com>
10720
10721 * progmodes/octave.el (octave-beginning-of-line)
10722 (octave-end-of-line): Check before using up-list because it jumps
10723 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10724 (octave-indent-comment): New function.
10725 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10726 (octave-begin-keywords, octave-end-keywords)
10727 (octave-reserved-words, octave-smie-bnf-table)
10728 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10729
8582e4c4
GM
107302013-05-11 Glenn Morris <rgm@gnu.org>
10731
f20def1f
GM
10732 * faces.el (internal-face-x-get-resource):
10733 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10734 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10735 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10736 Fix declarations.
f20def1f 10737
445f95e2
GM
10738 * calc/calc-menu.el: Make it loadable in isolation.
10739
10740 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10741 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10742 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10743 (eudc-bbdb-query-internal): Require 'bbdb.
10744
99fb2756
GM
10745 * lpr.el (lpr-headers-switches):
10746 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10747
10748 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10749
0da7ad96
GM
10750 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10751
8582e4c4
GM
10752 * term.el (term-set-escape-char): Make it idempotent.
10753
f71c50d0
LL
107542013-05-10 Leo Liu <sdl.web@gmail.com>
10755
5ac2eb34
SM
10756 * progmodes/octave.el (inferior-octave-completion-table):
10757 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10758 completion due to bug#11906.
10759 (octave-beginning-of-defun): Re-write to be more general.
10760
d5837773
GM
107612013-05-10 Glenn Morris <rgm@gnu.org>
10762
10763 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10764
027c0f75
SM
107652013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * comint.el (comint-redirect-send-command-to-process): Use :around
10768 rather than :override for comint-redirect-filter.
10769 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10770 Call it instead of comint-redirect-original-filter-function (which
10771 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10772
4465bfb4
JD
107732013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10774
10775 * frame.el (display-monitor-attributes-list): Add NS case.
10776 (ns-display-monitor-attributes-list): Declare.
10777
2d809ffa 107782013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10779
10780 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10781
e54eeb9b
GM
107822013-05-09 Glenn Morris <rgm@gnu.org>
10783
56cd351d
GM
10784 * international/fontset.el (vertical-centering-font-regexp):
10785 Set standard-value.
10786
d84b6108
GM
10787 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10788
a931698a
GM
10789 * bookmark.el (bookmark-search-delay):
10790 * cus-start.el (vertical-centering-font-regexp):
10791 * ps-mule.el (ps-mule-font-info-database-default):
10792 * ps-print.el (ps-default-fg, ps-default-bg):
10793 * type-break.el (type-break-good-break-interval):
10794 * whitespace.el (whitespace-indentation-regexp)
10795 (whitespace-space-after-tab-regexp):
10796 * emacs-lisp/testcover.el (testcover-1value-functions)
10797 (testcover-noreturn-functions, testcover-progn-functions)
10798 (testcover-prog1-functions):
10799 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10800 * eshell/em-glob.el (eshell-glob-translate-alist):
10801 * play/tetris.el (tetris-tty-colors):
10802 * progmodes/cpp.el (cpp-face-default-list):
10803 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10804 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10805 (idlwave-help-browser-generic-args):
10806 * progmodes/make-mode.el (makefile-special-targets-list):
10807 * progmodes/python.el (python-shell-virtualenv-path):
10808 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10809 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10810 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10811 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10812 * textmodes/reftex-vars.el (reftex-format-label-function):
10813 * textmodes/remember.el (remember-diary-file): Fix custom types.
10814
e54eeb9b
GM
10815 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10816 Add :version.
10817
455851dd
LL
108182013-05-09 Leo Liu <sdl.web@gmail.com>
10819
10820 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10821 Restore file completion. (Bug#14300)
455851dd
LL
10822 (inferior-octave-startup): Fix incorrect highlighting for the
10823 first prompt.
10824
a9e4425b
SM
108252013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * progmodes/ruby-mode.el: First cut at SMIE support.
10828 (ruby-use-smie): New var.
10829 (ruby-smie-grammar): New constant.
10830 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10831 (ruby-smie--forward-token, ruby-smie--backward-token)
10832 (ruby-smie-rules): New functions.
10833 (ruby-mode-variables): Setup SMIE if applicable.
10834
060ca408
EZ
108352013-05-08 Eli Zaretskii <eliz@gnu.org>
10836
10837 * simple.el (line-move-visual): Signal beginning/end of buffer
10838 only if vertical-motion moved less than it was requested. Avoids
10839 silly incorrect error messages when there are display strings with
10840 multiple newlines at EOL.
10841
1d5963cc
SM
108422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10845 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10846 (prolog-char-quote-workaround):
10847 * progmodes/cperl-mode.el (cperl-under-as-char):
10848 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10849 Mark as obsolete.
10850 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10851 their declaration.
10852 (vhdl-mode-syntax-table-init): Remove.
10853
c9990474
SM
10854 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10855 last change.
1d5963cc
SM
10856
10857 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10858 syntax for "_".
10859 (ld-script-font-lock-keywords):
10860 Change regexps to use things like \_< and \_>.
10861
10862 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10863 Change all regexps to use things like \_< and \_>.
10864
10865 * progmodes/autoconf.el (autoconf-definition-regexp)
10866 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10867 Handle a _ with symbol syntax.
10868 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10869
c9990474
SM
10870 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10871 Consolidate declaration.
1d5963cc
SM
10872 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10873 the declaration.
10874 (ada-create-syntax-table): Remove.
10875 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10876 already has the right syntax nowadays.
10877 (ada-goto-next-word): Don't change the syntax of "_".
10878
10879 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10880 with-wrapper-hook.
10881
72d3cfca
SS
108822013-05-08 Sam Steingold <sds@gnu.org>
10883
10884 * thingatpt.el (thing-at-point): Accept optional second argument
10885 NO-PROPERTIES to strip the text properties from the return value.
10886 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10887 to `thing-at-point' instead of stripping the properties ourselves.
10888 Also, when `thing-at-point' fails to find a url, prepend "http://"
10889 to the filename at point on the assumption that the user is
10890 pointing at something like gnu.org/gnu.
10891
5cb15713
JB
108922013-05-08 Juanma Barranquero <lekktu@gmail.com>
10893
10894 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10895 * faces.el (crm-separator):
10896 Silence byte-compiler.
10897
10898 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10899 (tool-bar-map): Remove unneeded defvars.
10900
ea78b95b
LL
109012013-05-08 Leo Liu <sdl.web@gmail.com>
10902
10903 Re-work a fix for bug#10994 based on Le Wang's patch.
10904 * ido.el (ido-remove-consecutive-dups): New helper.
10905 (ido-completing-read): Use it.
10906 (ido-chop): Revert fix for bug#10994.
10907
dc7466df
AS
109082013-05-08 Adam Spiers <emacs@adamspiers.org>
10909
10910 * cus-edit.el (custom-save-variables):
10911 Pretty-print long values. (Bug#14187)
10912
9ecf672a
GM
109132013-05-08 Glenn Morris <rgm@gnu.org>
10914
10915 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10916 (m4-mode-syntax-table): Init in the defvar.
10917 (m4-mode-abbrev-table): Let define-derived-mode define it.
10918
3f555be8
TT
109192013-05-08 Tom Tromey <tromey@redhat.com>
10920
10921 * progmodes/m4-mode.el (m4-mode-syntax-table):
10922 Do not treat "_" as word constituent. (Bug#14167)
10923
7cc8ae06
GM
109242013-05-07 Glenn Morris <rgm@gnu.org>
10925
4f58bc06
GM
10926 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10927 Remove explicit eshell-isearch-cancel-map.
10928
7cc8ae06
GM
10929 * progmodes/f90.el (f90-smart-end-names): New option.
10930 (f90-smart-end): Doc fix.
10931 (f90-end-block-optional-name): New constant.
10932 (f90-block-match): Respect f90-smart-end-names.
10933
ceb57e59
SM
109342013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10937 about implicit semi-colons (bug#14218).
10938
4e3f9230
YM
109392013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10940
10941 * frame.el (display-monitor-attributes-list)
10942 (frame-monitor-attributes): New functions.
10943
203a5572
LL
109442013-05-06 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/octave.el (octave-syntax-propertize-function): Change
10947 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10948 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10949 (octave-completion-at-point): Rename from
203a5572
LL
10950 octave-completion-at-point-function.
10951 (inferior-octave-directory-tracker): Robustify.
10952 (octave-text-functions): Remove and fix its uses. No such things
10953 any more.
10954
ee6cff99
SM
109552013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * emacs-lisp/trace.el (trace--display-buffer): New function.
10958 (trace-make-advice): Use it.
10959
32985194
JL
109602013-05-06 Juri Linkov <juri@jurta.org>
10961
10962 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10963 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10964 Doc fix.
10965 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10966 in the help string. (Bug#12985)
10967
a1c700de
KD
109682013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10969
10970 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10971
c67c0839
SM
109722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10973
323885fd
SM
10974 * progmodes/perl-mode.el: Add support for here documents.
10975 (perl-syntax-propertize-function): Match here-doc markers.
10976 (perl-syntax-propertize-special-constructs): Find their end.
10977 (perl-imenu-generic-expression): Use [:alnum:].
10978
c67c0839
SM
10979 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10980 (advice--add-function): Refresh the advice if already present
10981 (bug#14317).
10982
d491e7a8
IA
109832013-05-06 Ivan Andrus <darthandrus@gmail.com>
10984
10985 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10986
ddf9925e
GM
109872013-05-06 Glenn Morris <rgm@gnu.org>
10988
7cc3af27
GM
10989 * w32-fns.el (w32-charset-info-alist): Declare.
10990
16e343d6
GM
10991 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10992 of its defcustom properties.
10993 (eshell-cmpl-initialize): No need to load pcomplete.
10994
7d889a47
GM
10995 * generic-x.el: No need to require comint when compiling.
10996
ddf9925e
GM
10997 * net/eudc-export.el: Make it loadable without bbdb.
10998 (top-level): Use require rather than load-library.
10999 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11000 (eudc-batch-export-records-to-bbdb)
11001 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11002 Require bbdb.
11003
1e2c18df
SM
110042013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11007 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11008 some tweaks, instead.
11009
02502a5f
LL
110102013-05-05 Leo Liu <sdl.web@gmail.com>
11011
11012 * progmodes/octave.el (octave-font-lock-keywords)
11013 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11014 (inferior-octave-send-list-and-digest): Improve error message.
11015 (octave-mode, inferior-octave-mode): Use setq-local.
11016 (octave-help): Set info-lookup-mode.
11017
0dc04f42
RS
110182013-05-05 Richard Stallman <rms@gnu.org>
11019
6c54491c
RS
11020 * vc/compare-w.el (compare-windows-whitespace):
11021 Treat no-break space as whitespace.
11022
0dc04f42
RS
11023 * mail/rmailsum.el (rmail-summary-rmail-update):
11024 Detect empty summary and don't change selected message.
11025 (rmail-summary-goto-msg): Likewise.
11026
df8f35df
RS
11027 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11028 Doc fixes, rename args.
11029
5356e1a3
AM
110302013-05-05 Alan Mackenzie <acm@muc.de>
11031
11032 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11033
d44014cb
JL
110342013-05-05 Juri Linkov <juri@jurta.org>
11035
11036 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11037 to not add the length of the summary segment to the return value.
11038 (Bug#14125)
11039
c129b51f
LL
110402013-05-05 Leo Liu <sdl.web@gmail.com>
11041
11042 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11043 (inferior-octave-output-filter): Remove.
11044 (octave-send-region, inferior-octave-startup): Fix callers.
11045 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11046 (octave-binary-file-extensions): New user variable.
11047 (octave-find-definition): Confirm if opening binary files.
11048 (octave-help-file): Use octave-find-definition to get the binary
11049 confirmation.
11050 (octave-help): Adjust for octave-help-file change.
11051
aa7dab97
SM
110522013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11055 Merge the two entries that handle function definitions.
11056 (pascal--syntax-propertize): New const.
11057 (pascal-mode): Use it. Use setq-local.
11058
fd3a9a6b
GM
110592013-05-04 Glenn Morris <rgm@gnu.org>
11060
11061 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11062 (diary-from-outlook): Respect diary-from-outlook-function.
11063
30c7e542
SM
110642013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11067 Move the declaration from C.
11068 (read-minibuffer, eval-minibuffer): Move from C.
11069 (completion-setup-function): Avoid minibuffer-completion-contents.
11070
b54f978b
LL
110712013-05-03 Leo Liu <sdl.web@gmail.com>
11072
11073 * progmodes/octave.el (octave-font-lock-keywords): Do not
11074 dehighlight 'end' in comments or strings.
30c7e542
SM
11075 (octave-completing-read, octave-goto-function-definition):
11076 New helpers.
d4d0f9b3
LL
11077 (octave-help-buffer): New user variable.
11078 (octave-help-file, octave-help-function): New button types.
11079 (octave-help): New command and bind it to C-h ;.
11080 (octave-find-definition): New command and bind it to M-.
d74a1581 11081 (user-error): Alias to error if not defined.
b54f978b 11082
27135018
LL
110832013-05-02 Leo Liu <sdl.web@gmail.com>
11084
11085 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11086 for \. (bug#14332)
11087 (octave-font-lock-keywords): Include [ and {.
11088
0d634d3a
LL
110892013-05-02 Leo Liu <sdl.web@gmail.com>
11090
11091 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11092 (inferior-octave): Remove calling comint-mode and return the buffer.
11093 (inferior-octave-startup): Cosmetic changes.
11094
b4c8295e
LL
110952013-05-02 Leo Liu <sdl.web@gmail.com>
11096
30c7e542
SM
11097 * progmodes/octave.el (octave-syntax-propertize-function):
11098 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11099
f12ad6ec
GM
111002013-05-02 Glenn Morris <rgm@gnu.org>
11101
11102 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11103 * desktop.el (vc-dir-mode): Just autoload it here.
11104
30cac1e0
AM
111052013-05-02 Alan Mackenzie <acm@muc.de>
11106
11107 Eliminate variable c-standard-font-lock-fontify-region-function.
11108 * progmodes/cc-mode.el
11109 (c-standard-font-lock-fontify-region-function): Remove.
11110 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11111
d8ef28b1
LL
111122013-05-01 Leo Liu <sdl.web@gmail.com>
11113
2640d52e 11114 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11115 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11116 variables were removed from Octave in 2007.
d8ef28b1
LL
11117 (inferior-octave-startup): Fix uses.
11118 (comint-line-beginning-position): Remove compatibility code for
11119 emacs 21.
11120
ac63ec89
JL
111212013-05-01 Juri Linkov <juri@jurta.org>
11122
11123 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11124
9e9be37c
JL
111252013-05-01 Juri Linkov <juri@jurta.org>
11126
11127 * comint.el (comint-previous-matching-input): Don't print message
11128 "History item: %d" when `isearch-mode' is active.
11129 (comint-history-isearch-message): Print message "History item: %d"
11130 when `comint-input-ring-index' is not empty and this function is
11131 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11132
9b92c13b
LL
111332013-05-01 Leo Liu <sdl.web@gmail.com>
11134
11135 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11136 definitions. Use completion-at-point to insert keywords.
11137 (octave-abbrev-start): Remove.
11138 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11139
b12d33d7
LL
111402013-04-30 Leo Liu <sdl.web@gmail.com>
11141
11142 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11143 change.
11144
3d1c39fa
AM
111452013-04-30 Alan Mackenzie <acm@muc.de>
11146
11147 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11148 * progmodes/cc-engine.el (c-back-over-member-initializers):
11149 new function.
3d1c39fa
AM
11150 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11151 (most) member init lists.
11152
5147fc17
RS
111532013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11154
11155 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11156 variable.
11157
5b78d7fc
LL
111582013-04-30 Leo Liu <sdl.web@gmail.com>
11159
11160 * progmodes/octave.el (octave-variables): Remove. No builtin
11161 variables any more. All converted to functions.
11162 (octave-font-lock-keywords, octave-completion-at-point-function):
11163 Fix uses.
11164 (octave-font-lock-texinfo-comment): New user variable.
11165 (octave-texinfo-font-lock-keywords): New variable for texinfo
11166 comment block.
11167 (octave-function-comment-block): New face.
11168 (octave-font-lock-texinfo-comment): New function.
11169 (octave-mode): Font lock texinfo comment block.
11170
38d8527b
LL
111712013-04-29 Leo Liu <sdl.web@gmail.com>
11172
11173 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11174 indexing expression.
11175 (octave-continuation-string): Do not use \.
11176 (inferior-octave-complete-impossible): Remove.
11177 (inferior-octave-completion-table)
11178 (inferior-octave-completion-at-point): Remove its uses.
11179 (inferior-octave-startup): completion_matches was introduced to
11180 Octave in 1996 so safe to assume it.
11181 (octave-function-file-comment): Improve to follow how Octave does it.
11182 (octave-update-function-file-comment): Tweak.
11183
2ec12cb0
LL
111842013-04-29 Leo Liu <sdl.web@gmail.com>
11185
11186 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11187 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11188 (octave-function-file-comment): Fix typo.
11189 (octave-sync-function-file-names): Use read-char-choice.
11190
6eaed048
JB
111912013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11192
11193 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11194 to t for the less important warnings.
11195
3ffa2d4f
DH
111962013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11197
11198 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11199
685c9501
GM
112002013-04-27 Glenn Morris <rgm@gnu.org>
11201
11202 * vc/log-view.el (log-view-current-entry):
11203 Treat "---" separator lines as part of the following rev. (Bug#14169)
11204
0208ede7
JL
112052013-04-27 Juri Linkov <juri@jurta.org>
11206
11207 * subr.el (read-number): Doc fix about using it by interactive
11208 code letter `n'. (Bug#14254)
11209
5db9dace
JL
112102013-04-27 Juri Linkov <juri@jurta.org>
11211
11212 * desktop.el (desktop-auto-save-timeout): New option.
11213 (desktop-file-checksum): New variable.
11214 (desktop-save): Add optional arg `auto-save' and don't auto-save
11215 if nothing changed.
11216 (desktop-auto-save-timer): New variable.
11217 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11218 (after-init-hook): Call `desktop-auto-save-set-timer'.
11219 Suggested by Reuben Thomas <rrt@sc3d.org> in
11220 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11221
b7260dd4
LL
112222013-04-27 Leo Liu <sdl.web@gmail.com>
11223
11224 * progmodes/octave.el (octave-function-file-p)
11225 (octave-skip-comment-forward, octave-function-file-comment)
11226 (octave-update-function-file-comment): New functions.
11227 (octave-mode-map): Bind C-c ; to
11228 octave-update-function-file-comment.
11229 (octave-mode-menu): Add octave-update-function-file-comment.
11230 (octave-mode, inferior-octave-mode): Fix doc-string.
11231 (octave-insert-defun): Conform to Octave's coding convention.
11232 (Bug#14285)
11233
11234 * files.el (basic-save-buffer): Don't let errors in
11235 before-save-hook prevent saving buffer.
11236
c46da669
RW
112372013-04-20 Roland Winkler <winkler@gnu.org>
11238
11239 * faces.el (read-face-name): Use completing-read if arg multiple
11240 is nil.
11241
a81ee1eb
IL
112422013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11243
11244 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11245 displayed, move point to after the totals line.
11246 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11247 for the details.
11248
4fac34ce
SM
112492013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11252 Add current dir to the load-path.
11253 (package-generate-autoloads): Don't rely on
11254 autoload-ensure-default-file.
11255
f6bfc063
RT
112562013-04-26 Reuben Thomas <rrt@sc3d.org>
11257
d40ab5cf
BG
11258 * textmodes/remember.el (remember-store-in-files): Document that
11259 the file name format is passed to `format-time-string'.
f6bfc063 11260
e55d3b04
LL
112612013-04-26 Leo Liu <sdl.web@gmail.com>
11262
11263 * progmodes/octave.el (octave-sync-function-file-names): New function.
11264 (octave-mode): Use it in before-save-hook.
11265
e53052d3
SM
112662013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11267
140ef50c
SM
11268 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11269 (bug#14274).
11270
e53052d3
SM
11271 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11272 \n and comment, even if it's not an implicit ; (bug#14218).
11273
af80458d 112742013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11275
11276 * subr.el (read-number): Once more use `read' rather than
11277 `string-to-number', to trap non-numeric input. (Bug#14254)
11278
af80458d 112792013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11280
11281 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11282 Use `syntax-multiline' text property consistently instead of
8a621d53 11283 `font-lock-multiline'. (Bug#14237)
70203c2e 11284
e6ea1f6c
GM
112852013-04-26 Glenn Morris <rgm@gnu.org>
11286
11287 * emacs-lisp/shadow.el (list-load-path-shadows):
11288 No longer necessary to check for duplicate simple.el, since
11289 2012-07-07 change to init_lread to not include installation lisp
11290 directories in load-path when running uninstalled. (Bug#14270)
11291
070ccca4
LL
112922013-04-26 Leo Liu <sdl.web@gmail.com>
11293
11294 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11295 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11296 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11297 octave-in-string-or-comment-p.
11298 (octave-in-comment-p, octave-in-string-p)
11299 (octave-in-string-or-comment-p): Replace defsubst with defun.
11300
9d1c5fb6
PE
113012013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11302
11303 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11304
c034abda
BG
113052013-04-25 Bastien Guerry <bzg@gnu.org>
11306
11307 * textmodes/remember.el (remember-data-directory)
11308 (remember-directory-file-name-format): Fix custom types.
11309
584ea277
LL
113102013-04-25 Leo Liu <sdl.web@gmail.com>
11311
e53052d3
SM
11312 * progmodes/octave.el (octave-completion-at-point-function):
11313 Make use of inferior octave process.
584ea277
LL
11314 (octave-initialize-completions): Remove.
11315 (inferior-octave-completion-table): New function.
11316 (inferior-octave-completion-at-point): Use it.
11317 (octave-completion-alist): Remove.
11318
1693b06a
SM
113192013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11322 (opascal-mode-syntax-table): New var.
11323 (opascal-literal-kind, opascal-is-literal-end)
11324 (opascal-literal-token-at): Rewrite.
11325 (opascal--literal-start-re, opascal-font-lock-keywords)
11326 (opascal--syntax-propertize): New constants.
11327 (opascal-font-lock-defaults): Adjust.
11328 (opascal-mode): Use them. Set comment-<foo> variables as well.
11329 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11330 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11331 (delphi-other-face, opascal-other-face): Remove face variables.
11332 (opascal-save-state): Remove macro.
11333 (opascal-fontifying-progress-step): Remove constant.
11334 (opascal--ignore-changes): Remove var.
11335 (opascal-set-token-property, opascal-parse-next-literal)
11336 (opascal-is-stable-literal, opascal-complete-literal)
11337 (opascal-is-literal-start, opascal-face-of)
11338 (opascal-parse-region, opascal-parse-region-until-stable)
11339 (opascal-fontify-region, opascal-after-change)
11340 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11341 (opascal-debug-parse-region, opascal-debug-parse-window)
11342 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11343 (opascal-debug-fontify-buffer): Remove.
11344 (opascal-debug-mode-map): Adjust accordingly.
11345
be64c05d
LL
113462013-04-25 Leo Liu <sdl.web@gmail.com>
11347
11348 Merge octave-mod.el and octave-inf.el into octave.el with some
11349 cleanups.
11350 * progmodes/octave.el: New file renamed from octave-mod.el.
11351 * progmodes/octave-inf.el: Merged into octave.el.
11352 * progmodes/octave-mod.el: Renamed to octave.el.
11353
d79d37bd
TH
113542013-04-25 Tassilo Horn <tsdh@gnu.org>
11355
11356 * textmodes/reftex-vars.el
11357 (reftex-label-ignored-macros-and-environments): New defcustom.
11358
11359 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11360
ced3fc5d
SM
113612013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11364 (smie-indent-keyword): Improve the check to ensure that the next
11365 comment is really on the same line.
11366 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11367
11368 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11369 semi-colons if the line is not otherwise empty (bug#14218).
11370
1c141dad
GM
113712013-04-25 Glenn Morris <rgm@gnu.org>
11372
11373 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11374
5058062a
SM
113752013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * progmodes/opascal.el (opascal-set-token-property): Rename from
11378 opascal-set-text-properties and only set `token' (bug#14134).
11379 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11380 (opascal-literal-text-properties): Remove.
11381 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11382 Adjust callers.
11383
5db9dace 113842013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11385
11386 * textmodes/remember.el (remember-handler-functions): Add an
11387 option for a new handler `remember-store-in-files'.
11388 (remember-data-directory, remember-directory-file-name-format):
11389 New options.
11390 (remember-store-in-files): New function to store remember notes
11391 as separate files within a directory.
11392
4391916c
MH
113932013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11394
11395 * progmodes/compile.el (compilation-next-error-function):
11396 Pass "formats" to compilation-find-file (bug#11777).
11397
bb7cdf58
GM
113982013-04-24 Glenn Morris <rgm@gnu.org>
11399
3b8fe752 11400 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11401 * vc/vc-hg.el (vc-hg-print-log):
11402 * vc/vc-svn.el (vc-svn-print-log):
11403 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11404
bb7cdf58
GM
11405 * vc/vc-bzr.el (vc-bzr-print-log):
11406 * vc/vc-cvs.el (vc-cvs-print-log):
11407 * vc/vc-git.el (vc-git-print-log):
11408 * vc/vc-hg.el (vc-hg-print-log):
11409 * vc/vc-mtn.el (vc-mtn-print-log):
11410 * vc/vc-rcs.el (vc-rcs-print-log):
11411 * vc/vc-sccs.el (vc-sccs-print-log):
11412 * vc/vc-svn.el (vc-svn-print-log):
11413 * vc/vc.el (vc-print-log-internal): Doc fixes.
11414
b46a056e
GM
114152013-04-23 Glenn Morris <rgm@gnu.org>
11416
11417 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11418 Remove venerable code attempting to avoid substitute-command-keys.
11419
0aecf718
TH
114202013-04-23 Tassilo Horn <tsdh@gnu.org>
11421
4391916c
MH
11422 * textmodes/reftex-vars.el (reftex-label-regexps):
11423 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11424
117f94cf
SM
114252013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11426
4391916c 11427 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11428 Use lexical-binding.
11429 (jit-lock-force-redisplay): Use markers, check buffer's continued
11430 existence and beware narrowed buffers.
11431 (jit-lock-fontify-now): Adjust call accordingly.
11432
1d829c64
SM
114332013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11436 to avoid misleading the user.
11437
72d548a9
LL
114382013-04-22 Leo Liu <sdl.web@gmail.com>
11439
11440 * info-look.el: Prefer latex2e.info. (Bug#14240)
11441
d0853629
MA
114422013-04-22 Michael Albinus <michael.albinus@gmx.de>
11443
11444 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11445
11446 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11447 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11448 (tramp-set-completion-function, tramp-parse-putty):
11449 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11450 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11451 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11452 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11453 (tramp-call-local-coding-command): Use `tramp-call-process'
11454 instead of `tramp-compat-call-process'.
11455
11456 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11457 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11458 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11459 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11460 (tramp-maybe-send-script): Check for Perl binary.
11461 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11462
38cc0210
DU
114632013-04-22 Daiki Ueno <ueno@gnu.org>
11464
11465 * epg.el (epg-context-pinentry-mode): New function.
11466 (epg-context-set-pinentry-mode): New function.
11467 (epg--start): Pass --pinentry-mode option to gpg command.
11468
cc641ee1
XF
114692013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11470
02d844b5 11471 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11472 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11473 `completion-at-point'. (Bug#13774)
5d4e5c31 11474
cc641ee1
XF
11475 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11476 default key binding for `describe-distribution' has been moved to
11477 `C-h C-o'. (Bug#13970)
11478
1b42ee43
GM
114792013-04-21 Glenn Morris <rgm@gnu.org>
11480
11481 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11482 Add doc strings.
11483 (vc-print-log): Clarify interactive prompt.
11484
a6d63d97
GM
114852013-04-20 Glenn Morris <rgm@gnu.org>
11486
11487 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11488 No longer include timestamp etc information.
11489
d7f5c16f
RW
114902013-04-20 Roland Winkler <winkler@gnu.org>
11491
11492 * faces.el (read-face-name): Bug fix, return just one face if arg
11493 multiple is nil. (Bug#14209)
11494
bcd7a0a4
SM
114952013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11496
11497 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11498 (remove-function): Autoload.
11499
11500 * comint.el (comint-redirect-original-filter-function): Remove.
11501 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11502 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11503 (vc-cvs-annotate-command):
bcd7a0a4
SM
11504 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11505 * progmodes/prolog.el (prolog-consult-compile):
11506 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11507 Use add/remove-function instead.
11508 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11509 (gud-tooltip-process-output, gud-tooltip-tips):
11510 Use add/remove-function instead.
11511 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11512 (scheme-interaction-mode, exit-scheme-interaction-mode):
11513 Use add/remove-function instead.
11514
11515 * vc/vc-dispatcher.el: Use lexical-binding.
11516 (vc--process-sentinel): Rename from vc-process-sentinel.
11517 Change last arg to be the code to run. Don't use vc-previous-sentinel
11518 and vc-sentinel-commands any more.
11519 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11520 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11521
e36b2d20 115222013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11523
bcd7a0a4 11524 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11525 Handle function names with a single character. (Bug#14111)
4d3268ba 11526
781b4af6 115272013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11528
11529 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11530 for subroutines defined in an eval (bug#14182).
11531
7d688336
TV
115322013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11533
11534 * bookmark.el (bookmark-completing-read): Improve handling of empty
11535 string (bug#14176).
11536
31dcede0
SM
115372013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11540
adc31213
FEG
115412013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11542
11543 New faster Imenu implementation (bug#14058).
11544 * progmodes/python.el:
11545 (python-imenu-prev-index-position):
11546 (python-imenu-format-item-label-function)
11547 (python-imenu-format-parent-item-label-function)
11548 (python-imenu-format-parent-item-jump-label-function):
11549 New vars.
11550 (python-imenu-format-item-label)
11551 (python-imenu-format-parent-item-label)
11552 (python-imenu-format-parent-item-jump-label)
11553 (python-imenu--put-parent, python-imenu--build-tree)
11554 (python-imenu-create-index, python-imenu-create-flat-index)
11555 (python-util-popn): New functions.
11556 (python-mode): Set imenu-create-index-function to
11557 python-imenu-create-index.
11558
cdca8255
SM
115592013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11560
11561 * winner.el (winner-active-region): Use region-active-p, activate-mark
11562 and deactivate-mark (bug#14225).
11563
11564 * simple.el (deactivate-mark): Don't inline it.
11565
beb42340
MA
115662013-04-18 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11569
fc7f4d7e
TH
115702013-04-18 Tassilo Horn <tsdh@gnu.org>
11571
11572 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11573 file extensions from the archive-mode entry in order to prefer
11574 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11575
29f47822
LL
115762013-04-18 Leo Liu <sdl.web@gmail.com>
11577
11578 * bindings.el (help-event-list): Add ?\?.
11579
d36ed1c8
SM
115802013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11581
11582 * subr.el (with-wrapper-hook): Declare obsolete.
11583 * simple.el (filter-buffer-substring-function): New hook.
11584 (filter-buffer-substring): Use it.
11585 (filter-buffer-substring-functions): Mark obsolete.
11586 * minibuffer.el (completion-in-region-function): New hook.
11587 (completion-in-region): Use it.
11588 (completion-in-region-functions): Mark obsolete.
11589 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11590 * abbrev.el (abbrev-expand-function): New hook.
11591 (expand-abbrev): Use it.
11592 (abbrev-expand-functions): Mark obsolete.
11593 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11594 and :filter-return.
11595
04754d36
FEG
115962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11597
11598 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11599 and do not care about match data.
11600
dd8791e9
SM
116012013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11602
11603 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11604 completion tables when completing error conditions and
11605 `declare' arguments.
11606 (lisp-complete-symbol, field-complete): Mark as obsolete.
11607 (check-parens): Unmatched parens are user errors.
11608 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11609
ffe54a13
AM
116102013-04-17 Michal Nazarewicz <mina86@mina86.com>
11611
dd8791e9
SM
11612 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11613 command changed buffer (ie. `flyspell-pre-buffer' is not current
11614 buffer), which prevents making decisions based on invalid value of
11615 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11616 cause an error when `flyspell-pre-point' was nil after switching
11617 buffers.
11618 (flyspell-post-command-hook): No longer needs to change buffers when
11619 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11620
ec7e39f2
AM
116212013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11622
11623 * textmodes/ispell.el (ispell-add-per-file-word-list):
11624 Fix `flyspell-correct-word-before-point' error when accepting
11625 words and `coment-padding' is an integer by using
11626 `comment-normalize-vars' (Bug #14214).
11627
083850a6
FEG
116282013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11629
11630 New defun movement commands.
11631 * progmodes/python.el (python-nav--syntactically)
11632 (python-nav--forward-defun, python-nav-backward-defun)
11633 (python-nav-forward-defun): New functions.
11634
619ed6e1
FEG
116352013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11636
11637 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11638 (python-syntax-context): Use named compiler-macro for backwards
11639 compatibility with Emacs 24.x.
11640
7a1beb6c
LL
116412013-04-17 Leo Liu <sdl.web@gmail.com>
11642
11643 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11644 octave-hide-process-buffer.
11645
2d3fa3e5
SM
116462013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11649 (bug#14216).
11650
7ce5be54
JPG
116512013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11652
11653 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11654 Fix adjustment of offset when receiving incomplete responses from GDB
11655 (bug#14129).
11656
351edece
SM
116572013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11658
11659 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11660 python-mode-abbrev-table.
11661 (python-skeleton-define): Adjust accordingly.
11662 (python-mode-abbrev-table): New table that inherits from it so that
11663 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11664
11665 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11666 (abbrev-symbol): Use it.
11667 (abbrev--before-point): Use it since we already handle inheritance.
11668
613f9481
LL
116692013-04-16 Leo Liu <sdl.web@gmail.com>
11670
11671 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11672 binding to info-lookup-symbol.
11673
51646b62
JB
116742013-04-16 Juanma Barranquero <lekktu@gmail.com>
11675
11676 * minibuffer.el (completion--twq-all):
11677 * term/ns-win.el (ns-initialize-window-system):
11678 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11679
efb3f01d
SM
116802013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11681
36c0a301
SM
11682 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11683 global bindings.
11684
efb3f01d
SM
11685 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11686
fb549d64
DG
116872013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11688
11689 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11690 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11691 to nil.
11692 (ruby-end-of-defun): Remove the unused arg, change the docstring
11693 to reflect that this function is only used as the value of
11694 `end-of-defun-function'.
11695 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11696 to reflect an earlier change that beginning/end-of-defun functions
11697 jump between methods in a class definition, as well as top-level
11698 functions.
11699
21e8fe2f
SM
117002013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * minibuffer.el (minibuffer-complete): Don't just scroll
11703 a *Completions* that's been iconified.
11704 (minibuffer-force-complete): Make sure repetitions do cycle when going
11705 through completion-in-region -> minibuffer-complete.
11706
20e527d0
AM
117072013-04-15 Alan Mackenzie <acm@muc.de>
11708
11709 Correct the placement of c-cpp-delimiters when there're #s not at
11710 col 0.
11711
11712 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11713 place a submatch around the #.
21e8fe2f
SM
11714 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11715 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11716 on the #, not BOL.
11717
dabefae5
SM
117182013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11721 (advice--member-p): New arg `name'.
11722 (advice--add-function, advice-member-p): Use it (bug#14202).
11723
85c9ab64
AM
117242013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11725
11726 Reformulate java imenu-generic-expression.
11727 The old expression contained ill formed regexps.
11728
11729 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11730 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11731 (cc-imenu-java-method-arg-regexp): New defconsts.
11732 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11733 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11734 handling of spaces in the regexp.
11735
0f821d99
AM
117362013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11737
11738 * textmodes/ispell.el (ispell-command-loop): Remove
11739 flyspell highlight of a word when ispell accepts it (bug #14178).
11740
eb922adf
MA
117412013-04-15 Michael Albinus <michael.albinus@gmx.de>
11742
11743 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11744 uses code from the previous `ange-ftp-run-real-handler'.
11745 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11746 only in case that function exist. This is needed for proper
11747 unloading of Tramp.
11748
4d9a0979
TH
117492013-04-15 Tassilo Horn <tsdh@gnu.org>
11750
11751 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11752
11753 * textmodes/reftex.el (reftex-compile-variables): Use it.
11754
a829b0dc
SM
117552013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11756
91e8293c
SM
11757 * files.el (normal-mode): Only use default major-mode if no other mode
11758 was specified.
11759
830aed4d
SM
11760 * emacs-lisp/trace.el (trace-values): New function.
11761
a829b0dc
SM
11762 * files.el: Allow : in local variables (bug#14089).
11763 (hack-local-variable-regexp): New var.
11764 (hack-local-variables-prop-line, hack-local-variables): Use it.
11765
7ae9f0fb
RW
117662013-04-13 Roland Winkler <winkler@gnu.org>
11767
11768 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11769 data before it gets modified by bibtex-beginning-of-entry.
11770
6646e848
RW
117712013-04-13 Roland Winkler <winkler@gnu.org>
11772
11773 * textmodes/bibtex.el (bibtex-url): Doc fix.
11774
117752013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11776
11777 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11778 does not visit a BibTeX file, exclude it from the list of buffers
11779 returned by bibtex-initialize.
11780
0aa3616e
SB
117812013-04-13 Stephen Berman <stephen.berman@gmx.net>
11782
11783 * window.el (split-window): Remove interactive form, since as a
11784 command this function is a special case of split-window-below.
11785 Correct doc string.
11786
011cddd6
RW
117872013-04-12 Roland Winkler <winkler@gnu.org>
11788
11789 * faces.el (read-face-name): Do not override value of arg default.
11790 Allow single faces and strings as default values. Remove those
11791 elements from return value that are not faces.
11792 (describe-face): Simplify.
11793 (face-at-point): New optional args thing and multiple so that this
11794 function can provide the same functionality previously provided by
11795 read-face-name.
11796 (make-face-bold, make-face-unbold, make-face-italic)
11797 (make-face-unitalic, make-face-bold-italic, invert-face)
11798 (modify-face, read-face-and-attribute): Use face-at-point.
11799
11800 * cus-edit.el (customize-face, customize-face-other-window)
11801 * cus-theme.el (custom-theme-add-face)
11802 * face-remap.el (buffer-face-set)
11803 * facemenu.el (facemenu-set-face): Use face-at-point.
11804
f24e0036
MA
118052013-04-12 Michael Albinus <michael.albinus@gmx.de>
11806
11807 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11808
da3cda2d
TH
118092013-04-10 Tassilo Horn <tsdh@gnu.org>
11810
11811 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11812 off leading { and trailing } from field values.
11813
15e54145
SM
118142013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11815
78ce603d
SM
11816 * emacs-lisp/timer.el (timer--check): New function.
11817 (timer--time, timer-set-function, timer-event-handler): Use it.
11818 (timer-set-idle-time): Simplify.
11819 (timer--activate): CSE.
11820 (timer-event-handler): Give more info in error message.
11821 (internal-timer-start-idle): New function, moved from C.
11822
15e54145
SM
11823 * mpc.el (mpc-proc): Add `restart' argument.
11824 (mpc-proc-cmd): Use it.
11825 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11826 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11827 less often.
11828
7144c627
MY
118292013-04-10 Masatake YAMATO <yamato@redhat.com>
11830
11831 * progmodes/sh-script.el: Implement `sh-mode' own
11832 `add-log-current-defun-function' (bug#14112).
11833 (sh-current-defun-name): New function.
11834 (sh-mode): Use the function.
11835
b39792eb
BG
118362013-04-09 Bastien Guerry <bzg@gnu.org>
11837
11838 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11839
8acdeb71
SM
118402013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11841
6fcdab68
SM
11842 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11843
8acdeb71
SM
11844 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11845 timer (bug#14156).
11846
e3e7b504
NF
118472013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11848
11849 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11850 declaration.
11851
201bb296
LL
118522013-04-07 Leo Liu <sdl.web@gmail.com>
11853
11854 * pcmpl-x.el: New file.
11855
ebb19708
DA
118562013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11857
11858 Do not set x-display-name until X connection is established.
11859 This is needed to prevent from weird situation described at
11860 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11861 * frame.el (make-frame): Set x-display-name after call to
11862 window system initialization function, not before.
11863 * term/x-win.el (x-initialize-window-system): Add optional
11864 display argument and use it.
11865 * term/w32-win.el (w32-initialize-window-system):
11866 * term/ns-win.el (ns-initialize-window-system):
11867 * term/pc-win.el (msdos-initialize-window-system):
11868 Add compatible optional display argument.
11869
33bb237a
EZ
118702013-04-06 Eli Zaretskii <eliz@gnu.org>
11871
11872 * files.el (normal-backup-enable-predicate): On MS-Windows and
11873 MS-DOS compare truenames of temporary-file-directory and of the
11874 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11875 don't fail comparison by compare-strings. Also, compare file
11876 names case-insensitively on MS-Windows and MS-DOS.
11877
134abf1f
SM
118782013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11881 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11882
d695cb94
DG
118832013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11884
e3e7b504
NF
11885 * whitespace.el (whitespace-color-on, whitespace-color-off):
11886 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11887
f4ad7ea1 118882013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11889
11890 * ispell.el (ispell-set-spellchecker-params):
11891 Really set `ispell-args' for all equivs.
11892
632556e4
SM
118932013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * ido.el (ido-completions): Use extra elements of ido-decorations
11896 (bug#14143).
11897 (ido-decorations): Update docstring.
11898
2a417372
MA
118992013-04-05 Michael Albinus <michael.albinus@gmx.de>
11900
11901 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11902 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11903 nil during initialization, in order not to miss changes since the
11904 file was opened. (Bug#14140)
11905
fc164b0c
LL
119062013-04-05 Leo Liu <sdl.web@gmail.com>
11907
11908 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11909
0ccecc08
JB
119102013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11911
11912 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11913
51af1aa2
GM
119142013-04-04 Glenn Morris <rgm@gnu.org>
11915
11916 * electric.el (electric-pair-inhibit-predicate): Add :version.
11917
b208ebc6
SM
119182013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11921 when a package is required several times (bug#14082).
11922
f3d3eaf0
RW
119232013-04-04 Roland Winkler <winkler@gnu.org>
11924
11925 * faces.el (read-face-name): Behave as promised by the docstring.
11926 Assume that arg default is a list of faces.
11927 (describe-face): Call read-face-name with list of default faces.
11928
2575da50
TV
119292013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11930
11931 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11932 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11933 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11934 the header.
11935 (bookmark-exit-hook-internal): Save even if list is empty.
11936
397703b4
YH
119372013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11938
11939 * emacs-lisp/package.el (package-pinned-packages): New var.
11940 (package--add-to-archive-contents): Obey it (bug#14118).
11941
691e26ae
AM
119422013-04-03 Alan Mackenzie <acm@muc.de>
11943
8a621d53
JB
11944 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11945 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11946
11947 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11948 parameter `not-in-delimiter'. Handle being inside comment opener.
11949 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11950 character in case we're typing a '*' after a '/'.
11951 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11952 instead by passing the parameter to c-state-pp-to-literal.
11953
11954 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11955 for elt. 7 of a parse state.
11956
4b725a70
PE
119572013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11958
11959 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11960 * international/latin1-disp.el, international/mule-util.el:
11961 * language/cyril-util.el, language/european.el, language/ind-util.el:
11962 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11963 * language/tibetan.el, language/viet-util.el:
11964 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11965
15c579f0
SM
119662013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11969 (electric-pair-post-self-insert-function): Use it.
11970 (electric-pair-default-inhibit): New function, extracted from
11971 electric-pair-post-self-insert-function.
11972
a77e2924
RW
119732013-03-31 Roland Winkler <winkler@gnu.org>
11974
11975 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11976
2bd8a4a8
SM
119772013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11980
8d3655be 119812013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11982
11983 Un-indent after "pass" and "return" statements (Bug#13888)
11984 * progmodes/python.el (python-indent-block-enders): New var.
11985 (python-indent-calculate-indentation): Use it.
11986
8d3655be 119872013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11988
11989 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11990 defun. Defining it as defalias could introduce too eager
11991 byte-compiler optimization. (Bug#14030)
11992
8d3655be 119932013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11994
11995 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11996
0b1619da
LL
119972013-03-30 Leo Liu <sdl.web@gmail.com>
11998
11999 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12000 (kmacro-execute-from-register): Pass the keyboard macro to
12001 kmacro-call-macro or repeating won't work correctly.
12002
0b938190
TZ
120032013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12004
12005 * progmodes/subword.el: Back to using `forward-symbol'.
12006
12007 * subr.el (forward-whitespace, forward-symbol)
12008 (forward-same-syntax): Move from thingatpt.el.
12009
35710234
LL
120102013-03-29 Leo Liu <sdl.web@gmail.com>
12011
12012 * kmacro.el (kmacro-to-register): New command.
12013 (kmacro-execute-from-register): New function.
12014 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12015
efc0bb73
SM
120162013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * mpc.el: Use defvar-local and setq-local.
12019 (mpc--proc-connect): Connection failures are not bugs.
12020 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12021 (mpc-volume-map): Bind to the up-events.
12022
75a2f981
TZ
120232013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12024
12025 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12026 instead of `forward-symbol'.
12027
17c781d1
SM
120282013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12029
12030 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12031 (edebug--recursive-edit): Use it.
12032 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12033 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12034
f67bfbcf
LL
120352013-03-28 Leo Liu <sdl.web@gmail.com>
12036
12037 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12038
b59f639d
EZ
120392013-03-27 Eli Zaretskii <eliz@gnu.org>
12040
12041 * facemenu.el (list-colors-callback): New defvar.
12042 (list-colors-redisplay): New function.
12043 (list-colors-display): Install list-colors-redisplay as the
12044 revert-buffer-function. (Bug#14063)
12045
f557c1b1
SM
120462013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12047
b1da2957
SM
12048 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12049 and suffixes don't overlap (bug#14061).
12050
f557c1b1
SM
12051 * case-table.el: Use lexical-binding.
12052 (case-table-get-table): New function.
12053 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12054
002668e1
TZ
120552013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12056
12057 * progmodes/subword.el: Add `superword-mode' to do word motion
12058 over symbol_words (parallels and leverages `subword-mode' which
12059 does word motion inside MixedCaseWords).
12060
73572c72
AG
120612013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12062
78b8f320 12063 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12064 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12065
69b2c07e
SM
120662013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12069 Change return value to be a sexp. Delay `get-buffer' to after
12070 restoring the desktop (bug#13951).
12071
08bb5ee2
LL
120722013-03-26 Leo Liu <sdl.web@gmail.com>
12073
12074 * register.el: Move semantic tag handling back to
12075 cedet/semantic/senator.el. (Bug#14052)
12076
8d4c974e
SM
120772013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12080 into the prompt either (bug#13963).
12081
b234d92c
SM
120822013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12085 part of "(error-foo)".
12086
ddfa3cb4
JL
120872013-03-24 Juri Linkov <juri@jurta.org>
12088
12089 * replace.el (list-matching-lines-prefix-face): New defcustom.
12090 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12091 `occur-engine' if `face-differs-from-default-p' returns t.
12092 (occur-engine): Add `,' inside backquote construct to evaluate
12093 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12094 Pass `prefix-face' to the functions `occur-context-lines' and
12095 `occur-engine-add-prefix'.
12096 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12097 `prefix-face' and propertize the prefix with `prefix-face'.
12098 (Bug#14017)
12099
7b0e2f85
LL
121002013-03-24 Leo Liu <sdl.web@gmail.com>
12101
12102 * nxml/rng-valid.el (rng-validate-while-idle)
12103 (rng-validate-quick-while-idle): Guard against deleted buffer.
12104 (Bug#13999)
12105
12106 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12107 is the last entry in kill-buffer-hook.
12108
12109 * files.el (kill-buffer-hook): Doc fix.
12110
b3082f49
DG
121112013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12112
b234d92c
SM
12113 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12114 Make it safe-local.
bde73d27 12115
b3082f49
DG
12116 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12117
a320a2db
LL
121182013-03-23 Leo Liu <sdl.web@gmail.com>
12119
7e74b0fb
LL
12120 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12121 Remove.
12122
12123 * nxml/rng-valid.el (rng-validate-mode)
12124 (rng-after-change-function, rng-do-some-validation):
12125 * nxml/rng-maint.el (rng-validate-buffer):
12126 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12127 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12128 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12129 (nxml-extend-after-change-region): Use with-silent-modifications.
12130
a320a2db
LL
12131 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12132 timer-idle-list.
12133
12134 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12135 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12136 timer-idle-list. (Bug#13999)
12137
e38e6780
JL
121382013-03-23 Juri Linkov <juri@jurta.org>
12139
12140 * info.el (info-index-match): New face.
12141 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12142 main pattern and add text properties with the new face to matches
12143 in index entries relative to the beginning of the index entry.
12144 (Bug#14015)
12145
e8cc7880
DE
121462013-03-21 Eric Ludlam <zappo@gnu.org>
12147
39c87140 12148 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12149 Inhibit read only while inserting objects.
12150
9bb0d822
TZ
121512013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12152
12153 * progmodes/cfengine.el: Update docs to mention
12154 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12155 symbol motion. Remove "_" from the word syntax.
12156
aa703640
TZ
121572013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12158
12159 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12160 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12161
afff09d0
JL
121622013-03-20 Juri Linkov <juri@jurta.org>
12163
12164 * info.el (Info-next-reference-or-link)
12165 (Info-prev-reference-or-link): New functions.
12166 (Info-next-reference, Info-prev-reference): Use them.
12167 (Info-try-follow-nearest-node): Handle footnote navigation.
12168 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12169
9a1ff164
SM
121702013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12173 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12174
2667d15d
PE
121752013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12176
12177 Suppress unnecessary non-ASCII chatter during build process.
12178 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12179 (batch-skkdic-convert): Suppress most of the chatter.
12180 It's not needed so much now that machines are faster,
12181 and its non-ASCII component was confusing; see Dmitry Gutov in
12182 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12183
438b0579
LL
121842013-03-20 Leo Liu <sdl.web@gmail.com>
12185
12186 * ido.el (ido-chop): Fix bug#10994.
12187
c128ab07
DG
121882013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12189
12190 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12191 Remove vars.
9a1ff164
SM
12192 (whitespace-color-on, whitespace-color-off):
12193 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12194
0e6008c5
SM
121952013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12198 remapping in mode-line.
12199 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12200
627b52b0
DG
122012013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12202
12203 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12204 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12205 (whitespace-font-lock-keywords): Change description.
12206 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12207 the constructed keywords instead.
12208 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12209
50c3a20b
LL
122102013-03-19 Leo Liu <sdl.web@gmail.com>
12211
12212 * progmodes/compile.el (compilation-display-error): New command.
12213 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12214 C-o. (Bug#13992)
12215
2aa2157b
PE
122162013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12217
12218 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12219
e477dbfa
JD
122202013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12221
12222 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12223
64ab82d1
MA
122242013-03-18 Michael Albinus <michael.albinus@gmx.de>
12225
12226 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12227
12228 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12229 * net/tramp-gvfs.el (top):
12230 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12231 (tramp-handle-shell-command): Use it.
12232 (tramp-dissect-file-name): Raise an error when hostname is a
12233 method name, and neither method nor user is specified.
12234
12235 * net/trampver.el: Update release number.
12236
33cef733
LL
122372013-03-18 Leo Liu <sdl.web@gmail.com>
12238
12239 Make sure eldoc can be turned off properly.
12240 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12241 eldoc-mode.
12242 (eldoc-display-message-p): Revert last change.
12243 (eldoc-display-message-no-interference-p)
12244 (eldoc-print-current-symbol-info): Tweak.
12245
2167b7b2
TH
122462013-03-18 Tassilo Horn <tsdh@gnu.org>
12247
12248 * doc-view.el (doc-view-new-window-function): Check the new window
12249 overlay's display property instead the char property of the
12250 buffer's first char. Use `with-selected-window' instead of
12251 `save-window-excursion' with `select-window'.
12252 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12253 display property instead the char property of the buffer's first char.
2167b7b2 12254
982efbcd
PE
122552013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12256
12257 Automate the build of ja-dic.el (Bug#13984).
12258 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12259 from the input, rather than assume that it's been done for us by the
12260 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12261 the current date into a ja-dic.el comment, as that complicates
12262 regression testing.
12263
2fcc7665
SM
122642013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * whitespace.el: Fix double evaluation.
12267 (whitespace-space, whitespace-hspace, whitespace-tab)
12268 (whitespace-newline, whitespace-trailing, whitespace-line)
12269 (whitespace-space-before-tab, whitespace-indentation)
12270 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12271 obsolete defvars.
12272 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12273 (whitespace-color-on): Use a single font-lock-add-keywords call.
12274 Fix double-evaluation of face variables.
12275
67c0a6e6
MA
122762013-03-17 Michael Albinus <michael.albinus@gmx.de>
12277
2fcc7665
SM
12278 * net/tramp-adb.el (tramp-adb-parse-device-names):
12279 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12280 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12281
69489f1d
LL
122822013-03-17 Leo Liu <sdl.web@gmail.com>
12283
12284 Extend eldoc to display info in the mode-line. (Bug#13978)
12285 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12286 (eldoc-mode-line-string): New variable.
12287 (eldoc-minibuffer-message): New function.
12288 (eldoc-message-function): New variable.
12289 (eldoc-message): Use it.
12290 (eldoc-display-message-p)
2fcc7665
SM
12291 (eldoc-display-message-no-interference-p):
12292 Support eldoc-post-insert-mode.
69489f1d
LL
12293
12294 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12295 (eval-expression): Run it.
12296
9c44569e
RW
122972013-03-17 Roland Winkler <winkler@gnu.org>
12298
12299 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12300 strings in the list of return values.
12301
327f1f6f
JB
123022013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12303
12304 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12305 radix before checking for HMS forms.
12306
67ed8fcd
LL
123072013-03-16 Leo Liu <sdl.web@gmail.com>
12308
12309 * progmodes/scheme.el: Add indentation and font-locking for λ.
12310 (Bug#13975)
12311
78be8b64 123122013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12313
12314 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12315 token before point (bug#13942).
12316
78be8b64 123172013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12318
95b43468 12319 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12320
98e775e6
EZ
123212013-03-16 Eli Zaretskii <eliz@gnu.org>
12322
12323 * startup.el (command-line-normalize-file-name): Fix handling of
12324 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12325 <xfq.free@gmail.com> in
12326 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12327
2edd6029
MA
123282013-03-15 Michael Albinus <michael.albinus@gmx.de>
12329
12330 Sync with Tramp 2.2.7.
12331
12332 * net/trampver.el: Update release number.
12333
d35f5864
TH
123342013-03-14 Tassilo Horn <tsdh@gnu.org>
12335
e903c210 12336 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12337 (doc-view-insert-image): Don't modify overlay associated to
12338 non-live windows, and implement horizontal centering of image in
12339 case it's smaller than the window.
12340 (doc-view-new-window-function): Force redisplay of new windows on
12341 doc-view buffers.
d35f5864 12342
1c4a85ed
KF
123432013-03-13 Karl Fogel <kfogel@red-bean.com>
12344
12345 * saveplace.el (save-place-alist-to-file): Don't sort
12346 `save-place-alist', just pretty-print it (bug#13882).
12347
85b66a21
MA
123482013-03-13 Michael Albinus <michael.albinus@gmx.de>
12349
a020afb9
JB
12350 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12351 Check whether `default-file-name-coding-system' is bound.
12352 It isn't in XEmacs.
85b66a21 12353
175600da
SM
123542013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12355
e7f7cb1a
SM
12356 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12357 backquotes for `obsolete' (bug#13929).
12358
175600da
SM
12359 * international/mule.el (find-auto-coding): Include file name in
12360 obsolescence warning (bug#13922).
12361
ca68a22e
TZ
123622013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12363
12364 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12365 for CFEngine 3-specific indentation.
12366 (cfengine3-indent-line): Use it. Fix up category regex.
12367 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12368
940e5099
SM
123692013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * type-break.el (type-break-file-name):
12372 * textmodes/remember.el (remember-data-file):
12373 * strokes.el (strokes-file):
12374 * shadowfile.el (shadow-initialize):
12375 * saveplace.el (save-place-file):
12376 * ps-bdf.el (bdf-cache-file):
12377 * progmodes/idlwave.el (idlwave-config-directory):
12378 * net/quickurl.el (quickurl-url-file):
12379 * international/kkc.el (kkc-init-file-name):
12380 * ido.el (ido-save-directory-list-file):
12381 * emulation/viper.el (viper-custom-file-name):
12382 * emulation/vip.el (vip-startup-file):
12383 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12384 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12385
cc725808
PE
123862013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12387
12388 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12389 * language/thai-word.el: Switch to UTF-8.
12390
a020afb9 12391See ChangeLog.16 for earlier changes.
e3d51b27
MR
12392
12393;; Local Variables:
12394;; coding: utf-8
e3d51b27
MR
12395;; End:
12396
ba318903 12397 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12398
12399 This file is part of GNU Emacs.
12400
12401 GNU Emacs is free software: you can redistribute it and/or modify
12402 it under the terms of the GNU General Public License as published by
12403 the Free Software Foundation, either version 3 of the License, or
12404 (at your option) any later version.
12405
12406 GNU Emacs is distributed in the hope that it will be useful,
12407 but WITHOUT ANY WARRANTY; without even the implied warranty of
12408 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12409 GNU General Public License for more details.
12410
12411 You should have received a copy of the GNU General Public License
12412 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.