* lisp/vc/vc-git.el (vc-git-grep): Disable pager.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
be4e325d
MH
12013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2
3 * vc/vc-git.el (vc-git-grep): Disable pager.
4
e9155c4a
DG
52013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6
494e898b
DG
7 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8 Use :url instead of :homepage, as per
9 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10
e9155c4a
DG
11 * newcomment.el (comment-beginning): When `comment-use-syntax' is
12 non-nil, use `syntax-ppss' (Bug#15251).
13
481a8e0f
RS
142013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15
be4e325d
MH
16 * progmodes/octave.el (inferior-octave-startup-file):
17 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 18
056453c6
DG
192013-09-29 Dmitry Gutov <dgutov@yandex.ru>
20
be4e325d
MH
21 * emacs-lisp/package.el (package-desc-from-define):
22 Accept additional arguments as plist, convert them to an alist and store
23 them in the `extras' slot.
056453c6
DG
24 (package-generate-description-file): Convert extras alist back to
25 plist and append to the `define-package' form arguments.
26 (package--alist-to-plist): New function.
27 (package--ac-desc): Add `extras' slot.
28 (package--add-to-archive-contents): Check if the archive-contents
29 vector is long enough, and if it is, pass its `extras' slot value
30 to `package-desc-create'.
31 (package-buffer-info): Call `lm-homepage', pass the returned value
32 to `package-desc-from-define'.
33 (describe-package-1): Render the homepage button (Bug#13291).
34
be4e325d
MH
35 * emacs-lisp/package-x.el (package-upload-buffer-internal):
36 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 37
832966e5
JD
382013-09-29 Jan Djärv <jan.h.d@swipnet.se>
39
40 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
41 and default-process-coding-system to utf-8-unix (Bug#15402).
42
6cfe977d
XF
432013-09-29 Xue Fuqiao <xfq.free@gmail.com>
44
45 * subr.el (looking-back): Do not recommend using looking-back.
46
38de11bd
AM
472013-09-28 Alan Mackenzie <acm@muc.de>
48
49 Fix indentation/fontification of Java enum with "implements".
50
51 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
52 regexp which matches "implements", etc., in Java.
53 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
54 specifier clauses coming after "enum".
55 * progmodes/cc-fonts.el (c-font-lock-declarations)
56 (c-font-lock-enum-tail): Check for extra specifier clauses coming
57 after "enum".
58
1610938f
JD
592013-09-28 Jan Djärv <jan.h.d@swipnet.se>
60
61 * faces.el (region): Change ns_selection_color to
62 ns_selection_fg_color, add ns_selection_bg_color.
63
e090f499
LL
642013-09-28 Leo Liu <sdl.web@gmail.com>
65
4d2e94d1
LL
66 * progmodes/octave.el (inferior-octave-completion-table)
67 (inferior-octave-completion-at-point): Minor tweaks.
68
e090f499
LL
69 * textmodes/ispell.el (ispell-lookup-words): Rename from
70 lookup-words. (Bug#15460)
71 (lookup-words): Obsolete.
72 (ispell-complete-word, ispell-command-loop): All uses changed.
73
7e138a62
RS
742013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
75
76 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
77 (octave-mode-menu): Add octave-send-buffer.
78 (octave-send-buffer): New function.
79
5af5ed08
RS
802013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
81
82 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
83 octave-lookfor.
84 (octave-mode-menu): Add octave-lookfor.
85 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
86 octave-lookfor.
87 (octave-lookfor): New function.
88
3b7b2692
SM
892013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * emacs-lisp/cl-macs.el:
92 (cl--loop-destr-temps): Remove.
93 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
94 its convention.
95 (cl--loop-set-iterator-function): New function.
96 (cl-loop): Adjust accordingly, so as not to use cl-subst.
97 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
98 Bind `it' with `let' instead of substituting it with `cl-subst'.
99 (cl--unused-var-p): New function.
100 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
101 Eliminate some unused variable warnings (bug#15326).
102
529fb53f
TH
1032013-09-27 Tassilo Horn <tsdh@gnu.org>
104
105 * doc-view.el (doc-view-scale-reset): Rename from
106 `doc-view-reset-zoom-level'.
107 (doc-view-scale-adjust): New command.
108 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
109 `doc-view-scale-adjust'.
110
0550c95a
TH
1112013-09-26 Tassilo Horn <tsdh@gnu.org>
112
113 * doc-view.el (doc-view-reset-zoom-level): New command.
114 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
115 zoom commands (bug#15466).
116
6950f152
KH
1172013-09-26 Kenichi Handa <handa@gnu.org>
118
119 * international/quail.el (quail-help): Make it not a command.
120
39587580
LL
1212013-09-26 Leo Liu <sdl.web@gmail.com>
122
123 * minibuffer.el (completion-all-sorted-completions): Make args
124 optional as they are.
125
00578659
DC
1262013-09-25 Daniel Colascione <dancol@dancol.org>
127
128 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
129 specs are and that they're not evaluated.
130
0c173878
SS
1312013-09-24 Sam Steingold <sds@gnu.org>
132
133 * midnight.el (clean-buffer-list-kill-regexps)
134 (clean-buffer-list-kill-buffer-names): Update for the new Man
135 buffer naming which includes the object name.
136
84998447
SM
1372013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * eshell/esh-cmd.el (eshell--sep-terms): New var.
140 (eshell-parse-command, eshell-parse-pipeline): Use it since
141 eshell-separate-commands requires a dynamic scoped var.
142 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
143
33215353
LL
1442013-09-23 Leo Liu <sdl.web@gmail.com>
145
146 * autoinsert.el (auto-insert-alist): Make the value of
147 lexical-binding match its file setting.
148
57b16162
JB
1492013-09-23 Juanma Barranquero <lekktu@gmail.com>
150
c8af4e67
JB
151 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
152
57b16162
JB
153 * autoarg.el (autoarg-kp-digit-argument):
154 * electric.el (Electric-command-loop):
155 * kmacro.el (kmacro-step-edit-insert):
156 Do not set universal-argument-num-events.
157
7186ba60
LL
1582013-09-22 Leo Liu <sdl.web@gmail.com>
159
160 * files.el (interpreter-mode-alist): Add octave.
161
ece15004
AM
1622013-09-21 Alan Mackenzie <acm@muc.de>
163
164 C++: fontify identifier in declaration following "public:" correctly.
165 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
166 to match "public", etc.
167 (c-decl-prefix-re): Add ":" into the C++ value.
168 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
169 bit. Add a check for a ":" preceded by "public", etc.
170
75d83e22
EZ
1712013-09-21 Eli Zaretskii <eliz@gnu.org>
172
173 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
174 recognized by GDB 7.5 and later.
175
d052d3bd
XF
1762013-09-21 Xue Fuqiao <xfq.free@gmail.com>
177
178 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
179
31dca772
R
1802013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * subr.el (internal--call-interactively): New const.
183 (called-interactively-p): Use it (bug#3984).
184
98ccf24e
XF
1852013-09-20 Xue Fuqiao <xfq.free@gmail.com>
186
187 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
188 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
189 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 190
c39cc7d1
SM
1912013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
194 (eshell-ls-orig-insert-directory): Remove.
195 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
196 (eshell-ls-use-in-dired): Use advice-add/remove.
197 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
198 Add `orig-fun' arg for use in :around advice.
199 Make it check (redundantly) eshell-ls-use-in-dired.
200
9a0289a2
GM
2012013-09-19 Glenn Morris <rgm@gnu.org>
202
a2c501b8
GM
203 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
204
c440407a
GM
205 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
206
9a0289a2
GM
207 * emacs-lisp/eieio.el (class-parent): Undo previous change.
208
85e05915
MA
2092013-09-19 Michael Albinus <michael.albinus@gmx.de>
210
211 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
212 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
213 (tramp-get-remote-python): New defuns.
214 (tramp-get-remote-uid-with-perl)
215 (tramp-get-remote-gid-with-perl): New defuns. Perl code
216 contributed by yary <not.com@gmail.com> (tiny change).
217 (tramp-get-remote-uid-with-python)
218 (tramp-get-remote-gid-with-python): New defuns. Python code
219 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
220 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
221
ce503312
GM
2222013-09-19 Glenn Morris <rgm@gnu.org>
223
f7544773
GM
224 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
225
72fd2877
GM
226 * eshell/em-unix.el (eshell-remove-entries):
227 Rename argument to avoid name-clash with global `top-level'.
228
336b5a56
GM
229 * eshell/esh-proc.el (eshell-kill-process-function):
230 Remove eshell-reset-after-proc from eshell-kill-hook if present.
231 (eshell-reset-after-proc): Remove unused arg `proc'.
232
57a3a53d
GM
233 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
234 (directory-files-and-attributes): Mark unused arg.
235
3261d4af
GM
236 * eshell/em-unix.el (eshell-remove-entries):
237 Remove unused arg `path'. Update callers.
238
8e51b5d0
GM
239 * eshell/em-hist.el (eshell-hist-parse-arguments):
240 Remove unused arg `silent'. Update callers.
241
ce503312
GM
242 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
243 Fix (f)boundp mix-up.
244
245 * eshell/em-smart.el (eshell-smart-scroll-window)
246 (eshell-disable-after-change):
336b5a56 247 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 248
ee3ce8a7
AM
2492013-09-18 Alan Mackenzie <acm@muc.de>
250
251 Fix fontification of type when followed by "const".
252 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
253 "known" types from fontification.
254
ec9177ba
GM
2552013-09-18 Glenn Morris <rgm@gnu.org>
256
7bb3e768
GM
257 * emacs-lisp/chart.el (x-display-color-cells): Declare.
258 (chart-face-list): Drop Emacsen without display-color-p.
259
5148da15
GM
260 * net/eww.el (libxml-parse-html-region): Declare.
261 (eww-display-html): Explicit error if no libxml2 support.
262
2f68e157
GM
263 * doc-view.el (doc-view-mode): Silence --without-x compilation.
264
9019d095
GM
265 * image.el (image-type-from-buffer, image-multi-frame-p):
266 Remove --without-x warning/error.
67645389 267
5f30349b 268 * mouse.el (mouse-yank-primary):
45069b2e 269 * term.el (term-mouse-paste):
5f30349b
GM
270 Reorder to silence --without-x compilation.
271
cd8edbbe
GM
272 * mpc.el (doc-view-mode): Silence --without-x compilation.
273
8a78544e
GM
274 * mail/rmailmm.el (rmail-mime-set-bulk-data):
275 Silence --without-x compilation.
276
12679bfd
GM
277 * progmodes/gud.el (gud-find-file, gud-mode):
278 Silence --without-x compilation.
279 (tooltip-mode): Declare.
30810a05 280
f0047cb9
GM
281 * wdired.el (dired-backup-overwrite): Remove declaration.
282 (wdired-mode-map): Add doc string.
283
e740f9d2
GM
284 * custom.el (x-get-resource): Declare.
285
92d77c89
GM
286 * eshell/em-glob.el (ange-cache):
287 * eshell/em-unix.el (ange-cache): Declare.
288
76e69577
GM
289 * faces.el (x-display-list, x-open-connection, x-get-resource):
290 Declare.
7e58af4b
GM
291
292 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
293 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
294 Declare.
76e69577 295
4bd4c0af 296 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 297
ffb82dbd
GM
298 * net/gnutls.el (gnutls-log-level): Declare.
299
986ed135
GM
300 * net/shr.el (image-size, image-animate): Declare.
301
e740f9d2
GM
302 * simple.el (font-info): Declare.
303
d2f3e9f8
GM
304 * subr.el (x-popup-dialog): Declare.
305
047a1a4c
GM
306 * term/common-win.el (x-select-enable-primary)
307 (x-last-selected-text-primary, x-last-selected-text-clipboard):
308 Declare.
309
f4a1d572
GM
310 * term/ns-win.el (x-handle-args): Declare.
311
e843de77
GM
312 * term/x-win.el (x-select-enable-clipboard): Declare.
313
5fa89513
GM
314 * term/w32-win.el (create-default-fontset): Declare.
315
38702b5b
GM
316 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
317 Declare.
318
e740f9d2
GM
319 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
320 (fit-frame-to-buffer): Explicit error if --without-x.
321 (mouse-autoselect-window-select): Silence compiler.
322
49a053fc
GM
323 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
324
325 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
326 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
327 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 328 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
329 Remove unused local variables.
330
331 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
332
ec9177ba
GM
333 * textmodes/two-column.el: Make 2C-split work for --without-x.
334 (scroll-bar-columns): Autoload.
335 (top-level): Require fringe when compiling.
336
9f25cb77
LL
3372013-09-18 Leo Liu <sdl.web@gmail.com>
338
339 * subr.el (add-hook): Robustify to handle closure as well.
340
2b42da98
GM
3412013-09-17 Glenn Morris <rgm@gnu.org>
342
343 * simple.el (messages-buffer-mode-map): Unbind "g".
344
e8b66a6a
SM
3452013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
346
9c0ad4f7
SM
347 * help-mode.el (help-mode-finish): Use derived-mode-p.
348 Remove obsolete highlighting.
349
7a806dfb
SM
350 * play/life.el (life-mode): Use define-derived-mode. Derive from
351 special-mode.
352 (life): Let-bind inhibit-read-only.
353 (life-setup): Avoid `setq'. Use `life-mode'.
354
96dbf5a8
SM
355 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
356 which should not be needed any more.
357 (package-menu-refresh, package-menu-describe-package): Use user-error.
358
e8b66a6a
SM
359 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
360 (eshell-post-rewrite-command-hook): Make obsolete.
361 (eshell-parse-command): Simplify.
362 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
363 (eshell--cmd): Declare.
364 (eshell-parse-pipeline): Remove unused var `final-p'.
365 Pass a dynvar to eshell-post-rewrite-command-hook.
366 Implement the new eshell-post-rewrite-command-function.
367 (eshell-invoke-directly): Remove unused arg `input'.
368 * eshell/esh-io.el (eshell-io-initialize):
369 Use eshell-post-rewrite-command-function (bug#15399).
370 (eshell--apply-redirections): Rename from eshell-apply-redirections;
371 adjust to new calling convention.
372 (eshell-create-handles): Rename args to avoid clashing with dynvar
373 `standard-output'.
374
90582f05
GM
3752013-09-17 Glenn Morris <rgm@gnu.org>
376
377 * simple.el (messages-buffer-mode): New major mode.
378 (messages-buffer): New function.
379 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
380 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 381 (ert-run-test): Use `messages-buffer' function.
90582f05 382 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
383 * help.el (view-echo-area-messages): Use `messages-buffer' function.
384 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 385
39eb0cb5 3862013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
387
388 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
389
1f1e06e2
SM
390 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
391
70568a90
SM
3922013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
393
504a0381
SM
394 * icomplete.el (icomplete-in-buffer): New var.
395 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
396 vars and replace them with functions.
397 (icomplete-minibuffer-setup): Adjust accordingly.
398 (icomplete--completion-table, icomplete--completion-predicate)
399 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
400 New functions.
401 (icomplete-forward-completions, icomplete-backward-completions)
402 (icomplete-simple-completing-p, icomplete-exhibit)
403 (icomplete-completions): Use them.
404 (icomplete--in-region-buffer): New var.
405 (icomplete--in-region-setup): New function.
406 (icomplete-mode): Use it.
407
70568a90
SM
408 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
409 (bug#15379).
410 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
411 return args and options.
412 (eshell-eval-using-options): Use the new return value of
413 eshell--do-opts to set the options's vars in their scope.
414 (eshell--set-option): Rename from eshell-set-option.
415 Add arg `opt-vals'.
416 (eshell--process-option): Rename from eshell-process-option.
417 Add arg `opt-vals'.
418 (eshell--process-args): Use an `opt-vals' alist to store the options's
419 values during their processing and return them additionally to the
420 remaining args.
421
578c21bc
DG
4222013-09-15 Dmitry Gutov <dgutov@yandex.ru>
423
424 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
425 continuation character an operator, as far as indentation is
426 concerned (Bug#15369).
427
c089653d
MR
4282013-09-15 Martin Rudalics <rudalics@gmx.at>
429
430 * window.el (window--state-put-2): Don't process buffer state
431 when buffer doesn't exist any more (Bug#15382).
432
1e53bb4b
GM
4332013-09-15 Glenn Morris <rgm@gnu.org>
434
30753242
GM
435 * eshell/em-unix.el (eshell/rm):
436 Make -f ignore missing files. (Bug#15373)
437
1e53bb4b
GM
438 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
439 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
440 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
441
0d8863b3
GM
4422013-09-14 Glenn Morris <rgm@gnu.org>
443
444 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
445
d3fc6549
GM
4462013-09-13 Glenn Morris <rgm@gnu.org>
447
448 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
449 (dired-guess-default): Make `file' available in the env. (Bug#15363)
450
fcd42c11
DA
4512013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
452
453 * frame.el (x-focus-frame): Mark as declared in frame.c.
454
7830899f
SM
4552013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * ls-lisp.el: Use advice-add.
458 (original-insert-directory): Remove.
459 (ls-lisp--insert-directory): Rename from insert-directory; add
460 `orig-fun' argument.
461 (insert-directory): Advise.
462
84387cd2
EZ
4632013-09-13 Eli Zaretskii <eliz@gnu.org>
464
465 * term.el (term-emulate-terminal): Decode the command string
466 before passing it to term-command-hook. (Bug#15337)
467
35ffc6ba
GM
4682013-09-13 Glenn Morris <rgm@gnu.org>
469
5c3f9bcc
GM
470 * eshell/esh-util.el (ange-cache): Move declaration earlier.
471
2ada368a
GM
472 * eshell/esh-ext.el (eshell-search-path): Declare.
473
fcef2e13
GM
474 * eshell/em-prompt.el (eshell/pwd): Autoload it.
475 Otherwise an error occurs if eshell-dirs module not loaded.
476
35ffc6ba
GM
477 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
478
35c3d36e
MA
4792013-09-13 Michael Albinus <michael.albinus@gmx.de>
480
481 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
482 `tramp-check-proper-host'. Check for a valid method name.
483
484 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
485 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
486 * net/tramp-sh.el (tramp-maybe-open-connection):
487 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
488
489 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
490 also for hash values.
491
ae5e4c48
SM
4922013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
493
379add74
SM
494 * term/ns-win.el (parameters): Don't declare as dynamic.
495 (before-make-frame-hook): Don't add ineffective function.
496
ae5e4c48
SM
497 * eshell/*.el: Use lexical-binding (bug#15231).
498
b5623270
KH
4992013-09-12 Kenichi Handa <handa@gnu.org>
500
ae5e4c48 501 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 502
30213927
GM
5032013-09-12 Glenn Morris <rgm@gnu.org>
504
be94d713 505 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 506 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 507
44915370
GM
508 * subr.el (do-after-load-evaluation): Also give compiler warnings
509 when obsolete files are used (except by obsolete files).
510
a6ae021f
GM
511 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
512 in the status output, assume `filename' is the first. (Bug#15322)
513
40e64f0c
GM
514 * vc/vc.el (vc-deduce-fileset): Doc fix.
515
16d9f896
GM
516 * calc/calc-help.el (Info-goto-node):
517 * progmodes/cperl-mode.el (Info-find-node):
518 * vc/ediff.el (Info-goto-node): Update declarations.
519
dea01c6e
GM
520 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
521
759880bf 522 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
523 (vc-bzr-pull): Require vc-dispatcher.
524 * vc/vc-git.el (vc-compilation-mode): Declare.
525 (vc-git-pull): Require vc-dispatcher.
526
08d66420
GM
527 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
528
30b626e9
GM
529 * progmodes/octave.el (help-button-action): Declare.
530
8c05cb10
GM
531 * shell.el (shell-directory-tracker): Output error as a message
532 rather than just returning it as a string.
533 (shell-process-pushd): Remove useless use of message.
534
30213927
GM
535 * dframe.el (dframe-timer-fn):
536 * files.el (dir-locals-read-from-file):
537 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
538 (mpc-format):
539 * reveal.el (reveal-post-command):
540 * saveplace.el (load-save-place-alist-from-file):
541 * shell.el (shell-resync-dirs):
542 * w32-common-fns.el (x-get-selection-value):
543 * emacs-lisp/copyright.el (copyright-find-copyright):
544 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
545 * emulation/tpu-edt.el (tpu-copy-keyfile):
546 * play/bubbles.el (bubbles--mark-neighbourhood):
547 * progmodes/executable.el
548 (executable-make-buffer-file-executable-if-script-p):
549 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
550
d3b049e6
SM
5512013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
552
170266d0
SM
553 Cleanup Eshell to rely less on dynamic scoping.
554 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
555 last-value, and ext-command here. Bind `args' closer to `body'.
556 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
557 (eshell--args): Declare new dynamic var.
558 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
559 last-value, and ext-command. Pass `args' to `body'.
560 (eshell-process-args): Bind eshell--args.
561 (eshell-set-option): Use eshell--args.
562 * eshell/eshell.el (eshell): Use derived-mode-p.
563 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
564 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
565 (eshell-glob-function): Declare.
566 * eshell/esh-util.el: Require cl-lib.
567 (eshell-read-hosts-file): Avoid add-to-list.
568 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
569 `err'.
570 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
571 Declare.
572 (eshell/diff): Remove unused var `err'.
573 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
574 `killflag'.
575 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
576 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
577 first use.
578 * eshell/em-glob.el (eshell-glob-matches, message-shown):
579 Move declaration before first use.
580 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
581 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
582 rely on cl-return.
583
56834f3b
GM
5842013-09-12 Glenn Morris <rgm@gnu.org>
585
586 * term/ns-win.el (global-map): Remove binding for ispell-next,
587 deleted 1999-05-29. (Bug#15357)
588
5c91a2b8
GM
5892013-09-11 Glenn Morris <rgm@gnu.org>
590
da712f22
GM
591 * echistory.el (electric-command-history): Remove call to deleted func.
592
512e4cdc
GM
593 * play/landmark.el (landmark-mode): Fix typos.
594
d3506ca5
GM
595 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
596 Check cvs-sort-ignore-file is bound.
597
5c91a2b8
GM
598 * savehist.el: No need for cl when compiling on Emacs.
599
feeff482
SM
6002013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
601
656bd483
SM
602 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
603 (bug#15338).
d3b049e6
SM
604 (eshell-self-insert-command, eshell-send-invisible):
605 Remove unused argument.
656bd483
SM
606 (eshell-handle-control-codes): Remove unused var `orig'.
607 Avoid delete-backward-char.
608
feeff482
SM
609 * files.el (set-auto-mode): Simplify a bit further.
610
2a08047a
GM
6112013-09-11 Glenn Morris <rgm@gnu.org>
612
613 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
614 (set-auto-mode): Don't regexp-quote elements.
615 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
616 * progmodes/cc-mode.el (interpreter-mode-alist):
617 * progmodes/ruby-mode.el (interpreter-mode-alist):
618 Revert previous change.
619
34675540
SM
6202013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
621
1b3b87df
SM
622 * play/snake.el (snake-mode):
623 * play/mpuz.el (mpuz-mode):
624 * play/landmark.el (lm-mode):
625 * play/blackbox.el (blackbox-mode):
626 * play/5x5.el (5x5-mode):
627 * obsolete/options.el (Edit-options-mode):
628 * net/quickurl.el (quickurl-list-mode):
629 * net/newst-treeview.el (newsticker-treeview-mode):
630 * mail/rmailsum.el (rmail-summary-mode):
631 * mail/mspools.el (mspools-mode):
632 * locate.el (locate-mode):
633 * ibuffer.el (ibuffer-mode):
634 * emulation/ws-mode.el (wordstar-mode):
635 * emacs-lisp/debug.el (debugger-mode):
636 * array.el (array-mode):
637 * net/eudc.el (eudc-mode): Use define-derived-mode.
638 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
639 Move initialization into declaration.
640 (mairix-searches-mode): Use define-derived-mode.
641 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
642 (eudc-edit-hotlist): Use dolist.
643 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
644 (Man-mode): Use define-derived-mode.
645 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
646 (Info-edit-mode): Use define-derived-mode.
647 (Info-cease-edit): Use Info-mode.
648 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
649 into declaration.
650 (eshell-mode): Use define-derived-mode.
651 * chistory.el (command-history-mode-map): Rename from
652 command-history-map.
653 (command-history-mode): Use define-derived-mode.
da712f22 654 (Command-history-setup): Remove function.
1b3b87df
SM
655 * calc/calc.el (calc-trail-mode-map): New var.
656 (calc-trail-mode): Use define-derived-mode.
657 (calc-trail-buffer): Set calc-main-buffer manually.
658 * bookmark.el (bookmark-insert-annotation): New function.
659 (bookmark-edit-annotation): Use it.
660 (bookmark-edit-annotation-mode): Make it a proper major mode.
661 (bookmark-send-edited-annotation): Use derived-mode-p.
662 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
663 closer to its ideal place. Use \' to match EOS.
664
34675540
SM
665 * profiler.el (profiler-calltree-find): Use function-equal.
666
6a5c15d9
GM
6672013-09-10 Glenn Morris <rgm@gnu.org>
668
1af4c220
GM
669 * files.el (interpreter-mode-alist): Convert to regexps.
670 (set-auto-mode): Adapt for this. (Bug#15306)
671 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
672 Comment out unused variable.
673 * progmodes/cc-mode.el (interpreter-mode-alist):
674 * progmodes/python.el (interpreter-mode-alist):
675 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
676 * progmodes/sh-script.el (sh-set-shell):
677 No longer use interpreter-mode-alist to get list of shells.
678
6a5c15d9
GM
679 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
680
8c27f5ff
SM
6812013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
682
02ef6c1a 683 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 684 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
685 Bind switch-frame explicitly. Replace universal-argument-minus with
686 a conditional binding.
687 (universal-argument-num-events, saved-overriding-map): Remove.
688 (restore-overriding-map): Remove.
689 (universal-argument--mode): Rename from save&set-overriding-map,
690 and rewrite.
691 (universal-argument, universal-argument-more, negative-argument)
692 (digit-argument): Adjust accordingly.
693 (universal-argument-minus): Remove.
694 (universal-argument-other-key): Remove.
695
8c27f5ff
SM
696 * subr.el (with-demoted-errors): Add `format' argument.
697
6480194c
MA
6982013-09-10 Michael Albinus <michael.albinus@gmx.de>
699
700 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
701 `tramp-cleanup-connection'.
702
703 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
704 parameters KEEP-DEBUG and KEEP-PASSWORD.
705
706 * net/tramp.el (tramp-file-name-handler):
707 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
708 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
709 (tramp-maybe-open-connection):
8c27f5ff
SM
710 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
711 Use `tramp-cleanup-connection'.
6480194c 712
8c27f5ff
SM
713 * net/tramp-sh.el (tramp-maybe-open-connection):
714 Catch 'uname-changed inside the progress reporter.
6480194c 715
e5e916d8
GM
7162013-09-10 Glenn Morris <rgm@gnu.org>
717
9a2c9b47
GM
718 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
719
e5e916d8
GM
720 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
721 returns "alternate access method" in mode (eg "-rw-r--r--.").
722
144e38fe
GM
7232013-09-08 Glenn Morris <rgm@gnu.org>
724
725 * saveplace.el (load-save-place-alist-from-file):
726 Demote errors. (Bug#15305)
727
af9ff9e8
MA
7282013-09-08 Michael Albinus <michael.albinus@gmx.de>
729
730 Improve compatibility with older Emacsen, and XEmacs.
731
732 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
733 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
734 (with-tramp-progress-reporter): Do not let-bind `result'.
735 This yields to scoping errors in XEmacs.
af9ff9e8
MA
736 (tramp-handle-make-auto-save-file-name): New function, moved from
737 tramp-sh.el.
738
739 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
740 for `make-auto-save-file-name'.
8c27f5ff
SM
741 (tramp-adb--gnu-switches-to-ash):
742 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
743
744 * net/tramp-cache.el (tramp-cache-print): Call
745 `substring-no-properties' only if it is bound. It isn't for XEmacs.
746
747 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
748 bound. It isn't for XEmacs.
749
8c27f5ff
SM
750 * net/tramp-compat.el (tramp-compat-copy-file):
751 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
752 (tramp-compat-replace-regexp-in-string): New defun.
753
754 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
755 for `make-auto-save-file-name'.
756 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
757 `copy-file'.
758 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
759 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
760 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
761
8c27f5ff
SM
762 * net/tramp-gw.el (tramp-gw-open-network-stream):
763 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 764
8c27f5ff
SM
765 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
766 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
767 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
768 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
769 (tramp-sh-file-inotifywait-process-filter):
770 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
771 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
772
773 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
774 for `make-auto-save-file-name'.
8c27f5ff
SM
775 (tramp-smb-handle-copy-directory):
776 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
777 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
778 (tramp-smb-handle-copy-file): Improve error message.
779 (tramp-smb-handle-rename-file): Rename directly only in case
780 `newname' does not exist yet. This is a restriction of smbclient.
781 (tramp-smb-maybe-open-connection): Rerun the function only when
782 `auth-sources' is non-nil.
783
0ca754d0
KH
7842013-09-08 Kenichi Handa <handa@gnu.org>
785
786 * international/characters.el: Set category "^" (Combining) for
787 more characters.
788
e8dd0787
AM
7892013-09-07 Alan Mackenzie <acm@muc.de>
790
791 Correctly fontify Java class constructors.
792 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
793 in Java Mode.
794 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
795 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
796 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
797 "typeless" declaration there.
798
f2f248e7
RW
7992013-09-07 Roland Winkler <winkler@gnu.org>
800
801 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
802 field subtitle for entry type book.
803
67982e2b
SM
8042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * minibuffer.el: Make minibuffer-complete call completion-in-region
807 rather than other way around.
808 (completion--some, completion-pcm--find-all-completions):
809 Don't delay signals when debugging.
810 (minibuffer-completion-contents): Beware fields within the
811 minibuffer contents.
812 (completion-all-sorted-completions): Use defvar-local.
813 (completion--do-completion, completion--cache-all-sorted-completions)
814 (completion-all-sorted-completions, minibuffer-force-complete):
815 Add args `beg' and `end'.
816 (completion--in-region-1): New fun, extracted from minibuffer-complete.
817 (minibuffer-complete): Use completion-in-region.
818 (completion-complete-and-exit): New fun, extracted from
819 minibuffer-complete-and-exit.
820 (minibuffer-complete-and-exit): Use it.
821 (completion--complete-and-exit): Rename from
822 minibuffer--complete-and-exit.
823 (completion-in-region--single-word): New function, extracted from
824 minibuffer-complete-word.
825 (minibuffer-complete-word): Use it.
826 (display-completion-list): Make `common-substring' argument obsolete.
827 (completion--in-region): Call completion--in-region-1 instead of
828 minibuffer-complete.
829 (completion-help-at-point): Pass boundaries to
830 minibuffer-completion-help as args rather than via an overlay.
831 (completion-pcm--string->pattern): Use `any-delim'.
832 (completion-pcm--optimize-pattern): New function.
833 (completion-pcm--pattern->regex): Handle `any-delim'.
834 * icomplete.el (icomplete-forward-completions)
835 (icomplete-backward-completions, icomplete-completions):
836 Adjust calls to completion-all-sorted-completions and
837 completion--cache-all-sorted-completions.
838 (icomplete-with-completion-tables): Default to t.
839 * emacs-lisp/crm.el (crm--current-element): Rename from
840 crm--select-current-element. Don't put an overlay but return the
841 boundaries instead.
842 (crm--completion-command): Take two new args to bind to the boundaries.
843 (crm-completion-help): Adjust accordingly.
844 (crm-complete): Use completion-in-region.
845 (crm-complete-word): Use completion-in-region--single-word.
846 (crm-complete-and-exit): Use completion-complete-and-exit.
847
e17d94a5
SM
8482013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
851 than dynamically.
852
96727100
JL
8532013-09-06 Juri Linkov <juri@jurta.org>
854
855 * info.el (Info-display-images-node): When image file doesn't exist
856 display text version of the image if it's provided in the Info file.
857 Otherwise, display the location of missing image from SRC attribute.
858 Add help-echo text property from ALT attribute. (Bug#15279)
859
86cf7329
SM
8602013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
863 (edit-abbrevs-mode): Use define-derived-mode.
864
865 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
866 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
867 that it's defined.
868 (epa-key-list-mode, epa-key-mode, epa-info-mode):
869 Use define-derived-mode.
870
871 * epg.el (epg-start-encrypt): Minor CSE simplification.
872
816244a2
WX
8732013-09-06 William Xu <william.xwl@gmail.com>
874
875 * arc-mode.el: Add support for 7za (bug#15264).
876 (archive-7z-program): New var.
877 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
878 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
879 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
880
1486fa31
MA
8812013-09-06 Michael Albinus <michael.albinus@gmx.de>
882
883 Remove URL syntax.
884
885 * net/tramp.el (tramp-syntax, tramp-prefix-format)
886 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
887 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
888 (tramp-postfix-host-format, tramp-file-name-regexp)
889 (tramp-completion-file-name-regexp)
890 (tramp-completion-dissect-file-name)
891 (tramp-handle-substitute-in-file-name): Remove 'url case.
892 (tramp-file-name-regexp-url)
893 (tramp-completion-file-name-regexp-url): Remove constants.
894
39785324
GM
8952013-09-06 Glenn Morris <rgm@gnu.org>
896
897 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
898
1f896cb7
DG
8992013-09-05 Dmitry Gutov <dgutov@yandex.ru>
900
901 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
902 keywords" below "here-doc beginnings" (Bug#15270).
903
c0458e0b
SM
9042013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * subr.el (pop): Use `car-safe'.
907 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
908 to detect unused `pop' return value.
909
910 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
911 var `block-regexp'.
912 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
913 (python-fill-string): Remove unused var `marker'.
914 (python-skeleton-add-menu-items): Remove unused var `items'.
915
916 * international/mule-cmds.el: Require CL.
917 (find-coding-systems-for-charsets): Avoid add-to-list.
918 (sanitize-coding-system-list): New function, extracted from
919 select-safe-coding-system-interactively.
920 (select-safe-coding-system-interactively): Use it.
921 (read-input-method-name): Accept symbols for `default'.
922
923 * emacs-lisp/advice.el (defadvice): Add indent rule.
924
6c42fc3e
DH
9252013-09-05 Daniel Hackney <dan@haxney.org>
926
927 * dired-x.el:
928 * net/ange-ftp.el:
929 * net/browse-url.el:
930 * net/dbus.el:
931 * net/eudc.el:
932 * net/eudcb-ldap.el:
933 * net/eww.el:
934 * net/imap.el:
935 * printing.el:
936 * vc/ediff-diff.el:
937 * vc/ediff-init.el:
938 * vc/ediff-merg.el:
939 * vc/ediff-mult.el:
940 * vc/ediff-util.el:
941 * vc/ediff-wind.el:
942 * vc/ediff.el:
943 * vc/emerge.el:
944 * vc/pcvs.el:
945 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
946 byte compiler. Remove some unused let-bound variables.
947
4c528aab
SM
9482013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
951 a "ref-cell", since it gets better optimized (bug#14883).
952
bd15c390
GM
9532013-09-05 Glenn Morris <rgm@gnu.org>
954
955 * progmodes/cc-awk.el (c-forward-sws): Declare.
956
1c3ac2e5
GM
9572013-09-04 Glenn Morris <rgm@gnu.org>
958
959 * generic-x.el [rul-generic-mode]: Require cc-mode.
960 (c++-mode-syntax-table): Declare.
961 (rul-generic-mode-syntax-table): Init in the defvar.
962
52b1cc79
SM
9632013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
964
c828af56
SM
965 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
966 (vc-do-command, vc-set-async-update):
967 * vc/vc-mtn.el (vc-mtn-dir-status):
968 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
969 (vc-hg-pull, vc-hg-merge-branch):
970 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
971 (vc-git-merge-branch):
972 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
973 (vc-cvs-dir-status-files):
974 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
975 (vc-bzr-dir-status-files):
976 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
977 * vc/vc-annotate.el: Use lexical-binding.
978 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
979 (vc-sentinel-movepoint): Declare.
980 (vc-annotate): Don't use `goto-line'.
981 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
982 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
983 (vc-sentinel-movepoint): Declare.
984 * vc/vc-svn.el: Use lexical-binding.
985 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
986 * vc/vc-sccs.el:
987 * vc/vc-rcs.el: Use lexical-binding.
988
abae272c
SM
989 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
990 `deleted'. Don't drop errors silently.
991
52b1cc79
SM
992 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
993
63191d9f
XF
9942013-09-04 Xue Fuqiao <xfq.free@gmail.com>
995
996 * vc/vc.el (vc-ignore): Rewrite.
997 (vc-default-ignore): New function.
998 (vc-default-ignore-completion-table): Use find-ignore-file.
999
1000 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1001 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1002 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1003 Remove. Most code moved to vc.el.
1004
9d3f707c
SM
10052013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1006
abae272c 1007 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
1008 * net/tramp-smb.el (tramp-smb-get-file-entries):
1009 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1010 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1011
fde38d49
SM
1012 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1013 Update call to it.
1014 (eww-change-select): Remove unused var `properties'.
1015 (eww-make-unique-file-name): Remove unused var `base'.
1016
1017 * finder.el (finder-compile-keywords): Don't mess with windows.
1018
84032db7
SM
1019 * calculator.el (calculator-funcall): Fix typo in last change.
1020
724f5e41
SM
1021 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1022
14b511d4
SM
1023 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1024 <pkg>-autoloads.el file stop us.
1025
9d3f707c 1026 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 1027 warnings, and factor out common code.
9d3f707c 1028
88527bc0
DG
10292013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1030
1031 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1032 two-character operators and whether the character preceding them
1033 changes their meaning (Bug#15208).
1034
96edb677
FEG
10352013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1036
1037 Format code sent to Python shell for robustness.
9d3f707c
SM
1038 * progmodes/python.el (python-shell-buffer-substring):
1039 New function.
96edb677
FEG
1040 (python-shell-send-region, python-shell-send-buffer): Use it.
1041
95beaef3
MA
10422013-09-02 Michael Albinus <michael.albinus@gmx.de>
1043
1044 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1045 * net/tramp.el (tramp-user-error): ... here.
1046 (tramp-find-method, tramp-check-proper-host)
1047 (tramp-dissect-file-name, tramp-debug-message)
1048 (tramp-handle-shell-command):
1049 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1050 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1051
1052 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1053
f167c27b
MR
10542013-09-02 Martin Rudalics <rudalics@gmx.at>
1055
1056 * avoid.el (mouse-avoidance-point-position)
1057 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1058 returns nil.
1059
cd16c5f1
FEG
10602013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1061
1062 * progmodes/python.el (python-shell-completion-get-completions):
1063 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1064 (python-nav-if-name-main): New command.
cd16c5f1 1065
e73c3a0d
GM
10662013-09-01 Glenn Morris <rgm@gnu.org>
1067
f8ccce03
GM
1068 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1069 Avoid leading space in $wins. Otherwise the sed command used by
1070 eg compile-main ends up containing "/*.el". (Bug#15170)
1071
e73c3a0d
GM
1072 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1073
415f808e
GM
10742013-08-30 Glenn Morris <rgm@gnu.org>
1075
1076 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1077 Fix is-this-a-directory logic. (Bug#15220)
1078
f069bba8
SM
10792013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1080
112798c1
SM
1081 * textmodes/css-mode.el: Use SMIE.
1082 (css-smie-grammar): New var.
1083 (css-smie--forward-token, css-smie--backward-token)
1084 (css-smie-rules): New functions.
1085 (css-mode): Use them.
1086 (css-navigation-syntax-table): Remove var.
1087 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1088 (css-indent-calculate, css-indent-line): Remove functions.
1089
1090 Misc changes to reduce use of `(lambda...); and other cleanups.
1091 * cus-edit.el: Use lexical-binding.
1092 (customize-push-and-save, customize-apropos)
1093 (custom-buffer-create-internal): Use closures.
1094 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1095 * progmodes/ada-xref.el: Use setq.
1096 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1097 * dframe.el: Use lexical-binding.
1098 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1099 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1100 * descr-text.el: Use lexical-binding.
1101 (describe-text-widget, describe-text-sexp, describe-property-list):
1102 Use closures.
1103 * comint.el (comint-history-isearch-push-state): Use a closure.
1104 * calculator.el: Use lexical-binding.
1105 (calculator-number-to-string): Make it work with lexical-binding.
1106 (calculator-funcall): Same and use cl-letf.
1107
2da4c3ab
SM
1108 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1109 (lisp--company-doc-string, lisp--company-location): New functions.
1110 (lisp-completion-at-point): Use them to improve Company support.
1111
f069bba8
SM
1112 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1113 params of lambda expressions.
1114 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1115 (ruby-smie--opening-pipe-p): New function.
1116 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1117 symbols and matched |...| for formal params.
1118 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1119 from being treated as hanging. Handle "rescue".
1120
6758b6a8
GM
11212013-08-29 Glenn Morris <rgm@gnu.org>
1122
1123 * progmodes/cc-engine.el (c-pull-open-brace):
1124 Move definition before use.
1125
e8dfd197
SM
11262013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1129 are immutable. Don't use `unsafe' any more.
1130 (cl--defsubst-expand): Don't substitute at the same time as keeping
1131 a residual unused let-binding. Don't use `unsafe' any more.
1132
cc585c96
GM
11332013-08-29 Glenn Morris <rgm@gnu.org>
1134
ba579ea6
GM
1135 * calendar/cal-china.el (calendar-chinese-year-cache):
1136 Recenter on 2015.
1137
8201a87e
GM
1138 * nxml/nxml-util.el (nxml-debug-clear-inside):
1139 Use cl-loop rather than loop.
1140
6ee877c7
GM
1141 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1142
cc585c96
GM
1143 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1144
27be8d39
GM
11452013-08-28 Glenn Morris <rgm@gnu.org>
1146
397440a1
GM
1147 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1148
2bb762d4
GM
1149 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1150
27be8d39
GM
1151 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1152
2d69b99e
SM
11532013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1154
f663baa7
SM
1155 * simple.el (repeat-complex-command--called-interactively-skip):
1156 New function.
1157 (repeat-complex-command): Use it (bug#14136).
1158
dd4f8b74
SM
1159 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1160 (c-define-abbrev-table): Add `doc' argument.
1161 (c-mode-abbrev-table, c++-mode-abbrev-table)
1162 (objc-mode-abbrev-table, java-mode-abbrev-table)
1163 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1164 (awk-mode-abbrev-table): Use it.
1165 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1166 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1167 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1168 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1169 Move initialization into the declaration; and remove any
1170 autoload cookie.
1171
b58969f7
SM
1172 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1173 and dynamic let binding.
1174
4021d6a6
SM
1175 * vc/smerge-mode.el: Remove redundant :group args.
1176
2d69b99e
SM
1177 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1178 to load-path.
1179
274919fd
JL
11802013-08-28 Juri Linkov <juri@jurta.org>
1181
1182 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1183 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1184 (isearch-other-meta-char): Handle an undefined shifted printing
1185 character by downshifting it. (Bug#15200)
1186
121f8c95
JL
11872013-08-28 Juri Linkov <juri@jurta.org>
1188
1189 * isearch.el (isearch-search): Change regexp error message for
1190 non-regexp searches. (Bug#15166)
1191
50b13cde
PE
11922013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1193
1194 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1195 for portability to hosts where /bin/sh has problems.
1196
95888bca
SM
11972013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1200
bbe558f1
JL
12012013-08-27 Juri Linkov <juri@jurta.org>
1202
1203 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1204 in the keyboard macro. (Bug#15126)
1205
26f98a7d
JL
12062013-08-27 Juri Linkov <juri@jurta.org>
1207
1208 * isearch.el (isearch-quote-char): Comment out converting unibyte
1209 to multibyte, thus syncing with its `quoted-insert' counterpart.
1210 (Bug#15166)
1211
7c97d35e
MR
12122013-08-27 Martin Rudalics <rudalics@gmx.at>
1213
1214 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1215 argument in call of get-largest-window (Bug#15185).
1216 Reported by Stephen Leake.
7c97d35e 1217
a0b5606e 12182013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1219
1220 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1221
9e89d835
SM
12222013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1225 from a matcher-function unless there's no more matches (bug#15161).
1226
78fc2530
MA
12272013-08-26 Michael Albinus <michael.albinus@gmx.de>
1228
1229 * minibuffer.el: Revert change from 2013-08-20.
1230
1231 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1232 with text property `tramp-default', if appropriate.
1233 (tramp-check-proper-host): New defun.
1234 (tramp-dissect-file-name): Do not check hostname. Revert change
1235 of 2013-03-18.
1236 (tramp-backtrace): Make VEC-OR-PROC optional.
1237
1238 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1239 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1240 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1241 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1242 Apply `tramp-check-proper-host'.
78fc2530 1243
edca97cd
TH
12442013-08-26 Tassilo Horn <tsdh@gnu.org>
1245
1246 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1247 lambda expression in order to have `describe-variable' display it.
1248
df54bcbd
MA
12492013-08-26 Michael Albinus <michael.albinus@gmx.de>
1250
1251 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1252 BUF can be optional. (Bug#15186)
1253
eed99101
XF
12542013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1255
1256 * progmodes/flymake.el (flymake-get-real-file-name-function):
1257 Fix broken customization. (Bug#15184)
1258
b5eb9035
AM
12592013-08-25 Alan Mackenzie <acm@muc.de>
1260
8a51e842
AM
1261 Improve indentation of bracelists defined by macros (without "=").
1262
1263 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1264 expansion begins with "{", regard it as bracelist when it doesn't
1265 contain a ";".
1266
869455d4
AM
1267 Parse C++ inher-intro when there's a template split over 2 lines.
1268
1269 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1270 rigorously the search for "class" etc. followed by ":".
1271
1272 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1273 random languages a regexp which never matches rather than nil.
1274
b5eb9035
AM
1275 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1276
1277 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1278 (c-awk-regexp-one-line-possibly-open-char-list-re)
1279 (c-awk-one-line-possibly-open-regexp-re)
1280 (c-awk-one-line-non-syn-ws*-re): Remove.
1281 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1282 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1283 (c-awk-space*-unclosed-regexp-/-re): New constants.
1284 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1285 aren't regexp delimiters.
1286
1287 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1288 handling for a rare situation in AWK Mode involving unterminated
1289 strings/regexps.
1290
61611d54
GM
12912013-08-23 Glenn Morris <rgm@gnu.org>
1292
2d85dc34
GM
1293 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1294
cb8d2612
GM
1295 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1296
bb35f42f
GM
1297 * files.el (create-file-buffer): If the result would begin with
1298 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1299
b9808e77
SM
13002013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1301
e3a66363
SM
1302 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1303 text-properties (bug#15155).
1304
b9808e77
SM
1305 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1306 exist any more.
1307 (calc-keypad-redraw): Remove unused var `pad'.
1308 (calc-keypad-press): Remove unused var `menu'.
1309
7fd5f65e
MR
13102013-08-23 Martin Rudalics <rudalics@gmx.at>
1311
b9808e77
SM
1312 * window.el (display-buffer-pop-up-frame):
1313 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1314 use it as the new frame's buffer (Bug#15133).
1315
8352b530
SM
13162013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * calendar/timeclock.el: Minor cleanups.
1319 (timeclock-ask-before-exiting, timeclock-use-display-time):
1320 Use `symbol'.
1321 (timeclock-modeline-display): Define as alias before the
1322 actual definition.
1323 (timeclock-mode-line-display): Use define-minor-mode.
1324 (timeclock-day-list-template): Make it a function, add an argument.
1325 (timeclock-day-list-required, timeclock-day-list-length)
1326 (timeclock-day-list-debt, timeclock-day-list-span)
1327 (timeclock-day-list-break): Adjust calls accordingly.
1328
9f7b1925
SM
13292013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1332 Use read--expression so that completion works again.
1333
6e50e983
SS
13342013-08-21 Sam Steingold <sds@gnu.org>
1335
1336 Add rudimentary inferior shell interaction
1337 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1338 (sh-set-shell): Reset it.
9f7b1925
SM
1339 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1340 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1341
dbb0d350
SM
13422013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * align.el: Use lexical-binding.
1345 (align-region): Simplify accordingly.
1346
c88586a9
MA
13472013-08-20 Michael Albinus <michael.albinus@gmx.de>
1348
1349 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1350
1351 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1352 `non-essential' up.
1353
f95527c8
MA
13542013-08-17 Michael Albinus <michael.albinus@gmx.de>
1355
1356 * net/tramp.el:
1357 * net/tramp-adb.el:
1358 * net/tramp-cmds.el:
1359 * net/tramp-ftp.el:
1360 * net/tramp-gvfs.el:
1361 * net/tramp-gw.el:
1362 * net/tramp-sh.el: Don't wrap external variable declarations by
1363 `eval-when-compile'.
1364
4b5fe4ee
LMI
13652013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1366
1367 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1368 now that Emacs supports ImageMagick animations.
1369
13c366c9
MA
13702013-08-16 Michael Albinus <michael.albinus@gmx.de>
1371
1372 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1373 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1374
3dfc5cd6
MR
13752013-08-16 Martin Rudalics <rudalics@gmx.at>
1376
1377 * window.el (mouse-autoselect-window-select): Do autoselect when
1378 mouse pointer is on margin.
1379
4bbb4381
WP
13802013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1381
1382 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1383
3a2ddc2d
GM
13842013-08-16 Glenn Morris <rgm@gnu.org>
1385
e8bedf5a
GM
1386 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1387 Handle "Remote Directory" response of some clients. (Bug#15058)
1388
58c4682f
GM
1389 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1390 Tweak warning. (Bug#14926)
1391
57953f49
GM
1392 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1393 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1394
3a2ddc2d
GM
1395 * image-mode.el (image-mode-map): Add menu items to reverse,
1396 increase, decrease, reset animation speed.
1397 (image--set-speed, image-increase-speed, image-decrease-speed)
1398 (image-reverse-speed, image-reset-speed): New functions.
1399 (image-mode-map): Add bindings for speed commands.
1400
1401 * image.el (image-animate-get-speed, image-animate-set-speed):
1402 New functions.
1403 (image-animate-timeout): Respect image :speed property.
1404
10fa0ed3
SM
14052013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1408 previous line (bug#15101).
1409 (debugger-eval-expression, debugger-record-expression):
1410 Use read--expression (bug#15102).
1411
5d89d9d2
MA
14122013-08-15 Michael Albinus <michael.albinus@gmx.de>
1413
1414 Remove byte compiler warnings, visible when compiling with
1415 `byte-compile-force-lexical-warnings' set to t.
1416
1417 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1418 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1419 (tramp-handle-unhandled-file-name-directory)
1420 (tramp-handle-file-notify-add-watch, tramp-action-login)
1421 (tramp-action-succeed, tramp-action-permission-denied)
1422 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1423 arguments with "_".
1424
1425 * net/tramp-adb.el (tramp-adb-parse-device-names)
1426 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1427 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1428 (tramp-adb-handle-file-truename): Remove unused arguments.
1429
1430 * net/tramp-cache.el (tramp-flush-directory-property)
1431 (tramp-flush-connection-property, tramp-list-connections)
1432 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1433
10fa0ed3
SM
1434 * net/tramp-compat.el (tramp-compat-make-temp-file):
1435 Rename FILENAME to F.
5d89d9d2
MA
1436
1437 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1438 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1439 (tramp-zeroconf-parse-workstation-device-names)
1440 (tramp-zeroconf-parse-webdav-device-names)
1441 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1442
1443 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1444 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1445
1446 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1447 arguments.
1448 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1449 (tramp-sh-handle-insert-file-contents-literally)
1450 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1451 with "_".
1452 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1453 Remove unused variables.
1454
1455 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1456 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1457 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1458
1459 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1460 Make them a defconst.
1461 (tramp-uuencode-region): Remove unused variable.
1462
62f33bae
JB
14632013-08-14 Juanma Barranquero <lekktu@gmail.com>
1464
1465 * frameset.el (frameset--prop-setter): New function.
1466 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1467 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1468 parameter was already set in FILTERED. Doc fix.
1469 (frameset--record-minibuffer-relationships): Allow saving a
1470 minibufferless frame without its corresponding minibuffer frame.
1471 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1472 frame, if the frame id matches.
1473 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1474 frames before orphaned ones.
1475 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1476
c660a885
MR
14772013-08-14 Martin Rudalics <rudalics@gmx.at>
1478
1479 * window.el (window-make-atom): Don't overwrite parameter
1480 already present.
1481 (display-buffer-in-atom-window): Handle special case where we
1482 split an already atomic window.
1483 (window--major-non-side-window, display-buffer-in-side-window)
1484 (window--side-check): Ignore minibuffer window when walking
1485 window tree.
1486 (window-deletable-p): Return 'frame only if no other frame uses
1487 our minibuffer window.
1488 (record-window-buffer): Run buffer-list-update-hook.
1489 (split-window): Make sure window--check-frame won't destroy an
1490 existing atomic window in case the new window gets nested
1491 inside.
1492 (display-buffer-at-bottom): Ignore minibuffer window when
1493 walking window tree. Don't split a side window.
1494 (pop-to-buffer): Don't set-buffer here, the select-window call
1495 should do that.
1496 (mouse-autoselect-window-select): Autoselect only if we are in the
1497 text portion of the window.
1498
8259030d
LMI
14992013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1500
21c58ae2
LMI
1501 * net/shr.el (shr-parse-image-data): New function to grab both the
1502 data itself and the Content-Type.
1503 (shr-put-image): Use it.
1504
1505 * net/eww.el (eww-display-image): Ditto.
1506
8259030d
LMI
1507 * image.el (image-content-type-suffixes): New variable.
1508
ad756449
FEG
15092013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1510
1511 * progmodes/python.el (python-imenu--build-tree)
1512 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1513
f73f4ce6
XF
15142013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1515
1516 * simple.el (backward-word): Mention the optional argument.
1517
1f585e65
SM
15182013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * frameset.el (frameset--make): Rename constructor from make-frameset.
1521 (frameset-p, frameset-valid-p): Don't autoload.
1522 (frameset-valid-p): Use normal accessors.
1523
af1c6c84
GM
15242013-08-13 Glenn Morris <rgm@gnu.org>
1525
55e47f95
GM
1526 * progmodes/compile.el (compile-command): Tweak example in doc.
1527 * obsolete/scribe.el (scribe-mode):
1528 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1529
f0024d8c
GM
1530 * mail/feedmail.el (feedmail-confirm-outgoing)
1531 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1532
1533 * cus-start.el (truncate-partial-width-windows): Fix type.
1534
1535 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1536
af1c6c84
GM
1537 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1538
5514cc4c
SM
15392013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * emacs-lisp/timer.el (timer--time-setter): New function.
1542 (timer--time): Use it as gv-setter.
1543
1544 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1545 setter is not a symbol.
1546
7997a2f1
GJ
15472013-08-12 Grégoire Jadi <daimrod@gmail.com>
1548
1549 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1550 if sending fails. This makes debugging easier.
1551
01f1a9ab
JB
15522013-08-12 Juanma Barranquero <lekktu@gmail.com>
1553
1554 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1555 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1556 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1557
594a4307
EZ
15582013-08-12 Eli Zaretskii <eliz@gnu.org>
1559
1560 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1561
7a22490f 15622013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1563
1564 * format.el (format-annotate-function):
1565 Handle read-only text properties in the source. (Bug#14887)
1566
3e41a054
LMI
15672013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1568
5514cc4c
SM
1569 * net/eww.el (eww-display-html): Ignore coding system errors.
1570 One web site uses "utf-8lias" as the coding system.
3e41a054 1571
7ec326db
JB
15722013-08-11 Juanma Barranquero <lekktu@gmail.com>
1573
1574 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1575
5660113b
JB
15762013-08-10 Juanma Barranquero <lekktu@gmail.com>
1577
9a4ebc74
JB
1578 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1579 (tutorial--detailed-help): Remove unused local variables.
1580 (tutorial--save-tutorial-to): Use ignore-errors.
1581 (help-with-tutorial): Use looking-at-p.
1582
1583 * view.el (view-buffer-other-window, view-buffer-other-frame):
1584 Mark unused arguments.
1585
1586 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1587 (woman-select-symbol-fonts, woman, woman-find-file)
1588 (woman-insert-file-contents, woman-non-underline-faces):
1589 Use string-match-p.
1590 (woman1-unquote): Move declaration.
1591
1592 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1593 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1594 argument. Remove unused local variable.
1595 (xml-parse-elem-type): Use string-match-p.
1596 (xml-substitute-numeric-entities): Use ignore-errors.
1597
45fdb482
JB
1598 * calculator.el (calculator): Mark unused argument.
1599 (calculator-paste, calculator-quit, calculator-integer-p):
1600 Use ignore-errors.
1601 (calculator-string-to-number, calculator-decimal, calculator-exp)
1602 (calculator-op-or-exp): Use string-match-p.
1603
1604 * dired.el (dired-buffer-more-recently-used-p): Declare.
1605 (dired-insert-set-properties, dired-insert-old-subdirs):
1606 Use ignore-errors.
1607
1608 * dired-aux.el (dired-compress): Use ignore-errors.
1609 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1610 (dired-do-async-shell-command, dired-do-shell-command)
1611 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1612 (dired-insert-subdir-validate): Use string-match-p.
1613 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1614 (dired-add-entry): Use string-match-p, looking-at-p.
1615 (dired-insert-subdir-newpos): Remove unused local variable.
1616
1617 * filenotify.el (file-notify-callback): Remove unused local variable.
1618
1619 * filesets.el (filesets-error): Mark unused argument.
1620 (filesets-which-command-p, filesets-filter-dir-names)
1621 (filesets-directory-files, filesets-get-external-viewer)
1622 (filesets-ingroup-get-data): Use string-match-p.
1623
1624 * find-file.el (ff-other-file-name, ff-other-file-name)
1625 (ff-find-the-other-file, ff-cc-hh-converter):
1626 Remove unused local variables.
1627 (ff-get-file-name): Use string-match-p.
1628 (ff-all-dirs-under): Use ignore-errors.
1629
1630 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1631 (follow-select-if-visible): Remove unused local variable.
1632
1633 * forms.el (read-file-filter): Move declaration.
1634 (forms--make-format, forms--make-parser, forms-insert-record):
1635 Quote function with #'.
1636 (forms--update): Use string-match-p. Quote function with #'.
1637
1638 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1639 (help-make-xrefs): Use looking-at-p.
1640 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1641
1642 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1643 (ibuffer-confirm-operation-on): Use string-match-p.
1644
1645 * msb.el (msb-item-handler, msb-dired-item-handler):
1646 Mark unused arguments.
1647
1648 * ses.el (ses-decode-cell-symbol)
1649 (ses-kill-override): Remove unused local variable.
1650 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1651 (ses-load): Use ignore-errors, looking-at-p.
1652 (ses-jump-safe): Use ignore-errors.
1653 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1654
1655 * tabify.el (untabify, tabify): Mark unused arguments.
1656
1657 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1658 Mark unused argument.
1659 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1660 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1661
c880af52
JB
1662 * emacs-lisp/timer.el (timer--time): Define setter with
1663 gv-define-setter to avoid deprecation warning.
1664
5660113b 1665 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 1666 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
1667 (cmpl-statistics-block): Remove (body was commented out).
1668 All callers changed.
1669 (add-completions-from-buffer, load-completions-from-file):
1670 Remove unused variables.
1671
156aab80
JB
16722013-08-09 Juanma Barranquero <lekktu@gmail.com>
1673
5c5dee78
JB
1674 * filecache.el (file-cache-delete-file-list):
1675 Print message only when told so.
1676 (file-cache-files-matching): Use #' in mapconcat argument.
1677
156aab80
JB
1678 * ffap.el (ffap-url-at-point): Fix reference to variable
1679 thing-at-point-default-mail-uri-scheme.
1680
ad9dcd70
SM
16812013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1682
54bd972f
SM
1683 * subr.el (define-error): New function.
1684 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1685 error-file-not-found and define with define-error.
1686 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1687 and define with define-error.
1688 * userlock.el (file-locked, file-supersession):
1689 * simple.el (mark-inactive):
1690 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1691 * progmodes/ada-mode.el (ada-mode-errors):
1692 * play/life.el (life-extinct):
1693 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1694 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1695 * nxml/rng-util.el (rng-error):
1696 * nxml/rng-uri.el (rng-uri-error):
1697 * nxml/rng-match.el (rng-compile-error):
1698 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1699 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1700 * nxml/nxml-rap.el (nxml-scan-error):
1701 * nxml/nxml-outln.el (nxml-outline-error):
1702 * net/soap-client.el (soap-error):
1703 * net/gnutls.el (gnutls-error):
1704 * net/ange-ftp.el (ftp-error):
1705 * mpc.el (mpc-proc-error):
1706 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1707 (json-number-format, json-string-escape, json-string-format)
1708 (json-key-format, json-object-format):
1709 * jka-compr.el (compression-error):
1710 * international/quail.el (quail-error):
1711 * international/kkc.el (kkc-error):
1712 * emacs-lisp/ert.el (ert-test-failed):
1713 * calc/calc.el (calc-error, inexact-result, math-overflow)
1714 (math-underflow):
1715 * bookmark.el (bookmark-error-no-filename):
1716 * epg.el (epg-error): Define with define-error.
1717
0ea9e53a
SM
1718 * time.el (display-time-event-handler)
1719 (display-time-next-load-average): Don't call sit-for since it seems
1720 unnecessary (bug#15045).
1721
b0429158
SM
1722 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1723 Use #' instead of ' to quote functions.
1724 (checkdoc-output-mode): Use setq-local.
1725 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1726 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1727 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1728 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1729 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1730 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1731 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1732 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1733
ad9dcd70
SM
1734 * ido.el (ido-completion-help): Fix up compiler warning.
1735
77187e6f
JB
17362013-08-09 Juanma Barranquero <lekktu@gmail.com>
1737
1738 * frameset.el (frameset-p): Add autoload cookie.
1739 (frameset--jump-to-register): New function, based on code moved from
1740 register.el.
1741 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1742
1743 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1744 (frameset-restore, frameset-save, frameset-session-filter-alist):
1745 Remove declarations.
1746 (register-alist): Doc fix.
1747 (frameset-to-register): Move to frameset.el.
1748 (jump-to-register, describe-register-1): Remove frameset-specific code.
1749
9d3aa82c
JB
17502013-08-08 Juanma Barranquero <lekktu@gmail.com>
1751
1752 * allout-widgets.el (allout-widgets-pre-command-business)
1753 (allout-widgets-post-command-business)
1754 (allout-widgets-after-change-handler)
1755 (allout-decorate-item-and-context, allout-set-boundary-marker)
1756 (allout-body-modification-handler)
1757 (allout-graphics-modification-handler): Mark ignored arguments.
1758 (allout-widgets-post-command-business)
1759 (allout-widgets-exposure-change-processor)
1760 (allout-widgets-exposure-undo-processor)
1761 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1762 (allout-parse-item-at-point, allout-decorate-item-guides)
1763 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1764 * allout.el (epa-passphrase-callback-function): Declare.
1765 (allout-overlay-insert-in-front-handler)
1766 (allout-overlay-interior-modification-handler)
1767 (allout-isearch-end-handler, allout-chart-siblings)
1768 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1769 (allout-yank-processing, allout-process-exposed)
1770 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 1771 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
1772 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1773 (lisp-indent-defform): Mark ignored arguments.
1774 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1775 (calculate-lisp-indent): Remove unused variables.
1776 * international/characters.el (indian-2-column, arabic-2-column)
1777 (tibetan): Mark ignored arguments.
1778 (use-cjk-char-width-table): Mark ignored arguments.
1779 Remove unused variables.
1780 * international/fontset.el (build-default-fontset-data)
1781 (x-compose-font-name, create-fontset-from-fontset-spec):
1782 Mark ignored arguments.
1783 (fontset-plain-name): Remove unused variables.
1784 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1785 (keyboard-coding-system): Mark ignored arguments.
1786 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1787 * help.el (resize-temp-buffer-window):
1788 * window.el (display-buffer-in-major-side-window)
1789 (display-buffer-in-side-window, display-buffer-in-previous-window):
1790 Remove unused variables.
1791 * isearch.el (isearch-forward-symbol):
1792 * version.el (emacs-bzr-version-bzr):
1793 * international/mule-cmds.el (current-language-environment):
1794 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1795 (x-handle-display):
1796 * term/pc-win.el (x-list-fonts, x-display-planes)
1797 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1798 (x-server-version, x-display-screens, x-display-mm-height)
1799 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1800 (x-selection-owner-p, x-own-selection-internal)
1801 (x-disown-selection-internal, x-get-selection-internal)
1802 (msdos-initialize-window-system):
1803 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1804 * term/x-win.el (x-handle-no-bitmap-icon):
1805 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1806 (vc-default-find-file-hook, vc-default-extra-menu):
1807 Mark ignored arguments.
1808
0ca3f70e
SM
18092013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1812 break-condition in the context of the debugged code (bug#12685).
1813
74c5d24c
CS
18142013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1815
1816 * comint.el:
1817 Do not use an overlay to highlight the last prompt. (Bug#14744)
1818 (comint-mode): Make comint-last-prompt buffer local.
1819 (comint-last-prompt): New variable.
1820 (comint-last-prompt-overlay): Remove. Superseded by
1821 comint-last-prompt.
0ca3f70e
SM
1822 (comint-snapshot-last-prompt, comint-output-filter):
1823 Use comint-last-prompt.
74c5d24c 1824
c03c02ee
JB
18252013-08-08 Juanma Barranquero <lekktu@gmail.com>
1826
a3738d20 1827 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
1828 (frameset-save): Check validity of the resulting frameset.
1829
04263d23
XF
18302013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1831
1832 * ido.el (ido-record-command): Add doc string.
1833
76c5e5ab
JB
18342013-08-08 Juanma Barranquero <lekktu@gmail.com>
1835
1836 * frameset.el (frameset): Do not disable creation of the default
1837 frameset-p predicate. Doc fix.
1838 (frameset-valid-p): New function, copied from the old predicate-p.
1839 Add additional checks.
1840 (frameset-restore): Check with frameset-valid-p.
1841 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1842 (frameset-name, frameset-description, frameset-properties)
1843 (frameset-states): Add docstring.
f9dbf1cb
JB
1844 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1845 (frameset-filter-alist): Doc fixes.
76c5e5ab 1846
bd0c3c0b
JB
18472013-08-08 Juanma Barranquero <lekktu@gmail.com>
1848
1849 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1850
c735544c
SM
18512013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1854 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1855 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1856 (byte-compile-normal-call): Remove obsolescence check.
1857
2805a651
JB
18582013-08-08 Juanma Barranquero <lekktu@gmail.com>
1859
3677ffeb
JB
1860 * frameset.el (frameset-restore): Doc fix.
1861
2805a651
JB
1862 * register.el (frameset-frame-id, frameset-frame-with-id)
1863 (frameset-p, frameset-restore, frameset-save): Declare.
1864 (register-alist): Document framesets.
1865 (frameset-session-filter-alist): Declare.
1866 (frameset-to-register): New function.
1867 (jump-to-register): Implement jumping to framesets. Doc fix.
1868 (describe-register-1): Describe framesets.
1869
1870 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1871
a912c016
JB
18722013-08-07 Juanma Barranquero <lekktu@gmail.com>
1873
1874 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1875 Use lexical-binding.
1876
1877 * frameset.el (frameset): Use type vector, not list (incompatible
1878 change). Do not declare a new constructor, use the default one.
1879 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1880 `name' and `description', respectively, and add read-only slot
1881 `timestamp'. Doc fixes.
1882 (frameset-copy, frameset-persistent-filter-alist)
1883 (frameset-filter-alist, frameset-switch-to-gui-p)
1884 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1885 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1886 (frameset-filter-iconified, frameset-keep-original-display-p):
1887 Doc fixes.
1888 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1889 Rename from frameset-filter-(save|restore)-param. All callers changed.
1890 Doc fix.
1891 (frameset-p): Adapt to change to vector and be more thorough.
1892 Change arg name to OBJECT. Doc fix.
1893 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1894 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1895 All callers changed.
1896 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1897 All callers changed.
1898 (frameset--record-minibuffer-relationships): Rename from
1899 frameset--process-minibuffer-frames. All callers changed.
1900 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1901 Use new default constructor (again). Doc fix.
1902 (frameset--find-frame-if): Rename from `frameset--find-frame.
1903 All callers changed.
1904 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1905 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1906 Doc fix.
1907 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1908 PARAMETERS and WINDOW-STATE, respectively.
1909 (frameset-restore): Add new keyword argument PREDICATE.
1910 Reset frameset--target-display to nil. Doc fix.
1911
bb41480a
SM
19122013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1913
f001e98e
SM
1914 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1915 (bat-mode): Use it.
1916 (bat-mode-syntax-table): Mark \n as end-of-comment.
1917 (bat-font-lock-keywords): Remove comment rule.
1918
7679edb1
SM
1919 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1920 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1921
bb41480a
SM
1922 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1923 (byte-compile-callargs-warn): Use `push'.
1924 (byte-compile-arglist-warn): Ignore higher-order "calls".
1925 (byte-compile-file-form-autoload): Use `pcase'.
1926 (byte-compile-function-form): If quoting a symbol, check that it exists.
1927
cdc1ebb9
EZ
19282013-08-07 Eli Zaretskii <eliz@gnu.org>
1929
1930 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1931 and add a few popular commands found in batch files.
1932 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1933 (dos-mode): Doc fixes.
1934
312b1740
SM
19352013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1938 (dos-mode): Use setq-local. Add space after "rem".
1939 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1940 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1941
400a3178
AM
19422013-08-07 Arni Magnusson <arnima@hafro.is>
1943
1944 * progmodes/dos.el: New file.
1945 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1946 dos-mode.
1947
3b5c03d3
GM
19482013-08-06 Glenn Morris <rgm@gnu.org>
1949
1950 * calendar/calendar.el: Add new faces, and day-header-array.
1951 (calendar-weekday-header, calendar-weekend-header)
1952 (calendar-month-header): New faces.
1953 (calendar-day-header-construct): New function.
1954 (calendar-day-header-width): Also :set calendar-day-header-array.
1955 (calendar-american-month-header, calendar-european-month-header)
1956 (calendar-iso-month-header): Use calendar- faces.
1957 (calendar-generate-month):
1958 Use calendar-day-header-array for day headers; apply faces to them.
1959 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1960 (calendar-abbrev-construct): Add optional maxlen argument.
1961 (calendar-day-name-array): Doc fix.
1962 (calendar-day-name-array, calendar-abbrev-length)
1963 (calendar-day-abbrev-array):
1964 Also :set calendar-day-header-array, and maybe redraw.
1965 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 1966 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
1967 (calendar-day-name): Add option to use header array.
1968
ec6a2d7a
LMI
19692013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1970
1971 * net/shr.el (shr-render-td): Remove debugging.
1972 (shr-render-td): Make width computation consistent by defaulting
1973 all zero-width columns to 10 characters. This may not be optimal,
1974 but it's at least consistent.
2122cb6d
LMI
1975 (shr-make-table-1): Redo last change to fix the real problem in
1976 colspan handling.
ec6a2d7a 1977
ed4fd9c5
DA
19782013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1979
0ca3f70e
SM
1980 * files.el (cache-long-line-scans):
1981 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 1982
64e22afe
JB
19832013-08-06 Juanma Barranquero <lekktu@gmail.com>
1984
024b38fc
JB
1985 * frameset.el (frameset, frameset-filter-alist)
1986 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1987 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1988 (frameset-compute-pos): Rename from frameset--compute-pos,
1989 and add docstring.
1990 (frameset-move-onscreen): Use frameset-compute-pos.
1991 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1992
64e22afe
JB
1993 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1994 Fix typos in docstrings.
1995
c8c2aca8
DA
19962013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1997
1998 * frame.el (get-other-frame): Tiny cleanup.
1999
1d237bba
JB
20002013-08-06 Juanma Barranquero <lekktu@gmail.com>
2001
8951efef
JB
2002 * vc/vc.el (vc-default-ignore-completion-table):
2003 Silence byte-compiler warning.
2004
307764cc
JB
2005 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2006 slot , which can indeed be nil.
2007 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2008 Move entry for `left' from persistent to live filter alist.
2009 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2010 Doc fixes.
2011 (frameset-filter-params): When restoring a frame, copy items added to
2012 `filtered', to avoid unwittingly modifying the original parameters.
2013 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2014 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2015
1d237bba
JB
2016 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2017 to use looking-at-p instead of looking-at. (Bug#15028)
2018
dc6c0eda
SM
20192013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 Revert introduction of isearch-filter-predicates (bug#14714).
2022 Rely on add-function instead.
2023 * isearch.el (isearch-filter-predicates): Rename it back to
2024 isearch-filter-predicate.
2025 (isearch-message-prefix): Use advice-function-mapc and advice
2026 properties to get the isearch-message-prefix.
2027 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2028 instead of run-hook-with-args-until-failure.
2029 (isearch-filter-visible): Not obsolete any more.
2030 * loadup.el: Preload nadvice.
2031 * replace.el (perform-replace): Revert to funcall
2032 instead of run-hook-with-args-until-failure.
2033 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2034 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2035 dired-isearch-filenames-toggle; make it into a proper minor mode.
2036 Use add/remove-function.
2037 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2038 Call the minor-mode rather than add/remove-hook.
2039 (dired-isearch-filter-filenames):
2040 Remove isearch-message-prefix property.
2041 * info.el (Info--search-loop): New function, extracted from Info-search.
2042 Funcall isearch-filter-predicate instead of
2043 run-hook-with-args-until-failure isearch-filter-predicates.
2044 (Info-search): Use it.
2045 (Info-mode): Use isearch-filter-predicate instead of
2046 isearch-filter-predicates.
2047
290d5b58
DA
20482013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2049
2050 Do not call to `selected-window' where it is assumed by default.
2051 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2052 `window-hscroll', `window-width', `window-height', `window-buffer',
2053 `window-frame', `window-start', `window-point', `next-window'
2054 and `window-display-table'.
2055 * abbrev.el (abbrev--default-expand):
2056 * bs.el (bs--show-with-configuration):
2057 * buff-menu.el (Buffer-menu-mouse-select):
2058 * calc/calc.el (calc):
2059 * calendar/calendar.el (calendar-generate-window):
2060 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2061 (diary-make-entry):
2062 * comint.el (send-invisible, comint-dynamic-complete-filename)
2063 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2064 * completion.el (complete):
2065 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2066 * disp-table.el (describe-current-display-table):
2067 * doc-view.el (doc-view-insert-image):
2068 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2069 * ehelp.el (with-electric-help):
2070 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2071 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2072 * emacs-lisp/helper.el (Helper-help-scroller):
2073 * emulation/cua-base.el (cua--post-command-handler-1):
2074 * eshell/esh-mode.el (eshell-output-filter):
2075 * ffap.el (ffap-gnus-wrapper):
2076 * help-macro.el (make-help-screen):
2077 * hilit-chg.el (highlight-compare-buffers):
2078 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2079 * hl-line.el (global-hl-line-highlight):
2080 * icomplete.el (icomplete-simple-completing-p):
2081 * isearch.el (isearch-done):
2082 * jit-lock.el (jit-lock-stealth-fontify):
2083 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2084 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2085 * mpc.el (mpc-tagbrowser, mpc):
2086 * net/rcirc.el (rcirc-any-buffer):
2087 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2088 * play/landmark.el (landmark-max-width, landmark-max-height):
2089 * play/zone.el (zone):
2090 * progmodes/compile.el (compilation-goto-locus):
2091 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2092 * progmodes/etags.el (find-tag-other-window):
2093 * progmodes/fortran.el (fortran-column-ruler):
2094 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2095 * progmodes/verilog-mode.el (verilog-point-text):
2096 * reposition.el (reposition-window):
2097 * rot13.el (toggle-rot13-mode):
2098 * server.el (server-switch-buffer):
2099 * shell.el (shell-dynamic-complete-command)
2100 (shell-dynamic-complete-environment-variable):
2101 * simple.el (insert-buffer, set-selective-display)
2102 (delete-completion-window):
2103 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2104 (speedbar-recenter):
2105 * startup.el (fancy-splash-head):
2106 * textmodes/ispell.el (ispell-command-loop):
2107 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2108 * tutorial.el (help-with-tutorial):
2109 * vc/add-log.el (add-change-log-entry):
2110 * vc/compare-w.el (compare-windows):
2111 * vc/ediff-help.el (ediff-indent-help-message):
2112 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2113 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2114 (ediff-setup-control-frame):
2115 * vc/emerge.el (emerge-position-region):
2116 * vc/pcvs-util.el (cvs-bury-buffer):
2117 * window.el (walk-windows, mouse-autoselect-window-select):
2118 * winner.el (winner-set-conf, winner-undo): Related users changed.
2119
38276e01
JB
21202013-08-05 Juanma Barranquero <lekktu@gmail.com>
2121
2122 * frameset.el (frameset--set-id): Doc fix.
2123 (frameset-frame-id, frameset-frame-id-equal-p)
2124 (frameset-locate-frame-id): New functions.
2125 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2126 (frameset-restore): Use them.
2127
12b4c0ea
DA
21282013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2129
2130 Do not call to `selected-frame' where it is assumed by default.
2131 Affected functions are `raise-frame', `redraw-frame',
2132 `frame-first-window', `frame-terminal' and `delete-frame'.
2133 * calendar/appt.el (appt-disp-window):
2134 * epg.el (epg-wait-for-completion):
2135 * follow.el (follow-delete-other-windows-and-split)
2136 (follow-avoid-tail-recenter):
2137 * international/mule.el (set-terminal-coding-system):
2138 * mail/rmail.el (rmail-mail-return):
2139 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2140 * progmodes/f90.el (f90-add-imenu-menu):
2141 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2142 * server.el (server-switch-buffer):
2143 * simple.el (delete-completion-window):
2144 * talk.el (talk):
2145 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2146 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2147 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2148 * vc/ediff.el (ediff-documentation): Related users changed.
2149 * frame.el (selected-terminal): Remove the leftover.
2150
17f25e76
GM
21512013-08-05 Glenn Morris <rgm@gnu.org>
2152
2153 * calendar/calendar.el (calendar-generate-month):
2154 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2155 (calendar-generate-month, calendar-font-lock-keywords):
2156 Fix for calendar-day-header-width > length of any day name.
17f25e76 2157
063233c3
JB
21582013-08-05 Juanma Barranquero <lekktu@gmail.com>
2159
2160 * desktop.el (desktop-clear): Use new name of sort predicate.
2161
2162 * frameset.el (frameset): Add docstring. Move :version property to its
2163 own `version' slot.
2164 (frameset-copy): Rename from copy-frameset.
2165 (frameset-p): Check more thoroughly.
2166 (frameset-prop): Do not check for :version, which is no longer a prop.
2167 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2168 Use new :never value instead of t.
2169 (frameset-filter-alist): Expand and clarify docstring.
2170 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2171 (frameset-filter-minibuffer, frameset-filter-save-param)
2172 (frameset-filter-restore-param, frameset-filter-iconified):
2173 Add pointer to docstring of frameset-filter-alist.
2174 (frameset-filter-params): Rename filter values to be more meaningful:
2175 :never instead of t, and reverse the meanings of :save and :restore.
2176 (frameset--process-minibuffer-frames): Clarify error message.
2177 (frameset-save): Avoid unnecessary and confusing call to framep.
2178 Use new BOA constructor for framesets.
2179 (frameset--reuse-list): Doc fix.
2180 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2181 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2182 (frameset-minibufferless-first-p): Doc fix.
2183 Rename from frameset-sort-frames-for-deletion.
2184 (frameset-restore): Doc fixes. Use new function names.
2185 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2186
d5671a82
JB
21872013-08-04 Juanma Barranquero <lekktu@gmail.com>
2188
2189 * desktop.el (desktop-restore-forces-onscreen)
2190 (desktop-restore-reuses-frames): Document :keyword constant values.
2191 (desktop-filter-parameters-alist): Remove, now identical to
2192 frameset-filter-alist.
2193 (desktop--filter-tty*): Remove, moved to frameset.el.
2194 (desktop-save-frameset, desktop-restore-frameset):
2195 Do not pass :filters argument.
2196
2197 * frameset.el (frameset-live-filter-alist)
2198 (frameset-persistent-filter-alist): New variables.
2199 (frameset-filter-alist): Use them. Add autoload cookie.
2200 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2201 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2202 `frameset--id' (it's supposed to be internal to frameset.el).
2203 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2204 (frameset--initial-params): New function.
2205 (frameset--get-frame): Use it. Doc fix.
2206 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2207 Accept :all, not 'all.
2208 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2209 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2210 with fbound symbols. Fix frame id matching, and remove matching ids if
2211 the frame being restored is deleted. Obey :delete.
2212
671d5c16
SM
22132013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * subr.el (macrop): New function.
2216 (text-clone--maintaining): New var.
2217 (text-clone--maintain): Rename from text-clone-maintain. Use it
2218 instead of inhibit-modification-hooks.
2219
2220 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2221 a proxy, so as handle autoloads and redefinitions of the target.
2222 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2223
2224 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2225 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2226 (pcase--mutually-exclusive-p): New function.
2227 (pcase--split-consp): Use it.
2228 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2229 mutually exclusive with the current predicate.
2230
2231 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2232 (edebug-macrop): Remove. Use `macrop' instead.
2233 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2234 (ad-macro-p):
2235 * eshell/esh-cmd.el (eshell-macrop):
2236 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2237
1d44e9dc
SM
22382013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2241 (advice-mapc): New function, using it.
2242 (advice-function-member-p): New function.
2243 (advice--normalize): Store the cdr in advice--saved-rewrite since
2244 that's the part that will be changed.
2245 (advice--symbol-function): New function.
2246 (advice-remove): Handle removal before the function is defined.
2247 Adjust to new advice--saved-rewrite.
2248 (advice-member-p): Use advice-function-member-p and
2249 advice--symbol-function.
2250
5414a283
JB
22512013-08-04 Juanma Barranquero <lekktu@gmail.com>
2252
51d30f2c
JB
2253 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2254 (frameset-filter-minibuffer): Doc fix.
2255 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2256 (frameset--set-id, frameset--process-minibuffer-frames)
2257 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2258 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2259
5414a283
JB
2260 * desktop.el (desktop-clear): Only delete frames when called
2261 interactively and desktop-restore-frames is non-nil. Doc fix.
2262 (desktop-read): Set desktop-saved-frameset to nil.
2263
ab419665
XF
22642013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2265
2266 * vc/vc.el (vc-ignore): Rewrite.
2267 (vc-default-ignore-completion-table):
2268 (vc--read-lines):
2269 (vc--add-line, vc--remove-regexp): New functions.
2270
2271 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2272 (vc-svn-ignore-completion-table): New function.
2273
2274 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2275 (vc-hg-ignore-completion-table):
2276 (vc-hg-find-ignore-file): New functions.
2277
2278 * vc/vc-git.el (vc-git-ignore): Rewrite.
2279 (vc-git-ignore-completion-table):
2280 (vc-git-find-ignore-file): New functions.
2281
2282 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2283
2284 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2285 (vc-bzr-ignore-completion-table):
2286 (vc-bzr-find-ignore-file): New functions.
2287
2613dea2
JB
22882013-08-03 Juanma Barranquero <lekktu@gmail.com>
2289
2290 * frameset.el (frameset-prop): New function and setter.
2291 (frameset-save): Do not modify frame list passed by the caller.
2292
9c959872
SM
22932013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2295 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2296
a104f656
SM
22972013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2298
70122acf
SM
2299 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2300 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2301
a104f656
SM
2302 * custom.el (custom-initialize-default, custom-initialize-set)
2303 (custom-initialize-reset, custom-initialize-changed): Affect the
2304 toplevel-default-value (bug#6275, bug#14586).
2305 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2306 for bug#6275.
2307
f078d570
JB
23082013-08-02 Juanma Barranquero <lekktu@gmail.com>
2309
185e3b5a
JB
2310 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2311 Add cl-def* expressions.
2312
f078d570
JB
2313 * frameset.el (frameset-filter-params): Fix order of arguments.
2314
9421876d
JB
23152013-08-02 Juanma Barranquero <lekktu@gmail.com>
2316
2317 Move code related to saving frames to frameset.el.
2318 * desktop.el: Require frameset.
2319 (desktop-restore-frames): Doc fix.
2320 (desktop-restore-reuses-frames): Rename from
2321 desktop-restoring-reuses-frames.
2322 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2323 (desktop-clear): Clear frames too.
2324 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2325 (desktop--filter-tty*, desktop-save, desktop-read):
2326 Use frameset functions.
2327 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2328 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2329 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2330 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2331 (desktop--process-minibuffer-frames, desktop-save-frames)
2332 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2333 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2334 (desktop--sort-states, desktop-restoring-frames-p)
2335 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2336 (desktop-restoring-frameset-p, desktop-restore-frameset)
2337 (desktop--check-dont-save, desktop-save-frameset): New functions.
2338 (desktop--app-id): New constant.
2339 (desktop-first-buffer, desktop-buffer-ok-count)
2340 (desktop-buffer-fail-count): Move before first use.
2341 * frameset.el: New file.
2342
76dc5996
SM
23432013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * files.el: Use lexical-binding.
2346 (dir-locals-read-from-file): Remove unused `err' variable.
2347 (hack-dir-local-variables--warned-coding): New var.
2348 (hack-dir-local-variables): Use it to avoid repeated warnings.
2349 (make-backup-file-name--default-function): New function.
2350 (make-backup-file-name-function): Use it as default.
2351 (buffer-stale--default-function): New function.
2352 (buffer-stale-function): Use it as default.
2353 (revert-buffer-insert-file-contents--default-function): New function.
2354 (revert-buffer-insert-file-contents-function): Use it as default.
2355 (insert-directory): Avoid add-to-list.
2356
2357 * autorevert.el (auto-revert-handler): Simplify.
2358 Use buffer-stale--default-function.
2359
06d36e2b
TH
23602013-08-01 Tassilo Horn <tsdh@gnu.org>
2361
5f648ab4
TH
2362 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2363
06d36e2b
TH
2364 * whitespace.el (whitespace-ensure-local-variables): New function.
2365 (whitespace-cleanup-region): Call it.
2366 (whitespace-turn-on): Call it.
2367
a43dc424
MA
23682013-08-01 Michael Albinus <michael.albinus@gmx.de>
2369
2370 Complete file name handlers.
2371
2372 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2373 (tramp-handle-verify-visited-file-modtime)
2374 (tramp-handle-file-notify-rm-watch): New functions.
2375 (tramp-call-process): Do not bind `default-directory'.
2376
44e18199
JB
2377 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2378 Order alphabetically.
a43dc424
MA
2379 [access-file, add-name-to-file, dired-call-process]:
2380 [dired-compress-file, file-acl, file-notify-rm-watch]:
2381 [file-ownership-preserved-p, file-selinux-context]:
2382 [make-directory-internal, make-symbolic-link, set-file-acl]:
2383 [set-file-selinux-context, set-visited-file-modtime]:
2384 [verify-visited-file-modtime]: Add handler.
2385 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2386
2387 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2388 [file-notify-add-watch, file-notify-rm-watch]:
2389 [set-file-times, set-visited-file-modtime]:
2390 [verify-visited-file-modtime]: Add handler.
2391 (with-tramp-gvfs-error-message)
2392 (tramp-gvfs-handle-set-visited-file-modtime)
2393 (tramp-gvfs-fuse-file-name): Remove.
2394 (tramp-gvfs-handle-file-notify-add-watch)
2395 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2396 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2397
44e18199
JB
2398 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2399 Order alphabetically.
a43dc424
MA
2400 [file-notify-rm-watch ]: Use default Tramp handler.
2401 [executable-find]: Remove private handler.
2402 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2403 `default-directory'.
2404 (tramp-sh-handle-executable-find)
2405 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2406 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2407 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2408 Do not use `format' in `tramp-message'.
2409
2410 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2411 [file-notify-rm-watch, set-visited-file-modtime]:
2412 [verify-visited-file-modtime]: Add handler.
2413 (tramp-smb-call-winexe): Do not bind `default-directory'.
2414
7188b515
XF
24152013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2416
2417 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2418
2412ee1a
DG
24192013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2420
2421 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2422 use it.
2423 (log-view-diff-changeset): Same.
2424 (log-view-diff-common): Call backend command `previous-revision'
2425 to find out the previous revision, in both cases. Swap the
2426 variables `to' and `fr', so that `fr' usually refers to the
2427 earlier revision (Bug#14989).
2428
5002a754
KRC
24292013-07-31 Kan-Ru Chen <kanru@kanru.info>
2430
2431 * ibuf-ext.el (ibuffer-filter-by-filename):
2432 Make it work with dired buffers too.
2433
44e18199 24342013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2435
2436 * emacs-lisp/re-builder.el (reb-color-display-p):
2437 * files.el (save-buffers-kill-terminal):
2438 * net/browse-url.el (browse-url):
2439 * server.el (server-save-buffers-kill-terminal):
2440 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2441 Prefer nil to selected-frame for the first arg of frame-parameter.
2442
aeca3fbb
XF
24432013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2444
2445 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2446
158bc55c
SB
24472013-07-30 Stephen Berman <stephen.berman@gmx.net>
2448
2449 * minibuffer.el (completion--twq-all): Try and preserve each
2450 completion's case choice (bug#14907).
2451
d50fceab
LMI
24522013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2453
ac38e731
LMI
2454 * net/network-stream.el (open-network-stream): Mention the new
2455 :nogreeting parameter.
2456 (network-stream-open-starttls): Use the :nogreeting parameter
2457 (bug#14938).
2458
1211de50
LMI
2459 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2460
997798bf
LMI
2461 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2462 more natural than popping.
2463
d50fceab 2464 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2465 (shr-urlify): Highlight under mouse.
d50fceab 2466
5c09de04
XF
24672013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2468
207d1d04
XF
2469 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2470
2471 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2472
5c09de04
XF
2473 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2474 buffer for output.
2475
3cd51eaa
XF
2476 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2477 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2478
44e18199 2479 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2480 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2481
2482 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2483
2484 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2485 buffer for output.
2486
35a89bdd
EZ
24872013-07-29 Eli Zaretskii <eliz@gnu.org>
2488
2489 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2490 initial frame is minibuffer-less. (Bug#14841)
2491
78822e94
MA
24922013-07-29 Michael Albinus <michael.albinus@gmx.de>
2493
2494 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2495 option.
2496
2497 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2498 (tramp-maybe-open-connection): Use it.
2499
9503c190
JB
25002013-07-28 Juanma Barranquero <lekktu@gmail.com>
2501
2502 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2503 minimal set of parameters passed when creating a frame, because
2504 the minibuffer status of a frame cannot be changed later.
2505
d5a845b4
SB
25062013-07-28 Stephen Berman <stephen.berman@gmx.net>
2507
2508 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2509 replace-regexp-in-string and inadvertent omissions in previous change.
2510 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2511 name of filtered items buffer.
d5a845b4 2512
ddeffb17
JB
25132013-07-28 Juanma Barranquero <lekktu@gmail.com>
2514
2515 * desktop.el: Optionally force offscreen frames back onscreen.
2516 (desktop-restoring-reuses-frames): New option.
2517 (desktop--compute-pos, desktop--move-onscreen): New functions.
2518 (desktop--make-frame): Use desktop--move-onscreen.
2519
f5950f7a
AM
25202013-07-27 Alan Mackenzie <acm@muc.de>
2521
2522 Fontify a Java generic method as a function.
2523 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2524 value to t.
2525
ae43b66a
SB
25262013-07-27 Stephen Berman <stephen.berman@gmx.net>
2527
2528 * calendar/todo-mode.el: Add command to rename todo files.
2529 (todo-rename-file): New command.
2530 (todo-key-bindings-t): Add key binding for it. Change the
2531 bindings of todo-filter-regexp-items(-multifile) to use `x'
2532 instead of `r', since the latter is better suited to the new
2533 renaming command.
2534
5ab78d3d
AM
25352013-07-27 Alan Mackenzie <acm@muc.de>
2536
2537 Make Java try-with-resources statement parse properly.
2538 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2539 (c-block-stmt-1-2-key): New language constants/variables.
2540 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2541 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2542 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2543 with c-block-stmt-1-2-key.
5ab78d3d 2544
d85c4d50
JB
25452013-07-27 Juanma Barranquero <lekktu@gmail.com>
2546
2547 * desktop.el (desktop--make-frame): Apply most frame parameters after
2548 creating the frame to force (partially or totally) offscreen frames to
2549 be restored as such.
2550
e4c467f9
XF
25512013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2552
2553 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2554 (Bug#14948)
e4c467f9 2555
7ced0d04
SM
25562013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2559 `base' arg of backtrace-frame.
2560
fec92060
EZ
25612013-07-26 Eli Zaretskii <eliz@gnu.org>
2562
2563 * simple.el (list-processes): Doc fix.
2564
d58d31fb
JB
25652013-07-26 Juanma Barranquero <lekktu@gmail.com>
2566
2567 * desktop.el (desktop--select-frame):
d85c4d50 2568 Try harder to reuse existing frames.
d58d31fb 2569
53ff3e77
SM
25702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2573 (edebug-eval): Use backtrace-eval.
2574 (edebug--display, edebug--recursive-edit): Don't let-bind the
2575 edebug-outer-* vars that keep track of variables we locally let-bind.
2576 (edebug-outside-excursion): Don't restore outside values of locally
2577 let-bound vars.
2578 (edebug--display): Use user-error.
2579 (cl-lexical-debug, cl-debug-env): Remove.
2580
045f7a53
JB
25812013-07-26 Juanma Barranquero <lekktu@gmail.com>
2582
2583 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2584 are restored to be sure that they are visible before deleting any
2585 remaining ones.
2586
59070b32
MM
25872013-07-26 Matthias Meulien <orontee@gmail.com>
2588
742a3501
XF
2589 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2590 vc-print-root-log. (Bug#14948)
59070b32 2591
b1fb3596
RS
25922013-07-26 Richard Stallman <rms@gnu.org>
2593
2594 Add aliases for encrypting mail.
2595 * epa.el (epa-mail-aliases): New option.
2596 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2597 Bind inhibit-read-only so read-only text doesn't ruin everything.
2598 (epa-mail-default-recipients): New subroutine broken out.
2599 Handle epa-mail-aliases.
2600
56ea7291
SM
26012013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 Add support for lexical variables to the debugger's `e' command.
2604 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2605 vars, except for debugger-outer-match-data.
2606 (debugger-frame-number): Move check for "on a function call" from
2607 callers into it. Add `skip-base' argument.
2608 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2609 (debugger-env-macro): Only reset the state stored in non-variables,
2610 i.e. current-buffer and match-data.
2611 (debugger-eval-expression): Rewrite using backtrace-eval.
2612 * subr.el (internal--called-interactively-p--get-frame): Remove.
2613 (called-interactively-p):
2614 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2615 `base' arg of backtrace-frame instead.
2616
15ac32d5
GM
26172013-07-26 Glenn Morris <rgm@gnu.org>
2618
8358a09d
GM
2619 * align.el (align-regexp): Doc fix. (Bug#14857)
2620 (align-region): Explicit error if subexpression missing/does not match.
2621
15ac32d5
GM
2622 * simple.el (global-visual-line-mode):
2623 Do not duplicate the mode lighter. (Bug#14858)
2624
f47ad11b
MR
26252013-07-25 Martin Rudalics <rudalics@gmx.at>
2626
2627 * window.el (display-buffer): In display-buffer bind
2628 split-window-keep-point to t, bug#14829.
2629
02530987
JB
26302013-07-25 Juanma Barranquero <lekktu@gmail.com>
2631
2632 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2633 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2634 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2635 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2636 Change accordingly.
f63ebeb5
JB
2637 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2638 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 2639
6ccb9cab 26402013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 2641
6ccb9cab 2642 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 2643
cb3a56d2
JB
26442013-07-25 Juanma Barranquero <lekktu@gmail.com>
2645
2646 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2647 parameter to modify-frame-parameters if the value has not changed;
2648 this is a workaround for bug#14949.
2649 (desktop--make-frame): On cl-delete-if call, check parameter name,
2650 not full parameter.
2651
7aa7fff0
XF
26522013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2653
2654 * vc/vc.el (vc-ignore): New function.
2655
2656 * vc/vc-svn.el (vc-svn-ignore): New function.
2657
2658 * vc/vc-hg.el (vc-hg-ignore): New function.
2659
2660 * vc/vc-git.el (vc-git-ignore): New function.
2661
2662 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2663 (vc-dir-ignore): New function.
2664
2665 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 2666 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
2667
2668 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2669
2670 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2671
889acc5c
JB
26722013-07-24 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2675 (desktop-restore-frames): Warn when deleting an existing frame failed.
2676
86c40970
GM
26772013-07-24 Glenn Morris <rgm@gnu.org>
2678
2679 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2680
d5d3c58a
MA
26812013-07-24 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * filenotify.el (file-notify-supported-p):
2684 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2685 Remove functions.
2686
2687 * autorevert.el (auto-revert-use-notify):
2688 (auto-revert-notify-add-watch):
2689 * net/tramp.el (tramp-file-name-for-operation):
2690 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2691 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2692 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2693 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2694 Remove `file-notify-supported-p' entry.
2695
d100084b
GM
26962013-07-24 Glenn Morris <rgm@gnu.org>
2697
2698 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 2699 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 2700
ac93e56b
SM
27012013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2702
249eea30
SM
2703 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2704 checked with memq (bug#14935).
2705
ac93e56b
SM
2706 * files.el (revert-buffer-function): Use a non-nil default.
2707 (revert-buffer-preserve-modes): Declare var to
2708 provide access to the `preserve-modes' argument.
2709 (revert-buffer): Let-bind it.
2710 (revert-buffer--default): New function, extracted from revert-buffer.
2711
2cdeb903
SM
27122013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * lpr.el: Signal print errors more prominently.
2715 (print-region-function): Don't default to nil.
2716 (lpr-print-region): New function, extracted from print-region-1.
2717 Check lpr's return value and signal an error in case of problem.
2718 (print-region-1): Use it.
2719 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2720 versions instead.
2721 (ps-printer-name): Default to nil.
2722 (ps-printer-name-option): Default to lpr-printer-switch.
2723 (ps-print-region-function): Don't default to nil.
2724 (ps-postscript-code-directory): Simplify default.
2725 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2726 (ps-string-list, ps-eval-switch, ps-flatten-list)
2727 (ps-flatten-list-1): Remove.
2728 (ps-multibyte-buffer): Avoid setq.
2729 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2730 (print-region-function, ps-print-region-function): Don't set them here.
2731
73600831
XF
27322013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2733
0e55c076
XF
2734 * ido.el (ido-fractionp):
2735 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2736 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2737 (ido-max-directory-size, ido-max-dir-file-cache)
2738 (ido-decorations): Doc fix.
2739
73600831
XF
2740 * ansi-color.el: Fix old URL.
2741
3d012865
MM
27422013-07-23 Michael R. Mauger <michael@mauger.com>
2743
2744 * progmodes/sql.el Version 3.3
2745 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2746 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2747 (sql-interactive-remove-continuation-prompt): Rewrite, use
2748 functions above. Fix continuation prompt and complete output line
2749 handling.
2750 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2751 redirected output buffer.
2752 (sql-mode): Restore deleted code (Bug#13591).
2753
da77a2e2
JB
27542013-07-23 Juanma Barranquero <lekktu@gmail.com>
2755
2756 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2757
80ff0c71
MA
27582013-07-23 Michael Albinus <michael.albinus@gmx.de>
2759
2760 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2761
2762 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2763 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2764 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2765
b61d71e4
JB
27662013-07-23 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * desktop.el (desktop-clear): Simplify; remove useless checks
2769 against invalid buffer names.
2770 (desktop-list*): Use cl-list*.
2771 (desktop-buffer-info, desktop-create-buffer): Simplify.
2772
c3512092
LL
27732013-07-23 Leo Liu <sdl.web@gmail.com>
2774
2775 * bookmark.el (bookmark-make-record): Restore NAME as a default
2776 value. (Bug#14933)
2777
0ac26976
SM
27782013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2779
7d22ce18
SM
2780 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2781 extracted from autoload--insert-text.
2782 (autoload--insert-text): Remove.
2783 (autoload--print-cookie-text): New function, extracted from
2784 autoload--insert-cookie-text.
2785 (autoload--insert-cookie-text): Remove.
2786 (autoload-generate-file-autoloads): Adjust calls accordingly.
2787
9b2607e8
SM
2788 * winner.el (winner-hook-installed-p): Remove.
2789 (winner-mode): Simplify accordingly.
2790
c43a8618
SM
2791 * subr.el (add-to-list): Fix compiler-macro when `append' is
2792 not constant. Don't use `cl-member' for the base case.
2793
0ac26976
SM
2794 * progmodes/subword.el: Fix boundary case (bug#13758).
2795 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2796 own group.
2797 (subword-backward-regexp): Make it a constant.
2798 (subword-forward-internal): Don't treat a trailing capital as the
2799 beginning of a word.
2800
6874724a
AR
28012013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2802
2803 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2804 global value of tabulated-list-revert-hook (bug#14930).
2805
70f1b5e8
JB
28062013-07-22 Juanma Barranquero <lekktu@gmail.com>
2807
a1c80d9d
JB
2808 * desktop.el: Require 'cl-lib.
2809 (desktop-before-saving-frames-functions): New hook.
2810 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2811 for frames being saved. Rename from desktop--save-minibuffer-frames.
2812 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
2813 Do not save frames with non-nil `desktop-dont-save' parameter.
2814 Filter out deleted frames.
a1c80d9d
JB
2815 (desktop--find-frame): Use cl-find-if.
2816 (desktop--select-frame): Use cl-(first|second|third) to access values
2817 of desktop-mini.
2818 (desktop--make-frame): Use cl-delete-if.
2819 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2820 (desktop-restore-frames): Use cl-(first|second|third) to access values
2821 of desktop-mini. Look for visible frame at the end, not while
2822 restoring frames.
2823
70f1b5e8
JB
2824 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2825 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2826 Use string-match-p, looking-at-p (bug#14927).
2827
728dc3cc
JB
28282013-07-21 Juanma Barranquero <lekktu@gmail.com>
2829
56bc453c
JB
2830 * desktop.el (desktop-saved-frame-states):
2831 Rename from desktop--saved-states; all users changed.
2832 (desktop-save-frames): Rename from desktop--save-frames.
2833 Do not save state to desktop file.
2834 (desktop-save): Save desktop-saved-frame-states to desktop file
2835 and reset to nil.
2836 (desktop-restoring-frames-p): New function.
2837 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2838 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2839 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2840
728dc3cc
JB
2841 * desktop.el: Correctly restore iconified frames.
2842 (desktop--filter-iconified-position): New function.
2843 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2844
862f1c9c
GM
28452013-07-20 Glenn Morris <rgm@gnu.org>
2846
c4074c9f
GM
2847 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2848 Let `message' do the formatting.
2849 (def-gdb-preempt-display-buffer): Add explicit format.
2850
d828e5f9
GM
2851 * image-dired.el (image-dired-track-original-file):
2852 Use with-current-buffer.
2853 (image-dired-track-thumbnail): Use with-current-buffer.
2854 Avoid changing point of wrong window.
2855
862f1c9c
GM
2856 * image-dired.el (image-dired-track-original-file):
2857 Avoid changing point of wrong window. (Bug#14909)
2858
f0398ec1 28592013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
2860
2861 * progmodes/gdb-mi.el (gdb-done-or-error):
2862 Guard against "%" in gdb output. (Bug#14127)
2863
1451928f
AS
28642013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2865
763a086d
JB
2866 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2867 (Bug#14826)
f7a03897 2868
1451928f
AS
2869 * international/mule.el (coding-system-iso-2022-flags): Fix last
2870 change.
2871
99107004
KH
28722013-07-20 Kenichi Handa <handa@gnu.org>
2873
763a086d
JB
2874 * international/mule.el (coding-system-iso-2022-flags):
2875 Add `8-bit-level-4'. (Bug#8522)
99107004 2876
48494e06
LMI
28772013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2878
8ba8eec5
LMI
2879 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2880 (bug#14815).
2881
dfbc66e3
LMI
2882 * net/eww.el (eww-process-text-input): Allow inputting when the
2883 point is at the start of the line, as the properties aren't
2884 front-sticky.
2885
48494e06
LMI
2886 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2887 degenerate widths.
2888
77c92cb9
RS
28892013-07-19 Richard Stallman <rms@gnu.org>
2890
aec7da77
RS
2891 * epa.el (epa-popup-info-window): Doc fix.
2892
77c92cb9
RS
2893 * subr.el (split-string): New arg TRIM.
2894
945c5bb1
JB
28952013-07-18 Juanma Barranquero <lekktu@gmail.com>
2896
2897 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2898 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2899
e06ec67f
MA
29002013-07-18 Michael Albinus <michael.albinus@gmx.de>
2901
c7064f05 2902 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
2903 `file-notify-support'. Do not autoload. Adapt all uses.
2904 (file-notify-supported-p): New defun.
2905
c7064f05
JB
2906 * autorevert.el (auto-revert-use-notify):
2907 Use `file-notify-supported-p' instead of `file-notify-support'.
2908 Adapt docstring.
e06ec67f
MA
2909 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2910
2911 * net/tramp.el (tramp-file-name-for-operation):
2912 Add `file-notify-supported-p'.
2913
2914 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2915 New defun.
2916 (tramp-sh-file-name-handler-alist): Add it as handler for
2917 `file-notify-supported-p '.
2918
2919 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2920 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2921 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2922 Add `ignore' as handler for `file-notify-*' functions.
2923
5dc8a629
EZ
29242013-07-17 Eli Zaretskii <eliz@gnu.org>
2925
2926 * simple.el (line-move-partial, line-move): Don't start vscroll or
2927 scroll-up if the current line is not taller than the window.
2928 (Bug#14881)
2929
77aea2fb
DG
29302013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2931
2932 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2933 highlight question marks in the method names as strings.
ac72c08d
DG
2934 (ruby-block-beg-keywords): Inline.
2935 (ruby-font-lock-keyword-beg-re): Extract from
2936 `ruby-font-lock-keywords'.
77aea2fb 2937
18c26d81
JD
29382013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2939
2940 * frame.el (blink-cursor-blinks): New defcustom.
2941 (blink-cursor-blinks-done): New defvar.
2942 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2943 (blink-cursor-timer-function): Check if number of blinks has been
2944 done on X and NS.
2945 (blink-cursor-suspend, blink-cursor-check): New defuns.
2946
da48522e
GM
29472013-07-15 Glenn Morris <rgm@gnu.org>
2948
2949 * edmacro.el (edmacro-format-keys): Fix previous change.
2950
0463c1ef
PE
29512013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2952
2953 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2954 The hack didn't work outside English locales anyway.
2955
b43f6451
JB
29562013-07-15 Juanma Barranquero <lekktu@gmail.com>
2957
2958 * simple.el (define-alternatives): Rename from alternatives-define,
2959 per RMS' suggestion.
2960
b958c0ad
JB
29612013-07-14 Juanma Barranquero <lekktu@gmail.com>
2962
2963 * desktop.el (desktop-restore-frames): Change default to t.
2964 (desktop-restore-in-current-display): Now offer more options.
2965 (desktop-restoring-reuses-frames): New customization option.
2966 (desktop--saved-states): Doc fix.
2967 (desktop-filter-parameters-alist): New variable, renamed and expanded
2968 from desktop--excluded-frame-parameters.
2969 (desktop--target-display): New variable.
2970 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2971 (desktop--filter-tty*, desktop--filter-*-color)
2972 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2973 (desktop--filter-save-desktop-parm)
2974 (desktop-restore-in-original-display-p): New functions.
2975 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2976 (desktop--save-minibuffer-frames): New function, inspired by a similar
2977 function from Martin Rudalics.
2978 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2979 (desktop--restore-in-this-display-p): Remove.
2980 (desktop--find-frame): Rename from desktop--find-frame-in-display
2981 and add predicate argument.
2982 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2983 (desktop--reuse-list): New variable.
2984 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2985 New functions.
2986 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2987
f6dd8b36
MA
29882013-07-14 Michael Albinus <michael.albinus@gmx.de>
2989
2990 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2991
2ce3c565
DG
29922013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2993
763a086d
JB
2994 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2995 Highlight conversion methods on Kernel.
2ce3c565 2996
2cdb7698
AM
29972013-07-13 Alan Mackenzie <acm@muc.de>
2998
2999 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3000 and comment it out. This out-commenting enables certain C++
3001 declarations to be parsed correctly.
3002
1a67b811
EZ
30032013-07-13 Eli Zaretskii <eliz@gnu.org>
3004
1b796d6b
EZ
3005 * international/mule.el (define-coding-system): Doc fix.
3006
1a67b811
EZ
3007 * simple.el (default-font-height): Don't call font-info if the
3008 frame's default font didn't change since the frame was created.
3009 (Bug#14838)
3010
58fbe886
LL
30112013-07-13 Leo Liu <sdl.web@gmail.com>
3012
3013 * ido.el (ido-read-file-name): Guard against non-symbol value.
3014
1f0480d4
FEG
30152013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3016
3017 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3018 in nested defuns.
3019
97ead0e5
LL
30202013-07-13 Leo Liu <sdl.web@gmail.com>
3021
3022 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3023 ido-set-matches call. (Bug#6852)
3024
0880a952
DG
30252013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3026
3027 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3028 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3029 Ruby 2.0.
3030 (ruby-font-lock-keywords): Distinguish calls to functions with
3031 module-like names from module references. Highlight character
3032 literals.
3033
a7d8babb
SDJ
30342013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3035
3036 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3037 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3038
acfcc8c5
JB
30392013-07-12 Juanma Barranquero <lekktu@gmail.com>
3040
3041 * desktop.el (desktop--v2s): Remove unused local variable.
3042 (desktop-save-buffer): Make defvar-local; adjust docstring.
3043 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3044 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3045
051f2775
AS
30462013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3047
3048 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3049
f24e7572
GM
30502013-07-12 Eli Zaretskii <eliz@gnu.org>
3051
3052 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3053 (Bug#14842)
3054
539a920c
GM
30552013-07-12 Glenn Morris <rgm@gnu.org>
3056
3057 * doc-view.el: Require cl-lib at runtime too.
3058 (doc-view-remove-if): Remove.
3059 (doc-view-search-next-match, doc-view-search-previous-match):
3060 Use cl-remove-if.
3061
3062 * edmacro.el: Require cl-lib at runtime too.
3063 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3064 (edmacro-mismatch, edmacro-subseq): Remove.
3065
3066 * shadowfile.el: Require cl-lib.
3067 (shadow-remove-if): Remove.
3068 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3069 Use cl-remove-if.
3070
3071 * wid-edit.el: Require cl-lib.
3072 (widget-choose): Use cl-remove-if.
3073 (widget-remove-if): Remove.
3074
3075 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3076 (ebrowse-delete-if-not): Remove.
3077 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3078 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3079 Use cl-delete-if-not.
3080
1048af7c
JB
30812013-07-12 Juanma Barranquero <lekktu@gmail.com>
3082
3083 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3084 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3085
6c0674ee
LL
30862013-07-12 Leo Liu <sdl.web@gmail.com>
3087
3088 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3089
a19b3c2d
GM
30902013-07-11 Glenn Morris <rgm@gnu.org>
3091
4582a01c
GM
3092 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3093 (edebug-gensym-index, edebug-gensym):
3094 Remove reimplementation of cl-gensym.
3095 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3096
3097 * thumbs.el: Require cl-lib at run-time too.
3098 (thumbs-gensym-counter, thumbs-gensym):
3099 Remove reimplementation of cl-gensym.
3100 (thumbs-temp-file): Use cl-gensym.
3101
a19b3c2d
GM
3102 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3103 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3104 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3105 (ert--union, ert--gensym-counter, ert--gensym-counter)
3106 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3107 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3108 (ert-make-test-unbound, ert--expand-should-1)
3109 (ert--expand-should, ert--should-error-handle-error)
3110 (should-error, ert--explain-equal-rec)
3111 (ert--plist-difference-explanation, ert-select-tests)
3112 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3113 Use cl-lib functions rather than reimplementations.
3114
88f6a933
MA
31152013-07-11 Michael Albinus <michael.albinus@gmx.de>
3116
3117 * net/tramp.el (tramp-methods): Extend docstring.
3118 (tramp-connection-timeout): New defcustom.
3119 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3120 (with-tramp-progress-reporter): Simplify.
3121 (tramp-process-actions): Improve messages.
3122
3123 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3124 * net/tramp-sh.el (tramp-maybe-open-connection):
3125 Use `tramp-connection-timeout'.
3126 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3127 (Bug#14808)
3128
a43d577e
LL
31292013-07-11 Leo Liu <sdl.web@gmail.com>
3130
3131 * ido.el (ido-read-file-name): Conform to the requirements of
3132 read-file-name. (Bug#11861)
3133 (ido-read-directory-name): Conform to the requirements of
3134 read-directory-name.
3135
d77974bf
JB
31362013-07-11 Juanma Barranquero <lekktu@gmail.com>
3137
3138 * subr.el (delay-warning): New function.
3139
35cb8a3e
EZ
31402013-07-10 Eli Zaretskii <eliz@gnu.org>
3141
3142 * simple.el (default-line-height): New function.
3143 (line-move-partial, line-move): Use it instead of computing the
3144 line height inline.
3145 (line-move-partial): Always compute ROWH. If the last line is
3146 partially-visible, but its text is completely visible, allow
3147 cursor to enter such a partially-visible line.
3148
525c5c77
MA
31492013-07-10 Michael Albinus <michael.albinus@gmx.de>
3150
3151 Improve error messages. (Bug#14808)
3152
3153 * net/tramp.el (tramp-current-connection): New defvar, moved from
3154 tramp-sh.el.
0ac26976 3155 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3156 needed anymore.
0ac26976
SM
3157 (tramp-error-with-buffer): Show message in minibuffer.
3158 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3159 (with-tramp-progress-reporter): Improve messages.
3160 (tramp-process-actions): Use progress reporter. Delete process in
3161 case of error. Improve messages.
3162
763a086d
JB
3163 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3164 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3165 (tramp-current-connection): Remove.
525c5c77
MA
3166 (tramp-maybe-open-connection): The car of
3167 `tramp-current-connection' are the first 3 slots of the vector.
3168
c7a4d368
TZ
31692013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3170
3171 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3172 inside continued strings.
3173
954b166e
PE
31742013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3175
3176 Timestamp fixes for undo (Bug#14824).
3177 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3178
56973319
LL
31792013-07-10 Leo Liu <sdl.web@gmail.com>
3180
3181 * files.el (require-final-newline): Allow safe local value.
3182 (Bug#14834)
3183
5550a72c
LL
31842013-07-09 Leo Liu <sdl.web@gmail.com>
3185
3186 * ido.el (ido-read-directory-name): Handle fallback.
3187 (ido-read-file-name): Update DIR to ido-current-directory.
3188 (Bug#1516)
c28b9050 3189 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3190
70c46b28
DG
31912013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3192
3193 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3194 "autoload". Remove "warn lower camel case" section, previously
3195 commented out. Highlight negation char. Do not highlight the
3196 target in singleton method definitions.
3197
0b64b838
SM
31982013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3199
7fd72e2c
SM
3200 * faces.el (tty-setup-hook): Declare the hook.
3201
0b64b838
SM
3202 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3203 and detect when a guard/pred depends on local vars (bug#14773).
3204 (pcase--u1): Adjust caller.
3205
ab49d60b
EZ
32062013-07-08 Eli Zaretskii <eliz@gnu.org>
3207
3208 * simple.el (line-move-partial, line-move): Account for
3209 line-spacing.
701d79aa
EZ
3210 (line-move-partial): Avoid setting vscroll when the last
3211 partially-visible line in window is of default height.
ab49d60b 3212
2d756ae0
LMI
32132013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3214
3215 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3216 been used a while.
3217
ed095bd7
JB
32182013-07-07 Juanma Barranquero <lekktu@gmail.com>
3219
3220 * subr.el (read-quoted-char): Remove unused local variable `char'.
3221
f1e6674b
MK
32222013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3223
584ee3fc
GM
3224 * ediff.el (ediff-version): Version update.
3225 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3226 (ediff-merge-with-ancestor-command, ediff-directories-command)
3227 (ediff-directories3-command, ediff-merge-directories-command)
3228 (ediff-merge-directories-with-ancestor-command): New functions.
3229 All are command-line interfaces to ediff: to facilitate calling
3230 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3231
3232 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3233 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3234
584ee3fc
GM
3235 * viper.el (viper-version): Version update.
3236 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3237
584ee3fc
GM
32382013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3241 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3242 (viper-intercept-ESC-key): Simplify.
3243 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3244 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3245 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3246 (viper-setup-ESC-to-escape): New functions.
3247 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3248 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3249
9aff9b38
EZ
32502013-07-07 Eli Zaretskii <eliz@gnu.org>
3251
5165d44a
JB
3252 * simple.el (default-font-height, window-screen-lines):
3253 New functions.
9aff9b38
EZ
3254 (line-move, line-move-partial): Use them instead of
3255 frame-char-height and window-text-height. This makes scrolling
3256 text smoother when the buffer's default face uses a font that is
3257 different from the frame's default font.
3258
1afb1d07
JD
32592013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3260
3261 * files.el (write-file): Do not display confirm dialog for NS,
3262 it does its own dialog, which can't be cancelled (Bug#14578).
3263
23de972a
EZ
32642013-07-06 Eli Zaretskii <eliz@gnu.org>
3265
3266 * simple.el (line-move-partial): Adjust the row returned by
3267 posn-at-point for the current window-vscroll. (Bug#14567)
3268
54a42486
MA
32692013-07-06 Michael Albinus <michael.albinus@gmx.de>
3270
3271 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3272 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3273 spaces.
3274
34ada5f4
MR
32752013-07-06 Martin Rudalics <rudalics@gmx.at>
3276
3277 * window.el (window-state-put-stale-windows): New variable.
3278 (window--state-put-2): Save list of windows without matching buffer.
3279 (window-state-put): Remove "bufferless" windows if possible.
3280
11e03d89
JB
32812013-07-06 Juanma Barranquero <lekktu@gmail.com>
3282
3283 * simple.el (alternatives-define): Remove leftover :group keyword.
3284 Tweak docstring.
3285
3504a4be
LL
32862013-07-06 Leo Liu <sdl.web@gmail.com>
3287
3288 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3289 (ido-enable-virtual-buffers): New variable.
3290 (ido-buffer-internal, ido-toggle-virtual-buffers)
3291 (ido-make-buffer-list): Use it.
3292 (ido-exhibit): Support turning on and off virtual buffers
3293 automatically.
3294
61e56e2c
JB
32952013-07-06 Juanma Barranquero <lekktu@gmail.com>
3296
3297 * simple.el (alternatives-define): New macro.
3298
321e1a9c
SM
32992013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * subr.el (read-quoted-char): Use read-key.
3302 (sit-for): Let read-event decode tty input (bug#14782).
3303
d610f6dd
SB
33042013-07-05 Stephen Berman <stephen.berman@gmx.net>
3305
3306 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3307 mode command and externally. Fix various related bugs.
3308 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3309 (todo-delete-file): New command.
3310 (todo-check-file): New function.
3311 (todo-show): Handle external deletion of the file we're trying to
3312 show (bug#14688). Replace called-interactively-p by an optional
3313 prefix argument to avoid problematic interaction with catch form
3314 when byte compiled (bug#14702).
3315 (todo-quit): Handle external deletion of the archive's todo file.
3316 Make sure the buffer that was visiting the archive file is still
3317 live before trying to bury it.
3318 (todo-category-completions): Handle external deletion of any
3319 category completion files.
3320 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3321 of todo files, in case of external deletion.
3322 (todo-add-file): Replace unnecessary setq by let-binding.
3323 (todo-find-archive): Check whether there are any archives.
3324 Replace unnecessary setq by let-binding.
3325 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3326 archive buffer whether or not the archive already exists.
3327 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3328 check if the archive is new; if it is, update list of archives.
3329 (todo-default-todo-file): Allow nil to be a valid value for when
3330 there are no todo files.
3331 (todo-reevaluate-default-file-defcustom): Use corrected definition
3332 of todo-default-todo-file.
3333 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3334 (todo-delete-category, todo-show-categories-table)
3335 (todo-category-number): Clarify comment.
3336 (todo-filter-items): Clarify documentation string.
3337 (todo-show-current-file, todo-display-as-todo-file)
3338 (todo-reset-and-enable-done-separator): Tweak documentation string.
3339 (todo-done-separator): Make separator length window-width, since
3340 bug#2749 is now fixed.
3341
ddbdfd6f
MA
33422013-07-05 Michael Albinus <michael.albinus@gmx.de>
3343
321e1a9c
SM
3344 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3345 Support both "gvfs-monitor-dir" and "inotifywait".
3346 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3347 `tramp-sh-file-notify-process-filter'.
3348 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3349 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3350
96eb829a
LL
33512013-07-05 Leo Liu <sdl.web@gmail.com>
3352
3353 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3354
cf13177e
YM
33552013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3356
3357 * frame.el (display-pixel-height, display-pixel-width)
3358 (display-mm-height, display-mm-width): Mention behavior on
3359 multi-monitor setups in docstrings.
3360 (w32-display-monitor-attributes-list): Declare function.
3361 (display-monitor-attributes-list): Use it.
3362
864c58ca
MA
33632013-07-04 Michael Albinus <michael.albinus@gmx.de>
3364
3365 * filenotify.el: New package.
3366
3367 * autorevert.el (top): Require filenotify.el.
3368 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3369 instead.
3370 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3371 (auto-revert-notify-handler): Use `file-notify-*' functions.
3372
3373 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3374
321e1a9c
SM
3375 * net/tramp.el (tramp-file-name-for-operation):
3376 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3377
3378 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3379 for `file-notify-add-watch' and `file-notify-rm-watch'.
3380 (tramp-process-sentinel): Improve trace.
3381 (tramp-sh-handle-file-notify-add-watch)
3382 (tramp-sh-file-notify-process-filter)
3383 (tramp-sh-handle-file-notify-rm-watch)
3384 (tramp-get-remote-inotifywait): New defuns.
3385
96673afe
JL
33862013-07-03 Juri Linkov <juri@jurta.org>
3387
3388 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3389 call of `occur-read-primary-args' to interactive spec.
3390
3391 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3392 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3393
924494f4
MM
33942013-07-03 Matthias Meulien <orontee@gmail.com>
3395
3396 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3397 `Buffer-menu-multi-occur'. Add it to the menu.
3398 (Buffer-menu-mode): Document it in docstring.
3399 (Buffer-menu-multi-occur): New command. (Bug#14673)
3400
56f75efc
DG
34012013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3402
3403 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3404 keywords and built-ins.
3405
9b057d61
GM
34062013-07-03 Glenn Morris <rgm@gnu.org>
3407
208dee4d
GM
3408 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3409
9b057d61
GM
3410 Make info-xref checks case-sensitive by default
3411 * info.el (Info-find-node, Info-find-in-tag-table)
3412 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3413 Add option for exact case matching of nodes.
3414 * info-xref.el (info-xref): New custom group.
3415 (info-xref-case-fold): New option.
3416 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3417
e01aa29c
LL
34182013-07-03 Leo Liu <sdl.web@gmail.com>
3419
3420 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3421
3086ca2e
DG
34222013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3423
3424 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3425 middle of block statement initially, lower the depth. Remove
3426 FIXME comment, not longer valid. Remove middle of block statement
3427 detection, no need to do that anymore since we've been using
3428 `ruby-parse-region' here.
3429
a3b49114
JD
34302013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3431
3432 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3433
08e5c823 34342013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3435
3436 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3437
2addf922
JB
34382013-07-01 Juanma Barranquero <lekktu@gmail.com>
3439
3440 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3441 (desktop-restore-in-current-display): New customization option.
3442 (desktop--excluded-frame-parameters): Add `font'.
3443 (desktop--save-frames): Rename from desktop--save-windows.
3444 (desktop--restore-in-this-display-p): New function.
3445 (desktop--make-full-frame): Remove unwanted width/height from
3446 full(width|height) frames.
3447 (desktop--restore-frames): Rename from desktop--restore-windows.
3448 Obey desktop-restore-current-display. Do not delete old frames or
3449 select a new frame unless we were able to restore at least one frame.
3450
ef099a94
MN
34512013-06-30 Michal Nazarewicz <mina86@mina86.com>
3452
3453 * files.el (find-file-noselect): Simplify conditional expression.
3454
3455 * remember.el (remember-append-to-file):
3456 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3457
3458 Add `remember-notes' function to store random notes across Emacs
3459 restarts.
3460 * remember.el (remember-data-file): Add :set callback to affect
3461 notes buffer (if any).
3462 (remember-notes): New command.
3463 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3464 New defcustoms for the `remember-notes' function.
3465 (remember-notes-save-and-bury-buffer): New command.
3466 (remember-notes-mode-map): New variable.
3467 (remember-mode): New minor mode.
3468 (remember-notes--kill-buffer-query): New function.
3469 * startup.el (initial-buffer-choice): Add notes to custom type.
3470
0865d506
EZ
34712013-06-30 Eli Zaretskii <eliz@gnu.org>
3472
0ba54312
EZ
3473 * bindings.el (right-char, left-char): Don't call sit-for, this is
3474 no longer needed. Use arithmetic comparison only for numerical
3475 arguments.
3476
ef099a94
MN
3477 * international/mule-cmds.el (select-safe-coding-system):
3478 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3479
2fae38e5
LMI
34802013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3481
3482 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3483 progression on degenerate tables.
ef099a94 3484 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3485
a47cbd64
JB
34862013-06-30 Juanma Barranquero <lekktu@gmail.com>
3487
3488 Some fixes and improvements for desktop frame restoration.
3489 It is still experimental and disabled by default.
3490 * desktop.el (desktop--save-windows): Put the selected frame at
3491 the head of the list.
3492 (desktop--make-full-frame): New function.
3493 (desktop--restore-windows): Try to re-select the frame that was
3494 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3495 just show an error message and continue. Set up maximized frames
3496 so they have default non-maximized dimensions.
a47cbd64 3497
6dbafa30
DG
34982013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3499
ef099a94
MN
3500 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3501 Don't start heredoc inside a string or comment.
6dbafa30 3502
4c672a0f
EZ
35032013-06-29 Eli Zaretskii <eliz@gnu.org>
3504
3505 * bindings.el (visual-order-cursor-movement): New defcustom.
3506 (right-char, left-char): Provide visual-order cursor motion by
3507 calling move-point-visually. Update the doc strings.
3508
50960f36
KH
35092013-06-28 Kenichi Handa <handa@gnu.org>
3510
3511 * international/mule.el (define-coding-system): New coding system
3512 properties :inhibit-null-byte-detection,
3513 :inhibit-iso-escape-detection, and :prefer-utf-8.
3514 (set-buffer-file-coding-system): If :charset-list property of
3515 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3516 appropriate for setting.
3517
c1ea3abf
JB
3518 * international/mule-cmds.el (select-safe-coding-system):
3519 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3520 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3521
3522 * international/mule-conf.el (prefer-utf-8): New coding system.
3523 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3524 files.
3525
75dbaf9d
IK
35262013-06-28 Ivan Kanis <ivan@kanis.fr>
3527
eadb6068
IK
3528 * net/shr.el (shr-render-region): New function.
3529
75dbaf9d
IK
3530 * net/eww.el: Autoload `eww-browse-url'.
3531
9ea5cf9f
DG
35322013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3533
c1ea3abf
JB
3534 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3535 Adapt to `package-desc-version' being a list.
3536 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3537 archive element.
3538
39c0e36f
JB
35392013-06-27 Juanma Barranquero <lekktu@gmail.com>
3540
3541 New experimental feature to save&restore window and frame setup.
3542 * desktop.el (desktop-save-windows): New defcustom.
3543 (desktop--saved-states): New var.
3544 (desktop--excluded-frame-parameters): New defconst.
3545 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3546 (desktop--restore-windows, desktop--save-windows): New functions.
3547 (desktop-save): Call `desktop--save-windows'.
3548 (desktop-read): Call `desktop--restore-windows'.
3549
7f13406b
LMI
35502013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3551
ef099a94 3552 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3553
1e072639
SB
35542013-06-27 Stephen Berman <stephen.berman@gmx.net>
3555
3556 * info.el (Info-try-follow-nearest-node): Move search for footnote
3557 above search for node name to prevent missing a footnote (bug#14717).
3558
f3e2cbde
SB
35592013-06-27 Stephen Berman <stephen.berman@gmx.net>
3560
3561 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3562
99906aa0
LL
35632013-06-27 Leo Liu <sdl.web@gmail.com>
3564
3565 * net/eww.el (eww-read-bookmarks): Check file size.
3566
539f75f4
SM
35672013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3570 advice--pending if newdef is nil or an autoload (bug#13820).
3571 (advice-mapc): New function.
3572
843571cb
LMI
35732013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3574
3575 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3576 probably.
23a75d7f 3577 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3578 (eww-add-bookmark): New command.
3579 (eww-bookmark-mode): New mode and commands.
a285ce99 3580 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3581 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3582
f2136e1e
GM
35832013-06-26 Glenn Morris <rgm@gnu.org>
3584
eab35f39
GM
3585 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3586 (hfy-size): Handle ttys. (Bug#14668)
3587
f2136e1e
GM
3588 * info-xref.el: Update for Texinfo 5 change in *note format.
3589 (info-xref-node-re, info-xref-note-re): New constants.
3590 (info-xref-check-buffer): Use info-xref-note-re.
3591
a49ff80c
SM
35922013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3593
a343d218
SM
3594 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3595
a49ff80c
SM
3596 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3597 nil terminate the loop (bug#14718).
3598
8308f184
LMI
35992013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3600
3601 * net/eww.el: Rework history traversal. When going forward/back,
3602 put these actions into the history, too, so that they can be
3603 replayed.
26bf2b82 3604 (eww-render): Move the history reset to the correct buffer.
8308f184 3605
ec64c273
JL
36062013-06-25 Juri Linkov <juri@jurta.org>
3607
3608 * files-x.el (modify-dir-local-variable): Change the header comment
3609 in the file with directory local variables. (Bug#14692)
3610
e080a9d7
JL
3611 * files-x.el (read-file-local-variable-value): Add `default'.
3612 (Bug#14710)
3613
bfbc93a1
IK
36142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3615
3616 * net/eww.el (eww-make-unique-file-name): Create a unique file
3617 name before saving to entering `y' accidentally asynchronously.
3618
36192013-06-25 Ivan Kanis <ivan@kanis.fr>
3620
3621 * net/eww.el (eww-download): New command and keystroke.
3622
16f74f10
LMI
36232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3624
a49ff80c 3625 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
3626
3627 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3628 be more consistent with Info and dired.
3629
3630 * net/eww.el (eww-mode-map): Ditto.
3631
12059709
SM
36322013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3635 packages from archives.
3636 (package-archive-contents): Change format; include obsolete packages.
3637 (package-desc): Use `dir' to mark builtin packages.
3638 (package--from-builtin): Set the `dir' field to `builtin'.
3639 (generated-autoload-file, version-control): Declare.
3640 (package-compute-transaction): Change first arg and return value to be
3641 lists of package-descs. Adjust to new package-archive-contents format.
3642 (package--add-to-archive-contents): Adjust to new
3643 package-archive-contents format.
3644 (package-download-transaction): Arg is now a list of package-descs.
3645 (package-install): If `pkg' is a package name, pass it as
3646 a requirement, so it is subject to the usual (e.g. disabled) checks.
3647 (describe-package): Accept package-desc as well.
3648 (describe-package-1): Describe a specific package-desc. Add links to
3649 other package-descs for the same package name.
3650 (package-menu-describe-package): Pass the actual package-desc.
3651 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3652 works correctly.
3653 (package-desc-status): New function.
3654 (package-menu--refresh): New function, extracted
3655 from package-menu--generate.
3656 (package-menu--generate): Use it.
3657 (package-delete): Update package-alist.
3658 (package-menu-execute): Don't call package-initialize.
3659
3660 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3661 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3662 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3663 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3664 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3665 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3666
8bbdea0f
MR
36672013-06-25 Martin Rudalics <rudalics@gmx.at>
3668
3669 * window.el (window--state-get-1): Workaround for bug#14527.
3670 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3671
e82b0991
LMI
36722013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3673
3674 * net/eww.el (eww-back-url): Implement the history by stashing all
3675 the data into a list.
d3f0f918 3676 (eww-forward-url): Allow going forward in the history, too.
e82b0991 3677
c763842b
SM
36782013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3681 for values and use read--expression for expressions (bug#14710).
3682 (read-file-local-variable): Avoid setq.
3683 (read-file-local-variable-mode): Use minor-mode-list.
3684
bceff189
RW
36852013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3686
864c58ca 3687 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
3688 for DOI URLs.
3689
45f431c6
RW
36902013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3691
864c58ca 3692 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
3693 Update imenu-support when dialect changes.
3694
f42d8237
LL
36952013-06-25 Leo Liu <sdl.web@gmail.com>
3696
3697 * ido.el (ido-read-internal): Allow forward slash on windows.
3698
be549ce6
LMI
36992013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3700
3701 * net/eww.el (eww): Start of strings is \\`, not ^.
3702
71d4c19d
IK
37032013-06-24 Ivan Kanis <ivan@kanis.fr>
3704
5196f88a
IK
3705 * net/shr.el (shr-browse-url): Fix interactive spec.
3706
71d4c19d
IK
3707 * net/eww.el (eww): Add a trailing slash to domain names.
3708
ae36ca55
JB
37092013-06-24 Juanma Barranquero <lekktu@gmail.com>
3710
3711 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3712
0ebd92a3
LMI
37132013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3714
bdaa086b
LMI
3715 * net/shr.el (shr-browse-url): Use an external browser if given a
3716 prefix.
3717
c763842b 3718 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 3719
b89fc156
IK
37202013-06-24 Ivan Kanis <ivan@kanis.fr>
3721
3722 * net/eww.el (eww): Work more correctly for file: URLs.
3723 (eww-detect-charset): Allow quoted charsets.
3724 (eww-yank-page-url): New command and keystroke.
3725
18eb4bca
DU
37262013-06-24 Daiki Ueno <ueno@gnu.org>
3727
3728 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3729 file name of gpg executable.
3730 (epg-context-program): New function.
3731 (epg-context-home-directory): New function.
3732 (epg-context-set-program): New function.
3733 (epg-context-set-home-directory): New function.
3734 (epg--start): Use `epg-context-program' instead of
3735 'epg-gpg-program'.
3736 (epg--list-keys-1): Likewise.
3737
6c6268c8
LL
37382013-06-24 Leo Liu <sdl.web@gmail.com>
3739
3740 * ido.el (ido-read-internal): Fix bug#14620.
3741
5e400cb3
JB
37422013-06-23 Juanma Barranquero <lekktu@gmail.com>
3743
3744 * faces.el (face-documentation): Simplify.
3745 (read-face-attribute, tty-find-type, x-resolve-font-name):
3746 Use `string-match-p'.
3747 (list-faces-display): Use `string-match-p'. Simplify.
3748 (face-spec-recalc): Check face to avoid face alias loops.
3749 (read-color): Use `string-match-p' and non-capturing parenthesis.
3750
f3f9606c
LMI
37512013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3752
3753 * net/shr.el (shr-rescale-image): Use the new
3754 :max-width/:max-height functionality.
3755
a3ca09b9
IK
37562013-06-23 Ivan Kanis <ivan@kanis.fr>
3757
3758 * net/eww.el (eww-search-prefix): New variable.
3759 (eww): Use it.
f865b474
IK
3760 (eww-external-browser): New variable.
3761 (eww-mode-map): New keystroke.
3762 (eww-browse-with-external-browser): New command.
a3ca09b9 3763
e854cfc7
IK
3764 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3765
18bb9e21
JB
37662013-06-23 Juanma Barranquero <lekktu@gmail.com>
3767
3768 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3769 Don't skip aligning the next header field when padding is 0;
3770 otherwise, field width is not respected unless the title is as
3771 wide as the field.
3772
5b165ade
SM
37732013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3774
3775 * emacs-lisp/package.el (package-el-version): Remove.
3776 (package-process-define-package): Fix inf-loop.
3777 (package-install): Allow symbols as arguments again.
3778
12adebe9
DG
37792013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3780
3781 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3782 add some more keyword-like methods.
3783 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3784
388573ee
JB
37852013-06-22 Juanma Barranquero <lekktu@gmail.com>
3786
3787 * bs.el (bs-buffer-show-mark): Make defvar-local.
3788 (bs-mode): Use setq-local.
3789
3790 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3791 (emacs-lock--try-unlocking): Make defvar-local.
3792
4582a01c 37932013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 3794
2663dd23
GM
3795 * play/cookie1.el (cookie-apropos): Minor simplification.
3796
3d94f3ad
GM
3797 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3798
f72e2fdb
DG
37992013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3800
3801 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3802 `regexp-opt', it breaks the build during dumping.
3803
73eab938
DG
38042013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3805
c763842b
SM
3806 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3807 Highlight keyword-like methods on Kernel and Module with
73eab938 3808 font-lock-builtin-face.
5cf8176d
DG
3809 (auto-mode-alist): Consolidate different entries into one regexp
3810 and add more *file-s.
73eab938 3811
d26255f6
SB
38122013-06-21 Stephen Berman <stephen.berman@gmx.net>
3813
3814 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3815
3816 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3817 (diary-entry): Use it in the action of this button type instead of
3818 diary-goto-entry.
3819
3820 * calendar/todo-mode.el: New version.
3821 (todo-add-category): Append new category to end of file and give
3822 it the highest number, instead of putting it at the beginning and
3823 giving it 0. Incorporate noninteractive functionality.
3824 (todo-forward-category): Adapt to 1-based category numbering.
3825 Allow skipping over archived categories.
3826 (todo-backward-category): Derive from todo-forward-category.
3827 (todo-backward-item, todo-forward-item): Make noninteractive and
3828 delegate interactive part to new commands. Make sensitive to done items.
3829 (todo-categories): Make value an alist of category names and
3830 vectors of item counts.
3831 (todo-category-beg): Make a defconst.
3832 (todo-category-number): Use 1 instead of 0 as initial value.
3833 (todo-category-select): Make sensitive to overlays, optional item
3834 highlighting and done items.
3835 (todo-delete-item): Make sensitive to overlays and marked and done items.
3836 (todo-edit-item): Make sensitive to overlays and editing of
3837 date/time header optional. Add format checks.
3838 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3839 no-op if point is not on an item. Advertise using todo-edit-quit.
3840 (todo-edit-mode): Make sensitive to new format, font-locking, and
3841 multiple todo files.
3842 (todo-insert-item, todo-insert-item-here): Derive from
3843 todo-basic-insert-item and extend functionality.
3844 (todo-item-end, todo-item-start): Make sensitive to done items.
3845 (todo-item-string): Don't return text properties. Restore point.
3846 (todo-jump-to-category): Make sensitive to multiple todo files and
3847 todo archives. Use extended category completion.
3848 (todo-lower-item, todo-raise-item): Rename to *-priority and
3849 derive from todo-set-item-priority.
3850 (todo-mode): Derive from special-mode. Make sensitive to new
3851 format, font-locking and multiple todo files. Make read-only.
3852 (todo-mode-map): Don't suppress digit keys, so they can supply
3853 prefix arguments. Add many new key bindings.
3854 (todo-prefix): Insert as an overlay instead of file text.
3855 Change semantics from diary date expression to purely visual mark.
3856 (todo-print): Rename to todo-print-buffer. Make buffer display
3857 features printable. Remove option to restrict number of items
3858 printed. Add option to print to file.
3859 (todo-print-function): Rename to todo-print-buffer-function.
3860 (todo-quit): Extend to handle exiting new todo modes.
3861 (todo-remove-item): Make sensitive to overlays.
3862 (todo-save): Extend to buffers of filtered items.
3863 (todo-show): Make sensitive to done items, multiple todo files and
3864 new todo modes. Offer to convert legacy todo file before creating
3865 first new todo file.
3866 (todo-show-priorities): Rename to todo-top-priorities.
3867 Change semantics of value 0.
3868 (todo-top-priorities): Rename to todo-filter-top-priorities,
3869 derive from todo-filter-items and extend functionality.
3870 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3871 and extend functionality to other types of filtered items.
3872 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3873 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3874 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3875 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3876 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3877 (todo-edit-mode-hook, todo-entry-prefix-function)
3878 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3879 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3880 (todo-initials, todo-insert-threshold, todo-item-string-start)
3881 (todo-line-string, todo-menu, todo-mode-hook)
3882 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3883 (todo-print-priorities, todo-remove-separator)
3884 (todo-save-top-priorities-too, todo-string-count-lines)
3885 (todo-string-multiline-p, todo-time-string-format)
3886 (todo-tmp-buffer-name): Remove.
3887 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3888 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3889 (todo-edit-category-diary-inclusion)
3890 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3891 (todo-edit-file, todo-edit-item-date-day)
3892 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3893 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3894 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3895 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3896 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3897 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3898 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3899 (todo-filter-top-priorities-multifile, todo-find-archive)
3900 (todo-find-filtered-items-file, todo-go-to-source-item)
3901 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3902 (todo-jump-to-archive-category, todo-lower-category)
3903 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3904 (todo-move-category, todo-move-item, todo-next-button)
3905 (todo-next-item, todo-padded-string, todo-powerset)
3906 (todo-previous-button, todo-previous-item)
3907 (todo-print-buffer-to-file, todo-raise-category)
3908 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3909 (todo-set-category-number, todo-set-item-priority)
3910 (todo-set-top-priorities-in-category)
3911 (todo-set-top-priorities-in-file, todo-show-categories-table)
3912 (todo-sort-categories-alphabetically-or-numerically)
3913 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3914 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3915 (todo-toggle-item-header, todo-toggle-item-highlighting)
3916 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3917 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3918 (todo-unarchive-items, todo-unmark-category): New commands.
3919 (todo-absolute-file-name, todo-add-to-buffer-list)
3920 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3921 (todo-basic-insert-item, todo-category-completions)
3922 (todo-category-number, todo-category-string-matcher-1)
3923 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3924 (todo-check-format, todo-clear-matches)
3925 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3926 (todo-current-category, todo-date-string-matcher)
3927 (todo-define-insertion-command, todo-diary-expired-matcher)
3928 (todo-diary-goto-entry, todo-diary-item-p)
3929 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3930 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3931 (todo-done-item-section-p, todo-done-separator)
3932 (todo-done-string-matcher, todo-files, todo-filter-items)
3933 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3934 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3935 (todo-insert-category-line, todo-insert-item-from-calendar)
3936 (todo-insert-sort-button, todo-insert-with-overlays)
3937 (todo-insertion-command-name, todo-insertion-key-bindings)
3938 (todo-label-to-key, todo-longest-category-name-length)
3939 (todo-make-categories-list, todo-mode-external-set)
3940 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3941 (todo-modes-set-3, todo-multiple-filter-files)
3942 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3943 (todo-read-category, todo-read-date, todo-read-dayname)
3944 (todo-read-file-name, todo-read-time)
3945 (todo-reevaluate-category-completions-files-defcustom)
3946 (todo-reevaluate-default-file-defcustom)
3947 (todo-reevaluate-filelist-defcustoms)
3948 (todo-reevaluate-filter-files-defcustom)
3949 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3950 (todo-reset-done-separator, todo-reset-done-separator-string)
3951 (todo-reset-done-string, todo-reset-global-current-todo-file)
3952 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3953 (todo-reset-prefix, todo-set-categories)
3954 (todo-set-date-from-calendar, todo-set-show-current-file)
3955 (todo-set-top-priorities, todo-short-file-name)
3956 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3957 (todo-total-item-counts, todo-update-buffer-list)
3958 (todo-update-categories-display, todo-update-categories-sexp)
3959 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3960 New functions.
3961 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3962 New major modes.
3963 (todo-categories, todo-display, todo-edit, todo-faces)
3964 (todo-filtered): New defgroups.
3965 (todo-archived-only, todo-button, todo-category-string, todo-date)
3966 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3967 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3968 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3969 (todo-add-item-if-new-category, todo-always-add-time-string)
3970 (todo-categories-align, todo-categories-archived-label)
3971 (todo-categories-category-label, todo-categories-diary-label)
3972 (todo-categories-done-label, todo-categories-number-separator)
3973 (todo-categories-todo-label, todo-categories-totals-label)
3974 (todo-category-completions-files, todo-completion-ignore-case)
3975 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3976 (todo-done-separator-string, todo-done-string)
3977 (todo-files-function, todo-filter-done-items, todo-filter-files)
3978 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3979 (todo-initial-category, todo-initial-file, todo-item-mark)
3980 (todo-legacy-date-time-regexp, todo-mode-line-function)
3981 (todo-nondiary-marker, todo-number-prefix)
3982 (todo-print-buffer-function, todo-show-current-file)
3983 (todo-show-done-only, todo-show-first, todo-show-with-done)
3984 (todo-skip-archived-categories, todo-top-priorities-overrides)
3985 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3986 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3987 New defcustoms.
3988 (todo-category-done, todo-date-pattern, todo-date-string-start)
3989 (todo-diary-items-buffer, todo-done-string-start)
3990 (todo-filtered-items-buffer, todo-item-start)
3991 (todo-month-abbrev-array, todo-month-name-array)
3992 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3993 (todo-top-priorities-buffer): New defconsts.
3994 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3995 (todo-categories-with-marks, todo-category-string-face)
3996 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3997 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3998 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3999 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4000 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4001 (todo-font-lock-keywords, todo-global-current-todo-file)
4002 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4003 (todo-insertion-commands-args)
4004 (todo-insertion-commands-args-genlist)
4005 (todo-insertion-commands-names, todo-insertion-map)
4006 (todo-key-bindings-t, todo-key-bindings-t+a)
4007 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4008 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4009 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4010 (todo-visited): New variables.
4011
cad5d1cb
GM
40122013-06-21 Glenn Morris <rgm@gnu.org>
4013
4014 * play/cookie1.el (cookie-apropos): Add optional display argument.
4015 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4016 (psychoanalyze-pinhead): Use cookie-doctor.
4017
9e277302
JB
40182013-06-21 Juanma Barranquero <lekktu@gmail.com>
4019
4020 * emacs-lisp/package.el (tar-get-file-descriptor)
4021 (tar--extract): Declare.
4022
c5b0993e
EW
40232013-06-21 Eduard Wiebe <usenet@pusto.de>
4024
4025 Extend flymake's warning predicate to be a function (bug#14217).
4026 * progmodes/flymake.el (flymake-warning-predicate): New.
4027 (flymake-parse-line): Use it.
4028 (flymake-warning-re): Make obsolete alias to
4029 `flymake-warning-predicate'.
4030
a7d2d465
SM
40312013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4034 (package-obsolete-list): Remove.
4035 (package-activate): Remove min-version argument. Add `force' argument.
4036 Adjust to new package-alist format.
4037 (package-mark-obsolete): Remove.
4038 (package-unpack): Force reload of the package's autoloads.
4039 (package-installed-p): Check builtins if the installed package is not
4040 recent enough.
4041 (package-initialize): Don't reset package-obsolete-list.
4042 Don't specify which package version to activate.
4043 (package-process-define-package, describe-package-1)
4044 (package-menu--generate): Adjust to new package-alist format.
4045
cedf5c9d
JB
40462013-06-21 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * allout-widgets.el (allout-widgets-mode-off)
4049 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4050 (allout-widgets-post-command-business)
4051 (allout-widgets-after-copy-or-kill-function)
4052 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4053 (allout-decorate-item-and-context)
4054 (allout-graphics-modification-handler): Fix typos in docstrings.
4055 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4056
4057 * cmuscheme.el (scheme-start-file): Doc fix.
4058 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4059 (scheme-input-filter): Use `string-match-p'.
4060
4061 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4062
4063 * dired-x.el: Use Dired consistently in docstrings.
4064
4065 * dired.el: Use Dired consistently in docstrings.
4066 (dired-readin, dired-mode): Use `setq-local'.
4067 (dired-switches-alist): Make defvar-local.
4068 (dired-buffers-for-dir): Use `zerop'.
4069 (dired-safe-switches-p, dired-switches-escape-p)
4070 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4071 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4072 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4073 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4074 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4075 (dired-toggle-marks, dired-mark-files-containing-regexp)
4076 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4077 (dired-flag-auto-save-files, dired-flag-backup-files):
4078 Use `looking-at-p'.
4079 (dired-mark-files-regexp, dired-build-subdir-alist):
4080 Use `string-match-p', `looking-at-p'.
4081
4082 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4083 (direct-print-region-helper): Use `string-match-p'.
4084
aed838b5
LL
40852013-06-21 Leo Liu <sdl.web@gmail.com>
4086
cedf5c9d
JB
4087 * comint.el (comint-redirect-results-list-from-process):
4088 Fix infinite loop.
aed838b5 4089
d80a808f
LMI
40902013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091
4092 * net/eww.el (eww-update-header-line-format): Quote % characters.
4093
e7a526e3
GM
40942013-06-21 Glenn Morris <rgm@gnu.org>
4095
4096 * play/cookie1.el (cookie): New custom group.
4097 (cookie-file): New option.
4098 (cookie-check-file): New function.
4099 (cookie): Make it interactive. Make start and end messages optional.
4100 Interactively, display the result. Default to cookie-file.
4101 (cookie-insert): Default to cookie-file.
4102 (cookie-snarf): Make start and end messages optional.
4103 Default to cookie-file. Use with-temp-buffer.
4104 (cookie-read): Rename from read-cookie.
4105 Make start and end messages optional. Default to cookie-file.
4106 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4107 Do not autoload it.
e7a526e3
GM
4108 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4109 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4110
62efb35e
LL
41112013-06-21 Leo Liu <sdl.web@gmail.com>
4112
4113 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4114
21e3f963
GM
41152013-06-21 Glenn Morris <rgm@gnu.org>
4116
4117 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4118
fd846ab4
SM
41192013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4120 Daniel Hackney <dan@haxney.org>
4121
4122 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4123 Consolidate the single-file vs tarball code.
4124 (package-desc-suffix): New function.
4125 (package-desc-full-name): Don't bother inlining it.
4126 (package-load-descriptor): Return the new package-desc.
4127 (package-mark-obsolete): Remove unused arg `package'.
4128 (package-unpack): Make it work for single files as well.
4129 Make it update package-alist.
4130 (package--make-autoloads-and-stuff): Rename from
4131 package--make-autoloads-and-compile. Don't compile any more.
4132 (package--compile): New function.
4133 (package-generate-description-file): New function, extracted from
4134 package-unpack-single.
4135 (package-unpack-single): Remove.
4136 (package--with-work-buffer): Add indentation and debugging info.
4137 (package-download-single): Remove.
4138 (package-install-from-archive): Rename from package-download-tar, make
4139 it take a pkg-desc, and make it work for single files as well.
4140 (package-download-transaction): Simplify.
4141 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4142 external tar program.
4143 (package-install-from-buffer): Remove `pkg-desc' argument.
4144 Use package-tar-file-info for tar-mode buffers.
4145 (package-install-file): Simplify accordingly.
4146 (package-archive-base): Change to take a pkg-desc.
4147 * tar-mode.el (tar--check-descriptor): New function, extracted from
4148 tar-get-descriptor.
4149 (tar-get-descriptor): Use it.
4150 (tar-get-file-descriptor): New function.
4151 (tar--extract): New function, extracted from tar-extract.
4152 (tar--extract): Use it.
4153 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4154 case the summary uses non-ascii. Adjust to new calling convention of
4155 package-tar-file-info.
4156
b7deae5e
LL
41572013-06-21 Leo Liu <sdl.web@gmail.com>
4158
fd846ab4
SM
4159 * comint.el (comint-redirect-results-list-from-process):
4160 Fix random delay. (Bug#14681)
b7deae5e 4161
7a65a0b2
JB
41622013-06-21 Juanma Barranquero <lekktu@gmail.com>
4163
4164 * profiler.el (profiler-format-number): Use log, not log10.
4165
1493c2af
JB
41662013-06-20 Juanma Barranquero <lekktu@gmail.com>
4167
4168 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4169
aff6371e
SM
41702013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4173 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4174 yet available.
4175 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4176 (AUTOGENEL): ... here.
4177 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4178 (cl--defsubst-expand): Use it.
4179
89561f72
PE
41802013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4181
4182 * subr.el (log10): Move here from C code, and declare as obsolete.
4183 All uses of (log10 X) replaced with (log X 10).
4184
47199123
JB
41852013-06-20 Juanma Barranquero <lekktu@gmail.com>
4186
4187 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4188 Declare with `defvar-local'.
4189 (tabulated-list-use-header-line, tabulated-list-entries)
4190 (tabulated-list-padding, tabulated-list-printer)
4191 (tabulated-list-sort-key): Declare with `defvar-local'.
4192 (tabulated-list-init-header, tabulated-list-print-fake-header):
4193 Use `setq-local'.
4194
4a172eab
MA
41952013-06-20 Michael Albinus <michael.albinus@gmx.de>
4196
47199123
JB
4197 * arc-mode.el (archive-mode): Add `archive-write-file' to
4198 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4199
5fc0acc0
JB
42002013-06-20 Juanma Barranquero <lekktu@gmail.com>
4201
d5b27848
JB
4202 * cus-edit.el (custom-commands): Fix typos.
4203 (custom-display): Fix tooltip text.
4204 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4205 Fix typos in docstrings.
4206 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4207 (custom-unlispify-menu-entry, custom-magic-value-create)
4208 (custom-add-see-also, custom-group-value-create): Use ?\s.
4209 (custom-guess-type, customize-apropos, editable-field)
4210 (custom-face-value-create): Use `string-match-p'.
4211 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4212
4213 * custom.el (custom-load-symbol): Use `string-match-p'.
4214
a5c581d8
JB
4215 * ansi-color.el: Convert to lexical binding.
4216 (ansi-colors): Fix URL.
4217 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4218 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4219 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4220
970ad972
G
42212013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222
4223 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4224
4225 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4226
42272013-06-19 Tom Tromey <tromey@redhat.com>
4228
4229 * net/eww.el (eww-top-url): Remove.
4230 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4231 (eww-render): Set new variables. Don't set eww-top-url.
4232 (eww-handle-link): Handle "prev", "home", and "contents".
4233 Downcase the rel text.
4234 (eww-top-url): Choose best top URL.
4235
42362013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4237
4238 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4239 relying in widget.el. Using widget.el leads to too many
4240 user interface inconsistencies.
4241 (eww-self-insert): Implement entering commands in text fields.
4242 (eww-process-text-input): New function to make text input field editing
4243 work.
4244 (eww-submit): Rewrite to use the new-style form methods.
4245 (eww-select-display): Display the correct selected item.
4246 (eww-change-select): Implement changing the select value.
4247 (eww-toggle-checkbox): Implement radio/checkboxes.
4248 (eww-update-field): Fix compilation error.
4249 (eww-tag-textarea): Implement <textarea>.
4250
4251 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4252 we don't shadow mode-specific bindings.
4253
4254 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4255 nothing to push.
4256
4257 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4258
4582a01c 42592013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4260
4261 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4262
15b263dc
MA
42632013-06-19 Michael Albinus <michael.albinus@gmx.de>
4264
4265 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4266 not needed.
4267
4268 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4269
8f5297f7
LMI
42702013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4271
4272 * net/browse-url.el (browse-url-browser-function):
4273 `eww-browse-url' has the right calling signature, `eww' does not.
4274
011c4552
GM
42752013-06-19 Glenn Morris <rgm@gnu.org>
4276
2285bd27
GM
4277 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4278 Only eval autoloaded macros.
4279 (byte-compile-autoload): Only give the macro warning for macros.
4280
1d653303
GM
4281 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4282 (ps-underlined-faces): Declare.
4283
bdd779ec
GM
4284 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4285 (speedbar-add-supported-extension): Declare.
4286
011c4552
GM
4287 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4288 Don't include a date stamp in the header of the generated file;
4289 it leads to needless differences between output files.
4290
e59dfb0e
MA
42912013-06-19 Michael Albinus <michael.albinus@gmx.de>
4292
c763842b
SM
4293 * net/secrets.el (secrets-struct-secret-content-type):
4294 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4295 Some servers do not offer introspection.
e59dfb0e 4296
102626e2
SM
42972013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4298
4299 * electric.el (electric-pair-mode): Improve interaction with
4300 electric-layout-mode.
4301 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4302 (electric-pair-syntax): Use text-mode-syntax-table in comments
4303 and strings.
4304 (electric-pair--insert): New function.
4305 (electric-pair-post-self-insert-function): Use it and
4306 electric--after-char-pos.
4307
ad528125
LL
43082013-06-19 Leo Liu <sdl.web@gmail.com>
4309
4310 * progmodes/octave.el (octave-help): Fix regexp.
4311
924d6997
G
43122013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4313
4314 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4315 (shr-table-horizontal-line): Allow nil as a value, and change the
4316 default.
4317 (shr-insert-table-ruler): Respect the nil value.
4318
43192013-06-18 Tom Tromey <tromey@barimba>
4320
4321 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4322 New defvars.
4323 (eww-open-file): New defun.
4324 (eww-render): Initialize new variables.
4325 (eww-display-html): Handle "link" and "a".
4326 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4327 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4328 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4329 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4330 New defuns.
924d6997 4331
d1bbba4f
DG
43322013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4333
4334 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4335 Distinguish ternary operator tokens from slash symbol and slash
4336 char literal.
4337
14dd22d2
JB
43382013-06-18 Juanma Barranquero <lekktu@gmail.com>
4339
4340 Convert symbol prettification into minor mode and global minor mode.
4341
4342 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4343 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4344 (prettify-symbols--keywords): Rename from
4345 `prog-prettify-symbols-alist' and make a local defvar.
4346 (prettify-symbols--compose-symbol): Rename from
4347 `prog--prettify-font-lock-compose-symbol'.
4348 (prettify-symbols--make-keywords): Rename from
4349 `prog-prettify-font-lock-symbols-keywords' and simplify.
4350 (prog-prettify-install): Remove.
4351 (prettify-symbols-mode): New minor mode, based on
4352 `prog-prettify-install'.
4353 (turn-on-prettify-symbols-mode): New function.
4354 (global-prettify-symbols-mode): New globalized minor mode.
4355
4356 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4357 * progmodes/cfengine.el (cfengine3-mode):
4358 * progmodes/perl-mode.el (perl-mode): Don't call
4359 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4360
292c880c
JL
43612013-06-18 Juri Linkov <juri@jurta.org>
4362
4363 * files-x.el (modify-file-local-variable-message): New function.
4364 (modify-file-local-variable)
4365 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4366 and call `modify-file-local-variable-message' when it's non-nil.
4367 (add-file-local-variable, delete-file-local-variable)
4368 (add-file-local-variable-prop-line)
4369 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4370 and use it. (Bug#9820)
4371
0950aa27
JL
43722013-06-18 Juri Linkov <juri@jurta.org>
4373
4374 * emulation/vi.el (vi-shell-op):
4375 * emulation/vip.el (vip-execute-com, ex-command):
4376 * emulation/viper-cmd.el (viper-exec-bang):
4377 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4378 the call of `shell-command-on-region'. (Bug#14637)
4379
4380 * simple.el (shell-command-on-region): Doc fix.
4381
8fbcca16
SM
43822013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4385 (bug#14633).
4386
dd7426ea
GM
43872013-06-18 Glenn Morris <rgm@gnu.org>
4388
4ba54f7d
GM
4389 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4390
dd7426ea
GM
4391 * newcomment.el (comment-search-forward, comment-search-backward):
4392 Doc fix. (Bug#14376)
4393
58aa805b
JB
43942013-06-18 Juanma Barranquero <lekktu@gmail.com>
4395
4396 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4397 (buffer-face-mode-invoke): Doc fix.
4398
9a08a617
MM
43992013-06-18 Matthias Meulien <orontee@gmail.com>
4400
4401 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4402 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4403
f2f426ca
GM
44042013-06-18 Glenn Morris <rgm@gnu.org>
4405
9445f99b
GM
4406 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4407 Replace obsolete function generic-make-keywords with its expansion.
4408
e0df2d14
GM
4409 * progmodes/python.el (ffap-alist): Declare.
4410
f2f426ca
GM
4411 * textmodes/reftex.el (bibtex-mode-map): Declare.
4412
f7f9a720
SM
44132013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4416 (package-unpack, package-unpack-single): Return the pkg-dir.
4417 (package-download-transaction): Use it to update package-alist.
4418
57ff04e0
LMI
44192013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4420
4421 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4422 possible choice.
4423
c048c022
JL
44242013-06-17 Juri Linkov <juri@jurta.org>
4425
4426 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4427
b5bcaee5
DG
44282013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4429
a020afb9
JB
4430 * emacs-lisp/package.el (package-load-descriptor):
4431 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4432 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4433
551e07e5
JB
44342013-06-17 Juanma Barranquero <lekktu@gmail.com>
4435
4436 * startup.el (command-line): Expand package name returned by
4437 `package--description-file' (bug#14639).
4438
d363bffb
DG
44392013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4440
4441 * emacs-lisp/package.el (package-load-descriptor): Do not call
4442 `emacs-lisp-mode', just use its syntax table.
4443
f612933b
JB
44442013-06-17 Juanma Barranquero <lekktu@gmail.com>
4445
4446 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4447 `font-lock-extra-managed-props' if any prettifying keyword is added.
4448 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4449 (prog-mode): Use `setq-local'.
4450
db3b7db5
SM
44512013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * international/characters.el (standard-case-table): Set syntax of ?»
4454 and ?« to punctuation.
4455
f3d674df
JB
44562013-06-16 Juanma Barranquero <lekktu@gmail.com>
4457
4458 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4459 Save relevant match data before calling `syntax-ppss' (bug#14595).
4460
31489a32
JL
44612013-06-15 Juri Linkov <juri@jurta.org>
4462
4463 * files-x.el (modify-file-local-variable-prop-line): Add local
4464 variables to the end of the existing comment on the first line.
4465 Use `file-auto-mode-skip' to skip interpreter magic line,
4466 and also skip XML declaration.
4467
66bd25ab
SM
44682013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4469
4470 * startup.el (package--builtin-versions): New var.
4471 (package-subdirectory-regexp): Remove.
4472 (package--description-file): Hard code its value instead.
4473
4474 * emacs-lisp/package.el: Don't activate packages older than builtin.
4475 (package-obsolete-list): Rename from package-obsolete-alist, and make
4476 it into a simple list of package-desc.
4477 (package-strip-version): Remove.
4478 (package-built-in-p): Use package--builtin-versions.
4479 (package-mark-obsolete): Simplify.
4480 (package-process-define-package): Mark it obsolete if older than the
4481 builtin version.
4482 (package-handle-response): Use line-end-position.
4483 (package-read-archive-contents, package--download-one-archive):
4484 Simplify.
4485 (package--add-to-archive-contents): Skip if older than the builtin or
4486 installed version.
4487 (package-menu-describe-package): Fix last change.
4488 (package-list-unversioned): New var.
4489 (package-menu--generate): Use it.
4490
4491 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4492 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4493 (autoload-builtin-package-versions): New variable.
4494 (autoload-generate-file-autoloads): Use them.
4495 Remove the list of autoloaded functions/macros from the
4496 (autoload...) comments.
4497
4498 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4499
9583ec36
EZ
45002013-06-15 Eli Zaretskii <eliz@gnu.org>
4501
4502 * simple.el (line-move-partial): Don't jump to the next screen
4503 line as soon as it becomes visible. Instead, continue enlarging
4504 the vscroll until the portion of a tall screen line that's left on
4505 display is about the height of the frame's default font.
4506 (Bug#14567)
4507
f0100d8a
GM
45082013-06-15 Glenn Morris <rgm@gnu.org>
4509
b86a85ca
GM
4510 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4511 compilation-error-regexp-alist void, or local while let-bound.
4512
f0100d8a
GM
4513 * progmodes/make-mode.el (makefile-mode-syntax-table):
4514 Treat "=" as punctuation. (Bug#14614)
4515
05e7ce90
JB
45162013-06-15 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * help-fns.el (describe-variable):
4519 Add extra line for permanent-local variables.
4520
12e5e86e
SH
45212013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4522
4523 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4524 Add export, import, library. (Bug#9164)
4525 (library): Set indent function.
4526
230dcbaf
GM
45272013-06-14 Glenn Morris <rgm@gnu.org>
4528
4529 * term/xterm.el (xterm--query):
4530 Stop after first matching handler. (Bug#14615)
4531
e36b2d20 45322013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4533
4534 Add support for dired in saveplace.
4535 * dired.el (dired-initial-position-hook): New variable.
4536 (dired-initial-position): Call hook to place cursor position.
4537 * saveplace.el (save-place-to-alist): Add dired position.
4538 (save-place-dired-hook): New function.
4539
0b31660d
SM
45402013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4541
bf1e6ae8
SM
4542 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4543 through a symbol rather than letrec.
4544
1b8dff23
SM
4545 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4546 (package-desc): Add `dir' field.
4547 (package-desc-full-name): New function.
4548 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4549 (package-maybe-load-descriptor): Remove.
4550 (package-load-all-descriptors): Just call package-load-descriptor.
4551 (package--disabled-p): New function.
4552 (package-desc-vers, package-desc-doc): Remove aliases.
4553 (package--dir): Remove function.
4554 (package-activate): Check if a package is disabled.
4555 (package-process-define-package): New function, extracted from
4556 define-package.
4557 (define-package): Turn into a place holder.
4558 (package-unpack-single, package-tar-file-info):
4559 Use package--description-file.
4560 (package-compute-transaction): Use package--disabled-p.
4561 (package-download-transaction): Don't call
4562 package-maybe-load-descriptor since they're all loaded anyway.
4563 (package-install): Change argument to be a pkg-desc.
4564 (package-delete): Use a single pkg-desc argument.
4565 (describe-package-1): Use package-desc-dir instead of package--dir.
4566 Use package-desc property instead of package-symbol.
4567 (package-install-button-action): Adjust accordingly.
4568 (package--push): Rewrite.
4569 (package-menu--print-info): Adjust accordingly. Change the ID format
4570 to be a pkg-desc.
4571 (package-menu-describe-package, package-menu-get-status)
4572 (package-menu--find-upgrades, package-menu-mark-upgrades)
4573 (package-menu-execute, package-menu--name-predicate):
4574 Adjust accordingly.
4575 * startup.el (package--description-file): New function.
4576 (command-line): Use it.
4577 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4578 Use package-desc-version.
4579
0b31660d
SM
4580 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4581 (byte-compile-preprocess): Use it.
4582 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4583 can't quite recognize.
4584 (byte-compile-add-to-list): Remove.
4585 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4586 (cconv-closure-convert): Add assertion.
4587
4588 * emacs-lisp/map-ynp.el: Use lexical-binding.
4589 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4590 Factor out some repeated code.
4591
de0503df
SM
45922013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * subr.el (with-eval-after-load): New macro.
4595 (eval-after-load): Allow form to be a function.
4596 take advantage of lexical-binding.
4597 (do-after-load-evaluation): Use dolist and adjust to new format.
4598 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4599
bc5c8c5a
JL
46002013-06-13 Juri Linkov <juri@jurta.org>
4601
4602 * replace.el (perform-replace): Display "symbol " and other search
4603 modes from `isearch-message-prefix' in the *Help* buffer.
4604
4605 * isearch.el (isearch-query-replace): Add " symbol" and other
4606 possible search modes from `isearch-message-prefix' to the prompt.
4607 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4608 when reading a regexp to collect.
4609
a22289f7
JL
46102013-06-13 Juri Linkov <juri@jurta.org>
4611
4612 * isearch.el (word-search-regexp): Match whitespace if the search
4613 string begins or ends in whitespace. The LAX arg is applied to
4614 both ends of the search string. Use `regexp-quote' and explicit
4615 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4616 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4617 boundaries are replaced with symbol boundaries, and characters
4618 between symbols match non-word non-symbol syntax. (Bug#14602)
4619
cb89acab
JL
46202013-06-13 Juri Linkov <juri@jurta.org>
4621
4622 * isearch.el (isearch-del-char): Don't exceed the length of
4623 `isearch-string' by the prefix arg. (Bug#14563)
4624
6e8cfc81
JL
46252013-06-13 Juri Linkov <juri@jurta.org>
4626
4627 * isearch.el (isearch-yank-word, isearch-yank-line)
4628 (isearch-char-by-name, isearch-quote-char)
4629 (isearch-printing-char, isearch-process-search-char):
4630 Add optional count prefix arg. (Bug#14563)
4631
4632 * international/isearch-x.el
4633 (isearch-process-search-multibyte-characters):
4634 Add optional count prefix arg.
4635
c23d55f4
VS
46362013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4637
4638 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4639 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4640 lexical-binding.
4641
46422013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4643
4644 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4645
ba947bc4
GM
46462013-06-13 Glenn Morris <rgm@gnu.org>
4647
8baeb37a
GM
4648 * startup.el (tty-handle-args):
4649 Don't just discard "--" and anything after. (Bug#14608)
4650
ba947bc4
GM
4651 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4652
9abefce4
MA
46532013-06-13 Michael Albinus <michael.albinus@gmx.de>
4654
4655 Implement changes in Secret Service API. Make it backward compatible.
4656 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4657 (secrets-create-item): Use it. Prefix properties with interface.
4658
5755011f
MH
46592013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4660
4661 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4662 (term-emulate-terminal): Respect term-suppress-hard-newline.
4663
1261d2da
S
46642013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4665
4666 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4667 Only remove a `thumb-file' overlay. (Bug#14548)
4668
868490bb
GJ
46692013-06-12 Grégoire Jadi <daimrod@gmail.com>
4670
4671 * mail/reporter.el (reporter-submit-bug-report):
4672 Handle missing package-name. (Bug#14600)
4673
79d7167f
TH
46742013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4675
4676 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4677 (reftex-citation-prompt, reftex-default-bibliography)
4678 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4679 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4680 (reftex-bib-sort-author, reftex-bib-sort-year)
4681 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4682 (reftex-extract-bib-entries-from-thebibliography)
4683 (reftex-get-bibkey-default, reftex-get-bib-names)
4684 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4685 (reftex-format-bib-entry, reftex-parse-bibitem)
4686 (reftex-format-bibitem, reftex-do-citation)
4687 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4688 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4689 (reftex-insert-bib-matches, reftex-format-citation)
4690 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4691 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4692 existing comments into docstrings.
4693
5f9dbd7a
XF
46942013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4695
4696 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4697
94df41ab
AS
46982013-06-12 Andreas Schwab <schwab@suse.de>
4699
4700 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4701 for auto-save files.
4702
a7f3fecc
GM
47032013-06-12 Glenn Morris <rgm@gnu.org>
4704
001809f6
GM
4705 * ido.el (ido-delete-ignored-files): Remove.
4706 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4707 Go back to calling ido-ignore-item-p directly.
a7f3fecc 4708
834b5ded
EL
47092013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4710
08c73ed2
EL
4711 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4712
834b5ded
EL
4713 * ido.el (ido-delete-ignored-files): New function,
4714 split from ido-make-file-list-1.
4715 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4716 (ido-make-file-list-1): Use ido-delete-ignored-files.
4717
daabf15a
LL
47182013-06-12 Leo Liu <sdl.web@gmail.com>
4719
4720 * progmodes/octave.el (inferior-octave-startup)
4721 (inferior-octave-completion-table)
4722 (inferior-octave-track-window-width-change)
4723 (octave-eldoc-function-signatures, octave-help)
4724 (octave-find-definition): Use single quoted strings.
4725 (inferior-octave-startup-args): Change default value.
4726 (inferior-octave-startup): Do not hard code "-i" and
4727 "--no-line-editing".
4728 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4729 (inferior-octave-directory-tracker): Use it.
4730 (octave-goto-function-definition): Robustify.
4731 (octave-help): Support highlighting operators in 'See also'.
4732 (octave-find-definition): Find subfunctions only in Octave mode.
4733
cf4e5178
SM
47342013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * help-fns.el (help-fns--compiler-macro): If the handler function is
4737 named, then put a link to it.
4738 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4739 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4740 (cl-typep): Use it.
4741 (cl-eval-when): Simplify debug spec.
4742 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4743 compiler-macro function instead of setting `compiler-macro-file'.
4744
99c81280 47452013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
4746
4747 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4748 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4749
f56be016
SM
47502013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4751 Daniel Hackney <dan@haxney.org>
4752
4753 First part of Daniel Hackney's patch to package.el.
4754 * emacs-lisp/package.el: Use defstruct.
4755 (package-desc): New, main struct.
4756 (package--bi-desc, package--ac-desc): New structs, used to describe the
4757 format in external files.
4758 (package-desc-vers): Replace with package-desc-version accessor.
4759 (package-desc-doc): Replace with package-desc-summary accessor.
4760 (package-activate-1): Remove `package' arg since the pkg-vec now
4761 includes the name.
4762 (define-package): Use package-desc-from-define.
4763 (package-unpack-single): Change file-name arg to be a symbol.
4764 (package--add-to-archive-contents): Use package-desc-create and new
4765 accessor functions to package--ac-desc.
4766 (package-buffer-info, package-tar-file-info): Return a package-desc.
4767 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4768 arg to be a package-desc.
4769 (package-install-file): Adjust accordingly. Use \' to match EOS.
4770 (package--from-builtin): New function.
4771 (describe-package-1, package-menu--generate): Use it.
4772 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4773 (package-generate-autoloads): Idem and return the name of the file.
4774 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4775 Change pkg-info arg to be a package-desc.
4776 Use package-make-ac-desc.
4777 (package-upload-file): Use \' to match EOS.
4778 * finder.el (finder-compile-keywords): Use package-make-builtin.
4779
31119d63
SM
47802013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4781
931a2762
SM
4782 * vc/vc.el (vc-deduce-fileset): Change error message.
4783 (vc-read-backend): New function.
4784 (vc-next-action): Use it.
4785
5a3eb0c6
SM
4786 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4787
e3eb1bb7
SM
4788 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4789 (prolog-font-lock-keywords): Use regexp-opt instead.
4790 Don't manually highlight strings.
4791 (prolog-mode-variables): Simplify comment-start-skip.
4792 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4793
31119d63
SM
4794 * emacs-lisp/generic.el (generic--normalise-comments)
4795 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4796 (generic-mode-set-comments): Use them.
4797 (generic-bracket-support): Use setq-local.
4798 (generic-make-keywords-list): Declare obsolete.
4799
7de135d0
GM
48002013-06-11 Glenn Morris <rgm@gnu.org>
4801
4802 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4803 Prettify after setting font-lock-defaults. (Bug#14574)
4804
fa6bc6fd
JB
48052013-06-11 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * replace.el (query-replace, occur-read-regexp-defaults-function)
4808 (replace-search):
4809 * subr.el (declare-function, number-sequence, local-set-key)
4810 (substitute-key-definition, locate-user-emacs-file)
4811 (with-silent-modifications, split-string, eval-after-load):
4812 Fix typos, remove unneeded backslashes and reflow some docstrings.
4813
cf1f9b9a
SM
48142013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4817 default for Elisp files.
4818
56602a4b
GM
48192013-06-11 Glenn Morris <rgm@gnu.org>
4820
4821 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4822 although define-derived-mode was doing this anyway. (Bug#14583)
4823
30ae0b2c
JB
48242013-06-10 Juanma Barranquero <lekktu@gmail.com>
4825
4826 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4827 Fix make-variable-buffer-local call to refer to the correct variable.
4828
fa472906
AG
48292013-06-10 Aidan Gauland <aidalgol@amuri.net>
4830
4831 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
4832 (eshell-visual-subcommands, eshell-visual-options):
4833 Add summary line to docstrings. Add cross-references.
fa472906 4834
ff4871b9
GM
48352013-06-10 Glenn Morris <rgm@gnu.org>
4836
4837 * epa.el (epa-read-file-name): New function. (Bug#14510)
4838 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4839
04fcf1b0
AG
48402013-06-09 Aidan Gauland <aidalgol@amuri.net>
4841
4842 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4843 output redirection to be ignored with visual commands.
4844
88b00caa
AG
48452013-06-09 Aidan Gauland <aidalgol@amuri.net>
4846
4847 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
4848 (eshell-term-initialize): Move long lambda to separate function
4849 eshell-visual-command-p.
e7b41c4c
JB
4850 * eshell/em-dirs.el (eshell-dirs-initialise):
4851 * eshell/em-script.el (eshell-script-initialize):
4852 Add missing #' to lambda.
88b00caa 4853
fda74125
LL
48542013-06-08 Leo Liu <sdl.web@gmail.com>
4855
4856 * progmodes/octave.el (octave-add-log-current-defun): New function.
4857 (octave-mode): Set add-log-current-defun-function.
4858 (octave-goto-function-definition): Do not move point if not found.
4859 (octave-find-definition): Enhance to try subfunctions first.
4860
467f3b33
GM
48612013-06-08 Glenn Morris <rgm@gnu.org>
4862
4863 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4864 (byte-compile-backward-char, byte-compile-backward-word):
4865 Improve previous change, to handle non-explicit nil.
4866
544badc3
SM
48672013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4870 (smie--opener/closer-at-point): New function.
4871 (smie--matching-block-data): Use it. Don't match from right after an
4872 opener or right before a closer. Obey smie-blink-matching-inners.
4873 Don't signal a mismatch for repeated inners like "switch..case..case".
4874
a175bf33
LL
48752013-06-07 Leo Liu <sdl.web@gmail.com>
4876
4877 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4878 to t. (Bug#14303)
ce8209d4
LL
4879 (octave-function-header-regexp): Fix. (Bug#14570)
4880 (octave-help-mode-finish-hook, octave-help-mode-finish):
4881 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
4882
4883 * newcomment.el (comment-search-backward): Revert last change.
4884 (Bug#14434)
4885
4886 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4887
a822acff
EZ
48882013-06-07 Eli Zaretskii <eliz@gnu.org>
4889
4890 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4891 through xargs, to avoid failure due to MS-Windows limitations on
4892 command-line length.
4893
961166f5
GM
48942013-06-06 Glenn Morris <rgm@gnu.org>
4895
d0341459
GM
4896 * font-lock.el (lisp-font-lock-keywords-2):
4897 Treat user-error like error.
4898
961166f5
GM
4899 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4900 (byte-compile-backward-char, byte-compile-backward-word):
4901 Handle explicit nil arguments. (Bug#14565)
4902
80fa505f
AM
49032013-06-05 Alan Mackenzie <acm@muc.de>
4904
4905 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 4906 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 4907 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 4908 (Bug#9706)
80fa505f 4909
fccdc796
SM
49102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * autorevert.el (auto-revert-notify-handler): Use memq.
4913 Hide assertion failure.
4914
4915 * skeleton.el: Use cl-lib.
4916 (skeleton-further-elements): Use defvar-local.
4917 (skeleton-insert): Use cl-progv.
4918
9bfff84b
TZ
49192013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4920
4921 * progmodes/prog-mode.el (prog-prettify-symbols)
4922 (prog-prettify-install): Update docstrings.
4923
55577e7c
SM
49242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * simple.el: Move all the prog-mode code to prog-mode.el.
4927 * progmodes/prog-mode.el: New file.
4928 * loadup.el: Add prog-mode.el.
4929
8fc57765
TZ
49302013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4931
4932 * simple.el (prog-prettify-symbols): Add version.
4933 (prog-prettify-install): Add convenience function to prettify symbols.
4934
4935 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4936 (perl--augmented-font-lock-keywords-1)
4937 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4938 variables and use it.
4939
4940 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4941 (cfengine3-mode): Remove unneeded variable and use it.
4942
4943 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4944 (lisp--augmented-font-lock-keywords-1)
4945 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4946 Remove unneeded variables and use it.
4947
650645d5 49482013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
4949
4950 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 4951 to point when opening the connection. (Bug#14380)
28f5da6d 4952
781b4af6
SM
49532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * subr.el (load-history-regexp, load-history-filename-element)
4956 (eval-after-load, after-load-functions, do-after-load-evaluation)
4957 (eval-next-after-load, display-delayed-warnings)
4958 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4959 definition of save-match-data.
4960 (overriding-local-map): Remove accidental obsolescence declaration.
4961
4962 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4963
3ca0d0b4
TZ
49642013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4965
4966 Generalize symbol prettify support to prog-mode and implement it
4967 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4968 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4969 (prog--prettify-font-lock-compose-symbol)
4970 (prog-prettify-font-lock-symbols-keywords): New variables and
4971 functions to support symbol prettification.
4972 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4973 (lisp--augmented-font-lock-keywords-1)
4974 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4975 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4976 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
4977 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4978 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
4979 * progmodes/perl-mode.el (perl-prettify-symbols)
4980 (perl--font-lock-compose-symbol)
4981 (perl--font-lock-symbols-keywords): Move to prog-mode.
4982 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4983 (perl-font-lock-keywords-1)
4984 (perl-font-lock-keywords-2): Remove explicit prettify support.
4985 (perl--augmented-font-lock-keywords)
4986 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
4987 (perl--augmented-font-lock-keywords-2, perl-mode):
4988 Implement prettify support.
3ca0d0b4 4989
976cb066
LL
49902013-06-05 Leo Liu <sdl.web@gmail.com>
4991
4992 Re-implement smie matching block highlight using
4993 show-paren-data-function. (Bug#14395)
4994 * emacs-lisp/smie.el (smie-matching-block-highlight)
4995 (smie--highlight-matching-block-overlay)
4996 (smie--highlight-matching-block-lastpos)
4997 (smie-highlight-matching-block)
4998 (smie-highlight-matching-block-mode): Remove.
4999 (smie--matching-block-data-cache): New variable.
5000 (smie--matching-block-data): New function.
5001 (smie-setup): Use smie--matching-block-data for
5002 show-paren-data-function.
5003
5004 * progmodes/octave.el (octave-mode-menu): Fix.
5005 (octave-find-definition): Skip garbage lines.
5006
208d0342
SM
50072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 Fix compilation error with simultaneous dynamic+lexical scoping.
5010 Add warning when a defvar appears after the first let-binding.
5011 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5012 (byte-compile-close-variables): Initialize it.
5013 (byte-compile--declare-var): New function.
5014 (byte-compile-file-form-defvar)
5015 (byte-compile-file-form-define-abbrev-table)
5016 (byte-compile-file-form-custom-declare-variable): Use it.
5017 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5018 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5019 (byte-compile-bind): Handle dynamic bindings that shadow
5020 lexical bindings.
5021 (byte-compile-unbind): Make arg non-optional.
5022 (byte-compile-let): Simplify.
5023 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5024 (cconv--analyse-function, cconv-analyse-form): Populate it.
5025 Protect byte-compile-bound-variables to limit the scope of defvars.
5026 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5027 Remove unneeded rule for `declare'.
5028
5029 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5030 so as to avoid depending on cl-adjoin at run-time.
5031 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5032
5033 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5034 (macroexp--warn-and-return): Use it.
5035
2587b005
LL
50362013-06-05 Leo Liu <sdl.web@gmail.com>
5037
5038 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5039
f1da3c88
LL
50402013-06-04 Leo Liu <sdl.web@gmail.com>
5041
5042 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5043 (compilation-auto-jump): Suppress the "Mark set" message to give
5044 way to exit message.
5045
3caa391f
AM
50462013-06-04 Alan Mackenzie <acm@muc.de>
5047
5048 Remove faulty optimisation from indentation calculation.
5049 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5050 search limit based on 2000 characters back from indent-point.
5051
068922a2
TH
50522013-06-03 Tassilo Horn <tsdh@gnu.org>
5053
5054 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5055
1f8fdd53
SM
50562013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5057
bbcc4d97
SM
5058 * emacs-lisp/lisp.el: Use lexical-binding.
5059 (lisp--local-variables-1, lisp--local-variables): New functions.
5060 (lisp--local-variables-completion-table): New var.
208d0342 5061 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5062
1f8fdd53
SM
5063 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5064 eagerly (bug#14422).
5065
c9628c79
MA
50662013-06-03 Michael Albinus <michael.albinus@gmx.de>
5067
5068 * autorevert.el (auto-revert-notify-enabled)
5069 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5070 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5071 (auto-revert-notify-handler): Handle also gfilenotify.
5072
e7b41c4c 5073 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5074 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5075 Remove.
c9628c79 5076
e5e4a942
JL
50772013-06-03 Juri Linkov <juri@jurta.org>
5078
5079 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5080 `M-s h .'. (Bug#14427)
5081
5082 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5083 command `hi-lock-face-symbol-at-point'.
5084 (hi-lock-face-symbol-at-point): New command.
5085 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5086 (hi-lock-menu): Add `highlight-symbol-at-point'.
5087 (hi-lock-mode): Doc fix.
5088
5089 * isearch.el (isearch-forward-symbol-at-point): New command.
5090 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5091 (isearch-highlight-regexp): Add a regexp which matches
5092 words/symbols for word/symbol mode.
5093
5094 * subr.el (find-tag-default-bounds): New function with the body
5095 mostly moved from `find-tag-default'.
5096 (find-tag-default): Move most code to `find-tag-default-bounds',
5097 call it and apply `buffer-substring-no-properties' afterwards.
5098
26b3353a
TH
50992013-06-03 Tassilo Horn <tsdh@gnu.org>
5100
781b4af6
SM
5101 * eshell/em-term.el (eshell-term-initialize):
5102 Use `cl-intersection' rather than `intersection'.
26b3353a 5103
51b60f53
XF
51042013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5105
fe054b63 5106 * vc/log-view.el: Doc fix.
d3ffe17c 5107 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5108
a0eb10b3 51092013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5110
5111 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5112 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5113 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5114 (eieio-unbound, eieio-default-superclass)
5115 (eieio--define-field-accessors, method-static, method-before)
5116 (method-primary, method-after, method-num-lists)
5117 (method-generic-before, method-generic-primary)
5118 (method-generic-after, method-num-slots)
5119 (eieio-specialized-key-to-generic-key)
5120 (eieio--check-type, class-v, class-p)
5121 (eieio-class-name, define-obsolete-function-alias)
5122 (eieio-class-parents-fast, eieio-class-children-fast)
5123 (same-class-fast-p, class-constructor, generic-p)
5124 (generic-primary-only-p, generic-primary-only-one-p)
5125 (class-option-assoc, class-option, eieio-object-p)
5126 (class-abstract-p, class-method-invocation-order)
5127 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5128 (eieio-class-un-autoload, eieio-defclass)
5129 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5130 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5131 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5132 (eieio-defgeneric-reset-generic-form)
5133 (eieio-defgeneric-form-primary-only)
5134 (eieio-defgeneric-reset-generic-form-primary-only)
5135 (eieio-defgeneric-form-primary-only-one)
5136 (eieio-defgeneric-reset-generic-form-primary-only-one)
5137 (eieio-unbind-method-implementations)
5138 (eieio--defmethod, eieio--typep)
5139 (eieio-perform-slot-validation, eieio-validate-slot-value)
5140 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5141 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5142 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5143 (eieio-slot-name-index, eieio-class-slot-name-index)
5144 (eieio-set-defaults, eieio-initarg-to-attribute)
5145 (eieio-attribute-to-initarg, eieio-c3-candidate)
5146 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5147 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5148 (eieio-class-precedence-list, eieio-generic-call-methodname)
5149 (eieio-generic-call-arglst, eieio-generic-call-key)
5150 (eieio-generic-call-next-method-list)
5151 (eieio-pre-method-execution-functions, eieio-generic-call)
5152 (eieio-generic-call-primary-only, eieiomt-method-list)
5153 (eieiomt-optimizing-obarray, eieiomt-install)
5154 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5155 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5156 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5157 (defclass): Remove `eval-and-compile' from macro.
5158 (call-next-method, shared-initialize): Instead of using
5159 `scoped-class' variable, use new eieio--scoped-class, and
5160 eieio--with-scoped-class.
5161 (initialize-instance): Rename local variable 'scoped-class' to
5162 'this-class' to remove ambiguitity from old global.
5163
5164 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5165 eieio.el.
4f405069
JB
5166 (eieio--scoped-class-stack): New variable.
5167 (eieio--scoped-class): New fcn.
890f7890
DE
5168 (eieio--with-scoped-class): New scoping macro.
5169 (eieio-defclass): Use pushnew instead of add-to-list.
5170 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5171 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5172 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5173 `scoped-class' variable, use new eieio--scoped-class, and
5174 eieio--with-scoped-class.
5175
5176 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5177
d105b0e2
TH
51782013-06-02 Tassilo Horn <tsdh@gnu.org>
5179
5180 * eshell/esh-ext.el (eshell-external-command): Pass args to
5181 `eshell-find-interpreter'.
5182 (eshell-find-interpreter): Add new second parameter ARGS.
5183
5184 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5185 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5186
5187 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5188 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5189
5190 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5191 (eshell-visual-options): New defcustom.
5192 (eshell-escape-control-x): Adapt docstring.
5193 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5194 `eshell-visual-options' in addition to `eshell-visual-commands'.
5195 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5196
f46305c8 51972013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5198
5199 * progmodes/python.el (python-indent-block-enders): Add break,
5200 continue and raise keywords.
5201
d870df21
GM
52022013-06-01 Glenn Morris <rgm@gnu.org>
5203
9133b82e
GM
5204 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5205
02c992ec 5206 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5207 * progmodes/cc-cmds.el (delete-forward-p):
5208 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5209 * progmodes/cc-engine.el (buffer-syntactic-context):
5210 * progmodes/cc-fonts.el (face-property-instance):
5211 * progmodes/cc-mode.el (set-keymap-parents):
5212 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5213 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5214 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5215 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5216 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5217
31e7b090
GM
5218 * progmodes/cc-vars.el (other): Emacs has this widget since
5219 at least 21.1, so don't (re)define it.
5220
d870df21
GM
5221 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5222 Replace the obsolete alias pcomplete-arg-quote-list.
5223
c75c93c7
LL
52242013-06-01 Leo Liu <sdl.web@gmail.com>
5225
5226 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5227 punctuation syntax.
5228 (inferior-octave-minimal-columns)
5229 (inferior-octave-last-column-width): New variables.
5230 (inferior-octave-track-window-width-change): New function.
5231 (inferior-octave-mode): Adjust column width so that Octave output,
5232 for example from 'ls', can fit into the window nicely.
5233
973d1e12
DG
52342013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5235
5236 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5237 Highlight expansions inside regexp literals.
5238
0888c286
GM
52392013-05-31 Glenn Morris <rgm@gnu.org>
5240
e26aac1f
GM
5241 * obsolete/sym-comp.el (symbol-complete):
5242 Replace obsolete completion-annotate-function.
5243
0888c286
GM
5244 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5245
19bb8e62
DG
52462013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5247
781b4af6
SM
5248 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5249 New function, checks if point is inside a literal that allows
19bb8e62
DG
5250 expression expansion.
5251 (ruby-syntax-propertize-expansion): Use it.
5252 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5253 around the body.
5254
01dea85f
JL
52552013-05-30 Juri Linkov <juri@jurta.org>
5256
5257 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5258 to "\M-si".
5259 (isearch-invisible): New variable.
5260 (isearch-forward): Doc fix.
5261 (isearch-mode): Set `isearch-invisible'
5262 to the value of `search-invisible'.
5263 (isearch-toggle-case-fold): Doc fix.
5264 (isearch-toggle-invisible): New command.
5265 (isearch-query-replace): Let-bind `search-invisible'
5266 to the value of `isearch-invisible'.
5267 (isearch-search): Use `isearch-invisible' instead of
5268 `search-invisible'. Let-bind `search-invisible'
5269 to the value of `isearch-invisible'. (Bug#11378)
5270
ab1bdce5
JL
52712013-05-30 Juri Linkov <juri@jurta.org>
5272
5273 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5274 call when `query-flag' is nil and `search-invisible' is non-nil.
5275 (Bug#11746)
5276
d6d236e2
GM
52772013-05-30 Glenn Morris <rgm@gnu.org>
5278
8accd027
GM
5279 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5280
2a8bed1c
GM
5281 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5282 (cc-require): Suppress spurious "noruntime" warnings.
5283 (cc-require-when-compile): Use fboundp, for sake of compiler.
5284
d6d236e2
GM
5285 * progmodes/cc-mode.el: Move load of cc-vars before that of
5286 cc-langs (which in turn loads cc-vars), to quieten compiler.
5287
9190b35b
SM
52882013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * paren.el: Simplify the code.
5291 (show-paren-mode): Always start the timer.
5292 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5293 (show-paren--overlay, show-paren--overlay-1): Rename from
5294 show-paren-overlay and show-paren-overlay-1, and initialize to an
5295 overlay rather than to nil.
5296 (show-paren-function): Misc cleanup and simplifications.
5297
4f8d1cf6
SM
52982013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * paren.el (show-paren-data-function): New hook.
5301 (show-paren--default): New function, extracted from show-paren-function.
5302 (show-paren-function): Use show-paren-data-function.
5303
02d844b5
GM
53042013-05-30 Glenn Morris <rgm@gnu.org>
5305
d209d4a9
GM
5306 * ielm.el (ielm-map, ielm-complete-symbol):
5307 Use completion-at-point rather than obsolete functions.
5308 (inferior-emacs-lisp-mode): Doc fix.
5309 Set completion-at-point-functions, rather than
5310 comint-dynamic-complete-functions.
5311
2082faa6
GM
5312 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5313 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5314 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5315
dd8620de
GM
5316 * image.el (image-animated-p): Tweak definition.
5317
ceca95b1
GM
5318 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5319 (rlogin-process-connection-type): Tweak default. Add set-after.
5320 (rlogin-host): Doc fix.
5321 (rlogin): Tweak prompt.
5322 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5323
ee9f1acc
GM
5324 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5325 * progmodes/tcl.el (inferior-tcl-mode-map):
5326 Use completion-at-point rather than obsolete alias.
5327
45ce222e
GM
5328 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5329
02d844b5
GM
5330 * minibuffer.el (read-file-name-completion-ignore-case):
5331 Move before completion--in-region, for eager macro expansion.
5332
ac44d6c1
JL
53332013-05-29 Juri Linkov <juri@jurta.org>
5334
5335 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5336 for total count of matching lines. Add `global-matches' for total
5337 count of matches. Rename `matches' to `lines' for count of
5338 matching lines. Add `matches' for count of matches.
5339 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5340 to `prev-line' for line number of prev match endpt.
5341 Increment `matches' for every match. Print the number of
5342 matching lines in the header.
5343 (occur-context-lines): Rename `lines' to `curr-line'.
5344 Rename `prev-lines' to `prev-line'. (Bug#14017)
5345
3c9c9d38
JL
53462013-05-29 Juri Linkov <juri@jurta.org>
5347
5348 * replace.el (perform-replace): Add `skip-read-only-count',
5349 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5350 Increment them for corresponding conditions and report the number
5351 of skipped occurrences in the final message. (Bug#11746)
5352 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5353 (replace-string, replace-regexp): Doc fix.
5354
33e249a2
SM
53552013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5356
8e399682
SM
5357 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5358
33e249a2 5359 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5360 prog-mode-map (bug#14504).
33e249a2 5361
f236dd84
LL
53622013-05-29 Leo Liu <sdl.web@gmail.com>
5363
5364 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5365 (octave-help): Small simplification.
5366
5367 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5368 off the highlight first.
5369
3694d13f
GM
53702013-05-29 Glenn Morris <rgm@gnu.org>
5371
03983bdc
GM
5372 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5373 Handle idlwave-last-system-routine-info-cons-cell being nil.
5374
bc74a74a
GM
5375 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5376 (idlwave-write-paths): Simplify via with-temp-buffer.
5377
8b394200
GM
5378 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5379 * emulation/cua-rect.el: Also load cua-base at run time.
5380
3694d13f
GM
5381 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5382 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5383 (cperl-imenu-on-info): Require imenu.
5384
336d7284
AM
53852013-05-28 Alan Mackenzie <acm@muc.de>
5386
5387 Handle "capitalised keywords" correctly.
33e249a2 5388 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5389
cb29c582
AG
53902013-05-28 Aidan Gauland <aidalgol@amuri.net>
5391
781b4af6 5392 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5393
690e44b2
GM
53942013-05-28 Glenn Morris <rgm@gnu.org>
5395
e658d75c
GM
5396 * vc/vc-arch.el (vc-exec-after): Declare.
5397 (vc-switches): Autoload.
5398 * vc/vc-bzr.el: No need to require vc when compiling.
5399 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5400 (vc-resynch-buffer, vc-dir-refresh): Declare.
5401 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5402 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5403 (vc-resynch-buffer): Declare.
5404 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5405 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5406 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5407 (grep-read-regexp, grep-read-files, grep-expand-template)
5408 (vc-dir-refresh): Declare.
5409 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5410 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5411 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5412 * vc/vc-mtn.el (vc-exec-after): Declare.
5413 (vc-switches): Autoload.
5414 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5415 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5416 (vc-file-tree-walk): Declare.
712b9732
GM
5417 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5418 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5419 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5420 * vc/vc-svn.el (vc-exec-after): Declare.
5421 (vc-switches, vc-setup-buffer): Autoload.
5422 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5423 Autoload.
5424 (vc-resynch-buffer): Declare.
5425
98e87fb3
GM
5426 * obsolete/fast-lock.el (byte-compile-warnings):
5427 Don't warn about obsolete features in this obsolete file.
5428
f5379553
GM
5429 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5430 Move definition before use.
5431
7a20ef83
GM
5432 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5433 (dun-unix-verbs): Remove dun-zippy.
5434 (dun-zippy): Remove function.
5435
690e44b2
GM
5436 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5437
3a52ccf7
JL
54382013-05-27 Juri Linkov <juri@jurta.org>
5439
5440 * replace.el (replace-search): New function with code moved out
5441 from `perform-replace'.
5442 (replace-highlight, replace-dehighlight): Move function definitions
5443 up closer to `replace-search'. (Bug#11746)
5444
d289938a
JL
54452013-05-27 Juri Linkov <juri@jurta.org>
5446
5447 * replace.el (perform-replace): Ignore invisible matches.
5448 In addition to checking `query-replace-skip-read-only', also
5449 filter out matches by calling `run-hook-with-args-until-failure'
5450 on `isearch-filter-predicates', and also check `search-invisible'
5451 for t or call `isearch-range-invisible'.
5452 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5453
66fc57e3
JL
54542013-05-27 Juri Linkov <juri@jurta.org>
5455
5456 * isearch.el (isearch-filter-predicates): Rename from
5457 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5458 (isearch-message-prefix): Display text from the property
5459 `isearch-message-prefix' of the currently active filters.
5460 (isearch-search): Don't compare `isearch-filter-predicate' with
5461 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5462 on `isearch-filter-predicates'. Also check `search-invisible' for t
5463 or call `isearch-range-invisible'.
5464 (isearch-filter-visible): Make obsolete.
5465 (isearch-lazy-highlight-search):
5466 Call `run-hook-with-args-until-failure' on
5467 `isearch-filter-predicates' and use `isearch-range-invisible'.
5468
5469 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5470 `isearch-filter-predicates' instead of `funcall'ing
5471 `isearch-filter-predicate'.
5472 (Info-mode): Set `Info-isearch-filter' to
5473 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5474
5475 * dired-aux.el (dired-isearch-filter-predicate-orig):
5476 Remove variable.
5477 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5478 (dired-isearch-filenames-end): Add and remove
5479 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5480 instead of changing the value of `isearch-filter-predicate'.
5481 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5482 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5483 Put property `isearch-message-prefix' to "filename " on
5484 `dired-isearch-filter-filenames'.
5485
5486 * wdired.el (wdired-change-to-wdired-mode):
5487 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5488 locally instead of changing `isearch-filter-predicate'.
5489 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5490
f1a60a0f
DG
54912013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5492
5493 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5494 return the commit hash (Bug#14459). Also set the
5495 `vc-git-detached' property.
5496 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5497 (vc-git-mode-line-string): Use the same help-echo format whether
5498 in detached mode or not, because we know the actual revision now.
5499 When in detached mode, shorten the revision to 7 chars.
5500
7f17cc40
SM
55012013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * emacs-lisp/easy-mmode.el (define-minor-mode):
5504 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5505 mode hook and provide a docstring.
5506
25c8401c
AM
55072013-05-27 Alan Mackenzie <acm@muc.de>
5508
5509 Remove spurious syntax-table text properties inserted by C-y.
5510 * progmodes/cc-mode.el (c-after-change): Also clear hard
5511 syntax-table property with value nil.
5512
dde84790
MA
55132013-05-27 Michael Albinus <michael.albinus@gmx.de>
5514
5515 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5516 when reading the events; the buffer layout shall not be changed.
5517
837fd9af
LL
55182013-05-27 Leo Liu <sdl.web@gmail.com>
5519
5520 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5521 New variable.
5522 (inferior-octave-directory-tracker): Automatically re-sync
5523 default-directory.
5524 (octave-help): Improve handling of 'See also'.
5525
4fd996b3
SM
55262013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5527
416f1802
SM
5528 * doc-view.el: Minor naming convention tweaks.
5529 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5530
4fd996b3
SM
5531 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5532 even if there's no `display' property yet (bug#14435).
5533
a052ef3b
EZ
55342013-05-25 Eli Zaretskii <eliz@gnu.org>
5535
4fd996b3 5536 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5537
5538 * Makefile.in (custom-deps, finder-data, autoloads)
5539 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5540 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5541 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5542
c9023370
SM
55432013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5546 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5547 Don't burp at EOB.
c9023370 5548
24d699fa
LL
55492013-05-25 Leo Liu <sdl.web@gmail.com>
5550
5551 * comint.el (comint-previous-matching-input): Do not flood the
5552 *Messages* buffer with trivial messages.
5553
17e5c0cc
SM
55542013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * progmodes/flymake.el (flymake-nop): Don't return a string.
5557 (flymake-set-at): Fix typo.
5558
5559 * simple.el (read--expression): New function, extracted from
5560 eval-expression. Set completion-at-point-functions (bug#14465).
5561 (eval-expression, eval-minibuffer): Use it.
5562
5d028165
XF
55632013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5564
5565 * progmodes/flymake.el (flymake-save-buffer-in-file)
5566 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5567 (flymake-selected-frame, flymake-log, flymake-ins-after)
5568 (flymake-set-at, flymake-get-buildfile-from-cache)
5569 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5570 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5571 Refine the doc string.
5572 (flymake-get-file-name-mode-and-masks): Reformat.
5573 (flymake-get-real-file-name-function): Fix a minor bug.
5574
7a1d7ba7
JL
55752013-05-24 Juri Linkov <juri@jurta.org>
5576
5577 * progmodes/grep.el (grep-mode-font-lock-keywords):
5578 Support =linenumber= format used by git-grep for lines with
5579 function names. (Bug#13549)
5580
650cff3d
SM
55812013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5584 0 after a semi-colon; it works better for smie-auto-fill.
5585 (octave--indent-new-comment-line): New function.
5586 (octave-indent-new-comment-line): Use it (indirectly).
5587 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5588 modify comment-line-break-function.
5589
5590 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5591 (smie-setup): Use add-function to set it.
5592
9631677d
SS
55932013-05-24 Sam Steingold <sds@gnu.org>
5594
5595 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5596 argument (before the `interactive' argument).
5597
50105835
SM
55982013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * image-mode.el (image-mode-winprops): Add winprops to
5601 image-mode-winprops-alist before running
5602 image-mode-new-window-functions.
5603 * doc-view.el (doc-view-new-window-function): Don't delay
5604 doc-view-goto-page via timers (bug#14435).
5605
57b9823e
TH
56062013-05-24 Tassilo Horn <tsdh@gnu.org>
5607
5608 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5609 (doc-view-desktop-save-buffer): New function.
5610 (doc-view-restore-desktop-buffer): New function.
50105835
SM
5611 (desktop-buffer-mode-handlers):
5612 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
5613 handler.
5614 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5615 `desktop-save-buffer' function.
5616
91aafa16
MA
56172013-05-24 Michael Albinus <michael.albinus@gmx.de>
5618
5619 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5620 (tramp-gvfs-file-name-handler): Raise a user error when
5621 `tramp-gvfs-enabled' is nil.
5622 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5623 Do not raise a user error when loading package. (Bug#14447)
5624
ec076379
MA
5625 * net/xesam.el: Move to obsolete/.
5626
db785726
GM
56272013-05-24 Glenn Morris <rgm@gnu.org>
5628
af5c7606
GM
5629 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5630
e5d1916a
GM
5631 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5632
ded62b08
GM
5633 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5634 (Info-find-node, Man-getpage-in-background): Declare.
5635
9e614a3f
GM
5636 * mail/unrmail.el (unrmail):
5637 Replace obsolete detect-coding-with-priority.
5638
892f8ca3
GM
5639 * net/socks.el (socks-split-string): Use this rather than split-string.
5640 (socks-nslookup-host): Update for above change.
5641 (dynamic-choice, s5-dynamic-choice-match)
5642 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5643 Comment out unused code.
5644
3c291973
GM
5645 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5646 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5647 (gud-tooltip-echo-area): Make obsolete.
5648 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5649
43cc956b
GM
5650 * progmodes/js.el (js--optimize-arglist): Declare.
5651
dab49a3b
GM
5652 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5653
36b9d085
GM
5654 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5655 (ediff-window-C): Declare.
5656
e354ae76
GM
5657 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5658 Tweak requires to silence compiler.
5659
b8e57bf4
GM
5660 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5661 (he-search-string, he-tried-table, he-expand-list)
5662 (he-init-string, he-string-member, he-substitute-string)
5663 (he-reset-string): Declare.
5664
db785726
GM
5665 * obsolete/options.el (list-options): Use custom-variable-p,
5666 rather than obsolete alias.
5667
b3531901
SS
56682013-05-23 Sam Steingold <sds@gnu.org>
5669
5670 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 5671 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
5672 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5673
bdda4c66
SM
56742013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * emacs-lisp/smie.el (smie-indent-forward-token)
5677 (smie-indent-backward-token): Handle string tokens (bug#14381).
5678
c43d45f9
TH
56792013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5680
fe1eb856
RS
5681 * ielm.el (ielm-menu): New menu.
5682 (inferior-emacs-lisp-mode): Set comment-start.
96172128 5683
fe1eb856
RS
56842013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5685
5686 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5687 Fix deactivate action.
5688
5689 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5690 Add cleveref macros.
074dd971 5691
c43d45f9
TH
5692 * lisp/textmodes/reftex-parse.el
5693 (reftex-locate-bibliography-files): Accept options for
5694 bibliography commands.
5695 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5696 Add addbibresource. Basic Biblatex support.
5697
7764286e
MA
56982013-05-23 Michael Albinus <michael.albinus@gmx.de>
5699
5700 * net/tramp-gvfs.el (top):
5701 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5702 when loading package. (Bug#14447)
5703
d361bc10
GM
57042013-05-23 Glenn Morris <rgm@gnu.org>
5705
8fa23984
GM
5706 * progmodes/js.el: No need to load comint when compiling.
5707 (ring-insert, comint-send-string, comint-send-input)
5708 (comint-last-input-end, ido-chop): Declare.
5709
a5c7df1a
GM
5710 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5711 * vc/ediff-mult.el: Adjust requires.
5712 (ediff-directories-internal, ediff-directory-revisions-internal)
5713 (ediff-patch-file-internal): Declare.
5714 * vc/ediff-ptch.el: Adjust requires.
5715 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5716 (ediff-find-file): Autoload.
5717 * vc/ediff-util.el: No need to load ediff when compiling.
5718 (ediff-regions-internal): Declare.
5719 * vc/ediff-wind.el: Adjust requires.
5720 (ediff-compute-toolbar-width): Define when compiling.
5721 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5722 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5723 (dired-get-filename, dired-get-marked-files)
5724 (ediff-last-dir-patch, ediff-patch-default-directory)
5725 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5726 (ediff-patch-buffer-internal): Declare.
5727
e2aec513
GM
5728 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5729 (ispell-process, ispell-buffer-local-words, lm-summary)
5730 (lm-section-start, lm-section-end): Declare.
5731 (checkdoc-ispell-init): Simplify.
5732
e68bbd7c
GM
5733 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5734 (he-string-member, he-reset-string, he-substitute-string): Declare.
5735
7efe0991
GM
5736 * eshell/em-ls.el: Adjust requires.
5737 (eshell-glob-regexp): Declare.
f87b1284
GM
5738 * eshell/em-tramp.el: Adjust requires.
5739 (eshell-parse-command): Autoload.
5740 * eshell/em-xtra.el: Adjust requires.
5741 (eshell-parse-command): Autoload.
5742 * eshell/esh-ext.el: Adjust requires.
5743 (eshell-parse-command, eshell-close-handles): Autoload.
5744 * eshell/esh-io.el: Adjust requires.
5745 (eshell-output-filter): Autoload.
5746 * eshell/esh-util.el: No need to load tramp when compiling.
5747 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5748 Declare.
5749 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5750 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5751 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5752 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5753 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5754 * eshell/esh-opt.el, eshell/esh-proc.el:
5755 * eshell/esh-var.el: Adjust requires.
5756 * eshell/eshell.el: Do not require esh-util twice.
5757 (eshell-add-input-to-history): Declare.
5758 (eshell-command): Check history module is active before using it.
5759
d361bc10
GM
5760 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5761
85d090a9
LL
57622013-05-22 Leo Liu <sdl.web@gmail.com>
5763
5764 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5765
5d0acd9d
MA
57662013-05-22 Michael Albinus <michael.albinus@gmx.de>
5767
5768 * autorevert.el (auto-revert-notify-add-watch)
5769 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5770 it indicates changes in file modification time.
5771
0cdffd7d
GM
57722013-05-22 Glenn Morris <rgm@gnu.org>
5773
ca5995ec
GM
5774 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5775 Always delete the autoloaded function from the noruntime and
5776 unresolved functions lists.
5777
6450907e
GM
5778 * allout.el: No need to load epa, epg, overlay when compiling.
5779 (epg-context-set-passphrase-callback, epg-list-keys)
5780 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5781 (epg-key-user-id-list): Declare.
5782
9c6906f6
GM
5783 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5784 (viper-set-parsing-style-toggling-macro)
5785 (viper-set-emacs-state-searchstyle-macros):
5786 Use called-interactively-p on Emacs.
5787 (viper-looking-back): Make it an obsolete alias. Update callers.
5788 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5789 Use looking-back rather than viper-looking-back.
5790 (viper-tmp-insert-at-eob, viper-enlarge-region)
5791 (viper-read-string-with-history, viper-register-to-point)
5792 (viper-append-to-register, viper-change-state-to-vi)
5793 (viper-backward-char-carefully, viper-forward-char-carefully)
5794 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5795 (viper-change-state-to-emacs): Declare.
5796 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5797 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5798 * emulation/viper-mous.el: Do not load viper-cmd.
5799 (viper-backward-char-carefully, viper-forward-char-carefully)
5800 (viper-forward-word, viper-adjust-window): Declare.
5801
5f70c169
GM
5802 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5803
b1b7f300
GM
5804 * progmodes/idlw-help.el (idlwave-help-fontify):
5805 Use called-interactively-p.
5806
f6ebbb46
GM
5807 * term/w32console.el (w32-get-console-codepage)
5808 (w32-get-console-output-codepage): Declare.
5809
0cdffd7d
GM
5810 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5811 Remove unnecessary declarations.
5812 (dframe-message): Doc fix.
5813
5814 * info.el (dframe-select-attached-frame, dframe-current-frame):
5815 Declare.
5816
5817 * speedbar.el (speedbar-message): Make it an obsolete alias.
5818 Update all callers.
5819 (speedbar-with-attached-buffer)
5820 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5821 (speedbar-with-writable): Use backquote.
5822 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5823 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5824 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5825 rather than speedbar- aliases.
5826 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5827 (speedbar-make-specialized-keymap, speedbar-insert-button)
5828 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5829 (speedbar-do-function-pointer): Declare.
5830 (rmail-speedbar-button, rmail-speedbar-find-file)
5831 (rmail-speedbar-move-message):
5832 Use dframe-with-attached-buffer rather than speedbar- alias.
5833 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5834 (dframe-message, speedbar-make-specialized-keymap)
5835 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5836 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5837 (speedbar-insert-button, dframe-select-attached-frame)
5838 (dframe-maybee-jump-to-attached-frame)
5839 (speedbar-change-initial-expansion-list)
5840 (speedbar-previously-used-expansion-list-name): Declare.
5841 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5842 Use dframe-message, dframe-with-attached-buffer rather than
5843 speedbar- aliases.
5844 (gud-sentinel): Silence compiler.
5845 * progmodes/vhdl-mode.el (speedbar-refresh)
5846 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5847 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5848 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5849 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5850 (speedbar-file-lists, speedbar-make-tag-line)
5851 (speedbar-line-directory, speedbar-goto-this-file)
5852 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5853 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5854 (speedbar-make-button, speedbar-reset-scanners)
5855 (speedbar-files-item-info, speedbar-line-text)
5856 (speedbar-find-file-in-frame, speedbar-set-timer)
5857 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5858 (speedbar-with-writable): Do not (re)define it.
5859 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5860 rather than speedbar- alias.
5861
ee44b62a
LL
58622013-05-21 Leo Liu <sdl.web@gmail.com>
5863
5864 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5865 menu items.
5866 (octave-mode): Tweak fill-nobreak-predicate.
5867 (inferior-octave-startup): Check process to avoid infinite loop.
5868 (inferior-octave): Pop to buffer first to show abornmal process
5869 exit information.
5870
640f050f
GM
58712013-05-21 Glenn Morris <rgm@gnu.org>
5872
79458038
GM
5873 * printing.el (pr-menu-bar): Define when compiling.
5874
9cc3e83f
LL
58752013-05-21 Leo Liu <sdl.web@gmail.com>
5876
5877 * progmodes/octave.el (octave-auto-fill): Remove.
5878 (octave-indent-new-comment-line): Improve.
5879 (octave-mode): Use auto fill mode through
4f405069 5880 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 5881 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 5882 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
5883 (octave-help): Show parent directory.
5884
f440830d
GM
58852013-05-21 Glenn Morris <rgm@gnu.org>
5886
5887 * files.el (dired-unmark):
5888 * progmodes/gud.el (gdb-input): Update declarations.
5889
5890 * calculator.el (electric, ehelp): No need to load when compiling.
5891 (Electric-command-loop, electric-describe-mode): Declare.
5892
5893 * doc-view.el (doc-view-current-converter-processes): Move before use.
5894
5895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5896 Move MODE-set-explicitly definition before use.
5897
5898 * international/mule-diag.el (mule-diag):
5899 Don't use obsolete window-system-version.
5900
5901 * mail/feedmail.el (smtpmail): No need to load when compiling.
5902 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5903
5904 * mail/mail-utils.el (rfc822): No need to load when compiling.
5905 (rfc822-addresses): Autoload it.
5906 (mail-strip-quoted-names): Trivial simplification.
5907
5908 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5909 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5910
5911 * net/snmp-mode.el (tempo): Don't duplicate requires.
5912
5913 * progmodes/prolog.el (info): No need to load when compiling.
5914 (comint): Require before shell requires it.
5915 (Info-goto-node): Autoload it.
5916 (Info-follow-nearest-node): Declare.
5917 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5918
5919 * textmodes/artist.el (picture-mode-exit): Declare.
5920
5921 * textmodes/reftex-parse.el (reftex-parse-from-file):
5922 Trivial rewrite so the compiler can parse it better.
5923
b4da2cbb
LL
59242013-05-20 Leo Liu <sdl.web@gmail.com>
5925
5926 * progmodes/octave.el (octave-help-mode-map)
5927 (octave-help-mode-finish-hook): New variables.
5928 (octave-help-mode, octave-help-mode-finish): New functions.
5929 (octave-help): Use octave-help-mode.
5930
33c0f65b
GM
59312013-05-20 Glenn Morris <rgm@gnu.org>
5932
5933 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5934
1a0a0a8a
DG
59352013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5936
5937 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5938 start at point, so that expansion starting right after opening
5939 slash in a regexp is recognized.
5940 (ruby-syntax-before-regexp-re): New defvar, extracted from
5941 ruby-syntax-propertize-function. Since the value of this regexp
5942 is looked up at runtime now, we should be able to turn
5943 `ruby-syntax-methods-before-regexp' into a defcustom later.
5944 (ruby-syntax-propertize-function): Split regexp matching into two
5945 parts, for opening and closing slashes. That allows us to skip
5946 over string interpolations and support multiline regexps.
5947 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5948 for them, which calls `ruby-syntax-propertize-expansion'.
5949 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5950 call to `ruby-syntax-propertize-function'.
5951 (ruby-syntax-propertize-expansion): Extracted from
5952 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
5953 (ruby-syntax-propertize-percent-literal): Leave point right after
5954 the percent symbol, so that the expression expansion rule can
5955 propertize the contents.
462388b6
DG
5956 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5957 heredoc openers.
5958 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 5959
c1a6c0a4
JL
59602013-05-18 Juri Linkov <juri@jurta.org>
5961
5962 * man.el (Man-default-man-entry): Remove `-' from the end
5963 of the default value. (Bug#14400)
5964
8051fccd
GM
59652013-05-18 Glenn Morris <rgm@gnu.org>
5966
5967 * comint.el (comint-password-prompt-regexp):
5968 Allow "password for XXX" where XXX contains colons (eg https://...).
5969
5e80b74f
LL
59702013-05-18 Leo Liu <sdl.web@gmail.com>
5971
5972 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 5973 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
5974 (octave-source-directories): Don't check process.
5975 (octave-source-directories, octave-find-definition): Doc fix.
5976
521a54c5
GM
59772013-05-18 Glenn Morris <rgm@gnu.org>
5978
86a94b05
GM
5979 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5980 Remove backspace/delete bindings. (Bug#14392)
5981
521a54c5
GM
5982 * cus-dep.el (custom-make-dependencies): Sort the output.
5983 (custom-versions-load-alist): Convert comment to doc.
5984
42caeb89
LL
59852013-05-17 Leo Liu <sdl.web@gmail.com>
5986
5987 * newcomment.el (comment-search-backward): Stricter in finding
5988 comment start. (Bug#14303)
5989
5990 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5991 (octave-comment-start-skip): Properly anchored.
5992
e219dd97
LL
59932013-05-17 Leo Liu <sdl.web@gmail.com>
5994
fe1eb856
RS
5995 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5996 Clean up when turned off. (Bug#14395)
e219dd97
LL
5997 (smie--highlight-matching-block-overlay): No longer buffer-local.
5998 (smie-highlight-matching-block): Adjust.
5999
dc5dcb4b
PE
60002013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6001
6002 Doc string fix for "nanoseconds" (Bug#14406).
6003 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6004 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6005
1db165f0
JB
60062013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6007
6008 * calc/calc-units.el (math-extract-units): Preserve powers
6009 of units.
6010
c7a8fcac
LL
60112013-05-17 Leo Liu <sdl.web@gmail.com>
6012
6013 * subr.el (delete-consecutive-dups): New function.
6014 * ido.el (ido-set-matches-1): Use it.
6015 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6016 * ido.el (ido-remove-consecutive-dups): Remove.
6017
f678b18a
SM
60182013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6021 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6022 regexp-opt's `words'.
6023
ebfe68e8
LL
60242013-05-16 Leo Liu <sdl.web@gmail.com>
6025
6026 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6027 (smie--highlight-matching-block-overlay)
6028 (smie--highlight-matching-block-lastpos)
6029 (smie--highlight-matching-block-timer): New variables.
6030 (smie-highlight-matching-block): New function.
6031 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6032 (smie-setup): Conditionally enable smie-blink-matching-open.
6033
bc8bc17d
WS
60342013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6035
6036 Sync with upstream verilog-mode r840.
6037 * progmodes/verilog-mode.el (verilog-mode-version)
6038 (verilog-mode-release-date): Update.
6039 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6040 (verilog-sig-tieoff): Fix string error on
6041 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6042 (verilog-read-decls): Fix parameters confusing
6043 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6044
df065a0b
EZ
60452013-05-16 Eli Zaretskii <eliz@gnu.org>
6046
6047 * subr.el (reveal-filename): New function.
6048
6049 * loadup.el: Compute Emacs executable versions on MS-Windows,
6050 where executables have the .exe extension. Add a hard link
6051 emacs-XX.YY.ZZ.exe on MS-Windows.
6052
6053 * Makefile.in (XARGS_LIMIT): New variable.
6054 (custom-deps, finder-data, autoloads)
6055 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6056 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6057 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6058 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6059
2d4bf34b
LL
60602013-05-16 Leo Liu <sdl.web@gmail.com>
6061
6062 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6063 (octave-mode-menu, octave-mode-map): Remove its uses.
6064
6b9c2d85
RZ
60652013-05-16 Reto Zimmermann <reto@gnu.org>
6066
6067 Sync with upstream vhdl mode v3.34.2.
6068 * progmodes/vhdl-mode.el: Use `push' throughout.
6069 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6070 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6071 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6072 (vhdl-actual-generic-name): New option to derive actual generic name.
6073 (vhdl-port-paste-signals): Replace formal by actual generics.
6074 (vhdl-beautify): New name for old group vhdl-align. Update users.
6075 (vhdl-beautify-options): New option.
6076 (vhdl-last-input-event): New compat alias. Use throughout.
6077 (vhdl-goto-line): Replace user level function `goto-line'.
6078 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6079 vhdl-fix-statement-buffer.
6080 (vhdl-create-mode-menu): Add some entries.
6081 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6082 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6083 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6084 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6085 to force statements on one line.
6086 (vhdl-remove-trailing-spaces-region):
6087 New, split from vhdl-remove-trailing-spaces.
6088 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6089 Respect vhdl-beautify-options.
6090 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6091 (vhdl-update-sensitivity-list): Not add with index if exists without.
6092 Not include array index with signal. Ignore keywords in comments.
6093 (vhdl-get-visible-signals): Regexp tweaks.
6094 (vhdl-template-component-inst): Handle empty library.
6095 (vhdl-template-type): Add template for 'enum' type.
6096 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6097 Use vhdl-replace-string.
6098 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6099 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6100 (vhdl-speedbar-initialize): Update for above name change.
6101 (vhdl-compose-wire-components): Fix in handling of constants.
6102 (vhdl-error-regexp-emacs-alist): New variable.
6103 (vhdl-error-regexp-add-emacs): New function;
6104 adds support for new compile.el (Emacs 22+)
6105 (vhdl-generate-makefile-1): Change target order for single lib. units.
6106 Allow use of absolute file names.
6107
9df4ec5e
LL
61082013-05-16 Leo Liu <sdl.web@gmail.com>
6109
6110 * simple.el (prog-indent-sexp): Indent enclosing defun.
6111
f5ba00a6
GM
61122013-05-15 Glenn Morris <rgm@gnu.org>
6113
ed8be7ff
GM
6114 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6115 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6116 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6117 (whitespace-highlight): Move to whitespace group.
6118
6119 * comint.el (comint-source):
6120 * pcmpl-linux.el (pcmpl-linux):
6121 * shell.el (shell-faces):
6122 * eshell/esh-opt.el (eshell-opt):
6123 * international/ccl.el (ccl): Remove empty custom groups.
6124
6125 * completion.el (dynamic-completion-mode):
6126 * jit-lock.el (jit-lock-debug-mode):
6127 * minibuffer.el (completion-in-region-mode):
6128 * type-break.el (type-break-mode-line-message-mode)
6129 (type-break-query-mode):
6130 * emulation/tpu-edt.el (tpu-edt-mode):
6131 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6132 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6133 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6134
6135 * term/xterm.el (xterm): Change parent group to terminals.
6136
6137 * master.el (master): Remove empty custom group.
6138 (master-mode): Remove unused :group argument.
6139 * textmodes/refill.el (refill): Remove empty custom group.
6140 (refill-mode): Remove unused :group argument.
6141
6142 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6143
82a7c41b
GM
6144 * cus-dep.el: Provide a feature.
6145 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6146 Don't mistakenly ignore files whose basenames match a basename
6147 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6148 Add a fallback method for getting :group.
f5ba00a6 6149
6d65486d
JL
61502013-05-15 Juri Linkov <juri@jurta.org>
6151
da547b32
JL
6152 * isearch.el (isearch-char-by-name): Rename from
6153 `isearch-insert-char-by-name'. Doc fix.
6154 (isearch-forward): Mention `isearch-char-by-name' in
6155 the docstring. (Bug#13348)
6156
6d65486d
JL
6157 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6158 `exit-minibuffer' instead of
6159 `isearch-nonincremental-exit-minibuffer'.
6160 (isearch-edit-string): Remove mention of
6161 `isearch-nonincremental-exit-minibuffer' from docstring.
6162 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6163 (isearch-forward-exit-minibuffer)
6164 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6165
c9990474
SM
61662013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6e911150
SM
6168 * loadup.el: Just use unversioned DOC.
6169
c9990474
SM
6170 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6171 literals as extending to EOB.
6172 (nxml-last-fontify-end): Remove unused variable.
6173 (nxml-after-change1): Use with-silent-modifications.
6174 (nxml-extend-after-change-region): Simplify.
6175 (nxml-extend-after-change-region1): Remove function.
6176 (nxml-after-change1): Don't adjust for dependent regions.
6177 (nxml-fontify-matcher): Simplify.
6178 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6179 (xmltok-add-dependent): Remove function.
6180 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6181 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6182 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6183 unclosed <[[, <?, comment, and other literals as extending to EOB.
6184 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6185 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6186 Remove functions.
6187 (rng-do-some-validation-1): Don't mark dependent regions.
6188 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6189 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6190 (nxml-clear-dependent-regions): Remove functions.
6191 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6192 (nxml-ensure-scan-up-to-date):
6193 Don't clear&mark dependent regions.
6194
e3772e98
LL
61952013-05-15 Leo Liu <sdl.web@gmail.com>
6196
c9990474
SM
6197 * progmodes/octave.el (octave-goto-function-definition):
6198 Improve and fix callers.
e3772e98 6199
5ac2eb34
SM
62002013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6201
c46c57b0
SM
6202 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6203 the setter (bug#14387).
6204
5ac2eb34
SM
6205 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6206 surrounding group (bug#14402).
6207
180ed218
JL
62082013-05-14 Juri Linkov <juri@jurta.org>
6209
6210 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6211 (Bug#14390)
6212
0ac0fecb
GM
62132013-05-14 Glenn Morris <rgm@gnu.org>
6214
6215 * progmodes/f90.el (f90-imenu-generic-expression):
6216 Fix typo in 2013-05-08 change. (Bug#14402)
6217
2e78e6a7
JPG
62182013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6219
5ac2eb34
SM
6220 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6221 Remove signals for which replies are never received.
2e78e6a7 6222
53267cca
JPG
62232013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6224
6225 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6226 (gdb-handler-alist, gdb-handler-number): Remove variables.
6227 (gdb-handler-list): New variable.
6228 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6229 (gdb-pending-handler-p, gdb-handle-reply)
6230 (gdb-remove-all-pending-triggers): New functions.
6231 (gdb-discard-unordered-replies): New defcustom.
6232 (gdb-handler): New defstruct.
6233 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6234 instead of gdb-pending-triggers. Update docstring.
6235 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6236 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6237 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6238 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6239 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6240 (gdb-frame-handler): Pending triggers are now automatically managed.
6241 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6242 Remove argument.
6243 (gdb-input): Automatically handles pending triggers. Update docstring.
6244 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6245 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6246 Update comments.
6247 (gdb-done-or-error): Now use gdb-handle-reply.
6248
d04ce803
JPG
62492013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6250
6251 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6252 gdb-debug-log.
6253
0114073a
GM
62542013-05-14 Glenn Morris <rgm@gnu.org>
6255
6256 * subr.el (user-emacs-directory-warning): New option.
6257 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6258
4d25fd7e
LL
62592013-05-14 Leo Liu <sdl.web@gmail.com>
6260
6261 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6262 during redisplay.
6263 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6264 (octave-font-lock-texinfo-comment): Fix invalid search bound
6265 error: wrong side of point.
4d25fd7e 6266
27c8b6eb
GM
62672013-05-14 Glenn Morris <rgm@gnu.org>
6268
61aaeb01
GM
6269 * progmodes/flymake.el (flymake-xml-program): New option.
6270 (flymake-xml-init): Use it.
6271
5bf90bc5
GM
6272 * term/xterm.el: Provide a feature.
6273
6274 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6275
f4c7dfd2
GM
62762013-05-13 Glenn Morris <rgm@gnu.org>
6277
6278 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6279 Add compat aliases as a hack workaround. (Bug#14384)
6280
2aeb3a1d
LL
62812013-05-13 Leo Liu <sdl.web@gmail.com>
6282
b0e069c2
LL
6283 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6284 ###, and %!.
f5a9432f
LL
6285 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6286 C-M-q.
b0e069c2
LL
6287 (octave-comment-start-skip): Include %!.
6288 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6289
30ea8374
LL
62902013-05-12 Leo Liu <sdl.web@gmail.com>
6291
6292 * progmodes/octave.el (inferior-octave-startup): Store the value
6293 of __octave_srcdir__ for octave-source-directories.
6294 (inferior-octave-check-process): New function refactored out of
6295 inferior-octave-send-list-and-digest.
6296 (octave-source-directories)
6297 (octave-find-definition-filename-function): New variables.
6298 (octave-source-directories)
6299 (octave-find-definition-default-filename): New functions.
6300 (octave-find-definition): Improve to find functions implemented in C++.
6301
472a3834
GM
63022013-05-12 Glenn Morris <rgm@gnu.org>
6303
6304 * calendar/diary-lib.el (diary-outlook-format-1):
6305 Don't include dayname in the output. (Bug#14349)
6306
3191b52f
GM
63072013-05-11 Glenn Morris <rgm@gnu.org>
6308
0060ac73
GM
6309 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6310
3191b52f
GM
6311 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6312 Treat cc-provide like provide.
6313
e065ba74
KR
63142013-05-11 Kevin Ryde <user42@zip.com.au>
6315
6316 * cus-dep.el (custom-make-dependencies):
6317 Use generated-autoload-load-name for the sake of files such
6318 such cedet/semantic/bovine/c.el, where the base file name
6319 is not in load-path. (Bug#5277)
6320
36f84c37
GM
63212013-05-11 Glenn Morris <rgm@gnu.org>
6322
6323 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6324 Provide features.
6325
c8730c3a
LL
63262013-05-11 Leo Liu <sdl.web@gmail.com>
6327
6328 * progmodes/octave.el (octave-indent-comment): Improve.
6329 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6330 (octave-eldoc-function-signatures, octave-eldoc-function):
6331 New functions.
c8730c3a
LL
6332 (octave-mode, inferior-octave-mode): Add eldoc support.
6333
212e29f2
RS
63342013-05-11 Richard Stallman <rms@gnu.org>
6335
6336 * epa.el (epa-decrypt-file): Take output file name as argument
6337 and read it using `interactive'.
6338
083fe0d7
LL
63392013-05-11 Leo Liu <sdl.web@gmail.com>
6340
6341 * progmodes/octave.el (octave-beginning-of-line)
6342 (octave-end-of-line): Check before using up-list because it jumps
6343 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6344 (octave-indent-comment): New function.
6345 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6346 (octave-begin-keywords, octave-end-keywords)
6347 (octave-reserved-words, octave-smie-bnf-table)
6348 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6349
8582e4c4
GM
63502013-05-11 Glenn Morris <rgm@gnu.org>
6351
f20def1f
GM
6352 * faces.el (internal-face-x-get-resource):
6353 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6354 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6355 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6356 Fix declarations.
f20def1f 6357
445f95e2
GM
6358 * calc/calc-menu.el: Make it loadable in isolation.
6359
6360 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6361 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6362 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6363 (eudc-bbdb-query-internal): Require 'bbdb.
6364
99fb2756
GM
6365 * lpr.el (lpr-headers-switches):
6366 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6367
6368 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6369
0da7ad96
GM
6370 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6371
8582e4c4
GM
6372 * term.el (term-set-escape-char): Make it idempotent.
6373
f71c50d0
LL
63742013-05-10 Leo Liu <sdl.web@gmail.com>
6375
5ac2eb34
SM
6376 * progmodes/octave.el (inferior-octave-completion-table):
6377 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6378 completion due to bug#11906.
6379 (octave-beginning-of-defun): Re-write to be more general.
6380
d5837773
GM
63812013-05-10 Glenn Morris <rgm@gnu.org>
6382
6383 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6384
027c0f75
SM
63852013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 * comint.el (comint-redirect-send-command-to-process): Use :around
6388 rather than :override for comint-redirect-filter.
6389 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6390 Call it instead of comint-redirect-original-filter-function (which
6391 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6392
4465bfb4
JD
63932013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6394
6395 * frame.el (display-monitor-attributes-list): Add NS case.
6396 (ns-display-monitor-attributes-list): Declare.
6397
2d809ffa 63982013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6399
6400 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6401
e54eeb9b
GM
64022013-05-09 Glenn Morris <rgm@gnu.org>
6403
56cd351d
GM
6404 * international/fontset.el (vertical-centering-font-regexp):
6405 Set standard-value.
6406
d84b6108
GM
6407 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6408
a931698a
GM
6409 * bookmark.el (bookmark-search-delay):
6410 * cus-start.el (vertical-centering-font-regexp):
6411 * ps-mule.el (ps-mule-font-info-database-default):
6412 * ps-print.el (ps-default-fg, ps-default-bg):
6413 * type-break.el (type-break-good-break-interval):
6414 * whitespace.el (whitespace-indentation-regexp)
6415 (whitespace-space-after-tab-regexp):
6416 * emacs-lisp/testcover.el (testcover-1value-functions)
6417 (testcover-noreturn-functions, testcover-progn-functions)
6418 (testcover-prog1-functions):
6419 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6420 * eshell/em-glob.el (eshell-glob-translate-alist):
6421 * play/tetris.el (tetris-tty-colors):
6422 * progmodes/cpp.el (cpp-face-default-list):
6423 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6424 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6425 (idlwave-help-browser-generic-args):
6426 * progmodes/make-mode.el (makefile-special-targets-list):
6427 * progmodes/python.el (python-shell-virtualenv-path):
6428 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6429 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6430 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6431 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6432 * textmodes/reftex-vars.el (reftex-format-label-function):
6433 * textmodes/remember.el (remember-diary-file): Fix custom types.
6434
e54eeb9b
GM
6435 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6436 Add :version.
6437
455851dd
LL
64382013-05-09 Leo Liu <sdl.web@gmail.com>
6439
6440 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6441 Restore file completion. (Bug#14300)
455851dd
LL
6442 (inferior-octave-startup): Fix incorrect highlighting for the
6443 first prompt.
6444
a9e4425b
SM
64452013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * progmodes/ruby-mode.el: First cut at SMIE support.
6448 (ruby-use-smie): New var.
6449 (ruby-smie-grammar): New constant.
6450 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6451 (ruby-smie--forward-token, ruby-smie--backward-token)
6452 (ruby-smie-rules): New functions.
6453 (ruby-mode-variables): Setup SMIE if applicable.
6454
060ca408
EZ
64552013-05-08 Eli Zaretskii <eliz@gnu.org>
6456
6457 * simple.el (line-move-visual): Signal beginning/end of buffer
6458 only if vertical-motion moved less than it was requested. Avoids
6459 silly incorrect error messages when there are display strings with
6460 multiple newlines at EOL.
6461
1d5963cc
SM
64622013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6465 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6466 (prolog-char-quote-workaround):
6467 * progmodes/cperl-mode.el (cperl-under-as-char):
6468 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6469 Mark as obsolete.
6470 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6471 their declaration.
6472 (vhdl-mode-syntax-table-init): Remove.
6473
c9990474
SM
6474 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6475 last change.
1d5963cc
SM
6476
6477 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6478 syntax for "_".
6479 (ld-script-font-lock-keywords):
6480 Change regexps to use things like \_< and \_>.
6481
6482 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6483 Change all regexps to use things like \_< and \_>.
6484
6485 * progmodes/autoconf.el (autoconf-definition-regexp)
6486 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6487 Handle a _ with symbol syntax.
6488 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6489
c9990474
SM
6490 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6491 Consolidate declaration.
1d5963cc
SM
6492 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6493 the declaration.
6494 (ada-create-syntax-table): Remove.
6495 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6496 already has the right syntax nowadays.
6497 (ada-goto-next-word): Don't change the syntax of "_".
6498
6499 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6500 with-wrapper-hook.
6501
72d3cfca
SS
65022013-05-08 Sam Steingold <sds@gnu.org>
6503
6504 * thingatpt.el (thing-at-point): Accept optional second argument
6505 NO-PROPERTIES to strip the text properties from the return value.
6506 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6507 to `thing-at-point' instead of stripping the properties ourselves.
6508 Also, when `thing-at-point' fails to find a url, prepend "http://"
6509 to the filename at point on the assumption that the user is
6510 pointing at something like gnu.org/gnu.
6511
5cb15713
JB
65122013-05-08 Juanma Barranquero <lekktu@gmail.com>
6513
6514 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6515 * faces.el (crm-separator):
6516 Silence byte-compiler.
6517
6518 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6519 (tool-bar-map): Remove unneeded defvars.
6520
ea78b95b
LL
65212013-05-08 Leo Liu <sdl.web@gmail.com>
6522
6523 Re-work a fix for bug#10994 based on Le Wang's patch.
6524 * ido.el (ido-remove-consecutive-dups): New helper.
6525 (ido-completing-read): Use it.
6526 (ido-chop): Revert fix for bug#10994.
6527
dc7466df
AS
65282013-05-08 Adam Spiers <emacs@adamspiers.org>
6529
6530 * cus-edit.el (custom-save-variables):
6531 Pretty-print long values. (Bug#14187)
6532
9ecf672a
GM
65332013-05-08 Glenn Morris <rgm@gnu.org>
6534
6535 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6536 (m4-mode-syntax-table): Init in the defvar.
6537 (m4-mode-abbrev-table): Let define-derived-mode define it.
6538
3f555be8
TT
65392013-05-08 Tom Tromey <tromey@redhat.com>
6540
6541 * progmodes/m4-mode.el (m4-mode-syntax-table):
6542 Do not treat "_" as word constituent. (Bug#14167)
6543
7cc8ae06
GM
65442013-05-07 Glenn Morris <rgm@gnu.org>
6545
4f58bc06
GM
6546 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6547 Remove explicit eshell-isearch-cancel-map.
6548
7cc8ae06
GM
6549 * progmodes/f90.el (f90-smart-end-names): New option.
6550 (f90-smart-end): Doc fix.
6551 (f90-end-block-optional-name): New constant.
6552 (f90-block-match): Respect f90-smart-end-names.
6553
ceb57e59
SM
65542013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6557 about implicit semi-colons (bug#14218).
6558
4e3f9230
YM
65592013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6560
6561 * frame.el (display-monitor-attributes-list)
6562 (frame-monitor-attributes): New functions.
6563
203a5572
LL
65642013-05-06 Leo Liu <sdl.web@gmail.com>
6565
6566 * progmodes/octave.el (octave-syntax-propertize-function): Change
6567 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6568 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6569 (octave-completion-at-point): Rename from
203a5572
LL
6570 octave-completion-at-point-function.
6571 (inferior-octave-directory-tracker): Robustify.
6572 (octave-text-functions): Remove and fix its uses. No such things
6573 any more.
6574
ee6cff99
SM
65752013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 * emacs-lisp/trace.el (trace--display-buffer): New function.
6578 (trace-make-advice): Use it.
6579
32985194
JL
65802013-05-06 Juri Linkov <juri@jurta.org>
6581
6582 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6583 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6584 Doc fix.
6585 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6586 in the help string. (Bug#12985)
6587
a1c700de
KD
65882013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6589
6590 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6591
c67c0839
SM
65922013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6593
323885fd
SM
6594 * progmodes/perl-mode.el: Add support for here documents.
6595 (perl-syntax-propertize-function): Match here-doc markers.
6596 (perl-syntax-propertize-special-constructs): Find their end.
6597 (perl-imenu-generic-expression): Use [:alnum:].
6598
c67c0839
SM
6599 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6600 (advice--add-function): Refresh the advice if already present
6601 (bug#14317).
6602
d491e7a8
IA
66032013-05-06 Ivan Andrus <darthandrus@gmail.com>
6604
6605 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6606
ddf9925e
GM
66072013-05-06 Glenn Morris <rgm@gnu.org>
6608
7cc3af27
GM
6609 * w32-fns.el (w32-charset-info-alist): Declare.
6610
16e343d6
GM
6611 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6612 of its defcustom properties.
6613 (eshell-cmpl-initialize): No need to load pcomplete.
6614
7d889a47
GM
6615 * generic-x.el: No need to require comint when compiling.
6616
ddf9925e
GM
6617 * net/eudc-export.el: Make it loadable without bbdb.
6618 (top-level): Use require rather than load-library.
6619 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6620 (eudc-batch-export-records-to-bbdb)
6621 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6622 Require bbdb.
6623
1e2c18df
SM
66242013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6627 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6628 some tweaks, instead.
6629
02502a5f
LL
66302013-05-05 Leo Liu <sdl.web@gmail.com>
6631
6632 * progmodes/octave.el (octave-font-lock-keywords)
6633 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6634 (inferior-octave-send-list-and-digest): Improve error message.
6635 (octave-mode, inferior-octave-mode): Use setq-local.
6636 (octave-help): Set info-lookup-mode.
6637
0dc04f42
RS
66382013-05-05 Richard Stallman <rms@gnu.org>
6639
6c54491c
RS
6640 * vc/compare-w.el (compare-windows-whitespace):
6641 Treat no-break space as whitespace.
6642
0dc04f42
RS
6643 * mail/rmailsum.el (rmail-summary-rmail-update):
6644 Detect empty summary and don't change selected message.
6645 (rmail-summary-goto-msg): Likewise.
6646
df8f35df
RS
6647 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6648 Doc fixes, rename args.
6649
5356e1a3
AM
66502013-05-05 Alan Mackenzie <acm@muc.de>
6651
6652 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6653
d44014cb
JL
66542013-05-05 Juri Linkov <juri@jurta.org>
6655
6656 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6657 to not add the length of the summary segment to the return value.
6658 (Bug#14125)
6659
c129b51f
LL
66602013-05-05 Leo Liu <sdl.web@gmail.com>
6661
6662 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6663 (inferior-octave-output-filter): Remove.
6664 (octave-send-region, inferior-octave-startup): Fix callers.
6665 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6666 (octave-binary-file-extensions): New user variable.
6667 (octave-find-definition): Confirm if opening binary files.
6668 (octave-help-file): Use octave-find-definition to get the binary
6669 confirmation.
6670 (octave-help): Adjust for octave-help-file change.
6671
aa7dab97
SM
66722013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6675 Merge the two entries that handle function definitions.
6676 (pascal--syntax-propertize): New const.
6677 (pascal-mode): Use it. Use setq-local.
6678
fd3a9a6b
GM
66792013-05-04 Glenn Morris <rgm@gnu.org>
6680
6681 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6682 (diary-from-outlook): Respect diary-from-outlook-function.
6683
30c7e542
SM
66842013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6687 Move the declaration from C.
6688 (read-minibuffer, eval-minibuffer): Move from C.
6689 (completion-setup-function): Avoid minibuffer-completion-contents.
6690
b54f978b
LL
66912013-05-03 Leo Liu <sdl.web@gmail.com>
6692
6693 * progmodes/octave.el (octave-font-lock-keywords): Do not
6694 dehighlight 'end' in comments or strings.
30c7e542
SM
6695 (octave-completing-read, octave-goto-function-definition):
6696 New helpers.
d4d0f9b3
LL
6697 (octave-help-buffer): New user variable.
6698 (octave-help-file, octave-help-function): New button types.
6699 (octave-help): New command and bind it to C-h ;.
6700 (octave-find-definition): New command and bind it to M-.
d74a1581 6701 (user-error): Alias to error if not defined.
b54f978b 6702
27135018
LL
67032013-05-02 Leo Liu <sdl.web@gmail.com>
6704
6705 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6706 for \. (bug#14332)
6707 (octave-font-lock-keywords): Include [ and {.
6708
0d634d3a
LL
67092013-05-02 Leo Liu <sdl.web@gmail.com>
6710
6711 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6712 (inferior-octave): Remove calling comint-mode and return the buffer.
6713 (inferior-octave-startup): Cosmetic changes.
6714
b4c8295e
LL
67152013-05-02 Leo Liu <sdl.web@gmail.com>
6716
30c7e542
SM
6717 * progmodes/octave.el (octave-syntax-propertize-function):
6718 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 6719
f12ad6ec
GM
67202013-05-02 Glenn Morris <rgm@gnu.org>
6721
6722 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6723 * desktop.el (vc-dir-mode): Just autoload it here.
6724
30cac1e0
AM
67252013-05-02 Alan Mackenzie <acm@muc.de>
6726
6727 Eliminate variable c-standard-font-lock-fontify-region-function.
6728 * progmodes/cc-mode.el
6729 (c-standard-font-lock-fontify-region-function): Remove.
6730 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6731
d8ef28b1
LL
67322013-05-01 Leo Liu <sdl.web@gmail.com>
6733
2640d52e 6734 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 6735 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 6736 variables were removed from Octave in 2007.
d8ef28b1
LL
6737 (inferior-octave-startup): Fix uses.
6738 (comint-line-beginning-position): Remove compatibility code for
6739 emacs 21.
6740
ac63ec89
JL
67412013-05-01 Juri Linkov <juri@jurta.org>
6742
6743 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6744
9e9be37c
JL
67452013-05-01 Juri Linkov <juri@jurta.org>
6746
6747 * comint.el (comint-previous-matching-input): Don't print message
6748 "History item: %d" when `isearch-mode' is active.
6749 (comint-history-isearch-message): Print message "History item: %d"
6750 when `comint-input-ring-index' is not empty and this function is
6751 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6752
9b92c13b
LL
67532013-05-01 Leo Liu <sdl.web@gmail.com>
6754
6755 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6756 definitions. Use completion-at-point to insert keywords.
6757 (octave-abbrev-start): Remove.
6758 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6759
b12d33d7
LL
67602013-04-30 Leo Liu <sdl.web@gmail.com>
6761
6762 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6763 change.
6764
3d1c39fa
AM
67652013-04-30 Alan Mackenzie <acm@muc.de>
6766
6767 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
6768 * progmodes/cc-engine.el (c-back-over-member-initializers):
6769 new function.
3d1c39fa
AM
6770 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6771 (most) member init lists.
6772
5147fc17
RS
67732013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6774
6775 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6776 variable.
6777
5b78d7fc
LL
67782013-04-30 Leo Liu <sdl.web@gmail.com>
6779
6780 * progmodes/octave.el (octave-variables): Remove. No builtin
6781 variables any more. All converted to functions.
6782 (octave-font-lock-keywords, octave-completion-at-point-function):
6783 Fix uses.
6784 (octave-font-lock-texinfo-comment): New user variable.
6785 (octave-texinfo-font-lock-keywords): New variable for texinfo
6786 comment block.
6787 (octave-function-comment-block): New face.
6788 (octave-font-lock-texinfo-comment): New function.
6789 (octave-mode): Font lock texinfo comment block.
6790
38d8527b
LL
67912013-04-29 Leo Liu <sdl.web@gmail.com>
6792
6793 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6794 indexing expression.
6795 (octave-continuation-string): Do not use \.
6796 (inferior-octave-complete-impossible): Remove.
6797 (inferior-octave-completion-table)
6798 (inferior-octave-completion-at-point): Remove its uses.
6799 (inferior-octave-startup): completion_matches was introduced to
6800 Octave in 1996 so safe to assume it.
6801 (octave-function-file-comment): Improve to follow how Octave does it.
6802 (octave-update-function-file-comment): Tweak.
6803
2ec12cb0
LL
68042013-04-29 Leo Liu <sdl.web@gmail.com>
6805
6806 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6807 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6808 (octave-function-file-comment): Fix typo.
6809 (octave-sync-function-file-names): Use read-char-choice.
6810
6eaed048
JB
68112013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6812
6813 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6814 to t for the less important warnings.
6815
3ffa2d4f
DH
68162013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6817
6818 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6819
685c9501
GM
68202013-04-27 Glenn Morris <rgm@gnu.org>
6821
6822 * vc/log-view.el (log-view-current-entry):
6823 Treat "---" separator lines as part of the following rev. (Bug#14169)
6824
0208ede7
JL
68252013-04-27 Juri Linkov <juri@jurta.org>
6826
6827 * subr.el (read-number): Doc fix about using it by interactive
6828 code letter `n'. (Bug#14254)
6829
5db9dace
JL
68302013-04-27 Juri Linkov <juri@jurta.org>
6831
6832 * desktop.el (desktop-auto-save-timeout): New option.
6833 (desktop-file-checksum): New variable.
6834 (desktop-save): Add optional arg `auto-save' and don't auto-save
6835 if nothing changed.
6836 (desktop-auto-save-timer): New variable.
6837 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6838 (after-init-hook): Call `desktop-auto-save-set-timer'.
6839 Suggested by Reuben Thomas <rrt@sc3d.org> in
6840 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6841
b7260dd4
LL
68422013-04-27 Leo Liu <sdl.web@gmail.com>
6843
6844 * progmodes/octave.el (octave-function-file-p)
6845 (octave-skip-comment-forward, octave-function-file-comment)
6846 (octave-update-function-file-comment): New functions.
6847 (octave-mode-map): Bind C-c ; to
6848 octave-update-function-file-comment.
6849 (octave-mode-menu): Add octave-update-function-file-comment.
6850 (octave-mode, inferior-octave-mode): Fix doc-string.
6851 (octave-insert-defun): Conform to Octave's coding convention.
6852 (Bug#14285)
6853
6854 * files.el (basic-save-buffer): Don't let errors in
6855 before-save-hook prevent saving buffer.
6856
c46da669
RW
68572013-04-20 Roland Winkler <winkler@gnu.org>
6858
6859 * faces.el (read-face-name): Use completing-read if arg multiple
6860 is nil.
6861
a81ee1eb
IL
68622013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6863
6864 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
6865 displayed, move point to after the totals line.
6866 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
6867 for the details.
6868
4fac34ce
SM
68692013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6872 Add current dir to the load-path.
6873 (package-generate-autoloads): Don't rely on
6874 autoload-ensure-default-file.
6875
f6bfc063
RT
68762013-04-26 Reuben Thomas <rrt@sc3d.org>
6877
d40ab5cf
BG
6878 * textmodes/remember.el (remember-store-in-files): Document that
6879 the file name format is passed to `format-time-string'.
f6bfc063 6880
e55d3b04
LL
68812013-04-26 Leo Liu <sdl.web@gmail.com>
6882
6883 * progmodes/octave.el (octave-sync-function-file-names): New function.
6884 (octave-mode): Use it in before-save-hook.
6885
e53052d3
SM
68862013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6887
140ef50c
SM
6888 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6889 (bug#14274).
6890
e53052d3
SM
6891 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6892 \n and comment, even if it's not an implicit ; (bug#14218).
6893
af80458d 68942013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
6895
6896 * subr.el (read-number): Once more use `read' rather than
6897 `string-to-number', to trap non-numeric input. (Bug#14254)
6898
af80458d 68992013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
6900
6901 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6902 Use `syntax-multiline' text property consistently instead of
8a621d53 6903 `font-lock-multiline'. (Bug#14237)
70203c2e 6904
e6ea1f6c
GM
69052013-04-26 Glenn Morris <rgm@gnu.org>
6906
6907 * emacs-lisp/shadow.el (list-load-path-shadows):
6908 No longer necessary to check for duplicate simple.el, since
6909 2012-07-07 change to init_lread to not include installation lisp
6910 directories in load-path when running uninstalled. (Bug#14270)
6911
070ccca4
LL
69122013-04-26 Leo Liu <sdl.web@gmail.com>
6913
6914 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6915 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 6916 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
6917 octave-in-string-or-comment-p.
6918 (octave-in-comment-p, octave-in-string-p)
6919 (octave-in-string-or-comment-p): Replace defsubst with defun.
6920
9d1c5fb6
PE
69212013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6922
6923 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6924
c034abda
BG
69252013-04-25 Bastien Guerry <bzg@gnu.org>
6926
6927 * textmodes/remember.el (remember-data-directory)
6928 (remember-directory-file-name-format): Fix custom types.
6929
584ea277
LL
69302013-04-25 Leo Liu <sdl.web@gmail.com>
6931
e53052d3
SM
6932 * progmodes/octave.el (octave-completion-at-point-function):
6933 Make use of inferior octave process.
584ea277
LL
6934 (octave-initialize-completions): Remove.
6935 (inferior-octave-completion-table): New function.
6936 (inferior-octave-completion-at-point): Use it.
6937 (octave-completion-alist): Remove.
6938
1693b06a
SM
69392013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6942 (opascal-mode-syntax-table): New var.
6943 (opascal-literal-kind, opascal-is-literal-end)
6944 (opascal-literal-token-at): Rewrite.
6945 (opascal--literal-start-re, opascal-font-lock-keywords)
6946 (opascal--syntax-propertize): New constants.
6947 (opascal-font-lock-defaults): Adjust.
6948 (opascal-mode): Use them. Set comment-<foo> variables as well.
6949 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6950 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6951 (delphi-other-face, opascal-other-face): Remove face variables.
6952 (opascal-save-state): Remove macro.
6953 (opascal-fontifying-progress-step): Remove constant.
6954 (opascal--ignore-changes): Remove var.
6955 (opascal-set-token-property, opascal-parse-next-literal)
6956 (opascal-is-stable-literal, opascal-complete-literal)
6957 (opascal-is-literal-start, opascal-face-of)
6958 (opascal-parse-region, opascal-parse-region-until-stable)
6959 (opascal-fontify-region, opascal-after-change)
6960 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6961 (opascal-debug-parse-region, opascal-debug-parse-window)
6962 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6963 (opascal-debug-fontify-buffer): Remove.
6964 (opascal-debug-mode-map): Adjust accordingly.
6965
be64c05d
LL
69662013-04-25 Leo Liu <sdl.web@gmail.com>
6967
6968 Merge octave-mod.el and octave-inf.el into octave.el with some
6969 cleanups.
6970 * progmodes/octave.el: New file renamed from octave-mod.el.
6971 * progmodes/octave-inf.el: Merged into octave.el.
6972 * progmodes/octave-mod.el: Renamed to octave.el.
6973
d79d37bd
TH
69742013-04-25 Tassilo Horn <tsdh@gnu.org>
6975
6976 * textmodes/reftex-vars.el
6977 (reftex-label-ignored-macros-and-environments): New defcustom.
6978
6979 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6980
ced3fc5d
SM
69812013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6984 (smie-indent-keyword): Improve the check to ensure that the next
6985 comment is really on the same line.
6986 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6987
6988 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6989 semi-colons if the line is not otherwise empty (bug#14218).
6990
1c141dad
GM
69912013-04-25 Glenn Morris <rgm@gnu.org>
6992
6993 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6994
5058062a
SM
69952013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * progmodes/opascal.el (opascal-set-token-property): Rename from
6998 opascal-set-text-properties and only set `token' (bug#14134).
6999 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7000 (opascal-literal-text-properties): Remove.
7001 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7002 Adjust callers.
7003
5db9dace 70042013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
7005
7006 * textmodes/remember.el (remember-handler-functions): Add an
7007 option for a new handler `remember-store-in-files'.
7008 (remember-data-directory, remember-directory-file-name-format):
7009 New options.
7010 (remember-store-in-files): New function to store remember notes
7011 as separate files within a directory.
7012
4391916c
MH
70132013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7014
7015 * progmodes/compile.el (compilation-next-error-function):
7016 Pass "formats" to compilation-find-file (bug#11777).
7017
bb7cdf58
GM
70182013-04-24 Glenn Morris <rgm@gnu.org>
7019
3b8fe752 7020 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
7021 * vc/vc-hg.el (vc-hg-print-log):
7022 * vc/vc-svn.el (vc-svn-print-log):
7023 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7024
bb7cdf58
GM
7025 * vc/vc-bzr.el (vc-bzr-print-log):
7026 * vc/vc-cvs.el (vc-cvs-print-log):
7027 * vc/vc-git.el (vc-git-print-log):
7028 * vc/vc-hg.el (vc-hg-print-log):
7029 * vc/vc-mtn.el (vc-mtn-print-log):
7030 * vc/vc-rcs.el (vc-rcs-print-log):
7031 * vc/vc-sccs.el (vc-sccs-print-log):
7032 * vc/vc-svn.el (vc-svn-print-log):
7033 * vc/vc.el (vc-print-log-internal): Doc fixes.
7034
b46a056e
GM
70352013-04-23 Glenn Morris <rgm@gnu.org>
7036
7037 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7038 Remove venerable code attempting to avoid substitute-command-keys.
7039
0aecf718
TH
70402013-04-23 Tassilo Horn <tsdh@gnu.org>
7041
4391916c
MH
7042 * textmodes/reftex-vars.el (reftex-label-regexps):
7043 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7044
117f94cf
SM
70452013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7046
4391916c 7047 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7048 Use lexical-binding.
7049 (jit-lock-force-redisplay): Use markers, check buffer's continued
7050 existence and beware narrowed buffers.
7051 (jit-lock-fontify-now): Adjust call accordingly.
7052
1d829c64
SM
70532013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7056 to avoid misleading the user.
7057
72d548a9
LL
70582013-04-22 Leo Liu <sdl.web@gmail.com>
7059
7060 * info-look.el: Prefer latex2e.info. (Bug#14240)
7061
d0853629
MA
70622013-04-22 Michael Albinus <michael.albinus@gmx.de>
7063
7064 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7065
7066 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7067 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7068 (tramp-set-completion-function, tramp-parse-putty):
7069 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7070 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7071 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7072 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7073 (tramp-call-local-coding-command): Use `tramp-call-process'
7074 instead of `tramp-compat-call-process'.
7075
7076 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7077 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7078 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7079 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7080 (tramp-maybe-send-script): Check for Perl binary.
7081 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7082
38cc0210
DU
70832013-04-22 Daiki Ueno <ueno@gnu.org>
7084
7085 * epg.el (epg-context-pinentry-mode): New function.
7086 (epg-context-set-pinentry-mode): New function.
7087 (epg--start): Pass --pinentry-mode option to gpg command.
7088
cc641ee1
XF
70892013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7090
02d844b5 7091 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7092 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7093 `completion-at-point'. (Bug#13774)
5d4e5c31 7094
cc641ee1
XF
7095 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7096 default key binding for `describe-distribution' has been moved to
7097 `C-h C-o'. (Bug#13970)
7098
1b42ee43
GM
70992013-04-21 Glenn Morris <rgm@gnu.org>
7100
7101 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7102 Add doc strings.
7103 (vc-print-log): Clarify interactive prompt.
7104
a6d63d97
GM
71052013-04-20 Glenn Morris <rgm@gnu.org>
7106
7107 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7108 No longer include timestamp etc information.
7109
d7f5c16f
RW
71102013-04-20 Roland Winkler <winkler@gnu.org>
7111
7112 * faces.el (read-face-name): Bug fix, return just one face if arg
7113 multiple is nil. (Bug#14209)
7114
bcd7a0a4
SM
71152013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7118 (remove-function): Autoload.
7119
7120 * comint.el (comint-redirect-original-filter-function): Remove.
7121 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7122 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7123 (vc-cvs-annotate-command):
bcd7a0a4
SM
7124 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7125 * progmodes/prolog.el (prolog-consult-compile):
7126 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7127 Use add/remove-function instead.
7128 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7129 (gud-tooltip-process-output, gud-tooltip-tips):
7130 Use add/remove-function instead.
7131 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7132 (scheme-interaction-mode, exit-scheme-interaction-mode):
7133 Use add/remove-function instead.
7134
7135 * vc/vc-dispatcher.el: Use lexical-binding.
7136 (vc--process-sentinel): Rename from vc-process-sentinel.
7137 Change last arg to be the code to run. Don't use vc-previous-sentinel
7138 and vc-sentinel-commands any more.
7139 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7140 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7141
e36b2d20 71422013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7143
bcd7a0a4 7144 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7145 Handle function names with a single character. (Bug#14111)
4d3268ba 7146
781b4af6 71472013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7148
7149 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7150 for subroutines defined in an eval (bug#14182).
7151
7d688336
TV
71522013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7153
7154 * bookmark.el (bookmark-completing-read): Improve handling of empty
7155 string (bug#14176).
7156
31dcede0
SM
71572013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7158
7159 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7160
adc31213
FEG
71612013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7162
7163 New faster Imenu implementation (bug#14058).
7164 * progmodes/python.el:
7165 (python-imenu-prev-index-position):
7166 (python-imenu-format-item-label-function)
7167 (python-imenu-format-parent-item-label-function)
7168 (python-imenu-format-parent-item-jump-label-function):
7169 New vars.
7170 (python-imenu-format-item-label)
7171 (python-imenu-format-parent-item-label)
7172 (python-imenu-format-parent-item-jump-label)
7173 (python-imenu--put-parent, python-imenu--build-tree)
7174 (python-imenu-create-index, python-imenu-create-flat-index)
7175 (python-util-popn): New functions.
7176 (python-mode): Set imenu-create-index-function to
7177 python-imenu-create-index.
7178
cdca8255
SM
71792013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * winner.el (winner-active-region): Use region-active-p, activate-mark
7182 and deactivate-mark (bug#14225).
7183
7184 * simple.el (deactivate-mark): Don't inline it.
7185
beb42340
MA
71862013-04-18 Michael Albinus <michael.albinus@gmx.de>
7187
7188 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7189
fc7f4d7e
TH
71902013-04-18 Tassilo Horn <tsdh@gnu.org>
7191
7192 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7193 file extensions from the archive-mode entry in order to prefer
7194 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7195
29f47822
LL
71962013-04-18 Leo Liu <sdl.web@gmail.com>
7197
7198 * bindings.el (help-event-list): Add ?\?.
7199
d36ed1c8
SM
72002013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * subr.el (with-wrapper-hook): Declare obsolete.
7203 * simple.el (filter-buffer-substring-function): New hook.
7204 (filter-buffer-substring): Use it.
7205 (filter-buffer-substring-functions): Mark obsolete.
7206 * minibuffer.el (completion-in-region-function): New hook.
7207 (completion-in-region): Use it.
7208 (completion-in-region-functions): Mark obsolete.
7209 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7210 * abbrev.el (abbrev-expand-function): New hook.
7211 (expand-abbrev): Use it.
7212 (abbrev-expand-functions): Mark obsolete.
7213 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7214 and :filter-return.
7215
04754d36
FEG
72162013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7217
7218 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7219 and do not care about match data.
7220
dd8791e9
SM
72212013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7224 completion tables when completing error conditions and
7225 `declare' arguments.
7226 (lisp-complete-symbol, field-complete): Mark as obsolete.
7227 (check-parens): Unmatched parens are user errors.
7228 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7229
ffe54a13
AM
72302013-04-17 Michal Nazarewicz <mina86@mina86.com>
7231
dd8791e9
SM
7232 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7233 command changed buffer (ie. `flyspell-pre-buffer' is not current
7234 buffer), which prevents making decisions based on invalid value of
7235 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7236 cause an error when `flyspell-pre-point' was nil after switching
7237 buffers.
7238 (flyspell-post-command-hook): No longer needs to change buffers when
7239 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7240
ec7e39f2
AM
72412013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7242
7243 * textmodes/ispell.el (ispell-add-per-file-word-list):
7244 Fix `flyspell-correct-word-before-point' error when accepting
7245 words and `coment-padding' is an integer by using
7246 `comment-normalize-vars' (Bug #14214).
7247
083850a6
FEG
72482013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7249
7250 New defun movement commands.
7251 * progmodes/python.el (python-nav--syntactically)
7252 (python-nav--forward-defun, python-nav-backward-defun)
7253 (python-nav-forward-defun): New functions.
7254
619ed6e1
FEG
72552013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7256
7257 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7258 (python-syntax-context): Use named compiler-macro for backwards
7259 compatibility with Emacs 24.x.
7260
7a1beb6c
LL
72612013-04-17 Leo Liu <sdl.web@gmail.com>
7262
7263 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7264 octave-hide-process-buffer.
7265
2d3fa3e5
SM
72662013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7269 (bug#14216).
7270
7ce5be54
JPG
72712013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7272
7273 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7274 Fix adjustment of offset when receiving incomplete responses from GDB
7275 (bug#14129).
7276
351edece
SM
72772013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7280 python-mode-abbrev-table.
7281 (python-skeleton-define): Adjust accordingly.
7282 (python-mode-abbrev-table): New table that inherits from it so that
7283 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7284
7285 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7286 (abbrev-symbol): Use it.
7287 (abbrev--before-point): Use it since we already handle inheritance.
7288
613f9481
LL
72892013-04-16 Leo Liu <sdl.web@gmail.com>
7290
7291 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7292 binding to info-lookup-symbol.
7293
51646b62
JB
72942013-04-16 Juanma Barranquero <lekktu@gmail.com>
7295
7296 * minibuffer.el (completion--twq-all):
7297 * term/ns-win.el (ns-initialize-window-system):
7298 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7299
efb3f01d
SM
73002013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7301
36c0a301
SM
7302 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7303 global bindings.
7304
efb3f01d
SM
7305 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7306
fb549d64
DG
73072013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7308
7309 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7310 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7311 to nil.
7312 (ruby-end-of-defun): Remove the unused arg, change the docstring
7313 to reflect that this function is only used as the value of
7314 `end-of-defun-function'.
7315 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7316 to reflect an earlier change that beginning/end-of-defun functions
7317 jump between methods in a class definition, as well as top-level
7318 functions.
7319
21e8fe2f
SM
73202013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * minibuffer.el (minibuffer-complete): Don't just scroll
7323 a *Completions* that's been iconified.
7324 (minibuffer-force-complete): Make sure repetitions do cycle when going
7325 through completion-in-region -> minibuffer-complete.
7326
20e527d0
AM
73272013-04-15 Alan Mackenzie <acm@muc.de>
7328
7329 Correct the placement of c-cpp-delimiters when there're #s not at
7330 col 0.
7331
7332 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7333 place a submatch around the #.
21e8fe2f
SM
7334 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7335 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7336 on the #, not BOL.
7337
dabefae5
SM
73382013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7339
7340 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7341 (advice--member-p): New arg `name'.
7342 (advice--add-function, advice-member-p): Use it (bug#14202).
7343
85c9ab64
AM
73442013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7345
7346 Reformulate java imenu-generic-expression.
7347 The old expression contained ill formed regexps.
7348
7349 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7350 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7351 (cc-imenu-java-method-arg-regexp): New defconsts.
7352 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7353 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7354 handling of spaces in the regexp.
7355
0f821d99
AM
73562013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7357
7358 * textmodes/ispell.el (ispell-command-loop): Remove
7359 flyspell highlight of a word when ispell accepts it (bug #14178).
7360
eb922adf
MA
73612013-04-15 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7364 uses code from the previous `ange-ftp-run-real-handler'.
7365 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7366 only in case that function exist. This is needed for proper
7367 unloading of Tramp.
7368
4d9a0979
TH
73692013-04-15 Tassilo Horn <tsdh@gnu.org>
7370
7371 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7372
7373 * textmodes/reftex.el (reftex-compile-variables): Use it.
7374
a829b0dc
SM
73752013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7376
91e8293c
SM
7377 * files.el (normal-mode): Only use default major-mode if no other mode
7378 was specified.
7379
830aed4d
SM
7380 * emacs-lisp/trace.el (trace-values): New function.
7381
a829b0dc
SM
7382 * files.el: Allow : in local variables (bug#14089).
7383 (hack-local-variable-regexp): New var.
7384 (hack-local-variables-prop-line, hack-local-variables): Use it.
7385
7ae9f0fb
RW
73862013-04-13 Roland Winkler <winkler@gnu.org>
7387
7388 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7389 data before it gets modified by bibtex-beginning-of-entry.
7390
6646e848
RW
73912013-04-13 Roland Winkler <winkler@gnu.org>
7392
7393 * textmodes/bibtex.el (bibtex-url): Doc fix.
7394
73952013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7396
7397 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7398 does not visit a BibTeX file, exclude it from the list of buffers
7399 returned by bibtex-initialize.
7400
0aa3616e
SB
74012013-04-13 Stephen Berman <stephen.berman@gmx.net>
7402
7403 * window.el (split-window): Remove interactive form, since as a
7404 command this function is a special case of split-window-below.
7405 Correct doc string.
7406
011cddd6
RW
74072013-04-12 Roland Winkler <winkler@gnu.org>
7408
7409 * faces.el (read-face-name): Do not override value of arg default.
7410 Allow single faces and strings as default values. Remove those
7411 elements from return value that are not faces.
7412 (describe-face): Simplify.
7413 (face-at-point): New optional args thing and multiple so that this
7414 function can provide the same functionality previously provided by
7415 read-face-name.
7416 (make-face-bold, make-face-unbold, make-face-italic)
7417 (make-face-unitalic, make-face-bold-italic, invert-face)
7418 (modify-face, read-face-and-attribute): Use face-at-point.
7419
7420 * cus-edit.el (customize-face, customize-face-other-window)
7421 * cus-theme.el (custom-theme-add-face)
7422 * face-remap.el (buffer-face-set)
7423 * facemenu.el (facemenu-set-face): Use face-at-point.
7424
f24e0036
MA
74252013-04-12 Michael Albinus <michael.albinus@gmx.de>
7426
7427 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7428
da3cda2d
TH
74292013-04-10 Tassilo Horn <tsdh@gnu.org>
7430
7431 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7432 off leading { and trailing } from field values.
7433
15e54145
SM
74342013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7435
78ce603d
SM
7436 * emacs-lisp/timer.el (timer--check): New function.
7437 (timer--time, timer-set-function, timer-event-handler): Use it.
7438 (timer-set-idle-time): Simplify.
7439 (timer--activate): CSE.
7440 (timer-event-handler): Give more info in error message.
7441 (internal-timer-start-idle): New function, moved from C.
7442
15e54145
SM
7443 * mpc.el (mpc-proc): Add `restart' argument.
7444 (mpc-proc-cmd): Use it.
7445 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7446 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7447 less often.
7448
7144c627
MY
74492013-04-10 Masatake YAMATO <yamato@redhat.com>
7450
7451 * progmodes/sh-script.el: Implement `sh-mode' own
7452 `add-log-current-defun-function' (bug#14112).
7453 (sh-current-defun-name): New function.
7454 (sh-mode): Use the function.
7455
b39792eb
BG
74562013-04-09 Bastien Guerry <bzg@gnu.org>
7457
7458 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7459
8acdeb71
SM
74602013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7461
6fcdab68
SM
7462 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7463
8acdeb71
SM
7464 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7465 timer (bug#14156).
7466
e3e7b504
NF
74672013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7468
7469 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7470 declaration.
7471
201bb296
LL
74722013-04-07 Leo Liu <sdl.web@gmail.com>
7473
7474 * pcmpl-x.el: New file.
7475
ebb19708
DA
74762013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7477
7478 Do not set x-display-name until X connection is established.
7479 This is needed to prevent from weird situation described at
7480 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7481 * frame.el (make-frame): Set x-display-name after call to
7482 window system initialization function, not before.
7483 * term/x-win.el (x-initialize-window-system): Add optional
7484 display argument and use it.
7485 * term/w32-win.el (w32-initialize-window-system):
7486 * term/ns-win.el (ns-initialize-window-system):
7487 * term/pc-win.el (msdos-initialize-window-system):
7488 Add compatible optional display argument.
7489
33bb237a
EZ
74902013-04-06 Eli Zaretskii <eliz@gnu.org>
7491
7492 * files.el (normal-backup-enable-predicate): On MS-Windows and
7493 MS-DOS compare truenames of temporary-file-directory and of the
7494 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7495 don't fail comparison by compare-strings. Also, compare file
7496 names case-insensitively on MS-Windows and MS-DOS.
7497
134abf1f
SM
74982013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7501 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7502
d695cb94
DG
75032013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7504
e3e7b504
NF
7505 * whitespace.el (whitespace-color-on, whitespace-color-off):
7506 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7507
f4ad7ea1 75082013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7509
7510 * ispell.el (ispell-set-spellchecker-params):
7511 Really set `ispell-args' for all equivs.
7512
632556e4
SM
75132013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * ido.el (ido-completions): Use extra elements of ido-decorations
7516 (bug#14143).
7517 (ido-decorations): Update docstring.
7518
2a417372
MA
75192013-04-05 Michael Albinus <michael.albinus@gmx.de>
7520
7521 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7522 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7523 nil during initialization, in order not to miss changes since the
7524 file was opened. (Bug#14140)
7525
fc164b0c
LL
75262013-04-05 Leo Liu <sdl.web@gmail.com>
7527
7528 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7529
0ccecc08
JB
75302013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7531
7532 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7533
51af1aa2
GM
75342013-04-04 Glenn Morris <rgm@gnu.org>
7535
7536 * electric.el (electric-pair-inhibit-predicate): Add :version.
7537
b208ebc6
SM
75382013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7541 when a package is required several times (bug#14082).
7542
f3d3eaf0
RW
75432013-04-04 Roland Winkler <winkler@gnu.org>
7544
7545 * faces.el (read-face-name): Behave as promised by the docstring.
7546 Assume that arg default is a list of faces.
7547 (describe-face): Call read-face-name with list of default faces.
7548
2575da50
TV
75492013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7550
7551 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7552 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7553 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7554 the header.
7555 (bookmark-exit-hook-internal): Save even if list is empty.
7556
397703b4
YH
75572013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7558
7559 * emacs-lisp/package.el (package-pinned-packages): New var.
7560 (package--add-to-archive-contents): Obey it (bug#14118).
7561
691e26ae
AM
75622013-04-03 Alan Mackenzie <acm@muc.de>
7563
8a621d53
JB
7564 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7565 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7566
7567 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7568 parameter `not-in-delimiter'. Handle being inside comment opener.
7569 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7570 character in case we're typing a '*' after a '/'.
7571 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7572 instead by passing the parameter to c-state-pp-to-literal.
7573
7574 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7575 for elt. 7 of a parse state.
7576
4b725a70
PE
75772013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7578
7579 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7580 * international/latin1-disp.el, international/mule-util.el:
7581 * language/cyril-util.el, language/european.el, language/ind-util.el:
7582 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7583 * language/tibetan.el, language/viet-util.el:
7584 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7585
15c579f0
SM
75862013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7589 (electric-pair-post-self-insert-function): Use it.
7590 (electric-pair-default-inhibit): New function, extracted from
7591 electric-pair-post-self-insert-function.
7592
a77e2924
RW
75932013-03-31 Roland Winkler <winkler@gnu.org>
7594
7595 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7596
2bd8a4a8
SM
75972013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7600
8d3655be 76012013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
7602
7603 Un-indent after "pass" and "return" statements (Bug#13888)
7604 * progmodes/python.el (python-indent-block-enders): New var.
7605 (python-indent-calculate-indentation): Use it.
7606
8d3655be 76072013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
7608
7609 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7610 defun. Defining it as defalias could introduce too eager
7611 byte-compiler optimization. (Bug#14030)
7612
8d3655be 76132013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
7614
7615 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7616
0b1619da
LL
76172013-03-30 Leo Liu <sdl.web@gmail.com>
7618
7619 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7620 (kmacro-execute-from-register): Pass the keyboard macro to
7621 kmacro-call-macro or repeating won't work correctly.
7622
0b938190
TZ
76232013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7624
7625 * progmodes/subword.el: Back to using `forward-symbol'.
7626
7627 * subr.el (forward-whitespace, forward-symbol)
7628 (forward-same-syntax): Move from thingatpt.el.
7629
35710234
LL
76302013-03-29 Leo Liu <sdl.web@gmail.com>
7631
7632 * kmacro.el (kmacro-to-register): New command.
7633 (kmacro-execute-from-register): New function.
7634 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7635
efc0bb73
SM
76362013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * mpc.el: Use defvar-local and setq-local.
7639 (mpc--proc-connect): Connection failures are not bugs.
7640 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7641 (mpc-volume-map): Bind to the up-events.
7642
75a2f981
TZ
76432013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7644
7645 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7646 instead of `forward-symbol'.
7647
17c781d1
SM
76482013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7651 (edebug--recursive-edit): Use it.
7652 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7653 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7654
f67bfbcf
LL
76552013-03-28 Leo Liu <sdl.web@gmail.com>
7656
7657 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7658
b59f639d
EZ
76592013-03-27 Eli Zaretskii <eliz@gnu.org>
7660
7661 * facemenu.el (list-colors-callback): New defvar.
7662 (list-colors-redisplay): New function.
7663 (list-colors-display): Install list-colors-redisplay as the
7664 revert-buffer-function. (Bug#14063)
7665
f557c1b1
SM
76662013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7667
b1da2957
SM
7668 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7669 and suffixes don't overlap (bug#14061).
7670
f557c1b1
SM
7671 * case-table.el: Use lexical-binding.
7672 (case-table-get-table): New function.
7673 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7674
002668e1
TZ
76752013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7676
7677 * progmodes/subword.el: Add `superword-mode' to do word motion
7678 over symbol_words (parallels and leverages `subword-mode' which
7679 does word motion inside MixedCaseWords).
7680
73572c72
AG
76812013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7682
78b8f320 7683 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 7684 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 7685
69b2c07e
SM
76862013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7689 Change return value to be a sexp. Delay `get-buffer' to after
7690 restoring the desktop (bug#13951).
7691
08bb5ee2
LL
76922013-03-26 Leo Liu <sdl.web@gmail.com>
7693
7694 * register.el: Move semantic tag handling back to
7695 cedet/semantic/senator.el. (Bug#14052)
7696
8d4c974e
SM
76972013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7700 into the prompt either (bug#13963).
7701
b234d92c
SM
77022013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7705 part of "(error-foo)".
7706
ddfa3cb4
JL
77072013-03-24 Juri Linkov <juri@jurta.org>
7708
7709 * replace.el (list-matching-lines-prefix-face): New defcustom.
7710 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7711 `occur-engine' if `face-differs-from-default-p' returns t.
7712 (occur-engine): Add `,' inside backquote construct to evaluate
7713 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7714 Pass `prefix-face' to the functions `occur-context-lines' and
7715 `occur-engine-add-prefix'.
7716 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7717 `prefix-face' and propertize the prefix with `prefix-face'.
7718 (Bug#14017)
7719
7b0e2f85
LL
77202013-03-24 Leo Liu <sdl.web@gmail.com>
7721
7722 * nxml/rng-valid.el (rng-validate-while-idle)
7723 (rng-validate-quick-while-idle): Guard against deleted buffer.
7724 (Bug#13999)
7725
7726 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7727 is the last entry in kill-buffer-hook.
7728
7729 * files.el (kill-buffer-hook): Doc fix.
7730
b3082f49
DG
77312013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7732
b234d92c
SM
7733 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7734 Make it safe-local.
bde73d27 7735
b3082f49
DG
7736 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7737
a320a2db
LL
77382013-03-23 Leo Liu <sdl.web@gmail.com>
7739
7e74b0fb
LL
7740 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7741 Remove.
7742
7743 * nxml/rng-valid.el (rng-validate-mode)
7744 (rng-after-change-function, rng-do-some-validation):
7745 * nxml/rng-maint.el (rng-validate-buffer):
7746 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7747 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7748 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7749 (nxml-extend-after-change-region): Use with-silent-modifications.
7750
a320a2db
LL
7751 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7752 timer-idle-list.
7753
7754 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7755 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7756 timer-idle-list. (Bug#13999)
7757
e38e6780
JL
77582013-03-23 Juri Linkov <juri@jurta.org>
7759
7760 * info.el (info-index-match): New face.
7761 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7762 main pattern and add text properties with the new face to matches
7763 in index entries relative to the beginning of the index entry.
7764 (Bug#14015)
7765
e8cc7880
DE
77662013-03-21 Eric Ludlam <zappo@gnu.org>
7767
7768 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7769 Inhibit read only while inserting objects.
7770
9bb0d822
TZ
77712013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7772
7773 * progmodes/cfengine.el: Update docs to mention
7774 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7775 symbol motion. Remove "_" from the word syntax.
7776
aa703640
TZ
77772013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7778
7779 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7780 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7781
afff09d0
JL
77822013-03-20 Juri Linkov <juri@jurta.org>
7783
7784 * info.el (Info-next-reference-or-link)
7785 (Info-prev-reference-or-link): New functions.
7786 (Info-next-reference, Info-prev-reference): Use them.
7787 (Info-try-follow-nearest-node): Handle footnote navigation.
7788 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7789
9a1ff164
SM
77902013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7793 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7794
2667d15d
PE
77952013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7796
7797 Suppress unnecessary non-ASCII chatter during build process.
7798 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7799 (batch-skkdic-convert): Suppress most of the chatter.
7800 It's not needed so much now that machines are faster,
7801 and its non-ASCII component was confusing; see Dmitry Gutov in
7802 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7803
438b0579
LL
78042013-03-20 Leo Liu <sdl.web@gmail.com>
7805
7806 * ido.el (ido-chop): Fix bug#10994.
7807
c128ab07
DG
78082013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7809
7810 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7811 Remove vars.
9a1ff164
SM
7812 (whitespace-color-on, whitespace-color-off):
7813 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 7814
0e6008c5
SM
78152013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7818 remapping in mode-line.
7819 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7820
627b52b0
DG
78212013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7822
7823 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7824 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
7825 (whitespace-font-lock-keywords): Change description.
7826 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7827 the constructed keywords instead.
7828 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 7829
50c3a20b
LL
78302013-03-19 Leo Liu <sdl.web@gmail.com>
7831
7832 * progmodes/compile.el (compilation-display-error): New command.
7833 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7834 C-o. (Bug#13992)
7835
2aa2157b
PE
78362013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7837
7838 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7839
e477dbfa
JD
78402013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7841
7842 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7843
64ab82d1
MA
78442013-03-18 Michael Albinus <michael.albinus@gmx.de>
7845
7846 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7847
7848 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7849 * net/tramp-gvfs.el (top):
7850 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7851 (tramp-handle-shell-command): Use it.
7852 (tramp-dissect-file-name): Raise an error when hostname is a
7853 method name, and neither method nor user is specified.
7854
7855 * net/trampver.el: Update release number.
7856
33cef733
LL
78572013-03-18 Leo Liu <sdl.web@gmail.com>
7858
7859 Make sure eldoc can be turned off properly.
7860 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7861 eldoc-mode.
7862 (eldoc-display-message-p): Revert last change.
7863 (eldoc-display-message-no-interference-p)
7864 (eldoc-print-current-symbol-info): Tweak.
7865
2167b7b2
TH
78662013-03-18 Tassilo Horn <tsdh@gnu.org>
7867
7868 * doc-view.el (doc-view-new-window-function): Check the new window
7869 overlay's display property instead the char property of the
7870 buffer's first char. Use `with-selected-window' instead of
7871 `save-window-excursion' with `select-window'.
7872 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 7873 display property instead the char property of the buffer's first char.
2167b7b2 7874
982efbcd
PE
78752013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7876
7877 Automate the build of ja-dic.el (Bug#13984).
7878 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7879 from the input, rather than assume that it's been done for us by the
7880 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7881 the current date into a ja-dic.el comment, as that complicates
7882 regression testing.
7883
2fcc7665
SM
78842013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7885
7886 * whitespace.el: Fix double evaluation.
7887 (whitespace-space, whitespace-hspace, whitespace-tab)
7888 (whitespace-newline, whitespace-trailing, whitespace-line)
7889 (whitespace-space-before-tab, whitespace-indentation)
7890 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7891 obsolete defvars.
7892 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7893 (whitespace-color-on): Use a single font-lock-add-keywords call.
7894 Fix double-evaluation of face variables.
7895
67c0a6e6
MA
78962013-03-17 Michael Albinus <michael.albinus@gmx.de>
7897
2fcc7665
SM
7898 * net/tramp-adb.el (tramp-adb-parse-device-names):
7899 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 7900 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 7901
69489f1d
LL
79022013-03-17 Leo Liu <sdl.web@gmail.com>
7903
7904 Extend eldoc to display info in the mode-line. (Bug#13978)
7905 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7906 (eldoc-mode-line-string): New variable.
7907 (eldoc-minibuffer-message): New function.
7908 (eldoc-message-function): New variable.
7909 (eldoc-message): Use it.
7910 (eldoc-display-message-p)
2fcc7665
SM
7911 (eldoc-display-message-no-interference-p):
7912 Support eldoc-post-insert-mode.
69489f1d
LL
7913
7914 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7915 (eval-expression): Run it.
7916
9c44569e
RW
79172013-03-17 Roland Winkler <winkler@gnu.org>
7918
7919 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7920 strings in the list of return values.
7921
327f1f6f
JB
79222013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7923
7924 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7925 radix before checking for HMS forms.
7926
67ed8fcd
LL
79272013-03-16 Leo Liu <sdl.web@gmail.com>
7928
7929 * progmodes/scheme.el: Add indentation and font-locking for λ.
7930 (Bug#13975)
7931
78be8b64 79322013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
7933
7934 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7935 token before point (bug#13942).
7936
78be8b64 79372013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 7938
95b43468 7939 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 7940
98e775e6
EZ
79412013-03-16 Eli Zaretskii <eliz@gnu.org>
7942
7943 * startup.el (command-line-normalize-file-name): Fix handling of
7944 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7945 <xfq.free@gmail.com> in
7946 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7947
2edd6029
MA
79482013-03-15 Michael Albinus <michael.albinus@gmx.de>
7949
7950 Sync with Tramp 2.2.7.
7951
7952 * net/trampver.el: Update release number.
7953
d35f5864
TH
79542013-03-14 Tassilo Horn <tsdh@gnu.org>
7955
f35ffe5e
TH
7956 * doc-view.el Fix bug#13887.
7957 (doc-view-insert-image): Don't modify overlay associated to
7958 non-live windows, and implement horizontal centering of image in
7959 case it's smaller than the window.
7960 (doc-view-new-window-function): Force redisplay of new windows on
7961 doc-view buffers.
d35f5864 7962
1c4a85ed
KF
79632013-03-13 Karl Fogel <kfogel@red-bean.com>
7964
7965 * saveplace.el (save-place-alist-to-file): Don't sort
7966 `save-place-alist', just pretty-print it (bug#13882).
7967
85b66a21
MA
79682013-03-13 Michael Albinus <michael.albinus@gmx.de>
7969
a020afb9
JB
7970 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7971 Check whether `default-file-name-coding-system' is bound.
7972 It isn't in XEmacs.
85b66a21 7973
175600da
SM
79742013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7975
e7f7cb1a
SM
7976 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7977 backquotes for `obsolete' (bug#13929).
7978
175600da
SM
7979 * international/mule.el (find-auto-coding): Include file name in
7980 obsolescence warning (bug#13922).
7981
ca68a22e
TZ
79822013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7983
7984 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7985 for CFEngine 3-specific indentation.
7986 (cfengine3-indent-line): Use it. Fix up category regex.
7987 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7988
940e5099
SM
79892013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * type-break.el (type-break-file-name):
7992 * textmodes/remember.el (remember-data-file):
7993 * strokes.el (strokes-file):
7994 * shadowfile.el (shadow-initialize):
7995 * saveplace.el (save-place-file):
7996 * ps-bdf.el (bdf-cache-file):
7997 * progmodes/idlwave.el (idlwave-config-directory):
7998 * net/quickurl.el (quickurl-url-file):
7999 * international/kkc.el (kkc-init-file-name):
8000 * ido.el (ido-save-directory-list-file):
8001 * emulation/viper.el (viper-custom-file-name):
8002 * emulation/vip.el (vip-startup-file):
8003 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8004 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8005
cc725808
PE
80062013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8007
8008 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8009 * language/thai-word.el: Switch to UTF-8.
8010
a020afb9 8011See ChangeLog.16 for earlier changes.
e3d51b27
MR
8012
8013;; Local Variables:
8014;; coding: utf-8
e3d51b27
MR
8015;; End:
8016
ab422c4d 8017 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
8018
8019 This file is part of GNU Emacs.
8020
8021 GNU Emacs is free software: you can redistribute it and/or modify
8022 it under the terms of the GNU General Public License as published by
8023 the Free Software Foundation, either version 3 of the License, or
8024 (at your option) any later version.
8025
8026 GNU Emacs is distributed in the hope that it will be useful,
8027 but WITHOUT ANY WARRANTY; without even the implied warranty of
8028 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8029 GNU General Public License for more details.
8030
8031 You should have received a copy of the GNU General Public License
8032 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.