Support Chinese diary entries in calendar and diary
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bbdcf64f
LL
12014-05-04 Leo Liu <sdl.web@gmail.com>
2
3 Support Chinese diary entries in calendar and diary. (Bug#17393)
4 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
5 (calendar-chinese-from-absolute-for-diary)
6 (calendar-chinese-to-absolute-for-diary)
7 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
8 (diary-chinese-list-entries): New functions to list and mark
9 Chinese diary entries in the calendar window.
10 (diary-chinese-anniversary)
11 (diary-chinese-insert-anniversary-entry)
12 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
13 (diary-chinese-insert-yearly-entry): New commands to insert
14 Chinese diary entries.
15
16 * calendar/diary-lib.el (diary-font-lock-keywords): Support
17 font-locking Chinese dates.
18
19 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
20 inserting Chinese diary entries.
21
22 * calendar/calendar.el (diary-chinese-entry-symbol): New
23 customizable variable.
24 (calendar-mode-map): Add bindings for inserting Chinese diary
25 entries.
26
cfd59d67
JL
272014-05-03 Juri Linkov <juri@jurta.org>
28
29 * dired.el (dired-check-switches, dired-switches-recursive-p):
30 New functions. (Bug#17218)
31 (dired-switches-escape-p, dired-move-to-end-of-filename):
32 Use `dired-check-switches'.
33 (dired-insert-old-subdirs, dired-build-subdir-alist)
34 (dired-sort-R-check): Use `dired-switches-recursive-p'.
35
4807c7eb
BR
362014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
37
a7e1ffdc
BR
38 * simple.el (undo-make-selective-list): New algorithm fixes
39 incorrectness of position adjustments when undoing in region.
40 (Bug#17235)
41 (undo-elt-crosses-region): Make obsolete.
42 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): New
43 functions to adjust positions using undo-deltas.
4807c7eb 44
17a873c5
SM
452014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
48 the last consecutive closing paren (bug#17345).
49
724ee6dc
RT
502014-04-30 Reuben Thomas <rrt@sc3d.org>
51
52 * dired.el (dired-mode): make terminology for eXpunge command
53 consistent. (Bug#17276)
54
72962dd8
EZ
552014-04-30 Eli Zaretskii <eliz@gnu.org>
56
57 * dired.el (dired-initial-position-hook, dired-initial-position):
58 Doc string fixes.
59
09b911ad 602014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
61
62 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
63
09b911ad 642014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
65
66 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 67 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
68 overriden by the defface spec which also fixes issues on win32 where
69 the toolbar coloring was wrong because it is set through X resources
70 and was (wrongfully) overriden. (Bug#16694)
71
09b911ad 722014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
73
74 * textmodes/rst.el (electric-pair-pairs): Declare.
75 (rst-mode): Set it (bug#17131).
76
09b911ad 772014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
78
79 * desktop.el (desktop-value-to-string): Let-bind `print-length'
80 and `print-level' to nil. (Bug#17351)
81
09b911ad 822014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
83
84 * battery.el (battery-update): Handle the case where battery
85 status is "N/A" (bug#17319).
86
9b7b020d
SM
872014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
90 to syntax-propertize.
91 (ps-mode-auto-indent): Mark as obsolete.
92 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
93 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
94 word regexp operators.
95 (ps-mode-map): Move initialization into declaration. Remove binding
96 for TAB, RET, >, ], and }.
97 (ps-mode-syntax-table): Move initialization into declaration.
98 Don't give word syntax to non-word chars.
99 (ps-run-mode-map): Move initialization into declaration.
100 (ps-mode-menu-main): Remove auto-indent entry.
101 (ps-mode-smie-rules): New function.
102 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
103 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
104 (ps-mode--string-syntax-table): New const.
105 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
106 New functions.
107 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
108 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
109
196bfaec
DC
1102014-04-27 Daniel Colascione <dancol@dancol.org>
111
112 * term/xterm.el (xterm-paste): Use large finite timeout when
113 reading event to avoid putting keys in this-command-keys.
114
5ba339c7
SM
1152014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
116
117 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
118 (perl-syntax-propertize-function): Use it. Extend handling of
119 here-docs to the unquoted case.
120
dff4a9f6 1212014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 122
5ba339c7
SM
123 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
124 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 125
dff4a9f6 1262014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
127
128 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
129 Fix syntax for @. (Bug#17325)
130
dff4a9f6 1312014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
132
133 * emacs-lisp/cl.el (gv): Require gv early to break eager
134 macro-expansion cycles.
135
dff4a9f6 1362014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 137
05452dc4
SM
138 * simple.el (region-active-p): Check there's a mark (bug#17324).
139
0e8a9331
SM
140 * simple.el (completion-list-mode-map): Use choose-completion for the
141 mouse binding as well (bug#17302).
142 (completion-list-mode, completion-setup-function): Adjust docstring and
143 echo area message accordingly.
144 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
145 calling convention of choose-completion.
146 * comint.el (comint-dynamic-list-completions):
147 * term.el (term-dynamic-list-completions): Accept choose-completion.
148
c0868451
SM
149 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
150 &, |, +, - and * can't be a division (bug#17317).
151
f7e0450a
SM
152 * term/xterm.el (xterm--version-handler): Don't use modern xterm
153 features on gnome-terminal (bug#16988).
154
5e4ab4e4
TTN
1552014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
156
157 Improve Scheme font-locking for (define ((foo ...) ...) ...).
158
159 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
160 the declared object, ignore zero or more parens, not zero or one.
161
d5031a2a
LL
1622014-04-24 Leo Liu <sdl.web@gmail.com>
163
164 * progmodes/xscheme.el (xscheme-expressions-ring)
165 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
166 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
167 (xscheme-allow-output-p, xscheme-prompt)
168 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
169
170 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
171 Comment out unused functions.
172
118b5a92
SM
1732014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * info.el: Use lexical-binding and cl-lib.
176 Use defvar-local and setq-local instead of make-local-variable.
177 (Info-apropos-matches): Avoid add-to-list.
178 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
179
9b233997
DC
1802014-04-24 Daniel Colascione <dancol@dancol.org>
181
182 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
183
ddc13efd
SM
1842014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
187
f2df692c
MH
1882014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
189
190 * dired.el (dired-insert-set-properties): Do not consider
191 subdirectory headings and empty lines to be information that
192 `dired-hide-details-mode' should hide. (Bug#17228)
193
14828a95
MA
1942014-04-22 Michael Albinus <michael.albinus@gmx.de>
195
196 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
197 Remove test messages.
198 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
199 and `target' twice.
200
42e91034 2012014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 202
9c104369
SM
203 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
204 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
205
622eef68
SM
206 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
207
42e91034 2082014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 209
622eef68
SM
210 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
211 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
212 the file name. Add test messages for hunting a bug on hydra.
213 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
214
42e91034 2152014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
216
217 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
218 Don't prettify a word within a symbol.
219
42e91034 2202014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
221
222 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
223 possible.
224
1b0f10d2
DC
2252014-04-22 Daniel Colascione <dancol@dancol.org>
226
227 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
228 use defun to define `function-put'.
229
67c477ae
SM
2302014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
231
4f965793
SM
232 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
233 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
234 (lisp-mode-variables): Set font-lock-extra-managed-props.
235
67c477ae
SM
236 * emacs-lisp/byte-run.el (function-put): New function.
237 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
238 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
239 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
240 Use them.
241
66fda794
DC
2422014-04-22 Daniel Colascione <dancol@dancol.org>
243
67c477ae
SM
244 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
245 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
246 `macroexpand-all'.
247
248 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
249 Improve docstrings.
250
c98212f9
DC
251 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
252 Use lambda function values, not quoted lambdas.
253 (byte-compile-recurse-toplevel): Remove extraneous &optional.
254
66fda794 255 * emacs-lisp/cl-macs.el
c98212f9 256 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
257 (cl-struct-slot-value): Conditionally use aref or nth so that the
258 compiler produces optimal code.
259
d6f14ca7
SM
2602014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
263 (inline): Don't inline cl--set-elt.
264 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
265 Define as inlinable instead.
266 (cl-struct-set-slot-value): Remove.
267
268 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
269 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
270 Use setf instead.
271
44faec17
DC
2722014-04-21 Daniel Colascione <dancol@dancol.org>
273
274 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
275 last two parameters after all.
276 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
277 (cl--compiler-macro-assoc,cl-struct-slot-value)
278 (cl-struct-set-slot-value): Stop using them.
279
280(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
281
282 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
283 entry in image-mode-winprops-alist.
284
2fa1b97d
DC
2852014-04-21 Daniel Colascione <dancol@dancol.org>
286
9253f7af
SM
287 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
288 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
289 (byte-compile-toplevel-file-form): Use it.
290
2fa1b97d
DC
291 * emacs-lisp/cl-macs.el:
292 (cl--loop-let): Properly destructure `while' clauses.
293
e8a77f24
DC
2942014-04-20 Daniel Colascione <dancol@dancol.org>
295
296 * vc/vc.el (vc-root-dir): New public autoloaded function for
297 generically finding the current VC root.
298 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 299 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 300
89a2e783
DC
3012014-04-20 Daniel Colascione <dancol@dancol.org>
302
303 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
304 argument.
305 (cl--const-expr-val): cl--const-expr-val should macroexpand its
306 argument in case we're inside a symbol-macrolet.
307 (cl--do-arglist, cl--compiler-macro-typep)
308 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
309 environment to `cl--const-expr-val'.
310 (cl-struct-sequence-type,cl-struct-slot-info)
311 (cl-struct-slot-offset, cl-struct-slot-value)
312 (cl-struct-set-slot-value): New functions.
313
fe36068f
SM
3142014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
317 assignments such as "case=hello" (bug#17297).
318
ce8c5107
MA
3192014-04-18 Michael Albinus <michael.albinus@gmx.de>
320
321 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
322 Do not autoload.
323 (tramp-file-name-handler, tramp-completion-file-name-handler):
324 Revert patch from 2014-04-10, it isn't necessary anymore.
325 (tramp-autoload-file-name-handler)
326 (tramp-register-autoload-file-name-handlers): New defuns.
327 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
328 (tramp-register-file-name-handlers): Remove also
329 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
330 Do not autoload its invocation, but eval it after loading of 'tramp.
331
332 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
333
334 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
335
bfc30790
DC
3362014-04-17 Daniel Colascione <dancol@dancol.org>
337
338 Add support for bracketed paste mode; add infrastructure for
339 managing terminal mode enabling and disabling automatically.
340
341 * xt-mouse.el:
342 (xterm-mouse-mode): Simplify.
343 (xterm-mouse-tracking-enable-sequence)
344 (xterm-mouse-tracking-disable-sequence): New constants.
345 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
346 (turn-off-xterm-mouse-tracking-on-terminal):
347 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
348 parameters instead of random hooks.
349 (turn-on-xterm-mouse-tracking)
350 (turn-off-xterm-mouse-tracking): Delete.
351
352 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
353 (xterm-paste-ending-sequence): New constant.
354 (xterm-paste): New command used for bracketed paste support.
355
356 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
357 (terminal-init-xterm-bracketed-paste-mode): New function.
358 (terminal-init-xterm): Call it.
359 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
360 and tty-mode-reset-strings instead of random hooks.
361 (xterm-turn-on-modify-other-keys)
362 (xterm-turn-off-modify-other-keys)
363 (xterm-remove-modify-other-keys): Delete obsolete functions.
364
67c477ae
SM
365 * term/screen.el: Rewrite to just use the xterm code.
366 Add copyright notice. Mention tmux.
bfc30790 367
e51c8d91
I
3682014-04-17 Ian D <dunni@gnu.org> (tiny change)
369
370 * image-mode.el (image-mode-window-put): Also update the property of
371 the "default window".
372 * doc-view.el (doc-view-new-window-function): If no window
373 exists, move to the last known page.
374
c76a7a5c
SM
3752014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
378 here-documents (bug#17262).
379
bf6b4923
EZ
3802014-04-16 Eli Zaretskii <eliz@gnu.org>
381
c76a7a5c
SM
382 * term/pc-win.el (x-list-fonts, x-get-selection-value):
383 Provide doc strings, as required by snarf-documentation.
bf6b4923 384
290d7ac2 3852014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
386
387 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
388 arg of overlays-at. Use `invisible-p'.
389
390 * obsolete/lucid.el (extent-at):
391 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
392 overlays-at.
393 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
394
290d7ac2 3952014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
396
397 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
398 links. (Bug#17217).
399
290d7ac2 4002014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
401
402 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
403 Use mapc to loop over a vector. (Bug#17257).
404
290d7ac2 4052014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
406
407 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
408 patch, there are new problems with file names containing spaces.
409 Get rid of backticks. (Bug#17238)
410
290d7ac2 4112014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
412
413 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
414 possible bug.
415
290d7ac2 4162014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
417
418 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
419 (blink-cursor-mode): Mention customization variables and the
420 effect of 'blink-cursor-blinks'.
421
290d7ac2 4222014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
423
424 * simple.el (undo): Prevent insertion of identity mapping into
425 undo-equiv-table so as undo-only does not inf loop in the presence
426 of consecutive nils in undo list.
427
290d7ac2 4282014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
429
430 * faces.el (make-face): Deprecate optional argument as it is no
431 longer needed/used since the conditional X resources handling
432 has been pushed down to make-face-x-resource-internal itself.
433 (make-empty-face): Don't pass optional argument to make-face.
434
5f6b4154
KF
4352014-04-16 Karl Fogel <kfogel@red-bean.com>
436
437 * savehist.el (savehist-save): Remove workaround for a read-passwd
438 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
439 noticing that the shim was still present.
440
005551fe
SM
4412014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
444
b92583c4
JB
4452014-04-14 Juanma Barranquero <lekktu@gmail.com>
446
447 * faces.el (face-set-after-frame-default): Remove unused local variable.
448
6c2453e0
SM
4492014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
450
f7993853
SM
451 * progmodes/grep.el: Use lexical-binding.
452 (grep-expand-template): Pass explicit lexical env to `eval'.
453 (zrgrep): Let-bind grep-find-template explicitly.
454
6c2453e0
SM
455 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
456 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
457
ac387dd1
EZ
4582014-04-12 Eli Zaretskii <eliz@gnu.org>
459
460 * international/characters.el <standard-case-table>: Add entries
461 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 462 Set category of Coptic characters be 'g' (Greek).
ac387dd1 463
2e611da6
LL
4642014-04-12 Leo Liu <sdl.web@gmail.com>
465
e0af4095
GM
466 * progmodes/octave.el (completion-table-with-cache):
467 Define if not available.
468 (octave-goto-function-definition, octave-sync-function-file-names)
469 (octave-find-definition-default-filename):
470 Backquote upattern for compatibility.
2e611da6 471
e0af4095 4722014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
473
474 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
475 name twice due to backticks. (Bug#17238)
476
e0af4095 4772014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
478
479 * term/w32-win.el (x-win-suspend-error):
480 * term/x-win.el (x-win-suspend-error): Sync docs.
481
7f0f4c25
MD
4822014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
483
f7993853
SM
484 * faces.el (make-face): Remove deprecated optional argument.
485 The conditional application of X resources is handled directly by
7f0f4c25
MD
486 make-face-x-resource-internal since Emacs 24.4.
487 (make-empty-face): Don't pass optional argument to make-face.
488
e088b01d
GM
4892014-04-11 Glenn Morris <rgm@gnu.org>
490
491 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
492
536aa466 4932014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
494
495 Ediff's overlay priorities cause more trouble than they solve.
496 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
497 (ediff-highest-priority): Remove function (bug#17234).
498 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
499 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
500 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
501 overlay priorities.
502
536aa466 5032014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
504
505 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
506 entry; use symbol boundaries to avoid mis-matches.
507
536aa466 5082014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
509
510 * net/tramp.el (tramp-file-name-handler)
511 (tramp-completion-file-name-handler): Avoid recursive loading.
512
513 * net/tramp-sh.el (tramp-make-copy-program-file-name):
514 Quote result also locally.
515
0d6a1375
SM
5162014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
517
c99ce7d8
SM
518 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
519 Remove left-over code.
520
0d6a1375
SM
521 * newcomment.el (comment-indent-new-line): Sink code where it's used.
522 Reuse the previous comment's indentation unconditionally if it's on its
523 own line.
524
3f63a9f7
DC
5252014-04-09 Daniel Colascione <dancol@dancol.org>
526
527 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
528 `no-syntax-crossing' arguments. Forward to `up-list'.
529 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
530 Implement logic for escaping from strings. Use narrowing to deal
531 with corner cases.
532
0b816f15
LL
5332014-04-09 Leo Liu <sdl.web@gmail.com>
534
535 * net/rcirc.el (rcirc-connection-info): New variable.
536 (rcirc-connect): Use it to store connection info.
537 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
538 for killed process.
539 (rcirc-cmd-reconnect): New command. (Bug#17045)
540 (rcirc-mode, set-rcirc-encode-coding-system)
541 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
542
22683580
DC
5432014-04-09 Daniel Colascione <dancol@dancol.org>
544
545 * emacs-lisp/cl-indent.el: Add comment claiming
546 facility is also good for elisp.
547 (lisp-indent-find-method): New function.
548 (common-lisp-indent-function): Recognize cl-loop.
549 (common-lisp-indent-function-1): Recognize cl constructs; use
550 `lisp-indent-find-method' instead of `get' directly.
551 (if): Use else-body style for elisp.
552
0122b24d
DG
5532014-04-09 Dmitry Gutov <dgutov@yandex.ru>
554
555 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
556 Module methods. (Bug#17216)
557
559836fb 5582014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
559
560 * help.el (describe-bindings): Fix buffer handling (bug#17210).
561 (describe-bindings-internal): Mark obsolete.
562
6bc76cee
SM
5632014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
566 buffer-file-name, and buffer-file-truename any more.
567
dc0b0454
LL
5682014-04-08 Leo Liu <sdl.web@gmail.com>
569
570 Use lexical-binding and require cl-lib.
571 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
572 (rcirc-handler-generic, rcirc-fill-paragraph)
573 (rcirc-format-response-string, rcirc-target-buffer)
574 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
575 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
576 (rcirc-ctcp-sender-PING, rcirc-browse-url)
577 (rcirc-markup-timestamp, rcirc-markup-attributes)
578 (rcirc-markup-my-nick, rcirc-markup-urls)
579 (rcirc-markup-bright-nicks, rcirc-markup-fill)
580 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
581 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
582 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
583 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
584 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
585 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
586 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
587 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
588 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
589 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
590 use cl-lib.
591
190f899a
JT
5922014-04-07 João Távora <joaotavora@gmail.com>
593
6f287c89
GM
594 * elec-pair.el (electric-pair--syntax-ppss):
595 When inside comments parse from comment beginning.
190f899a
JT
596 (electric-pair--balance-info): Fix typo in comment.
597 (electric-pair--in-unterminated-string-p): Delete.
598 (electric-pair--unbalanced-strings-p): New function.
599 (electric-pair-string-bound-function): New var.
600 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
601 according to `electric-pair--in-unterminated-string-p'
602
6f287c89
GM
603 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
604 Inhibit quote pairing if point-max is inside an unterminated string.
605 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
606 (electric-pair--in-unterminated-string-p): New function.
607
a9c921e6
GM
6082014-04-07 Glenn Morris <rgm@gnu.org>
609
610 * shell.el (shell-directory-tracker):
611 Go back to just ignoring failures. (Bug#17159)
612
6f287c89 6132014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
614
615 Fix `electric-pair-delete-adjacent-pairs' in modes binding
616 backspace. (bug#16981)
617 * elec-pair.el (electric-pair-backward-delete-char): Delete.
618 (electric-pair-backward-delete-char-untabify): Delete.
619 (electric-pair-mode-map): Bind backspace to a menu item filtering
620 a new `electric-pair-delete-pair' command.
621 (electric-pair-delete-pair): New command.
622
6f287c89
GM
623 * progmodes/python.el (python-electric-pair-string-delimiter):
624 Fix triple-quoting electricity. (Bug#17192)
89f20f76 625
6f287c89
GM
626 * elec-pair.el (electric-pair-post-self-insert-function):
627 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 628 `electric-pair-pairs' were used. syntax to
7aecc2f6 629 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 630
6f287c89 6312014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
632
633 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
634 "<F>". (Bug#17199)
635
6f287c89 6362014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
637
638 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
639 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
640
6f287c89 6412014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
642
643 * help.el (view-lossage): Doc tweak.
644
6f287c89 6452014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
646
647 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
648 only when inhibit-x-resources is nil, and do that earlier in the
649 function. Doc fix. (Bug#16694)
fdafd487
MD
650 (face-spec-choose): Accept additional optional argument, whose
651 value is returned if no matching attributes are found.
652 (face-spec-recalc): Use the new optional argument when calling
653 face-spec-choose. (Bug#16378)
f5e4494c
MD
654 (make-face-x-resource-internal): Do nothing when
655 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 656 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
657 (face-set-after-frame-default): Don't call
658 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 659
6f287c89 6602014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 661
0beb7fb7
SM
662 * doc-view.el (doc-view-bookmark-jump):
663 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
664 buffer is shown in a window. (bug#16090)
665
6f287c89 6662014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
667
668 * international/characters.el (mirroring): Fix last change:
669 instead of loading uni-mirrored.el explicitly, do that implicitly
670 by creating the 'mirroring' uniprop table. This avoids announcing
671 the loading of uni-mirrored.el.
672
6f287c89 6732014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
674
675 * files.el (buffer-stale--default-function)
676 (buffer-stale-function, revert-buffer--default):
677 * autorevert.el (auto-revert-buffers): Doc tweaks.
678
6f287c89 6792014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
680
681 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
682
6f287c89 6832014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
684
685 * files.el (make-backup-file-name-function)
686 (make-backup-file-name, make-backup-file-name--default-function)
687 (make-backup-file-name-1, find-backup-file-name)
688 (revert-buffer-function, revert-buffer-insert-file-contents-function)
689 (buffer-stale--default-function, buffer-stale-function)
690 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
691 (revert-buffer, revert-buffer--default)
692 (revert-buffer-insert-file-contents--default-function):
693 Doc fixes related to defaults no longer being nil.
694 (make-backup-file-name-function): Bump :version.
695 Restore nil as a valid but deprecated custom type.
696
6f287c89 6972014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 698
6f287c89
GM
699 * progmodes/perl-mode.el (perl-syntax-propertize-function):
700 Handle $' used as a variable (bug#17174).
66f50b12
SM
701
702 * progmodes/perl-mode.el (perl-indent-new-calculate):
703 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
704 (perl-syntax-propertize-function): Add "foreach" and "for" statement
705 modifiers introducing expressions (bug#17116).
66f50b12 706
7b656e4a
SM
7072014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
710
722237d5
LL
7112014-04-05 Leo Liu <sdl.web@gmail.com>
712
7b656e4a
SM
713 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
714 Add define-compilation-mode.
722237d5 715
5cb0cc90
JT
7162014-04-04 João Távora <joaotavora@gmail.com>
717
9b017563
JB
718 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
719 parse from comment beginning.
5cb0cc90
JT
720 (electric-pair--balance-info): Fix typo in comment.
721 (electric-pair--in-unterminated-string-p): Delete.
722 (electric-pair--unbalanced-strings-p): New function.
723 (electric-pair-string-bound-function): New var.
724 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 725 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 726
6b31e6b1
SM
7272014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
730 Move declaration before first use.
731 (reftex-move-to-next-arg): Silence compiler warning.
732
0de7d982
JK
7332014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
734
6b31e6b1
SM
735 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
736 Use `window-total-width' instead of `window-width'.
0de7d982 737
01ae0fbf
DC
7382014-04-03 Daniel Colascione <dancol@dancol.org>
739
740 * subr.el (set-transient-map): Remove rms's workaround entirely;
741 use new `suspicious-object' subr to mark our lambda for closer
742 scrutiny during gc.
743
4fd68bf6
RS
7442014-04-02 Richard Stallman <rms@gnu.org>
745
746 * subr.el (set-transient-map): Comment out previous change.
747
c7510f6e
GM
7482014-04-02 Glenn Morris <rgm@gnu.org>
749
0b908bf2
GM
750 * menu-bar.el (menu-bar-file-menu):
751 * vc/ediff.el (ediff-current-file):
752 Update for revert-buffer-function no longer being nil by default.
753
c7510f6e
GM
754 * simple.el (command-execute): Respect nil disabled-command-function.
755
09aba815 7562014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
757
758 * simple.el (command-execute): Do not execute the command when it
759 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
760
09aba815 7612014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
762
763 * dired-aux.el (dired-compress-file): Don't use string-match-p
764 because its match data is used afterwards.
765
09aba815 7662014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
767
768 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
769 0 like nil.
770
200c532b
JT
7712014-04-02 João Távora <joaotavora@gmail.com>
772
6b31e6b1
SM
773 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
774 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
775 (electric-pair--looking-at-unterminated-string-p):
776 Delete.
777 (electric-pair--in-unterminated-string-p): New function.
778
2395f2b9
DC
7792014-04-01 Daniel Colascione <dancol@dancol.org>
780
781 * minibuffer.el (minibuffer-complete): Prevent assertion failure
782 when trying to complete the prompt.
783
294b2b09
LL
7842014-03-31 Leo Liu <sdl.web@gmail.com>
785
6b31e6b1
SM
786 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
787 Refactor out eldoc-documentation-function-default.
294b2b09
LL
788 (eldoc-documentation-function-default): New function.
789 (eldoc-documentation-function): Change value.
790
4f3a895b
GM
7912014-03-31 Glenn Morris <rgm@gnu.org>
792
793 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
794
1db854cc
GM
795 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
796 (vhdl-compose-components-package, vhdl-compose-configuration):
797 Abbreviate default-directory (missing from some previous upstream sync).
798
3c2d4776
RZ
7992014-03-31 Reto Zimmermann <reto@gnu.org>
800
801 Sync with upstream vhdl mode v3.35.2.
802 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
803 (top-level): No longer require assoc.
804 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
805 New functions. Use throughout to replace aget etc.
806 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
807 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
808 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
809 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
810 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
811 except `vhdl-compiler'.
812 (vhdl-error-regexp-add-emacs): Remove all other compilers,
813 when appropriate.
814
5c30ab7a
GM
8152014-03-31 Glenn Morris <rgm@gnu.org>
816
817 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
818 Revert 2014-03-26 merge goof; go back to using defalias.
819
1861d5a7
DC
8202014-03-30 Daniel Colascione <dancol@dancol.org>
821
6b31e6b1
SM
822 * comint.el (comint-send-input):
823 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
824 (Bug#17139).
825
826 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
827 on keyboard-quit.
828
41116c5a
GM
8292014-03-29 Glenn Morris <rgm@gnu.org>
830
831 * textmodes/reftex.el: Manage most autoloads automatically.
832 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
833 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
834 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
835 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
836 * textmodes/reftex-toc.el: Set generated-autoload-file,
837 and add autoload cookies for reftex.el.
838 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
839
c3153003
GM
8402014-03-28 Glenn Morris <rgm@gnu.org>
841
7b207d6d
GM
842 * cus-start.el (report-emacs-bug-address): Set custom properties.
843 * mail/emacsbug.el (report-emacs-bug-address):
844 Variable is now defined in emacs.c.
845
c3153003
GM
846 * mail/emacsbug.el (report-emacs-bug):
847 Include system-configuration-features.
848
687e0e19
MN
8492014-03-28 Michal Nazarewicz <mina86@mina86.com>
850
851 * simple.el (cycle-spacing): Never delete spaces on first run by
852 default, but do so in a new 'fast mode and if there are already
4f3a895b 853 N spaces (the previous behavior).
687e0e19
MN
854 Compare N with its value in previous invocation so that changing
855 prefix argument restarts `cycle-spacing' sequence.
687e0e19 856 The idea is that with this change, binding M-SPC to
4f3a895b 857 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
858 the binding so long as users do not type M-SPC twice in a raw with
859 the same prefix argument or lack thereof.
860
95de732d
GM
8612014-03-28 Glenn Morris <rgm@gnu.org>
862
863 * faces.el (term-file-aliases): New variable.
864 (tty-run-terminal-initialization): Respect term-file-aliases.
865 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
866 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
867 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
868
6730259f
GM
8692014-03-27 Glenn Morris <rgm@gnu.org>
870
862a4e4a
GM
871 * startup.el (inhibit-startup-hooks): Doc tweak.
872 (normal-top-level): Simplify running of hooks.
873 For window-setup-hook, respect inhibit-startup-hooks.
874 (command-line-1): Don't set window-setup-hook to nil.
875
6730259f
GM
876 Allow selective autoloading from obsolete/ directory.
877 * Makefile.in (obsolete-autoloads): New rule.
878 (autoloads): Run obsolete-autoloads.
879 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
880 * simple.el (iswitchb-mode): Remove hand-written autoloads.
881
42ebc34e
DG
8822014-03-27 Dmitry Gutov <dgutov@yandex.ru>
883
929c0500
SM
884 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
885 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 886
42ebc34e
DG
887 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
888 Don't propertize `?' or `!' as symbol constituent when after
889 colon. (Bug#17097)
890
b1c870c9
JB
8912014-03-27 Juanma Barranquero <lekktu@gmail.com>
892
857ba6ec
JB
893 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
894 which is no longer needed and causes trouble in GTK builds (bug#17046).
895
b1c870c9
JB
896 * emacs-lisp/package-x.el (package--archive-contents-from-url):
897 Use url-insert-file-contents; package-handle-response no longer exists.
898
8ab9876a
DC
8992014-03-26 Daniel Colascione <dancol@dancol.org>
900
901 * simple.el (process-menu-mode-map): New variable.
902 (process-menu-delete-process): New command.
903
196716cf
JB
9042014-03-26 Juanma Barranquero <lekktu@gmail.com>
905
906 * emacs-lisp/package.el: Fix bug#16733 (again).
907 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
908 (url-http-target-url): Remove unused declarations.
909 (package-handle-response): Remove.
910 (package--with-work-buffer): Use url-insert-file-contents and simplify.
911 (package--download-one-archive): Use current-buffer instead of
912 dynamic binding of `buffer'.
913 (describe-package-1): Do not decode readme-string.
914
16adf2e6 9152014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
916
917 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
918
919 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
920 from 2014-03-07, it decreases performance unnecessarily. Let-bind
921 `remote-file-name-inhibit-cache' to nil in the second pass.
922 (tramp-find-executable): Do not call "which" on SunOS.
923 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
924 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
925 check whether source directory has set the sticky bit.
1f73d6c6 926
16adf2e6 9272014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
928
929 * simple.el (primitive-undo): Only process marker adjustments
930 validated against their corresponding (TEXT . POS). Issue warning
931 for lone marker adjustments in undo history. (Bug#16818)
932 (undo-make-selective-list): Add marker adjustments to selective
933 undo list based on whether their corresponding (TEXT . POS) is in
934 the region. Remove variable adjusted-markers, which was unused
935 and only non nil during undo-make-selective-list.
936 (undo-elt-in-region): Return nil when passed a marker adjustment
937 and explain in function doc.
938
16adf2e6 9392014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
940
941 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
942
16adf2e6 9432014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
944
945 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
946 Match special global variables without curlies, too.
947 (ruby-font-lock-keywords): Simplify the matcher for special global
948 variables. Don't require a non-word character after the variable.
949 (Bug#17057)
950
16adf2e6 9512014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
952
953 * simple.el (redisplay-highlight-region-function): Increase priority of
954 overlay to make sure boundaries are visible (bug#15899).
955
16adf2e6 9562014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 957
16adf2e6
JB
958 * frameset.el (frameset--initial-params): Fix typo in parameter name.
959 (frameset-restore): Compare display strings with equal.
ee79b33f 960
3ea2c781
JB
961 * frame.el (make-frame): Don't quote display name in error message,
962 it is already a string.
963
16adf2e6 9642014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
965
966 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
967 the password.
968
16adf2e6 9692014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 970
16adf2e6
JB
971 * emacs-lisp/package.el (package--add-to-archive-contents):
972 Include already installed and built-in packages in
973 `package-archive-contents'.
974 (package-install): Don't include already installed packages in the
975 options during interactive invocation. (Bug#16762)
976 (package-show-package-list): If the buffer is already displayed in
977 another window, switch to that window.
978
fb3deac8
RZ
9792014-03-26 Reto Zimmermann <reto@gnu.org>
980
981 Sync with upstream vhdl mode v3.35.1.
982 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
983 (vhdl-compiler-alist): Doc fix.
984 (vhdl-goto-line): Remove.
985 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
986 (vhdl-mode) <paragraph-start>: Fix value.
987 (vhdl-fix-statement-region): Not `for' in wait-statement.
988 (vhdl-beautify-region): Also (un)tabify.
989 (vhdl-get-visible-signals):
990 Scan declarative part of generate statements.
991 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
992 (vhdl-expand-abbrev, vhdl-expand-paren):
993 Revert to using fset again rather than defalias.
fb3deac8
RZ
994 (vhdl-scan-directory-contents): Tweak.
995 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
996 (vhdl-compose-components-package):
997 Replace vhdl-goto-line with forward-line.
998 (top-level): Tweak speedbar frame selection.
999 (vhdl-generate-makefile-1): Support for compilers with no
1000 unit-to-file name mapping (create directory with dummy files).
1001
511df08c
WS
10022014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1003
1004 Sync with upstream verilog-mode revision 702457d.
1005 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1006 (create-lockfiles): Declare.
1007 (verilog-read-decls): Fix module header imports, bug709.
1008 Reported by Victor Lau.
1009 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1010 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1011 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1012
11ee65af
GM
10132014-03-26 Glenn Morris <rgm@gnu.org>
1014
b4aca021
GM
1015 * obsolete/gulp.el: Move here from emacs-lisp/.
1016
11ee65af
GM
1017 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1018 Remove fallback aliases, since they are always defined now.
1019
1edb4a2e
DC
10202014-03-24 Daniel Colascione <dancol@dancol.org>
1021
1022 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1023 instead of cl-loop search function.
1024
7a31038f
G
10252014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1026
1027 * calendar/parse-time.el (parse-time-iso8601-regexp)
1028 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1029 it more generally.
1030
10312014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1032
1033 * net/dns.el (network-interface-list): Define for XEmacs.
1034
10352014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1036
1037 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1038 the network interfaces changed.
1039 (dns-query): Use it to flush the data.
1040
835af719
JB
10412014-03-23 Juanma Barranquero <lekktu@gmail.com>
1042
1043 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1044
6ddc4422
DC
10452014-03-23 Daniel Colascione <dancol@dancol.org>
1046
1047 Change subword-mode to use `find-word-boundary-function-table' and
1048 replace `capitalized-words-mode'. Also, convert to lexical
1049 binding.
1050
1051 * progmodes/cap-words.el: Delete now-obsolete file.
1052 * progmodes/subword.el: Reimplement using
1053 `find-word-boundary-function-table'.
1054 (subword-mode-map): Hollow out.
1055 (capitalized-words-mode): Define as obsolete alias for
1056 `subword-mode'.
9b017563 1057 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1058 implementation; call `subword-setup-buffer'.
9b017563 1059 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1060 unused variable.
1061 (subword-find-word-boundary-function-table): New constant.
1062 (subword-empty-char-table): New constant.
1063 (subword-setup-buffer): New function.
1064 (subword-find-word-boundary): New function.
1065
c6b0fbe7
DC
10662014-03-23 Daniel Colascione <dancol@dancol.org>
1067
1068 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1069 list to look for keyword arguments instead of `memq', fixing
1070 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1071 Please make bootstrap.
1072
5076d275
GM
10732014-03-22 Glenn Morris <rgm@gnu.org>
1074
5dbc3244
GM
1075 * dired.el (dired-read-regexp): Make obsolete.
1076 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1077 (dired-flag-files-regexp):
1078 * dired-aux.el (dired-mark-read-regexp):
1079 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1080
00156f95
GM
1081 * startup.el (fancy-startup-text):
1082 * help.el (describe-gnu-project): Visit online info about GNU project.
1083
f9c81e7b
GM
1084 * help-fns.el (help-fns--interactive-only): New function.
1085 (help-fns-describe-function-functions): Add the above function.
1086 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1087 (next-line, previous-line): Remove hand-written interactive-only
1088 information from doc strings, it is auto-generated now.
1089 * bookmark.el (bookmark-write):
1090 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1091 (epa-mail-import-keys): Mark interactive-only,
1092 and remove hand-written interactive-only information from doc strings.
1093 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1094 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1095 * files.el (not-modified):
1096 * simple.el (mark-whole-buffer): Mark interactive-only.
1097
5076d275
GM
1098 * emacs-lisp/byte-run.el (defun-declarations-alist):
1099 Add interactive-only. Doc tweak.
1100 (macro-declarations-alist): Doc tweak.
1101 * subr.el (declare): Doc tweak (add xref to manual).
1102 * comint.el (comint-run):
1103 * files.el (insert-file-literally, insert-file):
1104 * replace.el (replace-string, replace-regexp):
1105 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1106 (delete-forward-char, goto-line, insert-buffer, next-line)
1107 (previous-line): Set interactive-only via declare.
1108
1197f2e6
DG
11092014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1110
1111 * emacs-lisp/package.el (package-desc): Use the contents of the
1112 quoted form, not its cdr. (Bug#16873)
1113
aac06179
JB
11142014-03-22 Juanma Barranquero <lekktu@gmail.com>
1115
1116 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1117 benefit of doc.c; change parameter profile to match the X function.
1118
3e7bc044
LL
11192014-03-22 Leo Liu <sdl.web@gmail.com>
1120
1121 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1122 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1123
59271b3e
RS
11242014-03-21 Richard Stallman <rms@gnu.org>
1125
8266cd88
RS
1126 * battery.el (battery-linux-sysfs): Search for each field
1127 from the beginning of the buffer.
1128
16ec0742
RS
1129 * subr.el (set-transient-map): Clear out function and value
1130 of the temporary symbol when we're done with it.
1131
59271b3e
RS
1132 * mail/rmailsum.el (rmail-summary-delete-forward):
1133 Optimize case of reaching end and handling count.
1134 (rmail-summary-mark-deleted): Optimize when N is current msg.
1135 Don't create new summary line.
1136 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1137 (rmail-summary-undelete-many): Rewrite for speed.
1138 (rmail-summary-msg-number): New function.
1139
1140 * mail/rmail.el (rmail-delete-message): Update summary.
1141 (rmail-undelete-previous-message): Handle repeat count arg.
1142 (rmail-delete-backward, rmail-delete-forward): Likewise.
1143
0d8ac93e
DC
11442014-03-21 Daniel Colascione <dancol@dancol.org>
1145
1146 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1147 information in bug reports.
1148
1e92a8a3
MA
11492014-03-21 Michael Albinus <michael.albinus@gmx.de>
1150
1151 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1152 and `tramp-copy-env'.
1153
1154 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1155 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1156
78540c42
GM
11572014-03-21 Glenn Morris <rgm@gnu.org>
1158
1159 * electric.el (electric-indent-post-self-insert-function): Add doc.
1160
1fc8f655
DG
11612014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1162
dcf78667
DG
1163 * emacs-lisp/package.el (package-compute-transaction):
1164 Use `version-list-<=' to compare the requirement version against
1165 the version of package already to be installed. Update the error
1166 message. (Bug#16826)
1167
1fc8f655
DG
1168 * progmodes/ruby-mode.el (ruby-smie-rules):
1169 Add indentation rule for ` @ '. (Bug#17050)
1170
dada060d
JB
11712014-03-21 Juanma Barranquero <lekktu@gmail.com>
1172
1173 * align.el (align-regexp): Remove superfluous backslash.
1174
1175 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1176 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1177 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1178 Fix docstring typos.
1179 (ffap-next): Use C-u in docstring.
1180 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1181 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1182 Remove superfluous backslashes.
1183 (ffap-string-at-point): Reflow docstring.
1184
1185 * server.el (server-host): Reflow docstring.
1186 (server-unload-function): Fix docstring typo.
1187 (server-eval-at): Remove superfluous backslash.
1188
1189 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1190 (skeleton-insert): Doc fix.
1191 (skeleton-insert): Reflow docstring.
1192
1193 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1194 (tty-color-approximate, tty-color-by-index, tty-color-values)
1195 (tty-color-desc): Remove superfluous backslashes.
1196
f428101f
GM
11972014-03-21 Glenn Morris <rgm@gnu.org>
1198
26e91130
GM
1199 * cus-start.el (history-length): Bump :version.
1200
aa3a7b51
GM
1201 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1202 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1203 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1204 Don't set `make-backup-files'.
1205
f428101f
GM
1206 * info.el (info--prettify-description): New function,
1207 to give info-finder descriptions consistent case, punctuation.
1208 (Info-finder-find-node): Use it. Sort packages.
1209 Refer to "description" rather than "commentary".
1210
6ce1b56e
JB
12112014-03-21 Juanma Barranquero <lekktu@gmail.com>
1212
1213 * frameset.el (frameset--print-register): New function.
1214 (frameset-to-register): Use it.
1215
b730af26
JB
12162014-03-20 Juanma Barranquero <lekktu@gmail.com>
1217
45393801
JB
1218 * progmodes/hideif.el (hif-string-to-number): New function.
1219 (hif-tokenize): Use it to understand non-decimal floats.
1220
814e26fa
JB
1221 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1222
b730af26
JB
1223 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1224
6f287c89
GM
12252014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * electric.el (electric-newline-and-maybe-indent): New command.
1228 Bind it globally to C-j.
1229 (electric-indent-mode): Don't mess with the global map any more.
1230 Don't drop the post-self-insert-hook is some buffer is still using it
1231 (bug#16770).
1232
1233 * bindings.el (global-map): Remove C-j binding.
1234
1235 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1236 the docstring of functions advised before dumping (bug#16993).
1237
f15ec1ba 12382014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1239
1240 * ps-print.el (ps-generate-postscript-with-faces):
1241 Explicitly deactivate the mark (bug#16866).
1242 * simple.el (deactivate-mark): Update region highlight.
1243
f88bdc45
JB
12442014-03-19 Juanma Barranquero <lekktu@gmail.com>
1245
1246 * emacs-lisp/package.el (describe-package-1):
1247 Decode commentary (bug#16733).
1248
6b88e570
JB
12492014-03-18 Juanma Barranquero <lekktu@gmail.com>
1250
1251 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1252 modification of the value argument of :set (bug#16755).
1253
ac9b4703
SM
12542014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * simple.el (newline-and-indent): Do autofill (bug#17031).
1257
2b7858ec
DG
12582014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1259
1260 * newcomment.el (comment-normalize-vars): Only add escaping check
1261 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1262 (comment-beginning): Use `narrow-to-region' instead of moving back
1263 one character.
1264 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1265 (comment-start-skip): Update the docstring.
1266
11eff3ae
RS
12672014-03-18 Richard Stallman <rms@gnu.org>
1268
1269 * dired.el (dired-display-file): Force use of other window.
1270
07f44fdb
JB
12712014-03-18 Daniel Colascione <dancol@dancol.org>
1272
1273 * startup.el (tty-handle-args): Remove debug message from 2007.
1274
12752014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1276
1277 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1278 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1279 (advice--make-1, advice-add, advice-remove):
1280 Remove braindead :advice-pending hack.
1281
61debe4a
GM
12822014-03-17 Glenn Morris <rgm@gnu.org>
1283
1284 * calendar/calendar.el (calendar-generate-month): Apply weekend
1285 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1286
8273986b
MA
12872014-03-17 Michael Albinus <michael.albinus@gmx.de>
1288
1289 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1290 (tramp-call-process): Trace also DESTINATION.
1291
1292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1293 Quote file names when they are local. Remove superfluous trace.
1294
4f8aeb84
DG
12952014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1296
218feefc
DG
1297 * newcomment.el (comment-beginning): If `comment-start-skip'
1298 doesn't match, move back one char and try again. (Bug#16971)
1299
6c187ef5
SM
1300 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1301 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1302 Set `comment-start-skip' to a simpler value that doesn't try to
1303 check if the semicolon is escaped (this is handled by
1304 `syntax-ppss' now). (Bug#16971)
1305
1306 * progmodes/scheme.el (scheme-mode-variables): Same.
1307
b92631bf
MR
13082014-03-16 Martin Rudalics <rudalics@gmx.at>
1309
1310 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1311 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1312 current (Bug#16816, Bug#17007).
1313 (with-current-buffer-window): New macro doing the same as
1314 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1315 * help.el (help-print-return-message): Warn in doc-string to not
1316 use this in `with-help-window'.
1317 (describe-bindings-internal): Call `describe-buffer-bindings'
1318 from within help buffer. See Juanma's scenario in (Bug#16816).
1319 (with-help-window): Update doc-string.
1320 * dired.el (dired-mark-pop-up):
1321 * files.el (save-buffers-kill-emacs):
1322 * register.el (register-preview): Use `with-current-buffer-window'
1323 instead of `with-temp-buffer-window'.
1324
57348c4d
JB
13252014-03-16 Juanma Barranquero <lekktu@gmail.com>
1326
1327 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1328 Implement inserting into current buffer, documented in their docstrings.
1329 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1330 (rst-section-tree-point, rst-forward-section, rst-indent)
1331 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1332 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1333 (rst-font-lock-handle-adornment-pre-match-form)
1334 (rst-repeat-last-character): Reflow docstrings.
1335 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1336 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1337 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1338 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1339 Fix docstring typos.
1340 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1341 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1342 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1343
fd16b061
JB
13442014-03-15 Juanma Barranquero <lekktu@gmail.com>
1345
a2403e3d
JB
1346 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1347 for compatibility with other ports.
1348 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1349 from the -xrm command line argument, but in the Nextstep port its value
1350 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1351
fd16b061
JB
1352 * progmodes/python.el (defconst, python-syntax-count-quotes)
1353 (python-indent-region, python-indent-shift-right)
1354 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1355 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1356 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1357 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1358 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1359 (python-shell-buffer-substring, python-shell-send-buffer)
1360 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1361 (python-completion-complete-at-point, python-fill-docstring-style)
1362 (python-eldoc-function, python-imenu-format-item-label)
1363 (python-imenu-format-parent-item-label)
1364 (python-imenu-format-parent-item-jump-label)
1365 (python-imenu--build-tree, python-imenu-create-index)
1366 (python-imenu-create-flat-index): Fix docstring typos.
1367 (python-indent-context, python-shell-prompt-regexp, run-python):
1368 Remove superfluous backslashes.
1369 (python-indent-line, python-nav-beginning-of-defun)
1370 (python-shell-get-buffer, python-shell-get-process)
1371 (python-info-current-defun, python-info-current-line-comment-p)
1372 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1373 (python-indent-post-self-insert-function, python-shell-send-file)
1374 (python-shell-completion-get-completions)
1375 (python-shell-completion-complete-or-indent)
1376 (python-eldoc--get-doc-at-point): Reflow docstrings.
1377
e94807f0
GM
13782014-03-14 Glenn Morris <rgm@gnu.org>
1379
88103345
GM
1380 * emacs-lisp/package.el (package-menu-mode-map):
1381 Replace use of obsolete function alias. Tweak menu item text.
1382
f2dd4ba8
GM
1383 * info.el (Info-finder-find-node):
1384 Ignore the `emacs' metapackage. (Bug#10813)
1385
ac0f82ef
GM
1386 * finder.el (finder-list-matches): Include unversioned packages
1387 in the result of a keyword search.
1388
e94807f0
GM
1389 * finder.el (finder--builtins-descriptions): New constant.
1390 (finder-compile-keywords): Use finder--builtins-descriptions.
1391
50d434d1
DG
13922014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1393
1394 * simple.el (blink-matching-paren): Describe the new value,
1395 `jump', enabling the old behavior.
1396 (blink-matching-open): Use that value. (Bug#17008)
1397
56759cf1
GM
13982014-03-14 Glenn Morris <rgm@gnu.org>
1399
459d74ef
GM
1400 * finder.el (finder-no-scan-regexp): Add leim-list.
1401 (finder-compile-keywords):
1402 Don't skip files with same basename. (Bug#14010)
1403 * Makefile.in (setwins_finder): New, excluding leim.
1404 (finder-data): Use setwins_finder.
1405
56759cf1
GM
1406 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1407 (help-function-arglist, help-make-usage): Move from here...
1408 * help.el (help-split-fundoc, help-add-fundoc-usage)
1409 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1410 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1411
7644aa97
JB
14122014-03-14 Juanma Barranquero <lekktu@gmail.com>
1413
1414 * net/socks.el (socks, socks-override-functions)
fd16b061 1415 (socks-find-services-entry):
7644aa97
JB
1416 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1417 (hif-find-ifdef-block):
1418 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1419
1420 * net/tls.el (tls-program): Reflow docstring.
1421
1422 * progmodes/pascal.el (pascal-mode-abbrev-table)
1423 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1424 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1425 (pascal-outline-mode): Fix docstring typos.
1426 (pascal-mode): Let define-derived-mode document mode hook.
1427 (pascal-uncomment-area): Reflow.
1428 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1429
1430 * progmodes/opascal.el (opascal-compound-block-indent)
1431 (opascal-case-label-indent): Fix docstring typos.
1432 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1433
1f44df94
DG
14342014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1435
07f44fdb
JB
1436 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1437 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1438
0d71dfb3
TW
14392014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1440
1441 * emacs-lisp/package.el (package--prepare-dependencies):
1442 Accept requirements without explicit version (bug#14941).
1443
d27a1a7b
JB
14442014-03-12 Juanma Barranquero <lekktu@gmail.com>
1445
a5765a3d
JB
1446 * register.el (register-separator, copy-to-register): Doc fixes.
1447 (register-preview-default): Remove unnecessary call to concat.
1448
d27a1a7b
JB
1449 * frameset.el (frameset-restore): When checking for a visible frame,
1450 use the action map instead of calling visible-frame-list.
1451
08dfa0b7
JB
14522014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1453
1454 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1455
8960529e
MR
14562014-03-12 Martin Rudalics <rudalics@gmx.at>
1457
1458 * window.el (fit-frame-to-buffer): Get maximum width from
1459 display's width instead of height.
1460
8a51e8e4
GM
14612014-03-12 Glenn Morris <rgm@gnu.org>
1462
46456005
GM
1463 * desktop.el (desktop-restore-frames)
1464 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1465 (desktop-restore-reuses-frames): Doc tweaks.
1466
8a51e8e4
GM
1467 * electric.el (electric-indent-mode): Doc fix.
1468
5983b317
JB
14692014-03-12 Juanma Barranquero <lekktu@gmail.com>
1470
1471 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1472 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1473 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1474 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1475 (cvs-dired-use-hook): Fix docstring typos.
1476 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1477 Doc fixes.
1478
1479 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1480 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1481 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1482 (cvs-execute-single-dir): Fix docstring typos.
1483
1484 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1485 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1486
1487 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1488
1489 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1490 Fix docstring typos.
1491
13c00cf0
JB
14922014-03-12 Juanma Barranquero <lekktu@gmail.com>
1493
1494 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1495 called from jump-to-register after unloading the frameset package.
1496
536a17e3
SM
14972014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1500 (bug#16975). Deactivate the mark before setting it to nil.
1501 (activate-mark): Do nothing if region is already active.
1502
baf8d0ac
JB
15032014-03-11 Juanma Barranquero <lekktu@gmail.com>
1504
1505 * frameset.el (frameset--target-display): Remove definition; declare.
1506 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1507
1ea22560
SM
15082014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1511 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1512 when the advice is pending.
1513 (advice-remove): Remove this marker when not needed any more.
1514
4538c058
JB
15152014-03-11 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * frameset.el: Separate options for reusing frames and cleaning up.
1518 (frameset--reuse-list): Remove definition; declare.
1519 (frameset--action-map): Declare.
1520 (frameset--find-frame-if): Doc fix.
1521 (frameset--restore-frame): Cache frame action.
1522 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1523 how to clean up the frame list after restoring. Remove cleaning
1524 options from REUSE-FRAMES. Change all keyword values to symbols.
1525 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1526
1527 * desktop.el (desktop-restore-forces-onscreen)
1528 (desktop-restore-reuses-frames): Use non-keyword values.
1529 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1530
ba1a5c78
GM
15312014-03-10 Glenn Morris <rgm@gnu.org>
1532
776aa432
GM
1533 * files.el (find-file): Doc fix: update info node name.
1534
ba1a5c78
GM
1535 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1536 Doc fix: remove references to deleted info nodes.
1537
183d706e
MA
15382014-03-10 Michael Albinus <michael.albinus@gmx.de>
1539
1540 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1541 Do not add `nil' to the environment, when there's no remote `locale'.
1542 (tramp-find-inline-encoding): Check, that the remote host has
1543 installed perl, before sending scripts.
1544
6f0f96e7
LL
15452014-03-10 Leo Liu <sdl.web@gmail.com>
1546
536a17e3
SM
1547 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1548 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1549
ca70fe78
SM
15502014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1553 (bug#14430).
1554
eb67db41
JL
15552014-03-09 Juri Linkov <juri@jurta.org>
1556
1557 * ansi-color.el (ansi-color-names-vector): Copy default colors
1558 from `xterm-standard-colors' that look well on the default white
1559 background (and also on the black background) to avoid illegible
8cf07e5a 1560 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1561 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1562
e7db5447
JB
15632014-03-08 Juanma Barranquero <lekktu@gmail.com>
1564
1565 * frameset.el (frameset-restore): When no frame is visible, do not
1566 generate a list of frames, just make visible the selected one.
1567
f0a4c8d7
DG
15682014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1569
1570 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1571 it only contains the repository root. (Bug#16897)
1572
e50772e3
MA
15732014-03-07 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1576 only when `remote-file-name-inhibit-cache' is nil.
1577 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1578
cac0a1d6
MR
15792014-03-06 Martin Rudalics <rudalics@gmx.at>
1580
1581 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1582 Fix doc-strings.
1583 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1584 fit-frame-to-buffer variable. Fix doc-string.
1585 (fit-window-to-buffer): Set ONLY argument in call of
1586 fit-frame-to-buffer. Fix doc-string.
1587
fa965cbf
MA
15882014-03-06 Michael Albinus <michael.albinus@gmx.de>
1589
1590 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1591 (tramp-action-password): Clear password cache if needed.
1592 (tramp-read-passwd): Do not clear password cache.
1593
1594 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1595 cache unless it is the first password request.
1596
c94e6ee4
GM
15972014-03-06 Glenn Morris <rgm@gnu.org>
1598
03bc753e
GM
1599 * simple.el (newline): Doc tweak.
1600
c94e6ee4
GM
1601 * emacs-lisp/shadow.el (load-path-shadows-find):
1602 Ignore dir-locals. (Bug#12357)
1603
bd2d43dc
GM
16042014-03-05 Glenn Morris <rgm@gnu.org>
1605
1606 * files.el (interpreter-mode-alist):
1607 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1608
9284000e
JB
16092014-03-05 Juanma Barranquero <lekktu@gmail.com>
1610
1611 * frameset.el (frameset--initial-params): Filter out null entries.
1612
e1a2cb1c
MR
16132014-03-05 Martin Rudalics <rudalics@gmx.at>
1614
27821a89
JB
1615 * window.el (window-min-height, window-min-width):
1616 Rewrite doc-strings.
e1a2cb1c
MR
1617 (window-body-size): Add PIXELWISE argument to make it consistent
1618 with its callees.
1619
6bf67038
JB
16202014-03-05 Juanma Barranquero <lekktu@gmail.com>
1621
1622 * finder.el (finder-mode-map, finder-mode-syntax-table):
1623 Revert part of 2014-02-28 change.
1624
90f04e4c
LI
16252014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1626
1627 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1628 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1629 (eww-textarea-map): [tab] doesn't work on tty.
1630 Reported by Mario Lang.
6952100d
LI
1631
1632 * net/shr.el (shr-map): Ditto.
90f04e4c 1633
3106d59b
GM
16342014-03-04 Glenn Morris <rgm@gnu.org>
1635
1636 * minibuffer.el (completion-hilit-commonality):
1637 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1638
f604dfdc
JB
16392014-03-04 Juanma Barranquero <lekktu@gmail.com>
1640
1641 * hilit-chg.el (hilit-chg-unload-function): New function.
1642 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1643 (hilit-chg-map-changes): Prefer cardinal number to digit.
1644 (hilit-chg-display-changes): Reflow docstring.
1645 (highlight-changes-rotate-faces): Remove superfluous backslash.
1646
5dc65319
MA
16472014-03-04 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1650 `tramp-send-command-and-check'.
1651
4242d21d
JB
16522014-03-04 Juanma Barranquero <lekktu@gmail.com>
1653
b01fa838
JB
1654 * hexl.el (hexl-address-region, hexl-ascii-region)
1655 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1656 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1657 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1658 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1659 (hexl-mode): Doc fix.
1660 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1661 (hexl-mode-ruler): Fix typos in docstrings.
1662
4242d21d
JB
1663 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1664 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1665 Remove superfluous backslashes.
1666 (strokes-last-stroke, strokes-global-map, strokes-mode):
1667 Reflow docstrings.
1668 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1669 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1670 (strokes-distance-squared, strokes-global-set-stroke)
1671 (strokes-global-set-stroke-string): Doc fixes.
1672 (strokes-help): Fix typos; reflow docstring.
1673
87132570
MR
16742014-03-04 Martin Rudalics <rudalics@gmx.at>
1675
1676 * window.el (window-in-direction): Fix doc-string.
1677
d82e752c
GM
16782014-03-04 Glenn Morris <rgm@gnu.org>
1679
1680 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1681 Explicit error if no grammar.
1682 (smie-config-save): Doc fix. Fix quote typo.
1683
62528af0
SM
16842014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1685
8d4901dc
SM
1686 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1687 electric-indent-mode-hook if we obey electric-indent-mode.
1688 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1689 decide whether we obey electric-indent-mode.
1690 (c-change-set-fl-decl-start, c-extend-after-change-region):
1691 Silence warnings.
1692 (c-electric-indent-mode-hook): Assume we do want to obey
1693 electric-indent-mode.
1694
1695 * electric.el (electric-indent-mode-has-been-called): Remove.
1696 (electric-indent-mode): Fix accordingly.
1697
092c12b2
SM
1698 * files.el (hack-local-variables): Mention file name in warning.
1699
62528af0
SM
1700 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1701
5b87d0d9
MN
17022014-03-04 Michal Nazarewicz <mina86@mina86.com>
1703
20f39add 1704 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
1705 * simple.el (delete-forward-char): Mark as interactive-only.
1706
542a3840
JB
17072014-03-03 Juanma Barranquero <lekktu@gmail.com>
1708
f2d2402e
GM
1709 * icomplete.el (icomplete-completions):
1710 Follow-up to 2014-03-01 change.
d11320e5
JB
1711
1712 * icomplete.el: Miscellaneous doc fixes.
1713 Use Icomplete everywhere instead of icomplete for consistency.
1714 (icomplete-max-delay-chars): Fix typo.
1715 (icomplete-mode): Use \[].
1716 (icomplete-tidy, icomplete-exhibit): Reflow.
1717 (icomplete-minibuffer-setup-hook, icomplete-completions):
1718 Remove superfluous backlashes.
1719
1720 * ido.el: Miscellaneous doc fixes.
1721 Use Ido everywhere instead of ido or `ido' for consistency.
1722 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1723 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1724 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1725 (ido-separator): Extract obsolescence info from docstring and declare
1726 with make-obsolete-variable.
1727 (ido-minibuffer-setup-hook): Simplify example.
1728 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1729 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1730 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1731 (ido-everywhere): Reflow docstring.
1732 (ido-toggle-vc): Doc fix.
1733 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1734 of long list of keybindings.
1735
7ebd57e9
GM
17362014-03-03 Glenn Morris <rgm@gnu.org>
1737
1738 * frame.el (display-pixel-height, display-pixel-width)
1739 (display-mm-dimensions-alist, display-mm-height)
1740 (display-mm-width): Doc tweaks.
1741
35e951cd 17422014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
1743
1744 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1745 case of undo in region.
1746
b923819c
MR
17472014-03-02 Martin Rudalics <rudalics@gmx.at>
1748
1749 * window.el (fit-window-to-buffer): Fix argument in window-size
1750 call when window is horizontally combined.
1751
b6e443c5
JB
17522014-03-02 Juanma Barranquero <lekktu@gmail.com>
1753
1754 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 1755 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 1756
1850913d
DG
17572014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1758
35e951cd
JB
1759 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1760 Highlight regexp options. (Bug#16914)
1850913d 1761
04b577b6
MR
17622014-03-01 Martin Rudalics <rudalics@gmx.at>
1763
1764 * window.el (window--max-delta-1): Round down when calculating
1765 how many lines/columns we can get from a window.
1766
b829360f
GM
17672014-03-01 Glenn Morris <rgm@gnu.org>
1768
2501c912
GM
1769 * isearch.el (search-invisible): Doc fix.
1770
b829360f
GM
1771 * minibuffer.el (completion-hilit-commonality):
1772 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1773 * comint.el (comint-dynamic-list-completions): Doc fix.
1774 * comint.el (comint-dynamic-list-completions):
1775 * filecache.el (file-cache-minibuffer-complete):
1776 * tempo.el (tempo-display-completions):
1777 * eshell/em-hist.el (eshell-list-history):
1778 Replace use of obsolete argument of display-completion-list.
1779
9a155058
JB
17802014-03-01 Juanma Barranquero <lekktu@gmail.com>
1781
1782 * icomplete.el (icomplete-completions):
1783 Revert back to using "..." when ?… cannot be displayed.
1784
53f6cda8
JB
17852014-02-28 Juanma Barranquero <lekktu@gmail.com>
1786
1787 * finder.el (finder-unload-function): New function.
1788
43977c23
JB
17892014-02-28 Juanma Barranquero <lekktu@gmail.com>
1790
1791 * dframe.el (dframe-detach):
1792 * find-dired.el (find-dired, find-name-dired):
1793 * finder.el (finder-mode-map, finder-mode-syntax-table)
1794 (finder-headmark, finder-select, finder-mouse-select):
1795 Fix docstring typos.
1796
9dda75ad
MR
17972014-02-28 Martin Rudalics <rudalics@gmx.at>
1798
1799 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
1800 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1801 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1802 Fix doc-string based on a suggestion by Nicolas Richard
1803 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
1804 * help.el (with-help-window): Fix doc-string.
1805
8a73034e
IK
18062014-02-28 Ivan Kanis <ivan@kanis.fr>
1807
b70257b0
GM
1808 * net/shr.el (shr-image-animate): New option.
1809 (shr-put-image): Respect shr-image-animate.
8a73034e 1810
245aa73e
MA
18112014-02-28 Michael Albinus <michael.albinus@gmx.de>
1812
1813 * net/tramp-adb.el (tramp-adb-parse-device-names):
1814 Use `accept-process-output'.
1815 (tramp-adb-handle-file-truename): Cache the localname only.
1816 (tramp-adb-handle-make-directory)
1817 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1818 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1819 modes cannot be changed.
1820
1821 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1822 file properties of symlinks.
1823
48e15d64
PS
18242014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1825
1826 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1827 required/optional fields to match development biblatex. (Bug#16781)
1828
65b77347
AS
18292014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1830
1831 * saveplace.el (toggle-save-place):
1832 Fix argument handling. (Bug#16673)
1833
5e618aba
GM
18342014-02-28 Glenn Morris <rgm@gnu.org>
1835
1836 * minibuffer.el (completions-first-difference)
1837 (completions-common-part, completion-hilit-commonality): Doc fixes.
1838
6deb314e
KB
18392014-02-28 Karl Berry <karl@gnu.org>
1840
1841 * info.el (Info-mode-map): Add H for describe-mode,
1842 to synchronize with standalone Info.
1843
289996f5
EL
18442014-02-28 Emilio C. Lopes <eclig@gmx.net>
1845
1846 * progmodes/sql.el (sql-interactive-mode):
1847 Avoid setting global comint-input-ring-separator. (Bug#16814)
1848
79fc1191
MA
18492014-02-27 Michael Albinus <michael.albinus@gmx.de>
1850
1851 * net/dbus.el (dbus--init-bus): Declare function.
1852 (dbus-path-local, dbus-interface-local): New defconst.
1853 (dbus-init-bus): Use them.
1854 (dbus-return-values-table): Extend doc.
1855 (dbus-handle-bus-disconnect): Extend error message.
1856
298520df
JB
18572014-02-27 Juanma Barranquero <lekktu@gmail.com>
1858
1859 * subr.el (y-or-n-p): Fix double space issue in message.
1860
c22c1614
MA
18612014-02-27 Michael Albinus <michael.albinus@gmx.de>
1862
1863 * net/tramp.el (tramp-call-process): Improve trace message.
1864 (tramp-handle-insert-file-contents): Trace error case.
1865
1866 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1867 <insert-directory>: Use `tramp-handle-insert-directory'.
1868 (tramp-adb-handle-insert-directory): Remove function.
1869 (tramp-adb-send-command-and-check): New defun, replacing
1870 `tramp-adb-command-exit-status'. Change all callees.
1871 (tramp-adb-handle-file-attributes)
1872 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
1873 (tramp-adb-ls-output-name-less-p):
1874 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
1875 (tramp-adb-handle-delete-directory): Flush also file properties of
1876 the truename of directory.
1877 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1878 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1879 (tramp-adb-handle-write-region): Implement APPEND.
1880 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1881 properties correctly.
1882 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1883 variables. Check for connected devices only when needed.
1884
d9263618
GM
18852014-02-27 Glenn Morris <rgm@gnu.org>
1886
ea7826ba
GM
1887 * minibuffer.el (completion-table-dynamic)
1888 (completion-table-with-cache): Doc fixes.
1889
d9263618
GM
1890 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1891 (completing-read-multiple): Doc fixes.
1892
eff3168a
DC
18932014-02-27 Daniel Colascione <dancol@dancol.org>
1894
51f213c3
DC
1895 * minibuffer.el (completion--nth-completion): Fix indentation.
1896
eff3168a
DC
1897 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1898 explicit tramp path is empty.
1899
b77cfcd7
GM
19002014-02-27 Glenn Morris <rgm@gnu.org>
1901
1902 * emacs-lisp/crm.el (completing-read-multiple):
1903 Empower help-enable-auto-load.
1904
9577b569
GM
19052014-02-26 Glenn Morris <rgm@gnu.org>
1906
259887e8
GM
1907 * startup.el (command-line): Don't init the tty in daemon mode.
1908
1d491ef2
GM
1909 Avoid calling tty-setup-hook twice, eg if a term file
1910 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1911 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1912 (tty-create-frame-with-faces): Use it.
1913 * startup.el (command-line): Pass run-hook argument
1914 to tty-run-terminal-initialization.
1915
9577b569
GM
1916 * dired.el (dired-restore-desktop-buffer): Demote errors;
1917 eg in case a glob match fails. (Bug#16884)
1918
40ff7f86
DG
19192014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1920
b2388336
DG
1921 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1922 error from `read-from-string'. (Bug#16850)
1923
40ff7f86
DG
1924 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1925 result of `completing-read' in the interactive form. (Bug#16854)
1926
98bd6b32
GM
19272014-02-25 Glenn Morris <rgm@gnu.org>
1928
f086804c
GM
1929 * image.el (image-animate, image-animate-timeout):
1930 Stop animating images in dead buffers. (Bug#16878)
1931
c107155e
GM
1932 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1933
9577b569
GM
1934 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1935 Doc fixes.
98bd6b32
GM
1936 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1937 * term/sun.el (sun-raw-prefix-hooks):
1938 Use tty-setup-hook instead of term-setup-hook.
1939 (terminal-init-sun): Construct message from bytecomp plist.
1940 * term/wyse50.el (enable-arrow-keys): Doc fix.
1941
9c9e18e8
JB
19422014-02-24 Juanma Barranquero <lekktu@gmail.com>
1943
1944 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1945 Fix docstring typos.
1946
c848881f
MA
19472014-02-24 Michael Albinus <michael.albinus@gmx.de>
1948
1949 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1950
0e38ae05
NR
19512014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1952
1953 * minibuffer.el (completion--try-word-completion):
1954 Fix error when completing M-x commands (bug#16808).
1955
8ee4c296
LL
19562014-02-24 Leo Liu <sdl.web@gmail.com>
1957
1958 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1959
7d4bd627
JB
19602014-02-24 Juanma Barranquero <lekktu@gmail.com>
1961
1962 * apropos.el (apropos-print): Avoid formatting error when
1963 apropos-do-all and apropos-compact-layout are both t.
1964
e918e27f
JB
19652014-02-23 Juanma Barranquero <lekktu@gmail.com>
1966
1967 * apropos.el (apropos-property, apropos-all-words-regexp)
1968 (apropos-true-hit, apropos-variable, apropos-print):
1969 Fix docstring typos, and remove obsolete comment.
1970
85c01f80
MA
19712014-02-23 Michael Albinus <michael.albinus@gmx.de>
1972
1973 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1974 Preserve trailing "/". (Bug#16851)
1975
62f95022
DG
19762014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1977
1978 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1979 after `=>' (bug#16811).
dfdb365c
DG
1980 (ruby-smie-rules): Handle the inconsistent second element of the
1981 list returned by `smie-indent--parent'.
1982 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1983 method call.
62f95022 1984
025f2c81
JB
19852014-02-23 Juanma Barranquero <lekktu@gmail.com>
1986
1987 * elec-pair.el (electric-pair-text-syntax-table)
1988 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1989 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1990 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1991 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1992
123c84f9
GM
19932014-02-22 Glenn Morris <rgm@gnu.org>
1994
612c3e46
GM
1995 * imenu.el (imenu--generic-function): Doc fix.
1996
123c84f9
GM
1997 * register.el (frame-configuration-to-register): Make obsolete.
1998
e59fa9ad
JB
19992014-02-22 Juanma Barranquero <lekktu@gmail.com>
2000
2001 * desktop.el (desktop-save-buffer-p): Do not fail when
2002 desktop-files-not-to-save is nil. Return t for true result
2003 as the doc says.
2004
4e652634
DC
20052014-02-22 Daniel Colascione <dancol@dancol.org>
2006
27821a89 2007 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2008 Check that attribute values are strings, avoiding the construction
2009 of invalid dbus messages.
4e652634 2010
f35affb6
JB
20112014-02-21 Juanma Barranquero <lekktu@gmail.com>
2012
2013 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2014 defun-declarations-alist.
2015
3d136b1b
SM
20162014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2019 (bug#16829).
2020
612ddfc0
JB
20212014-02-21 Juanma Barranquero <lekktu@gmail.com>
2022
2023 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2024 (whitespace-newline, whitespace-trailing, whitespace-line)
2025 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2026 (whitespace-space-after-tab): Fix typo in docstrings.
2027
c8481b1b
DG
20282014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2029
cb8f50a7
DG
2030 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2031
c8481b1b
DG
2032 * electric.el (electric-indent-functions-without-reindent):
2033 Add `yaml-indent-line'.
2034
bed5126f
JB
20352014-02-21 Juanma Barranquero <lekktu@gmail.com>
2036
34b71457
JB
2037 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2038 It has done nothing for years; should be removed after the release.
2039
bed5126f
JB
2040 * simple.el (choose-completion): Fix docstring typo.
2041 (read-quoted-char-radix): Remove unneeded * in docstring.
2042 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2043 Don't escape parentheses unnecessarily in docstrings.
2044
8dd3e94f
MR
20452014-02-21 Martin Rudalics <rudalics@gmx.at>
2046
2047 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2048 * window.el (window--dump-window, window--dump-frame):
2049 New functions.
2050 (window--min-size-1): Account for window dividers.
2051 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2052 sum of the window components has been calculated.
2053 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2054 nil make sure at least one text line and two text columns remain
2055 fully visible.
2056 (window-resize): Signal an error when window-resize-apply fails.
2057 (window--resize-child-windows): Fix calculation of by how many
2058 pixels a window can still be shrunk via window-new-normal.
2059 (adjust-window-trailing-edge): Call window--resizable with
2060 correct TRAIL argument.
2061
2ed94e04
MR
2062 (with-temp-buffer-window): Don't evaluate BODY within
2063 with-current-buffer (Bug#16816).
2064
0e5324c4
MA
20652014-02-21 Michael Albinus <michael.albinus@gmx.de>
2066
2067 * net/tramp.el (tramp-check-cached-permissions):
2068 Call `file-attributes' with `suffix' being a symbol but a string.
2069
48198420
DC
20702014-02-21 Daniel Colascione <dancol@dancol.org>
2071
2072 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2073 (dbus-init-bus): New function: call into dbus-init-bus-1
2074 and installs a handler for the disconnect signal.
2075 (dbus-call-method): Rewrite to look for result in cons.
2076 (dbus-call-method-handler): Store result in cons.
2077 (dbus-check-event): Recognize events with nil sender as valid.
2078 (dbus-handle-bus-disconnect): New function. React to bus
2079 disconnection signal by synthesizing dbus error for each
2080 pending synchronous or asynchronous call.
2081 (dbus-notice-synchronous-call-errors): New function.
2082 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2083 is true, not all the time.
2084
99e15133
JB
20852014-02-21 Juanma Barranquero <lekktu@gmail.com>
2086
e48983a6
JB
2087 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2088 Remove obsolescence declarations, these variables do not exist anymore.
2089
fdcfd745
JB
2090 * savehist.el (savehist-save-minibuffer-history)
2091 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2092 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2093 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2094 mostly, refer to "Savehist mode" when talking about the mode,
2095 and not the function.
2096
99e15133
JB
2097 * saveplace.el (save-place): Remove redundant info in docstring.
2098 (save-place-forget-unreadable-files, toggle-save-place)
2099 (save-place-forget-unreadable-files, save-place-dired-hook):
2100 Fix typos and remove unneeded backslashes.
2101
f5bee33b
MA
21022014-02-20 Michael Albinus <michael.albinus@gmx.de>
2103
2104 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2105 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2106
2107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2108 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2109 (tramp-gvfs-handle-insert-directory): Remove function.
2110
2111 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2112 Call `tramp-handle-insert-directory'.
2113
ee0761ca
JB
21142014-02-20 Juanma Barranquero <lekktu@gmail.com>
2115
2116 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2117 before the start of buffer/region (bug#16799).
2118
4d49cc65
GM
21192014-02-20 Glenn Morris <rgm@gnu.org>
2120
2121 * isearch.el (search-invisible): Doc fix.
2122
eee0d650
TK
21232014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2124
2125 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2126 (bug#16657).
2127
94e5e202
JB
21282014-02-19 Juanma Barranquero <lekktu@gmail.com>
2129
2130 * frameset.el (frameset-restore): Delay removing an old frame's
2131 duplicate id until the new frame has been correctly created.
2132
50bfdd5d
MA
21332014-02-19 Michael Albinus <michael.albinus@gmx.de>
2134
2135 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2136 (tramp-check-cached-permissions): Call `file-attributes' if the
2137 cache is empty.
2138
2139 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2140 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2141
2142 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2143 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2144 (tramp-gvfs-maybe-open-connection): Set always connection
2145 properties, even if target is mounted already.
2146
2147 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2148 Set tramp-autoload cookie.
2149 (tramp-get-remote-touch): New defun.
2150 (tramp-sh-handle-set-file-times): Use it.
2151 (tramp-sh-handle-directory-files-and-attributes):
2152 Use `tramp-handle-directory-files-and-attributes' if neither stat
2153 nor perl are available on the remote host.
2154
2155 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2156 "/". Write long listing only when "l" belongs to the switches.
2157
2158 * net/trampver.el: Update release number.
2159
f097a3d2
JB
21602014-02-19 Juanma Barranquero <lekktu@gmail.com>
2161
2162 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2163
8e009b78
MR
21642014-02-19 Martin Rudalics <rudalics@gmx.at>
2165
2166 * window.el (window-state-put): Allow WINDOW to refer to an
2167 internal window (Bug#16793).
2168
95160c90
GM
21692014-02-19 Glenn Morris <rgm@gnu.org>
2170
2171 * textmodes/remember.el: Move provide statement to end.
2172 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2173 (remember-notes): Doc fixes.
2174
b28df58c
SM
21752014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * delsel.el (delete-char): Restore incorrectly erased property
2178 (bug#16795).
2179
7108e1c0
JB
21802014-02-18 Juanma Barranquero <lekktu@gmail.com>
2181
2182 * frameset.el (frameset--restore-frame): When a frame is being reused
2183 and its root window is not alive, delete all the frame's windows before
2184 restoring the window state. This works around the issue in bug#16793.
2185
c863b6ad
GM
21862014-02-18 Glenn Morris <rgm@gnu.org>
2187
a73fae1f
GM
2188 * textmodes/remember.el (remember-data-directory)
2189 (remember-directory-file-name-format, remember-store-in-files)
2190 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2191 (remember-notes-save-and-bury-buffer)
2192 (remember-notes--kill-buffer-query): Doc fixes.
2193
c863b6ad
GM
2194 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2195
29238d28
AM
21962014-02-17 Alan Mackenzie <acm@muc.de>
2197
2198 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2199 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2200 to electric-indent-{,local-}-mode.
b28df58c
SM
2201 (c-basic-common-init): Set electric-indent-inhibit.
2202 Initialise c-electric-flag from electric-indent-mode.
29238d28 2203 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2204 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2205
2206 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2207 hit, toggle electric-indent-local-mode.
29238d28 2208
b28df58c
SM
2209 * electric.el (electric-indent-mode-has-been-called):
2210 New variable.
29238d28 2211
c6463340
JB
22122014-02-17 Juanma Barranquero <lekktu@gmail.com>
2213
2214 * frameset.el (frameset-cfg-id): New function.
2215 (frameset--reuse-frame, frameset-restore): Use it.
2216 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2217
94912b88
SM
22182014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * ido.el (ido-file-internal): Remove unused var `d'.
2221 Use \` for to match BoS. Fit within 80n columns.
2222
26ea164c
DC
22232014-02-17 Daniel Colascione <dancol@dancol.org>
2224
2225 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2226 dbus-call-method check for completion using a busy-wait loop with
2227 gradual backoff.
2228
589d1988 22292014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2230
2231 Sync with Tramp 2.2.9.
2232
2233 * net/trampver.el: Update release number.
2234
17d1b51b
DG
22352014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2236
2237 * ido.el (ido-file-internal): Don't add the name of an existing
2238 directory twice. (Bug#16747)
2239
5bcad689
GM
22402014-02-16 Glenn Morris <rgm@gnu.org>
2241
2242 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2243 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2244
22452014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2246
2247 * progmodes/sql.el: Version 3.4
2248 (sql-oracle-options): New default value ("-L").
94912b88 2249 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2250 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2251 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2252 (sql-login-delay): New variable.
2253 (sql-product-interactive): Use it.
2254
285f1858
JB
22552014-02-15 Juanma Barranquero <lekktu@gmail.com>
2256
2257 * frameset.el (frameset--jump-to-register): Check that buffer is live
2258 (bug#16749).
2259
5d645ea4
GM
22602014-02-15 Glenn Morris <rgm@gnu.org>
2261
2262 * info.el (info-initialize): Revert 2014-01-10 change.
2263
48c4f9b1
GM
22642014-02-14 Glenn Morris <rgm@gnu.org>
2265
b8630261
GM
2266 * replace.el (map-query-replace-regexp)
2267 (read-regexp-defaults-function, read-regexp): Doc fixes.
2268
b2bf2a25
GM
2269 * dired.el (dired-read-regexp):
2270 * faces.el (list-faces-display):
2271 * misearch.el (multi-isearch-read-matching-buffers)
2272 (multi-isearch-read-matching-files):
2273 * play/cookie1.el (cookie-apropos):
2274 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2275
48c4f9b1
GM
2276 * textmodes/remember.el (remember): Use frameset-to-register
2277 rather than frame-configuration-to-register.
2278
2804e0bd
JB
22792014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2280
2281 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2282 incorrect keybinding.
2283
0b87142f
DC
22842014-02-13 Daniel Colascione <dancol@dancol.org>
2285
2286 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2287 when adding overlays so that line numbers from compiler match line
2288 numbers we use.
2289
47a73eb0
GM
22902014-02-13 Glenn Morris <rgm@gnu.org>
2291
8abcfd51
GM
2292 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2293
47a73eb0
GM
2294 * jit-lock.el (jit-lock-mode): Doc fix.
2295
c9b6b262
JB
22962014-02-13 Juanma Barranquero <lekktu@gmail.com>
2297
2298 * apropos.el (apropos-read-pattern): When the user passes an empty
2299 string, give a more helpful error message than "Wrong type
2300 argument: stringp, nil".
2301
eb4c6947
SM
23022014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2305
0dab5068
GM
23062014-02-13 Glenn Morris <rgm@gnu.org>
2307
2308 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2309
59075dcf
SM
23102014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2313 shift-select commands.
2314
5af9fbad
DG
23152014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2316
2317 * progmodes/js.el (js-indent-line): Don't widen.
2318 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2319
a215930c
GM
23202014-02-12 Glenn Morris <rgm@gnu.org>
2321
a8cb4247
GM
2322 * icomplete.el (icomplete): Add info-link to defgroup.
2323 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2324 (icomplete-minibuffer-map, icomplete-mode)
2325 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2326
a215930c
GM
2327 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2328 (package-menu-filter): Rename from package-menu-filter-interactive.
2329 Doc fix.
2330
26c5ecd9
JB
23312014-02-11 Juanma Barranquero <lekktu@gmail.com>
2332
2333 * frameset.el (frameset--jump-to-register): Select the required
2334 window and buffer before restoring position (bug#16696).
2335
fcd58a02
LI
23362014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2337
2338 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2339
bacb3380
GM
23402014-02-10 Glenn Morris <rgm@gnu.org>
2341
2342 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2343
881329dc
EZ
23442014-02-10 Eli Zaretskii <eliz@gnu.org>
2345
02328db9
EZ
2346 * w32-common-fns.el (x-get-selection): Doc fix.
2347 * select.el (x-get-selection): Doc fix. (Bug#15109)
2348
881329dc
EZ
2349 * face-remap.el (face-remap-add-relative)
2350 (face-remap-remove-relative, face-remap-reset-base)
2351 (face-remap-set-base): Call force-mode-line-update to redisplay
2352 the current buffer due to potential change in faces. (Bug#16709)
2353
c7db4c06
MA
23542014-02-10 Michael Albinus <michael.albinus@gmx.de>
2355
2356 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2357 script more robustly.
2358
6abe4589
LI
23592014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2360
7602b5c3
LI
2361 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2362
e3692ee0
LI
2363 * simple.el (choose-completion): Doc fix (bug#14160).
2364
41015524
LI
2365 * subr.el (event-start): Say what a nil EVENT value means.
2366
87c79dcb
LI
2367 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2368 (bug#14197).
2369
3ab49e2c
LI
2370 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2371
f3c60241
LI
2372 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2373
3bd1d8a8
LI
2374 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2375
6abe4589
LI
2376 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2377 predicate function (bug#15455).
2378
a11463de
DG
23792014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2380
2381 * ielm.el (inferior-emacs-lisp-mode): Instead of
2382 `comment-use-global-state', set `comment-use-syntax'.
2383
2ab0ad85
GM
23842014-02-10 Glenn Morris <rgm@gnu.org>
2385
2386 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2387
411141fb
AM
23882014-02-09 Alan Mackenzie <acm@muc.de>
2389
2390 Fix c-invalidate-state-cache on narrowed buffers.
2391 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2392 Widen when setting and clearing the CPP delimiter properties.
2393
d6d5fdf8
LI
23942014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2395
92c70367
LI
2396 * help.el (describe-bindings): Doc fix (bug#9888).
2397
468ef484
LI
2398 * files.el (save-buffer): Use ARG as the parameter name for
2399 consistency (bug#10346).
7e34193f 2400 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2401
fc2b1ffa 2402 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2403 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2404 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2405
790aceec
LI
2406 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2407
a54a7552 2408 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2409 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2410
dd163123
LI
2411 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2412 meaning of the parameter (bug#12282).
2413
9e108fe6
LI
2414 * files.el (find-file-noselect): Clarify prompt when changing
2415 readedness (bug#13261).
5a836f58
LI
2416 (locate-file): Suffixes aren't returned, so don't say that they
2417 are (bug#12674).
2356b316 2418 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2419
20dda930
LI
2420 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2421 before we actually start to delete things (bug#16331).
2422
d6d5fdf8
LI
2423 * subr.el (event-start): Doc fix (bug#14228).
2424 (event-end): Ditto.
2425
2abd71e5
GM
24262014-02-09 Glenn Morris <rgm@gnu.org>
2427
2428 * emacs-lisp/warnings.el (lwarn):
2429 Empower help-enable-auto-load. (Bug#15940)
2430
c1b5900b
AS
24312014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2432
2433 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2434 (Bug#16690)
2435
429b93bd
MA
24362014-02-08 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2439 Insert output at end of buffer. (Bug#16120)
2440
b772a699
LI
24412014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2442
18c6aa8c
LI
2443 * simple.el (choose-completion-string-functions): Document new
2444 calling convention (bug#14153).
54dd147a 2445 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2446
dce8463b
LI
2447 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2448
b772a699 2449 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2450 (find-grep-dired): Doc fix (bug#14288).
b772a699 2451
2423c8d5
JL
24522014-02-08 Juri Linkov <juri@jurta.org>
2453
2454 * isearch.el (isearch-quote-char): Check character validity
2455 like in `quoted-insert' (bug#16677).
2456
518f26c2
LI
24572014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2458
893cc908
LI
2459 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2460
9165ffc0
LI
2461 * isearch.el (isearch-hide-immediately): Doc clarification
2462 (bug#14723).
2463
6ef4f3ce
LI
2464 * simple.el (line-move): Document utility function used many
2465 places in the Emacs sources (bug#14843).
2466
be58a238 2467 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2468 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2469 (dired-up-directory): Doc fix (bug#14848).
be58a238 2470
dd7aafbb
LI
2471 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2472
15cb9968
LI
2473 * files.el (file-relative-name): Doc fix (bug#15159).
2474
9788effd
LI
2475 * fringe.el (fringe-styles): Doc fix (bug#15239).
2476
c96411bd
LI
2477 * isearch.el (isearch-filter-predicate): Documentation typo fix
2478 (bug#15474).
2479
ea838c36
LI
2480 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2481
0d8a4ae7
LI
2482 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2483
f7a17bb3
LI
2484 * replace.el (replace-match-maybe-edit): Doc clarification
2485 (bug#15632).
2486
1bde5c3b
LI
2487 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2488
518f26c2
LI
2489 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2490
dd8e49fd
GM
24912014-02-08 Glenn Morris <rgm@gnu.org>
2492
2493 * help-fns.el (describe-variable):
2494 Check {file,dir}-local-variables-alist, and buffer-file-name,
2495 in the correct buffer.
2496
7e088b29
IL
24972014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2498
2499 * help-fns.el (describe-variable): Fix the case where
2500 a value is directory-local with no dir-locals file. (Bug#16635)
2501
41a4a82f
GM
25022014-02-08 Glenn Morris <rgm@gnu.org>
2503
2504 * abbrev.el (edit-abbrevs-mode):
2505 Derive from fundamental-mode. (Bug#16682)
2506
e255a703
JB
25072014-02-07 Juanma Barranquero <lekktu@gmail.com>
2508
2509 * simple.el (quoted-insert): Check character validity (bug#16677).
2510
c99cf5ee
JL
25112014-02-07 Juri Linkov <juri@jurta.org>
2512
2513 * desktop.el (desktop-read): Claim the lock when the owner is not
2514 the current process. (Bug#16157)
2515
7d7a68d8
JL
25162014-02-07 Juri Linkov <juri@jurta.org>
2517
2518 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2519 to "\\` ". (Bug#16651)
2520
2b777cd9
JL
25212014-02-07 Juri Linkov <juri@jurta.org>
2522
2523 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2524 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2525 (desktop-auto-save-cancel-timer): New function with some code from
2526 `desktop-auto-save-set-timer'.
2527 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2528 Instead of setting `desktop-save-mode' to nil, call
2529 `desktop-save-mode' with arg 0. (Bug#16630)
2530
60eabbb9
GM
25312014-02-07 Glenn Morris <rgm@gnu.org>
2532
99cf3859
GM
2533 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2534 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2535 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2536
2b568bc9
GM
2537 * obsolete/iswitchb.el: Move to obsolete/.
2538 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2539 since obsolete/ is not scanned for autoloads.
2540 * emacs-lisp/authors.el (authors-valid-file-names):
2541 Add iswitchb.el.
2542
60eabbb9
GM
2543 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2544 Disable now non-functional find-file-hook.
2545
629de968
MA
25462014-02-06 Michael Albinus <michael.albinus@gmx.de>
2547
2548 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2549 instead of ";" in order to avoid additional prompts. Let heredoc
2550 scripts read from tty. (Bug#16582)
2551 (tramp-send-command): No special handling of heredocs, it isn't
2552 necessary anymore.
2553
29127376
SM
25542014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2557 with a space (bug#16664). Limit the symbols considered to the ones
2558 that are bound or fbound (bug#16646).
2559
79b6e0a9
GM
25602014-02-06 Glenn Morris <rgm@gnu.org>
2561
2562 * epa.el (epa-mail-aliases): Doc fix.
2563
a333e4d2
DG
25642014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2565
29127376
SM
2566 * emacs-lisp/lisp.el (lisp-completion-at-point):
2567 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2568 (bug#16604).
2569
2570 * minibuffer.el (completion-table-merge): New function.
2571
9a83b32b
MA
25722014-02-05 Michael Albinus <michael.albinus@gmx.de>
2573
2574 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2575 (tramp-sh-handle-set-file-acl)
2576 (tramp-sh-handle-start-file-process)
2577 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2578 (tramp-find-executable, tramp-send-command): Use it.
2579
451ea3e6
GM
25802014-02-05 Glenn Morris <rgm@gnu.org>
2581
9a83b32b 2582 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2583
dd27d13b
FEG
25842014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2585
35e951cd 2586 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2587 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2588
08e41897
AL
25892014-02-04 Anders Lindgren <andlind@gmail.com>
2590
2591 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2592 the names (bug#16620).
2593
764ec9e5
MR
25942014-02-03 Martin Rudalics <rudalics@gmx.at>
2595
08e41897
AL
2596 * faces.el (window-divider): New default value. Rewrite doc-string.
2597 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2598
6da8227c
DG
25992014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2600
2601 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2602 `protected' and `public' can also be called without arguments.
2603
6a6b8e40
GM
26042014-02-03 Glenn Morris <rgm@gnu.org>
2605
7bcbca40
GM
2606 * register.el (window-configuration-to-register)
2607 (frame-configuration-to-register): Unadvertise unused argument.
2608 * frameset.el (frameset-to-register): Remove unused argument.
2609
719d965d 2610 * frameset.el (frameset-to-register):
6a6b8e40
GM
2611 * kmacro.el (kmacro-to-register):
2612 * register.el (increment-register):
2613 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2614 (calc-append-to-register, calc-prepend-to-register):
2615 * play/gametree.el (gametree-layout-to-register)
2616 (gametree-apply-register-layout):
2617 * textmodes/picture.el (picture-clear-rectangle-to-register)
2618 (picture-yank-rectangle-from-register):
2619 * vc/emerge.el (emerge-combine-versions-register):
2620 Use register-read-with-preview to read registers.
2621
5dca7759
JT
26222014-02-03 João Távora <joaotavora@gmail.com>
2623
2624 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2625 when at beginning of (possibly narrowed) buffer.
2626
709085b9
DC
26272014-02-02 Daniel Colascione <dancol@dancol.org>
2628
c295fc18 2629 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2630 Also try to display local help from just before point.
709085b9 2631
99f7b0a6
AM
26322014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2633
2634 c-parse-state. Don't "append-lower-brace-pair" in certain
2635 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2636 recognised as a comment.
2637
2638 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2639 as well as normal comment starter.
2640 (c-parse-state-get-strategy): Extra return possibility
2641 'back-and-forward.
2642 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2643 return value list to indicate replacement of a brace-pair cons
2644 with its car.
2645 (c-parse-state-1): With 'back-and-forward, only call
2646 c-append-lower-brace-pair-to state-cache when cons-separated.
2647
f0a10576
JD
26482014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2649
2650 * term/ns-win.el (ns-suspend-error): New function.
2651 (ns-initialize-window-system): Add ns-suspend-error to
2652 suspend-hook (Bug#16612).
2653
b8d552c2
DC
26542014-02-02 Daniel Colascione <dancol@dancol.org>
2655
35e951cd
JB
2656 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2657 Make loading cc-mode silent.
b8d552c2 2658
f2b7d123
DC
26592014-02-02 Daniel Colascione <dancol@dancol.org>
2660
35e951cd
JB
2661 * comint.el (comint-prompt-read-only): Change doc to suggest
2662 remap keybinding.
f2b7d123 2663
4472a196
GM
26642014-02-02 Glenn Morris <rgm@gnu.org>
2665
2666 * register.el (register-read-with-preview, point-to-register)
2667 (window-configuration-to-register, frame-configuration-to-register)
2668 (jump-to-register, number-to-register, view-register, insert-register)
2669 (copy-to-register, append-to-register, prepend-to-register)
2670 (copy-rectangle-to-register): Doc fixes.
2671
70e5a261
SM
26722014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2675 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2676 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2677 * help-fns.el (describe-function-1): Use it.
2678
7c324762
GM
26792014-02-02 Glenn Morris <rgm@gnu.org>
2680
2681 * register.el (register-preview-default): New function,
2682 split from register-preview.
2683 (register-preview-function): Rename from register-preview-functions,
2684 make it not a hook.
2685 (register-preview): Use register-preview-function.
2686 (register-read-with-preview): Error on non-character event. (Bug#16595)
2687
a09beb3d
DG
26882014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2689
2690 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2691 `:' before binary operators (bug#16609). Don't check for `:'
2692 before `[' and `(', or their syntax status. A percent literal
2693 can't end with either.
68e004e0
DG
2694 (ruby-font-lock-keywords): For built-ins that require arguments,
2695 check that they're followed by something that looks like argument
2696 (bug#16610).
a09beb3d 2697
ed4d2875
LI
26982014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2699
2700 * subr.el (butlast): Document what an omitted N means (bug#13437).
2701 (nbutlast): Ditto.
2702
dba6e3ec
LI
27032014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2704
2705 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2706 depth shallower (bug#16587).
cc477daa
LI
2707 (shr-tag-svg): Respect `shr-inhibit-images'.
2708 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 2709
e2a67bd0
DG
27102014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2711
2712 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2713 (ruby-smie-grammar): Make "." right-associative. Make its priority
2714 lower than the ternary and all binary operators.
2715 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
2716 parent, or the first "." parent at indentation.
2717 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
2718 (Bug#16593)
2719
bd21bf41
JL
27202014-01-31 Juri Linkov <juri@jurta.org>
2721
2722 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2723 from `make-hash-table'.
2724
2725 * textmodes/ispell.el (ispell-init-process): Change message format
2726 to be consistent with other messages.
2727
b7e615b9
GM
27282014-01-31 Glenn Morris <rgm@gnu.org>
2729
a69ecd19
GM
2730 * delsel.el (delete-selection-mode): Doc fix.
2731
9997d7e3
GM
2732 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2733 (trace-function-background): Doc fixes.
2734
fbb764b8
GM
2735 * ido.el (ido-use-virtual-buffers): Doc fix.
2736 Reset :version, since the default value has not changed.
2737
da942af1
GM
2738 * register.el (register-preview-delay, register-read-with-preview):
2739 Doc fixes.
2740
b7e615b9
GM
2741 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2742 do not mess with mail-buffer position (fixes 2009-11-03 change).
2743 * progmodes/cc-mode.el (c-submit-bug-report):
2744 Check auto-fill-mode is bound. (Bug#16592)
2745
0a25002d
DH
27462014-01-31 Darren Hoo <darren.hoo@gmail.com>
2747
2748 * startup.el (fancy-splash-image-file): New function,
2749 split from fancy-splash-head.
2750 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2751 so that we are both using the same image. (Bug#16574)
2752
ad78f432
GM
27532014-01-30 Glenn Morris <rgm@gnu.org>
2754
6bbc0c84
GM
2755 * simple.el (eval-expression): Doc fix.
2756
ad78f432
GM
2757 * hexl.el (hexl-mode-hook):
2758 * ielm.el (ielm-mode-hook):
2759 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2760 (lisp-interaction-mode-hook):
20f39add 2761 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
2762 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2763
7b2f049c
SM
27642014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2767 is a symbol (bug#16584).
2768
0c633f13
GM
27692014-01-30 Glenn Morris <rgm@gnu.org>
2770
2771 * help.el (help-for-help-internal): Add "P" to text.
2772
5e61c1ef
GM
27732014-01-29 Glenn Morris <rgm@gnu.org>
2774
2775 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2776
1dcb169c
MR
27772014-01-28 Martin Rudalics <rudalics@gmx.at>
2778
2779 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2780 height constraints.
2781
a9128931
LL
27822014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2783
2784 * progmodes/hideif.el: Extend to full CPP expression syntax.
2785 (hif-token-alist): Add missing tokens.
2786 (hif-token-regexp): Add support for float/octal/hex immediates.
2787 (hif-string-literal-regexp): New const.
2788 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2789 (hif-exprlist): New function.
2790 (hif-parse-if-exp): Use it.
2791 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2792 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2793 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2794 (hif-logxor, hif-comma): New functions.
2795
a22359a7
GM
27962014-01-28 Glenn Morris <rgm@gnu.org>
2797
793ffe81
GM
2798 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2799
e3bd7eed
GM
2800 * indent.el (tab-stop-list): Doc fix. Add :version.
2801
a22359a7
GM
2802 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2803 (cvs-append-to-ignore): Add compatibility alias.
2804
52695556 28052014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 2806
bac524e0
GM
2807 * dired.el (dired-hide-details-mode): Don't autoload it,
2808 since it cannot be used outside Dired buffers anyway.
2809
52695556 2810 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 2811
52695556
GM
2812 * dired.el (dired-hide-details-hide-symlink-targets)
2813 (dired-hide-details-hide-information-lines)
2814 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
2815
2816 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2817 * strokes.el (strokes-file): Doc fix. Bump :version.
2818 (strokes-help): Doc fix.
2819 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2820 * emulation/viper.el (viper): Doc fix for custom group.
2821 (top-level): Remove oh-so-no-longer-relevant text about vip.
2822 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2823
2824 * ido.el (ido-save-directory-list-file):
2825 * saveplace.el (save-place-file):
2826 * calendar/timeclock.el (timeclock-file):
2827 * net/quickurl.el (quickurl-url-file):
2828 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2829 * progmodes/idlwave.el (idlwave-config-directory):
2830 * textmodes/remember.el (remember-data-file):
2831 Bump :version.
2832
169d6004
GM
28332014-01-26 Glenn Morris <rgm@gnu.org>
2834
de6a923b
GM
2835 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2836 Doc fix. Make obsolete.
2837 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2838
169d6004
GM
2839 * sort.el (delete-duplicate-lines): Doc fix.
2840
ed85dee6
RS
28412014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2842
2843 * progmodes/ada-mode.el (ada):
2844 * woman.el (woman): Link to info manual and Commentary section.
2845
2846 * progmodes/flymake.el (flymake):
2847 * nxml/nxml-mode.el (nxml):
2848 * net/eww.el (eww):
2849 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2850 * htmlfontify.el (htmlfontify):
2851 * ses.el (ses):
2852 * epa.el (epa):
2853 * ido.el (ido): Link to info manual.
2854
e0c67e1d
LL
28552014-01-25 Leo Liu <sdl.web@gmail.com>
2856
2857 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2858
35408b1a
AS
28592014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2860
2861 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2862 (bug#16537).
2863
76c3fa95
JB
28642014-01-24 Juanma Barranquero <lekktu@gmail.com>
2865
f77c7a99
JB
2866 * net/eww.el (eww-download-callback):
2867 Fix reference to eww-download-directory.
2868
76c3fa95
JB
2869 * emacs-lisp/bytecomp.el (byte-compile-file):
2870 Remove unused local variable `file-name'.
2871
1e548e40
GM
28722014-01-24 Glenn Morris <rgm@gnu.org>
2873
03f3b318
GM
2874 * woman.el (woman-default-faces, woman-monochrome-faces):
2875 Fix obsolescence specification.
2876
1e548e40
GM
2877 * subr.el (with-demoted-errors): Doc fix.
2878
d4f0427b
SM
28792014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2882 (cl--macroexp-fboundp): New function.
2883 (cl--make-type-test): Use it.
2884
1670e27f
GM
28852014-01-23 Glenn Morris <rgm@gnu.org>
2886
2887 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2888 * simple.el (eval-expression): Doc fixes.
2889
80efa207
GM
28902014-01-22 Glenn Morris <rgm@gnu.org>
2891
2892 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2893
29afcbab
SM
28942014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * emacs-lisp/package.el: Write files silently.
2897 (package-autoload-ensure-default-file, package--write-file-no-coding)
2898 (package-generate-description-file, package--download-one-archive)
2899 (package-install-from-archive): Tell `write-region' to stay quiet.
2900 (package-menu-mode, package-menu--print-info): Omit the Archive column
2901 if there's only one archive.
2902 (package-all-keywords, package--has-keyword-p): Remove dead code.
2903
2a5bce4f
GM
29042014-01-22 Glenn Morris <rgm@gnu.org>
2905
edace89f
GM
2906 * version.el (emacs-bzr-version-bzr): Fix typo.
2907
2a5bce4f
GM
2908 * version.el (emacs-repository-get-version):
2909 Check either .bzr or .git, but not both.
2910 Make the git case actually use the DIR argument, and return nil
2911 rather than the empty string.
983664c0 2912 Avoid error if .git exists but the git executable is not found.
2a5bce4f 2913
6cb4da45
MR
29142014-01-22 Martin Rudalics <rudalics@gmx.at>
2915
2916 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
2917 * window.el (window-total-size, window-size): New argument ROUND.
2918 (window--min-delta-1, window-min-delta, window--max-delta-1):
2919 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
2920 columns a window can shrink (Bug#16430).
2921 (fit-window-to-buffer): Simplify code.
2922 * term.el (term-window-width): Call window-body-width again.
2923
cc0f2ece
GM
29242014-01-22 Glenn Morris <rgm@gnu.org>
2925
7b997b14
GM
2926 * image.el (image-format-suffixes): Doc fix.
2927
44e76f9d
GM
2928 * international/quail.el (quail-define-package): Doc fix.
2929
35e951cd 2930 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 2931 (authors-renamed-files-alist): Additions.
7bfc1caa 2932
85a5f61f
GM
2933 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2934 reverts 2014-01-09 change. (Bug#16422)
2935
cc0f2ece
GM
2936 * calc/calc-embed.el (thing-at-point-looking-at):
2937 * emacs-lisp/map-ynp.el (x-popup-dialog):
2938 * obsolete/lmenu.el (x-popup-dialog):
2939 * emacs-lisp/package.el (url-recreate-url):
2940 * mail/mailclient.el (clipboard-kill-ring-save):
2941 * subr.el (x-popup-dialog): Update declaration.
2942 * mail/rmail.el (rmail-mime-message-p):
2943 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2944
00d2a6bb
DC
29452014-01-21 Daniel Colascione <dancol@dancol.org>
2946
2947 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2948 Correctly detect when we're inside an arithmetic expansion form
2949 containing nested parenthesis.
c295fc18 2950 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
2951 to detect cases where we shouldn't expand "<<" to a heredoc
2952 skeleton.
2953
dd9d2e9d
SM
29542014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2957 (eldoc--message-command-p): New function.
2958 (eldoc-display-message-p): Use it.
2959 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2960 message is not automatically erased for us.
2961 (eldoc-print-current-symbol-info): Erase previous message, if any.
2962
e7d807ca
TH
29632014-01-21 Tassilo Horn <tsdh@gnu.org>
2964
4ff0a0e5
TH
2965 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2966 specify it's an interactive function.
2967
dd9d2e9d
SM
2968 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2969 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
2970 citations with optional arguments.
2971
87503791
LL
29722014-01-21 Leo Liu <sdl.web@gmail.com>
2973
2974 * simple.el (read--expression): Don't enable eldoc-mode.
2975
6cc750ee
SM
29762014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * simple.el (move-beginning-of-line): Make sure we don't move forward
2979 (bug#16497).
2980
71f16bda
JL
29812014-01-20 Juri Linkov <juri@jurta.org>
2982
2983 * saveplace.el (toggle-save-place, save-place-to-alist)
2984 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2985 'dired-mode) before checking for dired-directory. (Bug#16477)
2986
3c5a4839
JL
29872014-01-20 Juri Linkov <juri@jurta.org>
2988
2989 * indent.el (indent-line-to): Use backward-to-indentation
2990 instead of back-to-indentation. (Bug#16461)
2991
f952002e
PE
29922014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2993
2994 Revert some of the CANNOT_DUMP fix (Bug#16494).
2995 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2996 but fixing this can wait until after the next release.
2997 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2998
93675500
MA
29992014-01-19 Michael Albinus <michael.albinus@gmx.de>
3000
3001 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3002 Use `password-word-equivalents'.
3003 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3004 to t. (Bug#5664, Bug#13124)
3005
e3af763f
AM
30062014-01-19 Alan Mackenzie <acm@muc.de>
3007
3008 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3009 points.
3010 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3011 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3012 * progmodes/cc-mode.el (c-before-change, c-after-change)
3013 (c-font-lock-fontify-region): Bind it here.
3014
4ff6d92d
MR
30152014-01-19 Martin Rudalics <rudalics@gmx.at>
3016
3017 * term.el (term-window-width): Call window-text-width instead of
3018 window-width (Bug#16470).
3019
9a685cf6
PE
30202014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3021
3022 * simple.el (password-word-equivalents): Remove duplicates.
3023 Sort, to make this easier next time.
3024 Downcase. Omit ": " after "jelszó".
3025
5aa78c2d
JD
30262014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3027
3028 * term/common-win.el (saved-region-selection): Defvar it.
3029 (x-select-text): Set saved-region-selection (Bug#16382).
3030
cabb250c
GM
30312014-01-18 Glenn Morris <rgm@gnu.org>
3032
3033 * emacs-lisp/authors.el (authors-aliases)
3034 (authors-renamed-files-alist): Add some entries.
3035
a1340440
MA
30362014-01-17 Michael Albinus <michael.albinus@gmx.de>
3037
93675500
MA
3038 * net/tramp.el (tramp-password-prompt-regexp):
3039 Use `password-word-equivalents' if available.
a1340440
MA
3040 (tramp-action-password, tramp-process-one-action)
3041 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3042
681ce5d2
CY
30432014-01-17 Chong Yidong <cyd@gnu.org>
3044
3045 * simple.el (password-word-equivalents): New defcustom.
3046 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3047 to 24.4.
3048 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3049 to t. (Bug#13124)
3050
fb3d479c
DG
30512014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3052
3053 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3054 (ruby-align-to-stmt-keywords): Change the default value.
3055 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3056 choices.
3057 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3058 keywords, check against the value of `ruby-alignable-keywords'
3059 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3060
0d613483
GM
30612014-01-17 Glenn Morris <rgm@gnu.org>
3062
fc23fe2d
GM
3063 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3064
0d613483 3065 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3066 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3067 (authors-ignored-files): Add some entries, remove others.
3068 (authors-ambiguous-files, authors-valid-file-names):
3069 Add some entries.
3070 (authors-renamed-files-alist): Add, remove, and adjust entries.
3071 (authors-renamed-files-regexps): Add some entries.
3072 Remove some very broad ones. Make some entries `lax'.
3073 (authors-lax-changelogs): New constant.
3074 (authors-disambiguate-file-name): Treat top-level specially.
3075 (authors-lax-changelog-p): New function.
3076 (authors-canonical-file-name): Check file as written against
3077 authors-valid-file-names. Do not special-case etc/.
3078 Handle `lax' logs and authors-renamed-files-regexps elements.
3079
2dbf4ffd
DG
30802014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3081
3082 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3083 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3084 callers.
2dbf4ffd 3085
87b2a7f2
SM
30862014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3087
3088 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3089 Assume we're already in the proper buffer.
3090 Inspired by Anders Lindgren <andlind@gmail.com>.
3091 (follow-post-command-hook): Call it from the right buffer.
3092 (follow-comint-scroll-to-bottom): Adjust call.
3093 (follow-all-followers): Use get-buffer-window-list.
3094
93acfb0e
DC
30952014-01-15 Daniel Colascione <dancol@dancol.org>
3096
3097 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3098 `buffer-file-name' in interactive-form so that we don't leave
3099 pathless file names in `file-name-history'.
3100
ccc6b208
JL
31012014-01-15 Juri Linkov <juri@jurta.org>
3102
3103 * indent.el (indent-rigidly): Set deactivate-mark to nil
3104 in transient indentation mode. (Bug#16438)
3105
5c92e00d
DG
31062014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3107
3108 * emacs-lisp/package.el (package-desc-keywords): New function
3109 (Bug#16222).
3110 (describe-package-1, package-all-keywords)
3111 (package--has-keyword-p): Use it.
3112
dac69660
NR
31132014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3114
3115 * simple.el (define-alternatives): When creating the
3116 COMMAND-alternatives variable, assign COMMAND as its definition
3117 name so that `describe-variable' can relocate it.
3118
8b63edf8
ML
31192014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3120
3121 * font-lock.el (font-lock-keywords): Fix typo in docstring
3122 (bug#16307).
3123
c6a0b8eb
AM
31242014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3125
3126 * ispell.el (ispell-region): Reset `in-comment' for new line
3127 instead of wrongly reset `add-coment' (bug#13577).
3128
02bf443d
DU
31292014-01-14 Daiki Ueno <ueno@gnu.org>
3130
3131 * epa-file.el (epa-file-write-region): Encode the region according
3132 to `buffer-file-format'. Problem reported at:
3133 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3134
fd7fde15
SM
31352014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3138 so it applies in the right buffer (bug#16410).
3139
c176054f
DC
31402014-01-13 Daniel Colascione <dancol@dancol.org>
3141
3142 * textmodes/rst.el (rst-define-key): Provide deprecated
3143 keybindings through named functions instead of anonymous ones so
3144 that "??" doesn't appear in describe-mode output.
3145
e3f33e5d
BG
31462014-01-13 Bastien Guerry <bzg@gnu.org>
3147
3148 * simple.el (define-alternatives): Call the selected command
3149 interactively. When setting `COMMAND--implementation' for the
3150 first time, tell the user how to chose another implementation.
3151 Enhance the docstring.
3152
c055d654
SM
31532014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3156 (log-edit--match-first-line): New function.
3157 (log-edit-font-lock-keywords): Use it.
3158 (log-edit-mode): Make jit-lock-defer-multiline work.
3159
d791cc3b
BG
31602014-01-13 Bastien Guerry <bzg@gnu.org>
3161
3162 * rect.el (rectangle-mark-mode): When the region is not active,
3163 display a message saying that the mark as been set and that
3164 rectangle mode is in use.
3165 (rectangle--highlight-for-redisplay): Only put an overlay with a
3166 visible vertical bar when (display-graphic-p) is non-nil.
3167 This partially fixes Bug#16403.
3168
3c0c4562
JL
31692014-01-13 Juri Linkov <juri@jurta.org>
3170
3171 * info.el (Info-find-file): Go to DIR before displaying the error
3172 about a nonexistent file if no previous Info file is visited.
3173 Use `user-error' instead of `error' for "Info file %s does not exist".
3174 (Info-find-node-2): In case of a nonexistent node in unwind forms
3175 go to the Top node if there is no previous node to revert to.
3176 (Bug#16405)
3177
25a700d0
MR
31782014-01-13 Martin Rudalics <rudalics@gmx.at>
3179
3180 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3181 * window.el (fit-frame-to-buffer): Fix doc-string.
3182 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3183 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3184 when avoiding that frame goes partially off-screen.
3185 (fit-window-to-buffer): Respect window-min-height/-width
3186 (Bug#14096).
3187
6ae948d8
SM
31882014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3191 after an empty line.
3192
6137cb82
SM
31932014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * net/shr.el (shr-render-region): Autoload.
3196
e6344e17
XF
31972014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3198
3199 * net/eww.el (eww-download-directory): Rename from
3200 `eww-download-path' (Bug#16419).
3201
3b922c70
LL
32022014-01-12 Leo Liu <sdl.web@gmail.com>
3203
3204 * dired-x.el (dired-mode-map): Fix last change.
3205
3206 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3207
4fa51741
PE
32082014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3209
3210 Spelling fixes.
3211 * emacs-lisp/generic.el (generic--normalize-comments):
3212 Rename from generic--normalise-comments. All uses changed.
35e951cd 3213 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3214 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3215 (bubbles--neighborhood-available)
3216 (bubbles--update-neighborhood-score):
3217 Rename from names with 'neighbourhood'. All uses changed.
3218
9b335362
LL
32192014-01-12 Leo Liu <sdl.web@gmail.com>
3220
3221 Re-implement the feature of showing eldoc info after editing.
3222 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3223 (eldoc-edit-message-commands): New function.
3224 (eldoc-print-after-edit): New variable.
3225 (eldoc-pre-command-refresh-echo-area): Emit message only by
3226 eldoc-message-commands.
3227 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3228 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3229 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3230 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3231
e2a095b1
GM
32322014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3233 Eric S. Raymond <esr@thyrsus.com>
9685190b 3234
841a6d0c 3235 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3236 function works correctly in either a Bazaar or Git repo.
0abf4134 3237
e2a095b1
GM
32382014-01-11 Eric S. Raymond <esr@thyrsus.com>
3239
6137cb82
SM
3240 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3241 Goes with removal of the joke manpages from /etc.
9685190b 3242
c295fc18 32432014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3244
6137cb82
SM
3245 * mail/rmail.el (rmail-get-coding-system):
3246 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3247
d2f16e93
GM
32482014-01-10 Glenn Morris <rgm@gnu.org>
3249
3250 * emacs-lisp/authors.el (authors-fixed-entries):
3251 Update for files that no longer exist.
3252
7e03bb32
ER
32532014-01-10 Eric S. Raymond <esr@thyrsus.com>
3254
3255 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3256 24.3 (Tested).
7e03bb32 3257
dd806710
BB
32582014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3259
3260 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3261 and Podfile.
3262
ed6ec139
EZ
32632014-01-10 Eli Zaretskii <eliz@gnu.org>
3264
3265 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3266
cc33cac9
CY
32672014-01-10 Chong Yidong <cyd@gnu.org>
3268
6137cb82 3269 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3270
d9d836b5
AL
32712014-01-10 Anders Lindgren <andlind@gmail.com>
3272
3273 * follow.el (follow-cache-command-list): Include right-char and
3274 left-char.
3275
06827ec8
PE
32762014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3277
3278 Spelling fixes.
3279 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3280 * woman.el (woman-mark-horizontal-position):
3281 Rename from woman-mark-horizonal-position. Use changed.
3282
458dbf5e
GM
32832014-01-10 Glenn Morris <rgm@gnu.org>
3284
dad6fae7
GM
3285 * info.el (info-initialize): If running uninstalled, ensure our
3286 own info files are always found first, even if INFOPATH is set.
3287
458dbf5e
GM
3288 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3289
05e0afce
DE
32902014-01-09 David Engster <deng@randomsample.de>
3291
3292 * emacs-lisp/eieio-custom.el:
3293 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3294 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3295 * emacs-lisp/eieio.el: Regenerate autoloads.
3296
f29778b3
ER
32972014-01-09 Eric S. Raymond <esr@thyrsus.com>
3298
3299 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3300 following renames. (Bug#8756)
f29778b3 3301
684d44ef
SM
33022014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3305 (bug#16382).
3306 (activate-mark): Add `no-tmm' argument.
3307 (set-mark, push-mark-command): Use it instead of running
3308 activate-mark-hook by hand.
3309
9475054f
ER
33102014-01-08 Eric S. Raymond <esr@thyrsus.com>
3311
3312 In preparation for the move to git, sanitize out some
3313 Bazaar-specific names.
3314
38942b9c
GM
3315 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3316
9475054f 3317 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3318 emacs-repository-version. Obsolete-variable alias made.
9475054f 3319 * loadup.el: Follow through on this name change.
a12bf61e 3320 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3321 assumption about the version control system in use.
3322
0f918d96 33232014-01-08 David Engster <deng@randomsample.de>
abb82152 3324
684d44ef
SM
3325 * help-fns.el (help-fns-describe-function-functions):
3326 New variable to call functions for augmenting help buffers.
abb82152
DE
3327 (describe-function-1): Remove explicit calls to
3328 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3329 `help-fns--obsolete'. Put them in above new variable instead, and
3330 call them through `run-hook-with-args'.
3331 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3332 `eieio-describe-class'. Not meant for interactive use anymore,
3333 but to augment existing help buffers. Remove optional second
684d44ef
SM
3334 argument. Create proper button for file location.
3335 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3336 possible.
3337 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3338 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3339 (describe-method, describe-generic, eieio-describe-method):
3340 Remove aliases.
0f918d96
DE
3341 (eieio-help-constructor, eieio-help-generic): Rename from
3342 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3343 Rewrite to use `insert' in the current buffer and use proper help
3344 buttons.
3345 (eieio-help-find-method-definition)
3346 (eieio-help-find-class-definition): Also accept symbols as
3347 arguments.
3348 (eieio-help-mode-augmentation-maybee): Remove.
3349 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3350 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3351 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3352
136b74c5
PE
33532014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3354
3355 Spelling fixes.
3356 * language/china-util.el (hz-ascii-designation):
3357 Rename from hz-ascii-designnation.
3358 (hz-ascii-designation): Rename from hz-ascii-designnation.
3359 All uses changed.
3360
ec6c7de2
SM
33612014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3364 package-alist.
3365
d6262c7c
BG
33662014-01-08 Bastien Guerry <bzg@gnu.org>
3367
4b9e6087
GM
3368 * emacs-lisp/package.el (package-delete):
3369 Correctly delete the package from package-alist.
d6262c7c 3370
0a3eec32
DU
33712014-01-08 Daiki Ueno <ueno@gnu.org>
3372
3373 * emacs-lisp/package.el (url-recreate-url): Declare.
3374 (url-http-target-url): Declare.
4b9e6087 3375 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3376 (package--check-signature): Don't re-signal errors from
3377 package--with-work-buffer. Suggested by Stefan Monnier.
3378
68f0bb97
BG
33792014-01-07 Bastien Guerry <bzg@gnu.org>
3380
3381 * minibuffer.el (completion--try-word-completion): When both a
3382 hyphen and a space are possible candidates for the character
3383 following a word, display both candidates. (Bug#15980)
3384
7e1899d7
MR
33852014-01-07 Martin Rudalics <rudalics@gmx.at>
3386
3387 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3388 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3389
0030ec15
GM
33902014-01-07 Glenn Morris <rgm@gnu.org>
3391
3392 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3393 (menu-bar-help-menu): Use view-external-packages instead.
3394
2b6b4f20
BG
33952014-01-07 Bastien Guerry <bzg@gnu.org>
3396
3397 * emacs-lisp/package.el (package-delete): Also delete the package
3398 name from `package-alist', not its description only.
3399
e9be0a13
GM
34002014-01-07 Glenn Morris <rgm@gnu.org>
3401
3402 * help.el (view-external-packages):
3403 * menu-bar.el (menu-bar-help-extra-packages):
3404 Visit efaq.info rather than etc/MORE.STUFF.
3405
e4f74da9
JL
34062014-01-07 Juri Linkov <juri@jurta.org>
3407
3408 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3409 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3410
3411 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3412 that shadows RET. (Bug#16342)
3413
de7ce2d1
CY
34142014-01-07 Chong Yidong <cyd@gnu.org>
3415
3416 * isearch.el (isearch-yank-char, isearch-yank-word)
3417 (isearch-yank-line): Doc fix.
3418
6bdd9204
SM
34192014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3422 * emacs-lisp/elint.el (elint-find-builtins):
3423 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3424 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3425 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3426 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3427 * apropos.el (apropos-safe-documentation):
3428 * subr.el (symbol-file): Remove redundant fboundp.
3429 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3430
daccca97
BG
34312014-01-06 Bastien Guerry <bzg@gnu.org>
3432
3433 * hl-line.el (global-hl-line-overlay): Make a local variable.
3434 (global-hl-line-overlays): New variable to store all overlays.
3435 (global-hl-line-mode): Don't delete overlays from the current
3436 buffer when `global-hl-line-sticky-flag' is non-nil.
3437 (global-hl-line-highlight): Add new overlays to
3438 `global-hl-line-overlays'.
3439 (global-hl-line-unhighlight-all): New function to delete all
3440 overlays when turning off `global-hl-line-mode'.
3441 This fixes Bug#16183.
3442
ec00f20f
SM
34432014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3444
3445 * subr.el (set-transient-map): Fix nested case and docstring.
3446
a0031f97
TH
34472014-01-06 Tassilo Horn <tsdh@gnu.org>
3448
3449 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3450 `Texinfo' entry.
3451
bf6a77f3
DC
34522014-01-06 Daniel Colascione <dancol@dancol.org>
3453
3454 Fix defun navigation in vc log view.
3455
3456 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3457 like `beginning-of-defun'.
c295fc18 3458 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3459 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3460 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3461 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3462 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3463
d5081c1e
PE
34642014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3465
3466 Spelling fixes.
3467 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3468 * emacs-lisp/debug.el (cancel-debug-on-entry):
3469 * epg.el (epg-error-to-string):
3470 * files.el (recover-file):
3471 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3472 * mail/emacsbug.el (report-emacs-bug-hook):
3473 * mail/sendmail.el (mail-recover):
3474 * ses.el (ses-yank-resize):
3475 * term/ns-win.el (ns-print-buffer):
3476 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3477 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3478 All uses changed.
3479 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3480
53f6b148
LL
34812014-01-06 Leo Liu <sdl.web@gmail.com>
3482
3483 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3484 to avoid shadowing global key. (Bug#16354)
53f6b148 3485
b82ace2f
DC
34862014-01-06 Daniel Colascione <dancol@dancol.org>
3487
3488 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3489 rst-mode.
3490
3669b636
MR
34912014-01-05 Martin Rudalics <rudalics@gmx.at>
3492
3493 * window.el (balance-windows): Add mising t to fix Bug#16351.
3494
1a29adc2
LMI
34952014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3496
3497 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3498 (bug#16285).
3d95a0f4
LMI
3499 (shr-insert): If we have a word that's longer than `shr-width',
3500 break after it anyway. Otherwise we'll do no breaking once we get
3501 such a long word.
1a29adc2 3502
f4018140
KN
35032014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3504
3fcfc4ee 3505 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3506 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3507 (eww-history-quit): Delete and use quit-window.
3508 (eww-history-kill): Delete, because it doesn't work well and
3509 not necessary.
3510 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3511
4e619754
PE
35122014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3513
73dbf960
PE
3514 Fix misspelling of 'chinese' in rx (Bug#16237).
3515 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3516 chinese-two-byte.
3517
4e619754
PE
3518 Change subword regexps back to vars (Bug#16296).
3519 * progmodes/subword.el (subword-forward-regexp)
3520 (subword-backward-regexp): Change these back to variables.
3521
e18b70fc
SM
35222014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3525 syntax-begin-function (bug#16247).
3526
0d53f628
CY
35272014-01-03 Chong Yidong <cyd@gnu.org>
3528
3529 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3530 (advice--docstring): Delete variable.
3531 (advice--make-1): Leave the docstring empty.
3532 (advice-add): Use function-documentation for advised docstring.
3533
3534 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3535 Ignore function-documentation property when getting documentation.
3536 (ad-activate-advised-definition): Use function-documentation
3537 generate the docstring.
3538 (ad-make-advised-definition): Don't call
3539 ad-make-advised-definition-docstring.
3540 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3541 Delete functions.
3542
3543 * progmodes/sql.el (sql-help): Use function-documentation instead
3544 of dynamic-docstring-function property. No need to autoload now.
3545 (sql--help-docstring): New variable.
3546 (sql--make-help-docstring): Use it.
3547
6f547583
SM
35482014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3549
6ef9aed8
SM
3550 * ielm.el (ielm-tab): Retarget.
3551 (ielm-map): Use ielm-tab for tab.
3552 (ielm-complete-filename): Use comint-filename-completion.
3553 (ielm-complete-symbol): Remove.
3554 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3555 remove ielm-tab from completion-at-point-functions (bug#16224).
3556
6f547583
SM
3557 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3558 Beware signals raised by predicates (bug#16201).
3559
a574edbe
RS
35602014-01-02 Richard Stallman <rms@gnu.org>
3561
e831604d
RS
3562 * dired-aux.el (dired-do-print): Handle printer-name.
3563
6f547583
SM
3564 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3565 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3566 (rmail-epa-decrypt): Turn off mime processing.
3567
3fcfc4ee 3568 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3569 Add parens in message-id.
3570
3571 * mail/rmail.el (rmail-get-coding-function): Variable.
3572 (rmail-get-coding-system): Use it.
3573
04311a16
KH
35742013-12-31 Eli Zaretskii <eliz@gnu.org>
3575
3576 * international/mule-conf.el: Unify the charset indian-is13194.
3577 (indian-is13194): Specify unify-map.
3578
c8d89778
LL
35792013-12-31 Leo Liu <sdl.web@gmail.com>
3580
3581 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3582
e63ace37
DC
35832013-12-30 Daniel Colascione <dancol@dancol.org>
3584
9e0bf19a
DC
3585 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3586 of printing a useless when we resume from sleep.
3587
e63ace37 3588 * progmodes/sh-script.el
c295fc18 3589 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3590 in indentation code. (Bug#16233)
3591
e9d6c46a
JT
35922013-12-28 João Távora <joaotavora@gmail.com>
3593
6f547583
SM
3594 * elec-pair.el (electric-pair-post-self-insert-function):
3595 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3596
bf7bea5d
EZ
35972013-12-28 Eli Zaretskii <eliz@gnu.org>
3598
3599 * frame.el (window-system-for-display): Don't allow to create a
3600 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3601
8449dd1f
GM
36022013-12-28 Glenn Morris <rgm@gnu.org>
3603
9c5a5c77
GM
3604 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3605 Update callers.
3606
3607 * apropos.el (apropos-match-face):
3608 * calculator.el (calculator-displayer):
3609 * dabbrev.el (dabbrev-search-these-buffers-only):
3610 * face-remap.el (buffer-face-mode-face):
3611 * simple.el (yank-handled-properties):
3612 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3613 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3614 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3615 (hashcash-double-spend-database):
3616 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3617 (ruby-deep-indent-paren-style):
3618 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3619 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3620 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3621 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3622 Specify custom types.
3623
bb098075
GM
3624 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3625 * bookmark.el (bookmark-bmenu-use-header-line):
3626 * doc-view.el (doc-view-scale-internally):
3627 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3628 * register.el (register-preview-delay):
3629 * net/shr.el (shr-bullet):
3630 * progmodes/cfengine.el (cfengine-cf-promises)
3631 (cfengine-parameters-indent):
3632 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3633 * textmodes/reftex-vars.el (reftex-label-regexps):
3634 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3635
9c61f806
GM
3636 * net/tls.el (tls-certtool-program): Fix default value.
3637
3638 * desktop.el (desktop-restore-in-current-display):
3639 * newcomment.el (comment-empty-lines):
3640 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3641 (idlwave-pad-keyword):
3642 * progmodes/tcl.el (tcl-tab-always-indent):
3643 * textmodes/reftex-vars.el (reftex-index-default-tag):
3644 * elec-pair.el (electric-pair-skip-whitespace):
3645 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3646
8449dd1f
GM
3647 * emacs-lisp/authors.el (authors-ignored-files)
3648 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3649
fdadeb49
JC
36502013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3651
72140a0f
GM
3652 * shell.el (shell-dynamic-complete-command): Doc fix.
3653 (shell--command-completion-data): Shell completion now matches
3654 executable filenames from the current buffer's directory, on
da5ecfa9 3655 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3656
e572a7d8
LI
36572013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3658
3659 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3660
7514d3f8
SM
36612013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3662
a4151f3b
SM
3663 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3664 (bug#16251).
3665
7514d3f8
SM
3666 * electric.el: Move all electric-pair-* to elec-pair.el.
3667 * elec-pair.el: New file, split from electric.el.
3668
ac5758d1
LI
36692013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3670
3671 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3672 indentation level is larger than the width, because that will
3673 infloop.
3674 (shr-insert): Fill repeatedly long texts, so that Japanese is
3675 formatted correctly (bug#16263).
24a6b65e
LI
3676 (shr-find-fill-point): Off by one error in comparison with the
3677 indentation.
ac5758d1 3678
7514d3f8 36792013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3680
3681 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3682 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3683 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3684 if that keeps or improves their balance in buffers.
3685 (electric-pair-delete-adjacent-pairs): Delete the pair when
3686 backspacing over adjacent matched delimiters.
3687 (electric-pair-open-extra-newline): Open extra newline when
3688 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3689 (electric--sort-post-self-insertion-hook):
3690 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3691 minor-modes are activated.
3692 * simple.el (newline-and-indent): Call newline with interactive
3693 set to t.
3694 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3695 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3696 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3697 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3698 electric-pair-open-newline-between-pairs to nil.
3699
fbcc63a3
FEG
37002013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3701
3702 * progmodes/python.el: Use lexical-binding.
3703 (python-nav-beginning-of-defun): Stop searching ASAP.
3704
ed78d16c
XF
37052013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3706
3707 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3708 Fix interactive spec. Doc fix. (Bug#15754)
3709
38b2c142
KY
37102013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3711
3712 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 3713 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
3714 Fix edebug spec (bug#16184).
3715
3c856c14
LI
37162013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3717
83fa295c 3718 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
3719 (shr-insert): Don't infloop if we can't find a good place to break
3720 the line (bug#16256).
3c856c14 3721
01379221
FEG
37222013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3723
35e951cd 3724 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
3725 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3726 python-nav-lisp-forward-sexp-safe.
3727 (python-nav--forward-sexp): New argument SAFE allows switching
3728 forward sexp movement behavior for parens.
3729 (python-nav-forward-sexp): Throw errors on unterminated parens
3730 (Bug#16191).
3731 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3732 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
3733 (python-shell-buffer-substring):
3734 Use `python-nav-forward-sexp-safe'.
01379221 3735
99e4926f
LI
37362013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3737
3738 * net/shr.el (shr-find-fill-point): Don't break lines before a
3739 quotation mark.
c6c20584
LI
3740 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3741 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 3742 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 3743
fec0e828
KN
37442013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3745
3746 * net/eww.el (eww-form-textarea): Use a different face for
3747 textareas than text input since they have different keymaps
3748 (bug#16142).
3749
89c868ad
FEG
37502013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3751
7514d3f8
SM
3752 * progmodes/python.el (python-nav-beginning-of-statement):
3753 Speed up (Bug#15295).
89c868ad 3754
eeef121a
LI
37552013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3756
3757 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3758 the window configuration.
3759
121ea65f
EZ
37602013-12-24 Eli Zaretskii <eliz@gnu.org>
3761
3762 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3763 we run on MS-Windows or MS-DOS.
3764
18cee9ec
MR
37652013-12-24 Martin Rudalics <rudalics@gmx.at>
3766
3767 * window.el (balance-windows-area): Call window-size instead of
3768 window-height and window-width. Bug#16241.
3769
58f2b9a5
LI
37702013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3771
3772 * net/eww.el (eww-bookmark-quit): Remove.
3773 (eww-bookmark-browse): Restore the window configuration when you
3774 choose a bookmark (bug#16144).
3775
d64b6308
DC
37762013-12-24 Daniel Colascione <dancol@dancol.org>
3777
3778 * icomplete.el: Remove redundant :group arguments to `defcustom'
3779 throughout.
3780 (icomplete-show-matches-on-no-input): New customizable variable.
3781 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3782 we have something to show.
7514d3f8 3783 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 3784
0da54898
DC
37852013-12-23 Daniel Colascione <dancol@dancol.org>
3786
3787 * icomplete.el: Move `provide' to end of file.
3788
b90aa4f4
TZ
37892013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3790
3791 * net/gnutls.el (gnutls-verify-error): Add version tag.
3792
8cd22a08
CY
37932013-12-23 Chong Yidong <cyd@gnu.org>
3794
3795 * subr.el (set-transient-map): Rename from
3796 set-temporary-overlay-map. Doc fix.
3797
3798 * face-remap.el (text-scale-adjust):
3799 * indent.el (indent-rigidly):
3800 * kmacro.el (kmacro-call-macro):
3801 * minibuffer.el (minibuffer-force-complete):
3802 * repeat.el (repeat):
3803 * simple.el (universal-argument--mode):
3804 * calendar/todo-mode.el (todo-insert-item--next-param):
3805 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3806
7510b021
CY
3807 * indent.el (indent-rigidly): Use substitute-command-keys.
3808
72140a0f 38092013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
3810
3811 * net/eww.el (eww-tag-select): Add text-property to jump to next
3812 select field.
e9dc713d 3813 (eww): Add non-supported ftp error.
56890ecd 3814
1f87a56c
DG
38152013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3816
3817 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3818 comments. Handle electric indent after typing `?' and `!'.
3819
dca38cf9
CY
38202013-12-22 Chong Yidong <cyd@gnu.org>
3821
3822 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
3823 applicable to a frame, fall back on the defface spec.
3824 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 3825
f2351498
DG
38262013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3827
3828 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3829 after `{'. We need it after block openers, and it doesn't seem
3830 to hurt after hash openers.
3831
6cddebc1
DG
38322013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3833
3834 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3835 extracted from `ruby-smie-rules'.
3836 (ruby--electric-indent-chars): New variable.
3837 (ruby--electric-indent-p): New function.
3838 (ruby-mode): Use `electric-indent-functions' instead of
3839 `electric-indent-chars'.
3840
65a1da00
DG
38412013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3842
3843 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3844 docstring.
3845 (ruby-smie-rules): Indent plus one level after `=>'.
3846
b51ad4cf
RS
38472013-12-21 Richard Stallman <rms@gnu.org>
3848
3849 * simple.el (newline): Doc fix.
3850
72140a0f 38512013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 3852
e9dc713d 3853 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
3854 (eww-history-browse, eww-history-quit, eww-history-kill)
3855 (eww-history-mode-map, eww-history-mode): New command and
3856 functions to list browser histories.
e9dc713d
JB
3857 (eww-form-text): Support text form with disabled
3858 and readonly attributes.
3859 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 3860
5e1901c1
RS
38612013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3862
3863 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3864 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3865 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3866 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3867 Use `user-error'.
3868 (eww-bookmark-mode-map): Add menu.
3869 (eww-render, eww-mode): Use `setq-local'.
3870 (eww-tool-bar-map): New variable.
3871 (eww-mode): Set `tool-bar-map'.
3872 (eww-view-source): Check for `html-mode' with `fboundp'.
3873
073d5cfd
LMI
38742013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3875
3876 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3877 elements with text inside. Also remove debugging.
3878
41cf3d11
JD
38792013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3880
3881 * cus-start.el (all): Add ns-use-srgb-colorspace.
3882
aac2b673
CY
38832013-12-21 Chong Yidong <cyd@gnu.org>
3884
3885 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3886 undefined. Thus, theme settings for undefined faces do not take
3887 effect until the faces are defined with defface, the same as with
3888 theme variables.
3889
3890 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3891 (face-spec-reset-face): Don't assign extra properties in temacs.
3892 (face-spec-recalc): Apply X resources too.
3893
bacb0e77
CY
38942013-12-21 Chong Yidong <cyd@gnu.org>
3895
3896 * faces.el (face-spec-set):
3897 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3898 * custom.el (defface): Doc fixes (Bug#16203).
3899
77221051
CY
3900 * indent.el (indent-rigidly-map): Add docstring, and move commands
3901 into named functions.
3902 (indent-rigidly-left, indent-rigidly-right)
3903 (indent-rigidly-left-to-tab-stop)
3904 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3905 indentation direction based on bidi direction, and accumulate
3906 sequential commands in a single undo boundary.
3907 (indent-rigidly--pop-undo): New utility function.
3908
e0eb0550
JB
39092013-12-20 Juanma Barranquero <lekktu@gmail.com>
3910
3911 * faces.el (read-face-name): Require crm.el when using crm-separator.
3912
3282bd2e
DC
39132013-12-20 Daniel Colascione <dancol@dancol.org>
3914
3915 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3916 so that we don't reflow comments into the shebang line.
3917
1d42e5b6
JL
39182013-12-20 Juri Linkov <juri@jurta.org>
3919
3920 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3921 a position when `dired-directory' is non-nil. Check integer
3922 positions with `integerp'.
3923 (toggle-save-place, save-places-to-alist): Add check for
3924 `dired-directory'.
3925 (save-place-find-file-hook): Check integer positions with
3926 `integerp'.
3927 (save-place-dired-hook): Use `dired-goto-file' when
3928 `dired-filename' is found in the assoc list. Check integer
3929 positions with `integerp'.
3930 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3931
3932 * dired.el (dired-initial-position-hook): Rename back from
3933 `dired-initial-point-hook'.
3934 (dired-initial-position): Rename `dired-initial-point-hook' to
3935 `dired-initial-position-hook'.
3936 (dired-file-name-at-point): Doc fix. (Bug#15329)
3937
24da7273
JL
39382013-12-20 Juri Linkov <juri@jurta.org>
3939
3940 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3941 (read-regexp-suggestions): New function.
3942 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3943 Use `read-regexp-suggestions'. Add non-empty default to history
3944 for empty input.
3945 (occur-read-regexp-defaults-function): Remove function.
3946 (occur-read-primary-args): Use `regexp-history-last' instead of
3947 `occur-read-regexp-defaults-function'.
3948
3949 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3950 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3951 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3952 `hi-lock-read-regexp-defaults-function'. Doc fix.
3953 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3954 with `find-tag-default-as-symbol-regexp'. Doc fix.
3955 (hi-lock-read-regexp-defaults): Remove function.
3956 (hi-lock-regexp-okay): Add check for null.
3957
3958 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3959 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3960
3961 * subr.el (find-tag-default-as-symbol-regexp): New function.
3962 (find-tag-default-as-regexp): Move symbol regexp formatting to
3963 `find-tag-default-as-symbol-regexp'.
3964
137f57c8
S
39652013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3966
3967 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3968 (Bug#14179)
3969
f3a66082
SB
39702013-12-20 Stephen Berman <stephen.berman@gmx.net>
3971
3972 * calendar/todo-mode.el: New implementation of item insertion
3973 commands and key bindings.
3974 (todo-key-prompt): New face.
3975 (todo-insert-item): New command.
3976 (todo-insert-item--parameters): New defconst, replacing defvar
3977 todo-insertion-commands-args-genlist.
3978 (todo-insert-item--param-key-alist): New defconst, replacing
3979 defvar todo-insertion-commands-arg-key-list.
3980 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3981 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3982 (todo-insert-item--next-param): New functions.
3983 (todo-insert-item--args, todo-insert-item--argleft)
3984 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3985 New variables.
3986 (todo-key-bindings-t): Change binding of "i" from
3987 todo-insertion-map to todo-insert-item.
3988 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3989 (todo-insertion-command-name, todo-insertion-commands-names)
3990 (todo-define-insertion-command, todo-insertion-commands)
3991 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3992
2f99433b
SB
39932013-12-20 Stephen Berman <stephen.berman@gmx.net>
3994
3995 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3996 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3997 eval-when-compile.
3998 (todo-move-category): Allow choosing a non-existing todo file to
3999 move the category to, and create that file.
4000 (todo-default-priority): New user option.
4001 (todo-set-item-priority): Use it.
4002 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4003 (desktop-restore-file-buffer): Declare.
4004 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4005 (todo-modes-set-2): Locally set desktop-save-buffer to
4006 todo-desktop-save-buffer.
4007 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4008 (auto-mode-alist): Add autoload cookie.
4009
131e4695
BB
40102013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4011
4012 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4013 helpers.el was a poor choice of name.
3cbfb935
BB
4014 (string-remove-prefix): New function.
4015 (string-remove-suffix): New function.
131e4695 4016
c44de18d
MR
40172013-12-20 Martin Rudalics <rudalics@gmx.at>
4018
4019 Fix assignment for new window total sizes.
4020 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4021 (window--pixel-to-total-1, window--pixel-to-total):
4022 Fix calculation of new total sizes.
c44de18d 4023
ca65efcc
VS
40242013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4025
4026 * comint.el (comint-output-filter): Fix rear-nonsticky property
4027 placement (Bug#16010).
4028
a9574eb7
CY
40292013-12-20 Chong Yidong <cyd@gnu.org>
4030
4031 * faces.el (read-color): Minor fix for completion function.
4032
b520f210
DG
40332013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4034
e0eb0550
JB
4035 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4036 New option. (Bug#16182)
b520f210
DG
4037 (ruby-smie--indent-to-stmt-p): Use it.
4038 (ruby-smie-rules): Revert the logic in the handling of `when'.
4039 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4040 (ruby-deep-arglist, ruby-deep-indent-paren)
4041 (ruby-deep-indent-paren-style): Update docstrings to note that the
4042 vars don't have any effect with SMIE.
4043
26b75b45
JB
40442013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4045
4046 * calc/calc.el (calc-enter, calc-pop): Use the variable
4047 `calc-context-sensitive-enter'.
4048
cf91cee7
LMI
40492013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4050
4051 * net/shr.el (shr-insert): Protect against infloops in degenerate
4052 tables.
4053
51d971b4
RS
40542013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4055
4056 * progmodes/octave.el (octave): Add link to manual and octave
4057 homepage.
4058 (octave-mode-menu): Link to octave-mode manual.
4059
8c2e462a
LL
40602013-12-20 Leo Liu <sdl.web@gmail.com>
4061
4062 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4063 insertion using skeleton-end-newline. (Bug#16138)
4064
501158bc
JL
40652013-12-20 Juri Linkov <juri@jurta.org>
4066
4067 * replace.el (occur-engine): Use `add-face-text-property'
4068 to add the face property to matches and titles. (Bug#14645)
4069
4070 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4071 the palette of other hi-lock colors.
4072 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4073
50ab1da6
JL
40742013-12-19 Juri Linkov <juri@jurta.org>
4075
4076 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4077 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4078 (minibuffer-history-symbol): Move variable declaration closer to
4079 its usage.
4080
4081 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4082 (Bug#14785)
4083
3d6e95e7
JL
40842013-12-19 Juri Linkov <juri@jurta.org>
4085
4086 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4087 New function.
4088 (log-edit-hook): Add it to :options. (Bug#16170)
4089
b41594fd
JL
40902013-12-19 Juri Linkov <juri@jurta.org>
4091
4092 * simple.el (eval-expression-print-format): Don't check for
4093 command names and the last command. Always display additional
4094 formats of the integer result in the echo area, and insert them
4095 to the current buffer only with a zero prefix arg.
4096 Display character when char-displayable-p is non-nil.
4097 (eval-expression): With a zero prefix arg, set `print-length' and
4098 `print-level' to nil, and insert the integer values from
4099 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4100
4101 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4102 `eval-last-sexp-arg-internal'. Doc fix.
4103 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4104 `eval-last-sexp-print-value'. Doc fix.
4105 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4106 Set `print-length' and `print-level' to nil when arg is zero.
4107 (eval-last-sexp): Doc fix.
4108 (eval-defun-2): Print the integer values from
4109 `eval-expression-print-format' at the end.
4110
4111 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4112 values from `eval-expression-print-format' at the end.
4113
4114 * ielm.el (ielm-eval-input): Print the integer
4115 values from `eval-expression-print-format' at the end.
4116
8f2be364
TZ
41172013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4118
4119 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4120 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4121
2230a6e3
SM
41222013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4125 (hl-line-highlight, global-hl-line-highlight): Use it.
4126 (hl-line-overlay): Use defvar-local.
4127
1269a680
JD
41282013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4129
4130 * term/ns-win.el: Require dnd.
4131 (global-map): Remove drag items.
4132 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4133 (ns-set-background-at-mouse):
4134 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4135 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4136 New functions.
1269a680 4137
049638ad
GM
41382013-12-19 Glenn Morris <rgm@gnu.org>
4139
4140 * emacs-lisp/ert.el (ert-select-tests):
4141 Fix string/symbol mixup. (Bug#16121)
4142
ce41edb4
DG
41432013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4144
4145 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4146 keywords to their parent.
4147
7e1549c9
DG
41482013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4149
4150 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4151 first arg to be a string (fixed dead code), or an operator symbol.
4152 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4153 operator symbols.
4154 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4155 did nothing. Don't respond to `(:after ".")', it will be called
4156 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4157 change anything. Only return indentation for binary operators
4158 when they are hanging. De-dent opening paren when its parent is
4159 `.', otherwise it looks bad when the dot is not at bol or eol
4160 (bug#16182).
4161
3ee4cd64
JL
41622013-12-19 Juri Linkov <juri@jurta.org>
4163
4164 * replace.el (query-replace-read-args): Split a non-negative arg
4165 and a negative arg into separate elements.
4166 (query-replace, query-replace-regexp, replace-string)
4167 (replace-regexp): Add arg `backward'. Doc fix.
4168 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4169 move point to the beginning of the match.
4170 (replace-search, replace-highlight): Use new arg `backward'
4171 to set the value of `isearch-forward'.
4172 (perform-replace): Add arg `backward' and use it to perform
4173 replacement backward. (Bug#14979)
4174
4175 * isearch.el (isearch-query-replace): Use a negative prefix arg
4176 to call `perform-replace' with a non-nil arg `backward'.
4177
0cda6b7b
JL
41782013-12-18 Juri Linkov <juri@jurta.org>
4179
4180 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4181 to the default list. Move `log-edit-show-files' to the end.
4182 Add more available functions to options.
4183 (log-edit): Move default specific settings to
4184 `log-edit-insert-message-template'. Don't move point.
4185 (log-edit-insert-message-template): New function.
4186 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4187 (Bug#16170)
4188
b216f0a6
JL
41892013-12-18 Juri Linkov <juri@jurta.org>
4190
4191 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4192 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4193
1d1c55dc
LL
41942013-12-18 Leo Liu <sdl.web@gmail.com>
4195
e9dc713d
JB
4196 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4197 (Bug#16186)
1d1c55dc 4198
64e4c76e
EZ
41992013-12-18 Eli Zaretskii <eliz@gnu.org>
4200
4201 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4202 formats for displaying file sizes when the -s switch is given.
4203 Instead, compute a separate format for displaying the size in
4204 blocks, which is displayed in addition to the "regular" size.
4205 When -h is given in addition to -s, produce size in blocks in
4206 human-readable form as well. (Bug#16179)
4207
b2984e39
TH
42082013-12-18 Tassilo Horn <tsdh@gnu.org>
4209
2230a6e3
SM
4210 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4211 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4212
50ff2e06
CY
42132013-12-18 Chong Yidong <cyd@gnu.org>
4214
0081bc84
CY
4215 * cus-edit.el (custom-magic-alist): Fix "themed" description
4216 (Bug#14348).
4217
a7ee9424
CY
4218 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4219 is non-nil, do not create a new entry in the symbol's theme-value
4220 or theme-face property; update theme-settings only (Bug#14664).
18874304 4221 (custom-available-themes): Doc fix.
a7ee9424 4222
8f942537
CY
4223 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4224 (Bug#15674).
4225
50ff2e06
CY
4226 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4227
83c60f60
KI
42282013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4229
4230 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4231 (Bug#13914).
4232
e0eb0550 42332013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4234
4235 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4236
1f41ee56
GM
42372013-12-18 Glenn Morris <rgm@gnu.org>
4238
4239 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4240 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4241
e82134b1
LW
42422013-12-18 Le Wang <l26wang@gmail.com>
4243
2230a6e3
SM
4244 * comint.el (comint-previous-matching-input-from-input):
4245 Retain point (Bug#13404).
e82134b1 4246
33f5d4c1
CY
42472013-12-18 Chong Yidong <cyd@gnu.org>
4248
4249 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4250
ccc9f6dc
GM
42512013-12-18 Glenn Morris <rgm@gnu.org>
4252
4253 * mail/emacsbug.el (report-emacs-bug):
4254 Only mention enable-multibyte-characters if non-standard.
4255
33dd8e95
JL
42562013-12-17 Juri Linkov <juri@jurta.org>
4257
4258 * arc-mode.el (archive-extract-by-file): Check if directory exists
4259 before deletion to not show irrelevant errors if it doesn't exist.
4260
7a409b30
JL
42612013-12-17 Juri Linkov <juri@jurta.org>
4262
4263 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4264 (Bug#14751)
4265
4266 * net/eww.el (browse-web): Add alias to `eww'.
4267 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4268 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4269
4270 * net/browse-url.el (browse-url-browser-function): Move `eww'
4271 closer to similar functions.
4272
4273 * startup.el (fancy-startup-screen, fancy-about-screen):
4274 Set browse-url-browser-function to eww-browse-url locally.
4275 (Bug#14751)
4276
2d6b6005
SM
42772013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * window.el (window--pixel-to-total): Remove unused `mini' var.
4280 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4281 (split-window): Remove unused `new' var.
4282 (window--display-buffer): Remove unused `frame' and `delta' vars.
4283 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4284 and display-width'.
4285
cf2b7efc
MR
42862013-12-17 Martin Rudalics <rudalics@gmx.at>
4287
4288 * dired.el (dired-mark-pop-up):
4289 * register.el (register-preview): Don't bind
4290 split-height-threshold here since it's now done in
4291 display-buffer-below-selected.
4292
ed3af8a7 42932013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4294
4295 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4296 xterm-rgb-convert-to-16bit.
4297 (rxvt-register-default-colors): Standardize with
4298 xterm-register-default-colors (Bug#14078).
4299
76da3455
DK
43002013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4301
4302 * simple.el (kill-region): Pass mark first, then point, so that
4303 kill-append works right (Bug#12819).
4304 (copy-region-as-kill, kill-ring-save): Likewise.
4305
2b84d763
LL
43062013-12-17 Leo Liu <sdl.web@gmail.com>
4307
4308 * net/rcirc.el (rcirc-add-face):
4309 * eshell/em-prompt.el (eshell-emit-prompt):
4310 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4311 (Bug#16167)
4312
e2f6a0bc
CY
43132013-12-17 Chong Yidong <cyd@gnu.org>
4314
4315 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4316 Suggested by Xue Fuqiao.
4317
35b249a6
DG
43182013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4319
4320 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4321
e9145444
SM
43222013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * net/shr.el (shr-insert-document): Remove unused var
4325 `shr-preliminary-table-render'.
4326 (shr-rescale-image): Remove unused arg `force'.
4327 (shr-put-image): Update calls accordingly.
4328 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4329
5556c0ce
DG
43302013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4331
4332 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4333 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4334 :close-all, to see which indentation method to use (Bug#16116).
4335 (smie-rules-function): Document the method :close-all.
4336
11bade0a
LMI
43372013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4338
1c4b1e61
LMI
4339 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4340
11bade0a
LMI
4341 * net/eww.el (eww-display-html): If we can't find the anchor we're
4342 looking for, then go to point-min.
4343
8fb8c4f3
PE
43442013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4345
4346 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4347 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4348 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4349 Expand dir too, in case it's relative.
4350
6c8e0ae6
JL
43512013-12-16 Juri Linkov <juri@jurta.org>
4352
4353 * desktop.el (desktop-auto-save-timeout): Change default to
4354 `auto-save-timeout'. Doc fix.
4355 (desktop-save): Skip the timestamp in desktop-saved-frameset
4356 when checking for auto-save changes.
4357 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4358 `desktop-auto-save' is called repeatedly by the idle timer.
4359 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4360 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4361 (Bug#15331)
4362
2178e858
JL
43632013-12-16 Juri Linkov <juri@jurta.org>
4364
4365 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4366 (Bug#16035)
4367 (isearch-pre-command-hook): Check `this-command' for symbolp.
4368
39cb42c6
SM
43692013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4372
5b9b750a
TZ
43732013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4374
4375 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4376 (cfengine3--current-function): Bring in the current-function
4377 functionality from `cfengine3--current-word'.
4378 (cfengine3-completion-function): Bring in the
4379 bounds-of-current-word functionality from
4380 `cfengine3--current-word'.
4381
d144ef06
MR
43822013-12-16 Martin Rudalics <rudalics@gmx.at>
4383
39cb42c6
SM
4384 * window.el (display-buffer-below-selected):
4385 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4386
a8bbe298
LL
43872013-12-16 Leo Liu <sdl.web@gmail.com>
4388
4389 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4390 Remove NOMSG arg and all uses changed.
4391
2013a2f9
SM
43922013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4395 (cua--deactivate-rectangle): Don't deactivate the mark.
4396 (cua-set-rectangle-mark): Don't set mark-active since
4397 cua--activate-rectangle already does it for us.
4398 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4399 non-rectangular region.
4400
4401 * emulation/cua-base.el (cua-repeat-replace-region):
4402 Use with-current-buffer.
4403
4404 * net/gnutls.el: Use cl-lib.
4405 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4406
5ae811dd
TZ
44072013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4408
4409 * emacs-lisp/package.el (package-built-in-p): Support both
4410 built-in and the package.el converted package descriptions.
4411 (package-show-package-list): Allow keywords.
4412 (package-keyword-button-action): Use it instead of
4413 `finder-list-matches'.
4414 (package-menu-filter-interactive): Interactive filtering (by
4415 keyword) function.
4416 (package-menu--generate): Support keywords and change keymappings
4417 and headers when they are given.
4418 (package--has-keyword-p): Helper function.
4419 (package-menu--refresh): Use it.
4420 (package--mapc): Helper function.
4421 (package-all-keywords): Use it.
4422 (package-menu-mode-map): Set up menu items and keybindings to
4423 provide a filtering UI.
4424
31b4827e
TZ
44252013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4426
4427 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4428 the behavior when a certificate fails validation. Defaults to
4429 old behavior: never abort, just warn.
4430 (gnutls-negotiate): Use it.
4431
f93cc74f
MR
44322013-12-14 Martin Rudalics <rudalics@gmx.at>
4433
4434 * window.el (display-buffer-below-selected): Never split window
4435 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4436
f77d7d17
TW
44372013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4438
4439 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4440 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4441
7514d3f8
SM
44422013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4443
aa2bddd7 4444 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4445 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4446
276bc333
DG
44472013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4448
4449 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4450 open-paren tokens when preceded by a open-paren, too.
4451 (ruby-smie-rules): Handle virtual indentation after open-paren
4452 tokens specially. If there is code between it and eol, return the
4453 column where is starts (Bug#16118).
4454
d43957f3
TZ
44552013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4456
a5c1ac0c 4457 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4458 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4459 (cfengine3--current-word): Fix parameters.
4460 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4461 (cfengine3-completion-function, cfengine3--current-function):
4462 Use `assq' for symbols.
d43957f3
TZ
4463 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4464
06a4f110
GM
44652013-12-13 Glenn Morris <rgm@gnu.org>
4466
4467 * loadup.el (load-path): Warn if site-load or site-init changes it.
4468 No more need to reset it when bootstrapping.
4469
978a5fda
TZ
44702013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4471
4472 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4473 locations for cf-promises.
4474 (cfengine-mode-syntax-functions-regex): New caching variable.
4475 (cfengine3-fallback-syntax): Fallback syntax for cases where
4476 cf-promises doesn't run.
4477 (cfengine3--current-word): Reimplement using
4478 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4479 (cfengine3-completion-function, cfengine3--current-function):
4480 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4481 (cfengine3-clear-syntax-cache): New function.
4482 (cfengine3-make-syntax-cache): Simplify and create
4483 `cfengine-mode-syntax-functions-regex' on demand.
4484 (cfengine3-format-function-docstring): Don't call
4485 `cfengine3-make-syntax-cache' explicitly.
4486
71e6691e
MR
44872013-12-13 Martin Rudalics <rudalics@gmx.at>
4488
4489 Fix windmove-find-other-window broken after pixelwise resizing
4490 (Bug#16017).
4491 * windmove.el (windmove-other-window-loc): Revert change from
4492 2013-12-04.
4493 (windmove-find-other-window): Call window-in-direction.
4494 * window.el (window-in-direction): New arguments SIGN, WRAP and
4495 MINI to emulate original windmove-find-other-window behavior.
4496
84c73ba0
DG
44972013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4498
4499 * simple.el (blink-matching--overlay): New variable.
4500 (blink-matching-open): Instead of moving point, highlight the
4501 matching paren with an overlay
4502 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4503
4504 * faces.el (paren-showing-faces, show-paren-match)
4505 (show-paren-mismatch): Move from paren.el.
4506
b9e20952
LL
45072013-12-13 Leo Liu <sdl.web@gmail.com>
4508
4509 * indent.el (indent-region): Disable progress reporter in
4510 minibuffer. (Bug#16108)
4511
4512 * bindings.el (visual-order-cursor-movement): Fix version.
4513
ce030451
FEG
45142013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4515
4516 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4517 Also match after beginning of line.
4518 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4519 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4520
4a9c6865
JL
45212013-12-13 Juri Linkov <juri@jurta.org>
4522
4523 * simple.el <Keypad support>: Remove key bindings duplicated
4524 with bindings.el. (Bug#14397)
4525
2bc170c3
JL
45262013-12-13 Juri Linkov <juri@jurta.org>
4527
4528 * comint.el (comint-mode-map): Replace `delete-char' with
4529 `delete-forward-char'. (Bug#16109)
4530
bc9222c9
FEG
45312013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4532
aa2bddd7 4533 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4534 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4535
cb3a1380
SM
45362013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4539 (advice--make): Pay attention to `depth'.
4540 (advice--make-1): Don't autoload commands eagerly.
4541 * emacs-lisp/elp.el (elp-instrument-function):
4542 * emacs-lisp/trace.el (trace-function-internal):
4543 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4544
4545 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4546
01633a17
EZ
45472013-12-12 Eli Zaretskii <eliz@gnu.org>
4548
4549 * term/w32-win.el (w32-handle-dropped-file):
4550 * startup.el (normal-top-level):
4551 * net/browse-url.el (browse-url-file-url):
4552 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4553 decode file names using 'utf-8' rather than
4554 file-name-coding-system.
4555
09faee72
FEG
45562013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4557
4558 * progmodes/python.el (python-indent-context)
4559 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4560 behavior for comment blocks. (Bug#15916)
09faee72 4561
f4f84024 45622013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4563
cb3a1380
SM
4564 * progmodes/python.el (python-indent-calculate-indentation):
4565 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4566 operators when they are just string constituents. (Bug#15812)
4567
d5ccb7be
JL
45682013-12-12 Juri Linkov <juri@jurta.org>
4569
4570 * uniquify.el (uniquify-buffer-name-style): Change default to
4571 `post-forward-angle-brackets'.
4572
4573 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4574 `uniquify'. Change default to `post-forward-angle-brackets'.
4575
7b3f5679
GM
45762013-12-11 Glenn Morris <rgm@gnu.org>
4577
4578 * emacs-lisp/package.el (finder-list-matches):
4579 Autoload rather than falsely declaring.
4580
f4fe8fdd
TZ
45812013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4582
4583 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4584 (eww-mode-map): Use them.
4585
3c29190f
MR
45862013-12-11 Martin Rudalics <rudalics@gmx.at>
4587
4588 * window.el (display-buffer-in-side-window): Fix doc-string
4589 (Bug#16115).
4590
0cd616a2
JB
45912013-12-11 Juanma Barranquero <lekktu@gmail.com>
4592
4593 * vc/vc-git.el: Silence byte-compiler warnings.
4594 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4595 (log-edit-set-header): Declare.
4596
3ef8e0d1
EZ
45972013-12-11 Eli Zaretskii <eliz@gnu.org>
4598
4599 * Makefile.in (custom-deps, finder-data): Run output file names
4600 through unmsys--file-name. (Bug#16099)
4601
afdadaf7
SM
46022013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4603
7ae3ae39 4604 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4605 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4606
5b4f37ab
SM
4607 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4608 instead of deleting the selection "by hand" (bug#16098).
4609 Rely on insert-for-yank to yank rectangles.
4610 (cua-highlight-region-shift-only): Mark obsolete.
4611 (cua-mode): Don't enable/disable transient-mark-mode,
4612 shift-select-mode (cua-mode works both with and without them), and
4613 pc-selection-mode (obsolete).
4614 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4615 (cua--deactivate-rectangle): Deactivate it.
4616
4b72c12b
SM
4617 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4618 (delete-selection-helper): Make sure yank starts at the top of the
4619 deleted region.
4620 (minibuffer-keyboard-quit): Use region-active-p.
4621
e82af72d
SM
4622 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4623
afdadaf7
SM
4624 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4625 to `delete' (bug#16109).
4626
ed4bc201
RS
46272013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4628
4629 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4630 info manual and show keybindings and set `:group' keyword.
4631
bb8097b9
JL
46322013-12-11 Juri Linkov <juri@jurta.org>
4633
4634 * delsel.el (delete-active-region): Let-bind `this-command'
4635 to prevent `kill-region' from changing its original value.
4636 (delete-selection-helper): Handle `overwrite-mode' for the type
4637 `kill' exactly the same way as for the type `t'.
4638 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4639 Support more commands. (Bug#13312)
4640
c1916ff5
JL
46412013-12-11 Juri Linkov <juri@jurta.org>
4642
4643 * bindings.el: Map kp keys to non-kp keys systematically
4644 with basic modifiers control, meta and shift. (Bug#14397)
4645
7514d3f8 46462013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4647
4648 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4649 "Close browser" menu items. Fix wrong function of "List
4650 bookmarks".
4651
4cc51eaf
JL
46522013-12-11 Juri Linkov <juri@jurta.org>
4653
4654 * misearch.el (multi-isearch-buffers): Set the value of
4655 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4656 arg of isearch-forward to t.
4657 (multi-isearch-buffers-regexp): Set the value of
4658 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4659 arg of isearch-forward-regexp to t.
4660 (multi-isearch-files): Set the value of
4661 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4662 arg of isearch-forward to t.
4663 (multi-isearch-files-regexp): Set the value of
c295fc18 4664 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4665 arg of isearch-forward-regexp to t. (Bug#16035)
4666
4667 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4668 arg of isearch-forward to t.
4669 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4670 arg of isearch-forward-regexp to t.
4671 (dired-isearch-filter-filenames): Remove unnecessary check for
4672 `dired-isearch-filenames'.
4673
4674 * comint.el (comint-history-isearch-backward):
4675 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4676 (comint-history-isearch-backward-regexp):
4677 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4678
ceac12b7
EZ
46792013-12-10 Eli Zaretskii <eliz@gnu.org>
4680
4681 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4682 unmsys--file-name. (Bug#16099)
4683
5a565782
TZ
46842013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4685
cb3a1380
SM
4686 * emacs-lisp/package.el (package-keyword-button-action):
4687 Remove finder.el require dependency.
5a565782 4688
a81fc7ba
TZ
46892013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4690
4691 * emacs-lisp/package.el: Require finder.el.
4692 (describe-package-1): Add keyword buttons.
4693 (package-make-button): New convenience function.
4694 (package-keyword-button-action): Keyword button action using
e0eb0550 4695 `finder-list-matches'.
a81fc7ba 4696
6aaca951
EZ
46972013-12-09 Eli Zaretskii <eliz@gnu.org>
4698
4699 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4700 last commit.
4701
a1099a91
MA
47022013-12-09 Michael Albinus <michael.albinus@gmx.de>
4703
4704 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4705 symlinked files.
4706
8212d9c0
DG
47072013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4710 after the end of a percent literal.
4711
8f48d131
CD
47122013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4713
cb3a1380
SM
4714 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4715 Handle caret-delimited strings (Bug#16079).
8f48d131 4716
ff8c9764
DG
47172013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4718
cb3a1380
SM
4719 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4720 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
4721 `ruby-parse-partial' (Bug#16078).
4722
d64643b4
LL
47232013-12-09 Leo Liu <sdl.web@gmail.com>
4724
4725 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4726
47e59c66
DG
47272013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4728
4729 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4730 (js-switch-indent-offset): New option.
4731 (js--proper-indentation): Use it. And handle the case when
4732 "default" is actually a key in an object literal.
4733 (js--same-line): New function.
4734 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
4735 (js--indent-in-array-comp, js--array-comp-indentation):
4736 New functions.
47e59c66
DG
4737 (js--proper-indentation): Use them, to handle array comprehension
4738 continuations.
4739
974ebc9c
LL
47402013-12-08 Leo Liu <sdl.web@gmail.com>
4741
4742 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4743 (flymake-make-overlay): Remove arg MOUSE-FACE.
4744 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4745
27262e39
SM
47462013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4749 New function.
4750 (redisplay-highlight-region-function): Use it.
4751
4752 * emulation/cua-base.el (cua--explicit-region-start)
4753 (cua--last-region-shifted): Remove.
4754 (cua--deactivate): Use deactivate-mark.
4755 (cua--pre-command-handler-1): Don't handle shift-selection.
4756 (cua--post-command-handler-1): Don't change transient-mark-mode.
4757 (cua--select-keymaps): Use region-active-p rather than
4758 cua--explicit-region-start or cua--last-region-shifted.
4759 (cua-mode): Enable shift-select-mode.
4760
6407822c
LL
47612013-12-08 Leo Liu <sdl.web@gmail.com>
4762
27262e39
SM
4763 * progmodes/flymake.el (flymake-popup-current-error-menu):
4764 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
4765 (flymake-posn-at-point-as-event, flymake-popup-menu)
4766 (flymake-make-emacs-menu): Remove. (Bug#16077)
4767
00a2b823
SM
47682013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4769
02033d49
SM
4770 * rect.el (rectangle-mark-mode): Activate mark even if
4771 transient-mark-mode is off (bug#16066).
4772 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4773 is > mark and at bolp.
4774
6f8dfccf
SM
4775 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4776 (region-extract-function): Use it.
4777 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4778 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4779 Delete functions.
4780 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4781 kill-ring-save, kill-region, delete-char, delete-forward-char.
4782 Ignore self-insert-iso.
4783
4784 * emulation/cua-gmrk.el (cua--init-global-mark):
4785 Ignore `self-insert-iso'.
4786
4787 * emulation/cua-base.el (cua--prefix-copy-handler)
4788 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4789 checking cua--rectangle.
4790 (cua-delete-region): Use region-extract-function.
4791 (cua-replace-region): Delete function.
4792 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4793 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4794 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4795 (cua--init-keymaps): Don't remap delete-selection commands.
4796 (cua-mode): Use delete-selection-mode instead of rolling our own
4797 (bug#16085).
4798
4799 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4800 Obey region-extract-function.
4801
00a2b823
SM
4802 Make registers and delete-selection-mode work on rectangles.
4803 * register.el (describe-register-1): Don't modify the register's value.
4804 (copy-to-register): Obey region-extract-function.
4805 * delsel.el (delete-active-region): Obey region-extract-function.
4806
a92fa5f1
LL
48072013-12-08 Leo Liu <sdl.web@gmail.com>
4808
4809 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4810 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4811 (flymake-compilation-prevents-syntax-check)
4812 (flymake-start-syntax-check-on-newline)
4813 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4814 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4815 (flymake-xml-program, flymake-master-file-dirs)
4816 (flymake-master-file-count-limit)
4817 (flymake-allowed-file-name-masks): Relocate.
4818 (flymake-makehash, flymake-float-time)
4819 (flymake-replace-regexp-in-string, flymake-split-string)
4820 (flymake-get-temp-dir): Remove.
4821 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4822 (flymake-current-row, flymake-selected-frame)
4823 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4824 related functions. (Bug#16077)
4825
73c8ceea
BB
48262013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4827
4828 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4829
faec28d9
TH
48302013-12-07 Tassilo Horn <tsdh@gnu.org>
4831
4832 * help-fns.el (describe-function-1): Use new advice-* functions
4833 rather than old ad-* functions. Fix function type description and
4834 source links for advised functions and subrs.
4835
e330b646
LMI
48362013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4837
00a2b823 4838 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 4839
4803595d
MA
48402013-12-06 Michael Albinus <michael.albinus@gmx.de>
4841
4842 * progmodes/compile.el (compilation-start):
4843 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4844
4845 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4846 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4847
fa834a93
DG
48482013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4849
00a2b823
SM
4850 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4851 Touch up the last change.
fa834a93 4852
b2856a6f
LL
48532013-12-06 Leo Liu <sdl.web@gmail.com>
4854
4855 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4856 (inferior-octave-startup): Always use "octave> " for prompt.
4857 (octave-goto-function-definition)
4858 (octave-sync-function-file-names)
4859 (octave-find-definition-default-filename): Remove redundant backquotes.
4860
af67e79a
DG
48612013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4862
4863 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4864 syntax for `?'.
4865 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4866 where appropriate already.
4867 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4868 end of method names (Bug#15874).
4869
bf093209
JL
48702013-12-06 Juri Linkov <juri@jurta.org>
4871
4872 * isearch.el (isearch--saved-overriding-local-map):
4873 New internal variable.
4874 (isearch-mode): Set it to the initial value of
4875 `overriding-terminal-local-map'.
4876 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4877 with `isearch--saved-overriding-local-map'. (Bug#16035)
4878
16588fad
DG
48792013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4880
00a2b823
SM
4881 * progmodes/octave.el (inferior-octave-completion-table):
4882 Turn back into function, use `completion-table-with-cache'
16588fad
DG
4883 (Bug#11906). Update all references.
4884
4885 * minibuffer.el (completion-table-with-cache): New function.
4886
bf4906d7
CD
48872013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4888
4889 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4890
ff69c18f
TZ
48912013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4892
4893 * net/eww.el (eww-current-source): New variable to store page
4894 source.
4895 (eww-display-html, eww-mode, eww-save-history)
4896 (eww-restore-history): Use it.
4897 (eww-view-source): New command to view page source.
4898 Opportunistically uses `html-mode' to highlight the buffer.
4899 (eww-mode-map): Install it.
4900
b85eff45
MA
49012013-12-05 Michael Albinus <michael.albinus@gmx.de>
4902
4903 * net/dbus.el (dbus-unregister-service)
4904 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4905 Fix docstring.
4906 (dbus-unregister-service): Skip :serial entries in
4907 `dbus-registered-objects-table'.
4908 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4909
39eb0899
TZ
49102013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4911
4912 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4913 around keywords with extra `split-string' argument.
4914
456760a5
MR
49152013-12-04 Martin Rudalics <rudalics@gmx.at>
4916
4917 * windmove.el (windmove-other-window-loc): Handle navigation
4918 between windows (excluding the minibuffer window - Bug#16017).
4919
81961e4c
MA
49202013-12-04 Michael Albinus <michael.albinus@gmx.de>
4921
4922 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4923 in D-Bus type syntax.
4924 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4925 preserve unibyte strings. (Bug#16048)
4926
8497f938
SM
49272013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4930 Call force-mode-line-update is the proper buffer (bug#16042).
4931
dda61916
DG
49322013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4933
4934 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4935 `log-edit-remember-comment', make argument optional. Adjust all
4936 callers.
4937 (log-edit-mode): Add `log-edit-remember-comment' to
4938 `kill-buffer-hook' locally.
4939 (log-edit-kill-buffer): Don't remember comment explicitly since
4940 the buffer is killed anyway.
4941
c085e5b9
JL
49422013-12-04 Juri Linkov <juri@jurta.org>
4943
4944 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4945 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4946
e0eb0550 49472013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
4948
4949 * notifications.el (notifications-close-notification): Call the
81961e4c 4950 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 4951
39fa32d6
KY
49522013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4953
4954 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4955
9139632a
JL
49562013-12-03 Juri Linkov <juri@jurta.org>
4957
4958 * progmodes/compile.el (compilation-start): Rename window alist
4959 entry `no-display-ok' to `allow-no-window'.
4960
4961 * simple.el (shell-command): Add window alist entry
4962 `allow-no-window' to `display-buffer'.
4963 (async-shell-command): Doc fix.
4964
4965 * window.el (display-buffer-no-window): New action function.
4966 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4967
0f457a37
DG
49682013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4969
4970 * vc/log-edit.el (log-edit-set-header): Extract from
4971 `log-edit-toggle-header'.
4972 (log-edit-extract-headers): Separate the summary, when extracted
4973 from header, from the rest of the message with an empty line.
4974
4975 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4976 line, if present, to the Summary header.
4977
0962f376
SM
49782013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4981 in current-buffer (bug#16029).
4982
f345395c
HE
49832013-12-02 Helmut Eller <eller.helmut@gmail.com>
4984
4985 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4986 (debugger-mode-map): Bind it.
4987 (debugger--backtrace-base): New function.
4988 (debugger-eval-expression): Use it.
4989 (debugger-frame-number): Skip local vars when present.
4990 (debugger--locals-visible-p, debugger--insert-locals)
4991 (debugger--show-locals, debugger--hide-locals): New functions.
4992
a8a15d9d
MA
49932013-12-02 Michael Albinus <michael.albinus@gmx.de>
4994
4995 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4996 "LC_ALL".
4997 (tramp-get-remote-locale): New defun.
4998 (tramp-open-connection-setup-interactive-shell): Use it.
4999
0518b057
LL
50002013-12-02 Leo Liu <sdl.web@gmail.com>
5001
5002 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5003
5004 * progmodes/sh-script.el (sh-shell-process):
5005 * progmodes/octave.el (inferior-octave-process-live-p):
5006 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5007 (gdb-inferior-io-sentinel):
5008 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5009
3adc9c6d
DG
50102013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5011
5012 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5013 `save-selected-window' to `log-edit-hide-buf'. This makes
5014 `log-edit-show-files' idempotent.
5015 (log-edit-show-files): Mark the new window as dedicated.
5016
47e8b74e
DG
50172013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5018
5019 * vc/log-edit.el (log-edit-mode-map): Add binding for
5020 `log-edit-kill-biffer'.
5021 (log-edit-hide-buf): Add a FIXME comment.
5022 (log-edit-add-new-comment): New function, extracted from
5023 `log-edit-done'.
5024 (log-edit-done, log-edit-add-to-changelog): Use it.
5025 (log-edit-kill-buffer): New command.
5026
1f6e1bb0
LMI
50272013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5028
5029 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5030 instead of killing the buffer.
5031
fb651d15
SM
50322013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5035
8feacce0
RS
50362013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5037
fb651d15 5038 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5039 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5040 (eww-form-checkbox, eww-toggle-checkbox):
5041 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5042
e0eb0550 5043 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5044 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5045 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5046 no :src tag was specified.
5047
fb651d15 5048 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5049 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5050 Use \\` to match beginning of string instead of ^.
5051 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5052 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5053
177948a5
RS
5054 * net/shr.el (shr-tag-video): Display content for video if no
5055 poster is available.
eb2dd24d 5056 (shr-tag-audio): Add support for <audio> tag.
177948a5 5057
e0eb0550 5058 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5059 (eww-process-text-input): Treat input types in
5060 `eww-text-input-types' as text.
5061
8feacce0
RS
5062 * net/shr.el (shr-tag-table): Fix comment typo.
5063
513562a1
LMI
50642013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5065
5066 * net/eww.el (eww-follow-link): New command to avoid reloading
5067 pages when we follow #target links (bug#15243).
de8a5633 5068 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5069
9dd99753
KN
50702013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5071
5072 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5073 forms.
5074
3e9876de
LMI
50752013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076
5077 * net/eww.el (eww-restore-history): Update the window title after
5078 moving in the history.
ab6dea82 5079 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5080
52789f7f
DG
50812013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5082
5083 * vc/log-edit.el (log-edit-mode-map): Add binding for
5084 `log-edit-beginning-of-line'.
5085 (log-edit-setup-add-author): New user option.
5086 (log-edit-beginning-of-line): New command.
5087 (log-edit): Move major mode call above the contents setup so that
5088 the local variable values are already applied.
5089 (log-edit): Only insert "Author: " when
5090 `log-edit-setup-add-author' is non-nil.
5091 (log-edit): When SETUP is non-nil, position point after ": "
5092 instead of point-min.
5093
2e6710c3
GM
50942013-12-01 Glenn Morris <rgm@gnu.org>
5095
5096 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5097
fadec31f
EZ
50982013-11-30 Eli Zaretskii <eliz@gnu.org>
5099
5100 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5101 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5102 visible. (Bug#16014)
5103
10634b40 51042013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5105
5106 Support resizing frames and windows pixelwise.
5107 * cus-start.el (frame-resize-pixelwise)
5108 (window-resize-pixelwise): New entries.
5109 * emacs-lisp/debug.el (debug): Use window-total-height instead
5110 of window-total-size.
5111 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5112 * help.el (describe-bindings-internal): Use help-buffer as
5113 argument for with-help-window.
880e6158
MR
5114 (temp-buffer-max-width): New option.
5115 (resize-temp-buffer-window, help-window-setup)
5116 (with-help-window): Rewrite.
5117 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5118 dragging dividers.
5119 * window.el (frame-char-size, window-min-pixel-height)
5120 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5121 (window-min-pixel-width, window-safe-min-pixel-size)
5122 (window-combination-p, window-safe-min-size)
5123 (window-resizable-p, window--size-to-pixel)
5124 (window--pixel-to-size, window--resize-apply-p): New functions.
5125 (window-safe-min-height): Fix doc-string.
5126 (window-size, window-min-size, window--min-size-1)
5127 (window-sizable, window-sizable-p, window--min-delta-1)
5128 (window-min-delta, window--max-delta-1, window-max-delta)
5129 (window--resizable, window--resizable-p, window-resizable)
5130 (window-full-height-p, window-full-width-p, window-at-side-p)
5131 (window--in-direction-2, window-in-direction)
5132 (window--resize-reset-1, window--resize-mini-window)
5133 (window-resize, window-resize-no-error)
5134 (window--resize-child-windows-normal)
5135 (window--resize-child-windows, window--resize-siblings)
5136 (window--resize-this-window, window--resize-root-window)
5137 (window--resize-root-window-vertically)
5138 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5139 (maximize-window, minimize-window, delete-window)
5140 (quit-restore-window, window-split-min-size, split-window)
5141 (balance-windows-2, balance-windows)
5142 (balance-windows-area-adjust, balance-windows-area)
5143 (window--state-get-1, window-state-get, window--state-put-1)
5144 (window--state-put-2, window-state-put)
fb651d15
SM
5145 (display-buffer-record-window, window--display-buffer):
5146 Make functions handle pixelwise sizing of windows.
880e6158 5147 (display-buffer--action-function-custom-type)
fb651d15
SM
5148 (display-buffer-fallback-action):
5149 Add display-buffer-in-previous-window.
880e6158
MR
5150 (display-buffer-use-some-window): Resize window to height it had
5151 before.
5152 (fit-window-to-buffer-horizontally): New option.
5153 (fit-frame-to-buffer): Describe new values.
5154 (fit-frame-to-buffer-bottom-margin): Replace with
5155 fit-frame-to-buffer-margins.
5156 (window--sanitize-margin): New function.
5157 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5158 using window-text-pixel-size.
5159
f9b697dd
GM
51602013-11-30 Glenn Morris <rgm@gnu.org>
5161
3e2fb4db
GM
5162 * emacs-lisp/bytecomp.el (byte-compile-form):
5163 Make the `interactive-only' warning like the `obsolete' one.
5164 * comint.el (comint-run):
5165 * files.el (insert-file-literally, insert-file):
5166 * replace.el (replace-string, replace-regexp):
5167 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5168 (goto-line, insert-buffer, next-line, previous-line):
5169 Tweak `interactive-only' spec.
5170
f9b697dd
GM
5171 Stop keeping (most) generated cedet grammar files in the repository.
5172 * Makefile.in (semantic): New.
5173 (compile-main): Depend on semantic.
5174
da048127
SM
51752013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5176
7784b779
SM
5177 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5178 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5179
4e36a6a6
SM
5180 * uniquify.el (uniquify-buffer-name-style): Change default.
5181
5182 * loadup.el: Preload "uniquify".
5183
e0ba1308
SM
5184 * time.el (display-time-update): Update all mode lines (bug#15999).
5185
da048127
SM
5186 * electric.el (electric-indent-mode): Enable by default.
5187 * loadup.el: Preload "electric".
5188
015b3b3e
BB
51892013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5190
5191 * emacs-lisp/helpers.el (string-empty-p): New function.
5192 (string-blank-p): New function.
5193
7efb806d
AP
51942013-11-29 Andreas Politz <politza@hochschule-trier.de>
5195
5196 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5197 (Bug#14029).
5198
c8f0efc2
AP
51992013-11-29 Andreas Politz <politza@fh-trier.de>
5200 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5201 allow non-lambda lists as functions.
5202 (imenu--in-alist): Don't recurse into non-subalists.
5203 (imenu): Don't pass function itself as an argument (Bug#14029).
5204
bd15d9d1
SM
52052013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * progmodes/python.el (python-mode-map): Remove binding for ":".
5208 (python-indent-electric-colon): Remove command.
5209 (python-indent-post-self-insert-function): Integrate the previous code
5210 of python-indent-electric-colon. Make it conditional on
5211 electric-indent-mode.
5212 (python-mode): Add ?: to electric-indent-chars.
5213 Move python-indent-post-self-insert-function to the end of
5214 post-self-insert-hook.
5215
1b10adb6
SM
52162013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5217
655ab9a3
SM
5218 * doc-view.el (doc-view-goto-page): Update mode-line.
5219
1b10adb6
SM
5220 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5221
7e3bf78c
GM
52222013-11-27 Glenn Morris <rgm@gnu.org>
5223
5224 * international/charprop.el, international/uni-bidi.el:
5225 * international/uni-category.el, international/uni-combining.el:
5226 * international/uni-comment.el, international/uni-decimal.el:
5227 * international/uni-decomposition.el, international/uni-digit.el:
5228 * international/uni-lowercase.el, international/uni-mirrored.el:
5229 * international/uni-name.el, international/uni-numeric.el:
5230 * international/uni-old-name.el, international/uni-titlecase.el:
5231 * international/uni-uppercase.el:
5232 Remove generated files from VCS repository.
5233
fb6a5d68
EZ
52342013-11-27 Eli Zaretskii <eliz@gnu.org>
5235
5236 * filenotify.el (file-notify-add-watch): Don't special-case
5237 w32notify when computing the directory to watch.
5238
cb6c95a3
GM
52392013-11-27 Glenn Morris <rgm@gnu.org>
5240
20372d0c
GM
5241 Make bootstrap without generated uni-*.el files possible again.
5242 * loadup.el: Update command-line-args checking for unidata-gen.
5243 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5244 * composite.el, international/characters.el:
5245 Handle unicode tables being undefined.
5246
52d6635f 5247 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5248 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5249 (compile-main): Depend on leim rule.
5250 (leim): New rule.
5251 * loadup.el: Move leim-list.el to leim/ subdirectory.
5252 * startup.el (normal-top-level): No more leim directory.
5253 * international/ja-dic-cnv.el (skkdic-convert):
5254 Disable version-control and autoloads in output files.
5255 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5256 Disable version-control and autoloads in output files.
5257 * leim/quail: Move here from ../leim.
5258 * leim/quail/hangul.el (hangul-input-method-activate):
5259 Add autoload cookie.
5260 (generated-autoload-load-name): Set file-local value.
5261 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5262 (generated-autoload-load-name): Set file-local value.
5263
7514d3f8 52642013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5265
e0eb0550 5266 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5267 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5268 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5269
0e2c793f
EZ
52702013-11-26 Eli Zaretskii <eliz@gnu.org>
5271
5272 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5273 reading output from Diff on MS-Windows and MS-DOS.
5274
447bdcb8
BB
52752013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5276
5277 * emacs-lisp/helpers.el (string-reverse): New function.
5278
5fbf6856
MA
52792013-11-26 Michael Albinus <michael.albinus@gmx.de>
5280
5281 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5282 names on MS Windows, like "/[::1]:".
5283
5284 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5285 SWITCHES.
5286
624780f0
GM
52872013-11-26 Glenn Morris <rgm@gnu.org>
5288
0bf3f0fa
GM
5289 * progmodes/python.el (python-indent-guess-indent-offset):
5290 Avoid corner-case error. (Bug#15975)
5291
624780f0
GM
5292 Preload leim-list.el. (Bug#4789)
5293 * loadup.el: Load leim-list.el when found.
5294 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5295
4301875e 52962013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5297
5298 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5299
4301875e
BB
5300 * emacs-lisp/helpers.el (string-join): New function.
5301
1633a815 53022013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5303
5304 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5305 Mark as obsolete and replace it with a symbol property.
5306 (byte-compile-form): Use new 'interactive-only property.
5307 * comint.el, files.el, replace.el, simple.el:
5308 Apply new 'interactive-only properly.
5309
00139435
MR
53102013-11-25 Martin Rudalics <rudalics@gmx.at>
5311
5312 * window.el (display-buffer-at-bottom): Make sure that
5313 split-window-sensibly creates the new window on bottom
5314 (Bug#15961).
5315
5f5b128d
DK
53162013-11-23 David Kastrup <dak@gnu.org>
5317
5318 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5319 on the conflict markers when available.
5320 (smerge--get-marker): New function.
5321 (smerge-end-re, smerge-base-re): Add subgroup.
5322
623891e5
SM
53232013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * frame.el (handle-focus-in, handle-focus-out): Add missing
5326 interactive spec.
5327
05ca27d8
MA
53282013-11-25 Michael Albinus <michael.albinus@gmx.de>
5329
5330 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5331 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5332
511fa0d3
SM
53332013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5334
e82ad66c
SM
5335 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5336 (gomoku--last-pos): New var.
5337 (gomoku--intangible-chars): New const.
5338 (gomoku--intangible): New function.
5339 (gomoku-mode): Use it. Derive from special-mode.
5340 (gomoku-move-up): Adjust line count.
5341 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5342 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5343 Simplify accordingly.
5344
511fa0d3
SM
5345 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5346 Remove blink-cursor code.
5347 (blink-cursor-timer-function, blink-cursor-suspend):
5348 Don't special-case GUIs.
5349 (blink-cursor-mode): Use focus-in/out-hook.
5350
6f20dd03
DG
53512013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5352
5353 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5354 work when annotation is invisible (Bug#13886).
5355
431dec31 53562013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5357
5358 * json.el (json-alist-p): Only return non-nil if the alist has
5359 simple keys (Bug#13518).
5360
431dec31 53612013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5362
5363 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5364 when control-statement is the first statement in a buffer (Bug#15956).
5365
ee4f0261
DG
53662013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5367
5368 * imenu.el (imenu-generic-skip-comments-and-strings):
5369 New option (Bug#15560).
5370 (imenu--generic-function): Use it.
5371
c484f866
JS
53722013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5373
e9dc713d
JB
5374 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5375 (Bug#13898)
c484f866 5376
41ce6f70
BB
53772013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5378
b55aea38
BB
5379 * emacs-lisp/helpers.el: Add some string helpers.
5380 (string-trim-left): Removes leading whitespace.
5381 (string-trim-right): Removes trailing whitespace.
5382 (string-trim): Removes leading and trailing whitespace.
5383
41ce6f70
BB
5384 * subr.el (string-suffix-p): New function.
5385
3cfb6af3
GM
53862013-11-23 Glenn Morris <rgm@gnu.org>
5387
5388 * progmodes/python.el (python-shell-send-file):
5389 Add option to delete file when done. (Bug#15647)
5390 (python-shell-send-string, python-shell-send-region): Use it.
5391
c27924b7
IS
53922013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5393
e1b01c7f
IS
5394 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5395 to set buffer-read-only to t, never to nil. (Bug#15938)
5396
c27924b7
IS
5397 * textmodes/tex-mode.el (latex-noindent-environments):
5398 Add safe-local-variable property. (Bug#15936)
5399
17e0445b
GM
54002013-11-23 Glenn Morris <rgm@gnu.org>
5401
92f78ea3
GM
5402 * textmodes/enriched.el (enriched-mode): Doc fix.
5403 * emacs-lisp/authors.el (authors-renamed-files-alist):
5404 Add enriched.doc -> enriched.txt.
5405
17e0445b
GM
5406 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5407
965bb23a
LL
54082013-11-22 Leo Liu <sdl.web@gmail.com>
5409
5410 * progmodes/octave.el (inferior-octave-startup): Spit out error
5411 message.
5412
d19ffd64
BB
54132013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5414
5415 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5416 Improve docstring.
15ba2182
BB
5417 Add :version.
5418 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5419
7a7567d2
LL
54202013-11-22 Leo Liu <sdl.web@gmail.com>
5421
5422 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5423 (Bug#15076)
8c09f64b
LL
5424 (octave-help-mode): Adapt to change to help-mode-finish to use
5425 derived-mode-p on 2013-09-17.
5426 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5427 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5428
724bc265
LL
54292013-11-22 Leo Liu <sdl.web@gmail.com>
5430
5431 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5432 (inferior-octave-startup, inferior-octave-check-process)
5433 (inferior-octave-track-window-width-change)
5434 (octave-completion-at-point, octave-eldoc-function): Use it.
5435 (octave-kill-process): Provide confirmation. (Bug#10564)
5436
38637cca
LL
54372013-11-21 Leo Liu <sdl.web@gmail.com>
5438
511fa0d3
SM
5439 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5440 Fix obsolete variable comment-use-global-state.
38637cca 5441
06e752b4
RS
54422013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5443
511fa0d3
SM
5444 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5445 Add `octave-source-file'.
06e752b4
RS
5446 (octave-source-file): New function. (Bug#15935)
5447
7514d3f8 54482013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5449
5450 * net/eww.el (eww-local-regex): New variable.
5451 (eww): Use it to detect localhost and similar.
5452
b6ffa04a
LL
54532013-11-21 Leo Liu <sdl.web@gmail.com>
5454
5455 Add completion for command `ag'.
2021a200
LL
5456 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5457 (pcomplete/ag): New function.
e9dc713d 5458 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5459
d1a6bccc
SM
54602013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5461
5462 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5463 (bug#14646).
5464 (make-obsolete): Remove interactive spec.
5465
2df10228
GM
54662013-11-21 Glenn Morris <rgm@gnu.org>
5467
5468 * startup.el (command-line-1): Use path-separator with -L.
5469
86fd16b6
TZ
54702013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5471
5472 * emacs-lisp/package.el (describe-package-1): Add package archive
5473 to shown fields.
5474
0449d6cd 54752013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5476
5477 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5478 Change default to "# encoding: %s" to differentiate it from the
5479 default Ruby encoding comment template.
5480
dc7e8c17 54812013-11-20 era eriksson <era+emacsbugs@iki.fi>
5482
5483 * ses.el (ses-mode): Doc fix. (Bug#14748)
5484
f0cfa5fe
LL
54852013-11-20 Leo Liu <sdl.web@gmail.com>
5486
5487 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5488
826dc7b6
DN
54892013-11-19 Dan Nicolaescu <dann@gnu.org>
5490
5491 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5492 when rebase or bisect are in progress.
5493
a6e3a5d5
XF
54942013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5495
5496 * filenotify.el (file-notify-add-watch): Doc fix.
5497
f130cb76
LL
54982013-11-19 Leo Liu <sdl.web@gmail.com>
5499
e0855d7d
LL
5500 * obsolete/rcompile.el: Mark obsolete.
5501
f130cb76 5502 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5503 (compilation-goto-locus, compilation-find-file):
5504 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5505 (Bug#13594)
5506
5507 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5508 new parameter no-display-ok. Return either a window or nil
5509 but never a non-window value.
f130cb76 5510
1f35d401
SM
55112013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5512
25158c76
SM
5513 * electric.el (electric-indent-mode-map): Remove.
5514 (electric-indent-mode): Change the global-map instead (bug#15915).
5515
5516 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5517 Use add-function.
1f35d401 5518
9bc67baa
SM
55192013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5520
986545b5
SM
5521 * emacs-lisp/nadvice.el (remove-function): Align with
5522 add-function's behavior.
5523
9bc67baa
SM
5524 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5525 (gdb--string-regexp): New constant.
5526 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5527 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5528 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5529 submatch 1.
5530 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5531 Adjust use accordingly.
5532 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5533
56cd894e
AS
55342013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5535
5536 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5537 interpolation curlies (Bug#15914).
5538
014690de
JB
55392013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5540
5541 * calc/calc.el (calc-context-sensitive-enter): New variable.
5542 (calc-enter): Use `calc-context-sensitive-enter'.
5543
7e26a6c3
TZ
55442013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5545
5546 * progmodes/cfengine.el: Version bump.
5547 (cfengine-cf-promises): New defcustom to locate cf-promises.
5548 (cfengine3-vartypes): Add new "data" type.
5549 (cfengine3--current-word): New function to get current name-like
5550 word or its bounds.
5551 (cfengine3--current-function): New function to look up a CFEngine
5552 function's definition.
5553 (cfengine3-format-function-docstring): New function.
5554 (cfengine3-make-syntax-cache): New function.
5555 (cfengine3-documentation-function): New function: ElDoc glue.
5556 (cfengine3-completion-function): New function: completion glue.
5557 (cfengine3-mode): Set `compile-command',
5558 `eldoc-documentation-function', and add to
5559 `completion-at-point-functions'.
5560
355204dd
MA
55612013-11-16 Michael Albinus <michael.albinus@gmx.de>
5562
5563 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5564 `tramp-current-connection'.
5565
43cebc23
DG
55662013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5567
5568 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5569 nil/self/true/false with "end of symbol".
5570
a3fed6ff
BB
55712013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5572
5573 * subr.el (version-regexp-alist): Fix a typo.
5574
e675b3e4
MA
55752013-11-15 Michael Albinus <michael.albinus@gmx.de>
5576
5577 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5578 "en_US.utf8" and "LC_CTYPE" to "".
5579 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5580 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5581
a1f03e89
LL
55822013-11-15 Leo Liu <sdl.web@gmail.com>
5583
5584 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5585
5d9d9451
SM
55862013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5587
58362662
CS
5588 * progmodes/gud.el (ctl-x-map):
5589 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5590 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5591
6c1bf086
BB
55922013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5593
0d5363c4
BB
5594 * subr.el (version-regexp-alist):
5595 Recognize hg, svn and darcs versions as snapshot versions.
5596
4e9fc48c
BB
5597 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5598 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5599 (ruby--encoding-comment-required-p): Extract from
5600 `ruby-mode-set-encoding'.
5601 (ruby-mode-set-encoding): Add the ability to always insert an
5602 utf-8 encoding comment. Fix and simplify coding comment update
5603 logic.
6c1bf086 5604
2f7e72f8
MA
56052013-11-14 Michael Albinus <michael.albinus@gmx.de>
5606
5607 * net/tramp-gvfs.el (top): Run init code only when
5608 `tramp-gvfs-enabled' is not nil.
5609 (tramp-gvfs-enabled): Check also :system bus.
5610
0f137a73
SM
56112013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 Sync with upstream verilog-mode revision 78e66ba.
5614 * progmodes/verilog-mode.el (verilog-end-of-defun)
5615 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5616 (verilog-get-end-of-defun): Remove unused argument.
5617 (verilog-comment-depth): Remove unused local `e'.
5618 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5619 Don't pass arg to verilog-get-end-of-defun.
5620
1c276bdd
GM
56212013-11-14 Glenn Morris <rgm@gnu.org>
5622
5623 * obsolete/assoc.el (aget): Prefix dynamic variable.
5624
5625 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5626
ff6ec81d
SM
56272013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * widget.el, hfy-cmap.el: Remove bogus package version number.
5630
75f777b6
GM
56312013-11-13 Glenn Morris <rgm@gnu.org>
5632
1d43dba1
GM
5633 * replace.el (replace-eval-replacement):
5634 Try to give more helpful error message. (Bug#15836)
5635
ff4b7bd5
GM
5636 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5637 (archive-7z-update): Avoid custom type mismatches.
5638
75f777b6
GM
5639 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5640
11151a06
MA
56412013-11-13 Michael Albinus <michael.albinus@gmx.de>
5642
e675b3e4 5643 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5644 address can be empty.
5645
5646 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5647 Accept nil SWITCHES.
5648 (tramp-gvfs-handle-write-region): Implement APPEND.
5649
7b08f97e
DG
56502013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5651
5652 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5653 binary "|" operator and closing block args delimiter.
5654 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5655 (ruby-smie--implicit-semi-p): Not after "|" operator.
5656 (ruby-smie--closing-pipe-p): New function.
5657 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5658 (ruby-smie-rules): Indent after "|".
5659
f201cf3a
GM
56602013-11-12 Glenn Morris <rgm@gnu.org>
5661
5662 * ps-print.el (ps-face-attribute-list):
5663 Handle anonymous faces. (Bug#15827)
5664
e6f759f9
MR
56652013-11-12 Martin Rudalics <rudalics@gmx.at>
5666
5667 * window.el (display-buffer-other-frame): Fix doc-string.
5668 (Bug#15868)
5669
ecda65d4
SM
56702013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5673
7ce8fcc3
MA
56742013-11-11 Michael Albinus <michael.albinus@gmx.de>
5675
5676 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5677 (tramp-sh-handle-file-local-copy): Don't write a message when
5678 saving temporary files.
5679
5680 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5681 both directories are remote.
5682 (tramp-smb-handle-directory-files): Do not return double entries.
5683 Do not expand full file names.
5684 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5685 (tramp-smb-handle-write-region): Implement APPEND.
5686 (tramp-smb-get-stat-capability): Fix a stupid bug.
5687
7818df11
SM
56882013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5691
608c2085
NT
56922013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5693
5694 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5695 throwing error over malformed let/let* (bug#15814).
5696
122a7e46
SM
56972013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * iswitchb.el (iswitchb-mode): Mark obsolete.
5700
766284d9
GM
57012013-11-11 Glenn Morris <rgm@gnu.org>
5702
5703 * international/uni-bidi.el, international/uni-category.el:
5704 * international/uni-name.el, international/uni-numeric.el:
5705 Regenerate for Unicode 6.3.0.
5706
7072a4e9
MA
57072013-11-10 Michael Albinus <michael.albinus@gmx.de>
5708
5709 * net/tramp.el (tramp-methods):
5710 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5711 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5712
c9df215b
AS
57132013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5714
608c2085
NT
5715 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5716 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 5717
fa47d796
DG
57182013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5719
5720 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 5721 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
5722 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5723 (ispell-complete-word): Call `ispell-lookup-words' with the value
5724 independent of `ispell-look-p'.
5725
1629a329
DG
57262013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5727
5728 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5729 Not after "||".
5730 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5731 their parent.
5732
ad16897c
SM
57332013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5736 (ruby-font-lock-keywords): Use backquote.
5737
ffa2df72
DG
57382013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5739
5740 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5741 (ruby-smie--backward-token): Only consider full-string matches.
5742
5b97b4c0
JD
57432013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5744
5745 * faces.el (describe-face): Add distant-foreground.
5746
71731c03
BB
57472013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5748
4e9fc48c
BB
5749 * progmodes/ruby-mode.el: Improve encoding comment handling.
5750 (ruby-encoding-magic-comment-style): New option.
5751 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
5752 (ruby--insert-coding-comment, ruby--detect-encoding):
5753 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
5754 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5755 to control the style of the auto-inserted encoding comment.
71731c03 5756
da3b328d
DG
57572013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5758
ad16897c
SM
5759 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5760 Use `smie-backward-sexp' with token argument.
da3b328d 5761
1606c2d3
MA
57622013-11-08 Michael Albinus <michael.albinus@gmx.de>
5763
5764 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5765 Remove instrumentation code.
5766
b0f4c320
GM
57672013-11-08 Glenn Morris <rgm@gnu.org>
5768
5769 * progmodes/autoconf.el (autoconf-mode):
5770 Tweak comment-start-skip. (Bug#15822)
5771
43668fb1
SM
57722013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5775 at bobp (bug#15826).
5776 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5777
daddb3fd
DH
57782013-11-08 Darren Hoo <darren.hoo@gmail.com>
5779
5780 * man.el (Man-start-calling): New macro, extracted from
5781 Man-getpage-in-background.
5782 (Man-getpage-in-background): Use it.
5783 (Man-update-manpage): New command.
5784 (Man-mode-map): Bind it.
5785
1f923923
DG
57862013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5787
5788 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5789 of "and", "or", "&&" and "||".
5790 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5791 argument. Prohibit opening curly brace because it could only be a
5792 block opener in that position.
daddb3fd
DH
5793 (ruby-smie--forward-token, ruby-smie--backward-token):
5794 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
5795 arguments.
5796 (ruby-smie--indent-to-stmt): New function, seeks the end of
5797 previous statement or beginning of buffer.
5798 (ruby-smie-rules): Use it.
5799 (ruby-smie-rules): Check if there's a ":" before a curly block
5800 opener candidate; if there is, it's a hash.
5801
3220d527
SM
58022013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5805 (cl--block-wrapper): Fix last accidental change.
5806
1eb1f9e0
MA
58072013-11-07 Michael Albinus <michael.albinus@gmx.de>
5808
5809 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5810 Instrument, in order to hunt failure on hydra.
5811
e6e4db3c
NT
58122013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5813
5814 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5815 malformed bindings form (bug#15814).
5816
b420ccfc
DG
58172013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5818
5819 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
5820 "." compared to " @ ". This incidentally fixes some indentation
5821 examples with "do".
e6e4db3c 5822 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
5823 (ruby-smie-grammar): New tokens: "and" and "or".
5824 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5825 Exclude "and" and "or". Remove "do" in order to work around token
5826 priorities.
5827 (ruby-smie-rules): Add all infix tokens. Handle the case of
5828 beginning-of-buffer.
b420ccfc 5829
6b4ac03e
GM
58302013-11-06 Glenn Morris <rgm@gnu.org>
5831
5832 * Makefile.in (setwins_almost, setwins_for_subdirs):
5833 Avoid accidental matches.
5834
5ca114d1
SM
58352013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * menu-bar.el (popup-menu): Use key-binding.
5838
f72552bd
EZ
58392013-11-06 Eli Zaretskii <eliz@gnu.org>
5840
5841 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5842 menus, support also the menus produced by minor modes.
5843 (Bug#15817)
5844
5d5c701e
LL
58452013-11-06 Leo Liu <sdl.web@gmail.com>
5846
5847 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 5848 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 5849
0a8b75e2
GM
58502013-11-06 Glenn Morris <rgm@gnu.org>
5851
5852 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
5853 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5854 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 5855
a35287ea
SM
58562013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5857
feca4e2d
SM
5858 * electric.el (electric-indent-just-newline): New command.
5859 (electric-indent-mode-map): New keymap.
5860 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5861 Re-add :group which weren't redundant.
5862
a35287ea
SM
5863 * electric.el (electric-indent-local-mode): New minor mode.
5864 (electric-indent-functions-without-reindent): New var.
5865 (electric-indent-post-self-insert-function): Use it.
5866 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5867
375761b2
EZ
58682013-11-05 Eli Zaretskii <eliz@gnu.org>
5869
9a6ad735
EZ
5870 * international/quail.el (quail-help): Be more explicit about the
5871 meaning of the labels shown on the keys. (Bug#15800)
5872
375761b2
EZ
5873 * startup.el (normal-top-level): Load the subdirs.el files before
5874 setting the locale environment. (Bug#15805)
5875
520a6e4a
SM
58762013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5877
0acfafef
SM
5878 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5879 via arguments so as to get the right ones (bug#15418).
5880
520a6e4a
SM
5881 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5882
15826261
MA
58832013-11-05 Michael Albinus <michael.albinus@gmx.de>
5884
5885 Fix problems found while writing a test suite.
5886
5887 * net/tramp-compat.el (tramp-compat-load): New defun.
5888 * net/tramp.el (tramp-handle-load): Use it.
5889
5890 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5891 "(numberp ok-if-already-exists)" correctly.
5892
d35f31a4
XF
58932013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5894
5895 * international/characters.el (glyphless-char-display-control):
5896 Add usage note.
5897
ae93bc74
BB
58982013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5899
520a6e4a
SM
5900 * progmodes/python.el (python-mode):
5901 * progmodes/scheme.el (scheme-mode):
5902 * progmodes/prolog.el (prolog-mode):
5903 * progmodes/ruby-mode.el (ruby-mode):
5904 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5905 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 5906
0ade65b5
SM
59072013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5908
a0d5f7a4
SM
5909 * rect.el (rectangle--highlight-for-redisplay):
5910 * emacs-lisp/smie.el (smie--next-indent-change):
5911 Use buffer-chars-modified-tick.
5912
c93f3f5c
SM
5913 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5914
0ade65b5
SM
5915 * electric.el (electric-indent-post-self-insert-function):
5916 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5917
ef9dd188
HE
59182013-11-04 Helmut Eller <eller.helmut@gmail.com>
5919
5920 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5921
306e7308
NT
59222013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5923
5924 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5925 (bug#15786).
5926
e5afbcac
SM
59272013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5928
1d01ad41
SM
5929 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5930
e5afbcac
SM
5931 * progmodes/python.el: Fix up last change.
5932 (python-shell--save-temp-file): New function.
5933 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5934 `string' comes from the current buffer.
5935 (python-shell-send-string-no-output): Remove `msg' arg.
5936 (python--use-fake-loc): New var.
5937 (python-shell-buffer-substring): Obey it. Try to compensate for the
5938 extra coding line added by python-shell--save-temp-file.
5939 (python-shell-send-region): Use python-shell--save-temp-file and
5940 python-shell-send-file directly. Add `nomain' argument.
5941 (python-shell-send-buffer): Use python-shell-send-region.
5942 (python-electric-pair-string-delimiter): New function.
5943 (python-mode): Use it.
5944
d0065ff1
EZ
59452013-11-04 Eli Zaretskii <eliz@gnu.org>
5946
5947 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5948 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5949 environment and decoding all of the default-directory's to here
5950 from command-line.
5951 (command-line): Decode also argv[0].
5952
5953 * loadup.el: Error out if default-directory is a multibyte string
5954 when we are dumping.
5955
5956 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5957
7397c587
TZ
59582013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5959
5960 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
5961 (package-menu--print-info, package-menu--archive-predicate):
5962 Add Archive column to package list.
7397c587 5963
b27cc9fc
MA
59642013-11-04 Michael Albinus <michael.albinus@gmx.de>
5965
5966 Fix problems found while writing a test suite.
5967
5968 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5969 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5970 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5971 to nil when running original file name handler. Otherwise,
5972 there are problems with constructs like "$$FOO".
5973
5974 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5975 for `localname'.
5976
d8c4f18a
BB
59772013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5978
7b530552
BB
5979 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5980
5981 * subr.el (version<, version<=, version=):
5982 Update docstrings with information for snapshot versions.
5983
d8c4f18a
BB
5984 * helpers.el: New library for misc helper functions.
5985 (hash-table-keys): New function returning a list of hash keys.
5986 (hash-table-values): New function returning a list of hash values.
5987
dca01b09
DG
59882013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5989
5990 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5991 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5992
0a749fa0
MN
59932013-11-04 Michal Nazarewicz <mina86@mina86.com>
5994
5995 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5996 checking whether point is after a 1-letter word.
5997
59982013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
5999
6000 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6001 Don't infloop when expanding region over `multiline' syntax-type that
6002 begins a line (bug#15778).
6003
4aca7145
SM
60042013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6007 Make it into a proper minor mode.
9b017563 6008 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6009 (rectangle-mark-mode-map): New keymap.
6010 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6011
a0833f62
GM
60122013-11-04 Glenn Morris <rgm@gnu.org>
6013
6014 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6015
e61845c1
SM
60162013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6019 (ruby-smie-rules): Use smie-rule-parent instead.
6020
6021 * emacs-lisp/smie.el (smie-rule-parent): Always call
6022 smie-indent-virtual rather than only for hanging tokens.
6023 (smie--next-indent-change): New helper command.
6024
62942f89
GM
60252013-11-03 Glenn Morris <rgm@gnu.org>
6026
6027 * Makefile.in (abs_srcdir): Remove.
6028 (emacs): Unset EMACSLOADPATH.
6029
b0b9e592
GM
60302013-11-02 Glenn Morris <rgm@gnu.org>
6031
18ba6a33 6032 * Makefile.in (EMACS): Use a relative filename.
8061810d 6033 (abs_top_builddir): Remove.
18ba6a33
GM
6034 (custom-deps, finder-data, autoloads): Use --chdir.
6035
6a8b929e
GM
6036 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6037
c617f3d0
GM
6038 Use relative filenames in TAGS files.
6039 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6040 (lisptagsfiles4, TAGS): Use relative file names.
6041 (TAGS-LISP): Remove.
6042 (maintainer-clean): No more TAGS-LISP file.
6043
b0b9e592
GM
6044 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6045 (lisptagsfiles4): Use absolute filenames again.
6046 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6047 Remove all *loaddefs files, not just the first. Remove esh-groups.
6048 (maintainer-clean): Delete TAGS, TAGS-LISP.
6049
d1c0ea6a
BB
60502013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6051
e61845c1
SM
6052 * emacs-lisp/package.el (package-version-join):
6053 Recognize snapshot versions.
d1c0ea6a 6054
684d71c6
BB
60552013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6056
6057 * subr.el (version-regexp-alist): Add support for snapshot versions.
6058
3d42b968
DG
60592013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6060
e61845c1
SM
6061 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6062 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6063 skip over our direct parent if it's an assignment token..
6064 (ruby-smie-rules): Use it.
6065
7ffd3721
DG
60662013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6067
8449dd1f 6068 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6069 unconditionally. Remove now unnecessary forward declarations.
6070 Remove XEmacs-specific setup.
6071 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6072 (ruby-font-lock-syntactic-keywords)
6073 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6074 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6075 (ruby-here-doc-end-syntax): Remove.
6076 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6077 defined as function.
6078
a3996a2e
BB
60792013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6080
6081 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6082
6f9260e8
BB
60832013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6084
6085 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6086 table and abbrev table, `define-derived-mode' does that for us
6087 anyway.
6088
6014de84
GM
60892013-11-01 Glenn Morris <rgm@gnu.org>
6090
6091 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6092 files is atomic for some time, so no parallel compilation issues).
6093
3c334c14
JD
60942013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6095
6096 * faces.el (face-x-resources): Add :distant-foreground.
6097 (region): Use :distant-foreground for gtk and ns.
6098
9bc236c8
TH
60992013-11-01 Tassilo Horn <tsdh@gnu.org>
6100
5246583b 6101 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6102 BibTeX.
6103 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6104 (reftex-locate-bibliography-files): Us it.
6105
d14c81ee
CB
61062013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6107
0e7690de
CB
6108 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6109 allow comments in pbm files.
6110
d14c81ee
CB
6111 * term/w32-win.el (dynamic-library-alist): Support newer versions
6112 of libjpeg starting with v7: look only for the DLL from the
6113 version against which Emacs was built.
ac1bf374 6114 Support versions of libpng beyond 1.4.x.
019c8218 6115 Support libtiff v4.x.
d14c81ee 6116
983d0df5
BB
61172013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6118
6119 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6120 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6121 Add property :safe.
6122 (ruby-deep-arglist): Add property :type.
6123
47f58d85
GM
61242013-10-31 Glenn Morris <rgm@gnu.org>
6125
6126 * Makefile.in (custom-deps, finder-data): No need to setq the target
6127 variables, we are in the right directory and the defaults work fine.
6128
4f85b479
GM
61292013-10-30 Glenn Morris <rgm@gnu.org>
6130
ca7dd4cd
GM
6131 * Makefile.in (autoloads): Do not use abs_lisp.
6132
4f85b479
GM
6133 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6134 `newline' does not respect `standard-output', so use `princ'.
6135
cf59e41c
AA
61362013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6137
6138 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6139 * buff-menu.el (Buffer-menu--unmark): New function.
6140 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6141
74cf04fb
GM
61422013-10-30 Glenn Morris <rgm@gnu.org>
6143
b040b60e
GM
6144 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6145
f53d3815
GM
6146 * emacs-lisp/package.el (lm-homepage): Declare.
6147
5413d873
GM
6148 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6149 Fix doc typos.
6150
cecedb36
GM
6151 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6152
74cf04fb
GM
6153 * Makefile.in (finder-data, autoloads, update-subdirs)
6154 (compile-main, compile-clean, compile-always, bootstrap-clean):
6155 Check return value of cd.
6156 (compile-calc): Remove.
6157
195ee2f0
SM
61582013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6159
ae4002ce
SM
6160 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6161
6162 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6163 (byte-compile-and-folded): New function.
6164 (=, <, >, <=, >=): Use it.
6165
6166 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6167 (path-separator, null-device, buffer-file-coding-system)
6168 (lpr-headers-switches): Check system-type before modifying them.
6169 (find-buffer-file-type-coding-system): Mark obsolete.
6170 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6171 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6172 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6173 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6174 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6175 (w32-direct-print-region-helper, w32-direct-print-region-function)
6176 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6177 * startup.el (normal-top-level-add-subdirs-to-load-path):
6178 * ps-print.el (ps-print-region-function):
6179 * lpr.el (print-region-function): Use new name.
6180
53b39e89
SM
6181 * subr.el (custom-declare-variable-early): Remove function.
6182 (custom-declare-variable-list): Remove var.
6183 (error, user-error): Remove `while' loop.
6184 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6185 (user-emacs-directory-warning, locate-user-emacs-file):
6186 Move to files.el.
6187 * simple.el (read-quoted-char-radix, read-quoted-char):
6188 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6189 Move from subr.el.
6190 * custom.el (custom-declare-variable-list): Don't process
6191 custom-declare-variable-list.
6192
195ee2f0
SM
6193 * progmodes/python.el (python-shell-get-buffer): New function.
6194 (python-shell-get-process): Use it.
6195 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6196 Python which encoding was used. Don't split-string since we only care
6197 about the first line. Return the temp-file, if applicable.
6198 (python-shell-send-region): Tell compile.el how to turn locations in
6199 the temp-file into locations in the source buffer.
6200
7e3561ee
SM
62012013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6202
4c9797cb
SM
6203 * subr.el (undefined): Add missing behavior from the C code for
6204 unbound keys.
6205
3472b6c6
SM
6206 * rect.el: Use lexical-binding. Add new rectangular region support.
6207 (rectangle-mark): New command.
6208 (rectangle--region): New var.
6209 (deactivate-mark-hook): Reset rectangle--region.
6210 (rectangle--extract-region, rectangle--insert-for-yank)
6211 (rectangle--highlight-for-redisplay)
6212 (rectangle--unhighlight-for-redisplay): New functions.
6213 (region-extract-function, redisplay-unhighlight-region-function)
6214 (redisplay-highlight-region-function): Use them to handle
6215 rectangular region.
6216 * simple.el (region-extract-function): New var.
6217 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6218 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6219 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6220 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6221 (redisplay-unhighlight-region-function)
6222 (redisplay-highlight-region-function): New vars.
6223 (redisplay--update-region-highlight): New function.
6224 (pre-redisplay-function): Use it.
6225 (exchange-point-and-mark): Don't deactivate the mark before
6226 reactivate-it anyway.
6227 * comint.el (comint-kill-region): Remove yank-handler argument.
6228 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6229 (delete-char): Remove property, since it's now part of their
6230 default behavior.
6231 (self-insert-iso): Remove property since this command doesn't exist.
6232
7e3561ee
SM
6233 * emacs-lisp/package.el (package--download-one-archive)
6234 (describe-package-1): Don't query the user about final newline.
6235
b9bef71f
DC
62362013-10-29 Daniel Colascione <dancol@dancol.org>
6237
6238 * net/tramp.el (tramp-methods): Document new functionality.
6239 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6240 tramp-hostname-checker if method provides one instead of scanning
6241 argument list for "%h" to decide hostname acceptability.
6242
4efc33f0
MA
62432013-10-28 Michael Albinus <michael.albinus@gmx.de>
6244
6245 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6246 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6247 Handle COPY-CONTENTS. (Bug#15737)
6248
ed42a877
DU
62492013-10-28 Daiki Ueno <ueno@gnu.org>
6250
9b017563 6251 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6252 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6253
18c9f8a2
XF
62542013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6255
35e951cd 6256 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6257
b1e8e010
AM
62582013-10-27 Alan Mackenzie <acm@muc.de>
6259
6260 Indent statements in macros following "##" correctly.
7e3561ee
SM
6261 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6262 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6263
73d40d1e 62642013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6265
6266 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6267
c8c605ac
DG
62682013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6269
6270 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6271 after `=' is probably a new expression.
6272
ca7e59d4
RS
62732013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6274
6275 * man.el (man-imenu-title): New option.
6276 (Man-mode-map): Add menu. (Bug#15722)
6277 (Man-mode): Add imenu to menu.
6278
bae91342
DG
62792013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6280
6281 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6282 specific in what the first arg can be: a non-keyword word,
6283 string/regexp/percent literal opener, opening paren, or unary
6284 operator followed directly by word.
6285
eb89dc14
SM
62862013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6289 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6290 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6291 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6292 Remove vars, they do not apply any more.
6293 (prolog-mode-abbrev-table): Remove redundant declaration.
6294 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6295 (prolog-use-smie): Remove.
6296 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6297 supported by prolog-electric-if-then-else-flag.
6298 (prolog-mode-variables, prolog-menu): Use setq-local.
6299 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6300 Remove binding to `Backspace' since this key doesn't exist anyway.
6301 Remove bindings for electric self-inserting keys.
6302 (prog-mode): Assume it's defined.
6303 (prolog-post-self-insert): New function.
6304 (prolog-mode): Use it.
6305 (prolog-indent-line, prolog-indent-level)
6306 (prolog-find-indent-of-matching-paren)
6307 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6308 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6309 (prolog-goto-next-paren, prolog-in-string-or-comment)
6310 (prolog-tokenize, prolog-inside-mline-comment)
6311 (prolog-find-start-of-mline-comment): Remove functions.
6312 (prolog-find-unmatched-paren, prolog-clause-end)
6313 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6314 (prolog-electric--if-then-else): Rename from
6315 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6316 (prolog-tokenize-searchkey): Remove const.
6317 (prolog-clause-info): Use forward-sexp.
6318 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6319 (prolog-electric-if-then-else): Remove commands.
6320 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6321 for use in post-self-insert-hook.
6322 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6323 for use in post-self-insert-hook.
6324 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6325 for use in post-self-insert-hook.
6326 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6327 adapt it for use in post-self-insert-hook.
6328
3dab0a83
MA
63292013-10-25 Michael Albinus <michael.albinus@gmx.de>
6330
6331 * emacs-lisp/ert.el (ert-run-tests-interactively):
6332 Use `completing-read'. (Bug#9756)
6333
fbfd0e1d
EZ
63342013-10-25 Eli Zaretskii <eliz@gnu.org>
6335
6336 * simple.el (line-move): Call line-move-1 instead of
6337 line-move-visual when the current window hscroll is zero, but
6338 temporary-goal-column indicates we will need to hscroll as result
6339 of the movement. (Bug#15712)
6340
963ce636
DG
63412013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6342
6343 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6344 capitalization. Use :visible instead of :active.
6345 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6346 commands that are used with SMIE.
6347 (ruby-do-end-to-brace): Insert space after `{'.
6348
a0be396a
JA
63492013-10-25 John Anthony <john@jo.hnanthony.com>
6350
f73754c9
JA
6351 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6352
6353 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6354
f5bf77df
GM
63552013-10-25 Glenn Morris <rgm@gnu.org>
6356
6357 * vc/vc.el (vc-print-log): Don't use a working revision unless
6358 one was explicitly specified. (Bug#15322)
6359
37241f62
SM
63602013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * subr.el (add-to-list): Preserve return value in compiler-macro
6363 (bug#15692).
6364
6408a65d
RS
63652013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6366
6367 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6368 result. Ask user to retry using '-all' flag. (Bug#15701)
6369
71e3276b
SM
63702013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * emacs-lisp/smie.el: New smie-config system.
6373 (smie-config): New defcustom.
6374 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6375 (smie-config-guess, smie-config-save): New commands.
6376 (smie-config--mode-local, smie-config--buffer-local)
6377 (smie-config--trace, smie-config--modefuns): New vars.
6378 (smie-config--advice, smie-config--mode-hook)
6379 (smie-config--setter, smie-config-local, smie-config--get-trace)
6380 (smie-config--guess-value, smie-config--guess): New functions.
6381 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6382 text properties. Treat "string fence" syntax like string syntax.
6383
6384 * progmodes/sh-script.el (sh-use-smie): Change default.
6385 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6386 (sh-var-value): Simplify by CSE.
6387 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6388 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6389 is used.
6390 (sh-guess-basic-offset): Use cl-incf.
6391 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6392
60db713e
HE
63932013-10-24 Helmut Eller <eller.helmut@gmail.com>
6394
6395 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6396 (bug#15699).
6397
8b251df6
GM
63982013-10-24 Glenn Morris <rgm@gnu.org>
6399
6400 * Makefile.in (abs_top_srcdir): Remove.
6401 (update-subdirs): Use relative path to update-subdirs.
6402
6be0e22b
EZ
64032013-10-24 Eli Zaretskii <eliz@gnu.org>
6404
6405 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6406 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6407 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6408 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6409
50b5b857
MA
64102013-10-24 Michael Albinus <michael.albinus@gmx.de>
6411
6412 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6413 (ert-test-skipped): New error.
6414 (ert-skip, ert-stats-skipped): New defuns.
6415 (ert--skip-unless): New macro.
6416 (ert-test-skipped): New struct.
6417 (ert--run-test-debugger, ert-test-result-type-p)
6418 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6419 (ert--stats-set-test-and-result, ert-char-for-test-result)
6420 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6421 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6422 Handle skipped tests. (Bug#9803)
50b5b857 6423
6f317c2f
GM
64242013-10-24 Glenn Morris <rgm@gnu.org>
6425
e43817c1
GM
6426 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6427
6f317c2f
GM
6428 * Makefile.in (abs_top_srcdir): New, set by configure.
6429 (update-subdirs): Correct build-aux location.
6430
369bbf71
DG
64312013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6432
8297b2cf
DG
6433 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6434 value, whether we could auto-deduce `backend', or not.
6435
369bbf71
DG
6436 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6437 with parameters" example. Simplify the "is it block or is it
6438 hash" check, but also make it more thorough.
6439
d5f1282f
MF
64402013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6441
6442 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6443
bc4aaa31
SM
64442013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6445
03d44565
SM
6446 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6447 { if it is hanging.
6448
bc4aaa31
SM
6449 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6450 :before ";".
6451
f493ff19
JB
64522013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6453
6454 * progmodes/compile.el (compilation-directory-matcher)
6455 (compilation-page-delimiter):
6456 Support GNU Make-4.0 directory quoting. (Bug#15678)
6457
c744a3b9
LL
64582013-10-23 Leo Liu <sdl.web@gmail.com>
6459
6460 * ido.el (ido-tidy): Handle read-only text.
6461
b8e3b0a9
GM
64622013-10-23 Glenn Morris <rgm@gnu.org>
6463
6464 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6465 (emacs, compile, compile-always):
6466 Quote entities that might contain whitespace.
6467 (custom-deps, finder-data, autoloads): Use abs_lisp.
6468 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6469 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6470 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6471
ee4282cd
DG
64722013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6473
bc4aaa31
SM
6474 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6475 Use `following-char'.
7790a270 6476
ee4282cd 64772013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6478
6479 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6480 * progmodes/ruby-mode.el (ruby-smie-rules):
6481 Remove corresponding workaround. Fix indentation rule of ";" so it
6482 also applies when ";" is the parent.
6483
d40a46d7
XF
64842013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6485
6486 * frame.el (display-screens, display-pixel-height)
6487 (display-pixel-width, display-mm-width, display-backing-store)
6488 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6489 (display-visual-class, display-monitor-attributes-list):
6490 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6491
a0f143c9
MG
64922013-10-22 Michael Gauland <mikelygee@amuri.net>
6493
6494 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6495 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6496
18cacc39
DG
64972013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6498
6499 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6500 TODO. Add "." after " @ ".
6501 (ruby-smie--at-dot-call): New function. Checks if point at method
6502 call with explicit target.
6503 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6504 to the method name tokens when it precedes them.
6505 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6506 (ruby-smie-rules): Add rule for indentation before and after "."
6507 token.
6508
df74c4be
SM
65092013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6510
c6dab55f
SM
6511 * textmodes/remember.el (remember-diary-extract-entries):
6512 Avoid add-to-list.
6513
df74c4be
SM
6514 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6515 an instruction.
6516
8c1ae481
DG
65172013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6518
e9dc713d
JB
6519 * progmodes/ruby-mode.el (ruby-smie-grammar):
6520 Add (almost) all infix operators.
cfef16c0
DG
6521 (ruby-smie--implicit-semi-p): Add new operator chars.
6522
8c1ae481
DG
6523 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6524 `smie-down-list'.
6525 (ruby-smie--args-separator-p): Check that there's no newline
6526 between method call and its arguments.
6527
87756ca9
AM
65282013-10-20 Alan Mackenzie <acm@muc.de>
6529
6530 Allow comma separated lists after Java "implements".
6531
df74c4be
SM
6532 * progmodes/cc-engine.el (c-backward-over-enum-header):
6533 Parse commas.
87756ca9
AM
6534 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6535 from a "disallowed" list in enum fontification.
6536
c25f8957
JB
65372013-10-20 Johan Bockgård <bojohan@gnu.org>
6538
df74c4be 6539 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6540
c25f8957
JB
6541 * progmodes/verilog-mode.el (verilog-mode): Don't set
6542 comment-indent-function globally.
6543
aca5fcdc
JD
65442013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6545
5f161884
JD
6546 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6547 Move Info menu item creation to ns-win.el.
6548
6549 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6550 in menu bar.
6551
a6c4680a 6552 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6553
6554 * term/ns-win.el (ns-initialize-window-system): ... to here.
6555
914b7f98
SM
65562013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * simple.el (newline): Only run post-self-insert-hook when
6559 called interactively.
6560
846ffe77
JB
65612013-10-19 Johan Bockgård <bojohan@gnu.org>
6562
6563 * icomplete.el (icomplete-with-completion-tables): Add :version.
6564
033f22dd
AM
65652013-10-19 Alan Mackenzie <acm@muc.de>
6566
6567 Fix fontification bugs with constructors and const.
6568
6569 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6570 CASE 2) Remove the check for the absence of a suffix construct
6571 after a function declaration with only types (no identifiers) in
6572 the parentheses. Also, accept a function declaration with just a
6573 type inside the parentheses, if this type can be positively
6574 recognised as such, or if a prefix keyword like "explicit" nails
6575 down the construct as a declaration.
6576
58ce0cfc
EZ
65772013-10-19 Eli Zaretskii <eliz@gnu.org>
6578
6579 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6580 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6581 the problem whereby selecting a menu item that leads to a
6582 minibuffer prompt moves the cursor out of the minibuffer window,
6583 making it hard to type at the prompt. Suggested by Stefan Monnier
6584 <monnier@iro.umontreal.ca>.
6585
50e28e7d
JD
65862013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6587
6588 * menu-bar.el: Don't make Services menu.
6589
7deed4bf
RS
65902013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6591
6592 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6593 (ffap-alist): Use ffap-c++-mode for c++-mode.
6594 (ffap-c++-path): New variable.
6595 (ffap-c++-mode): New function.
6596
7bcb455b
JVJ
65972013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6598
6599 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6600
f0ff1cd5
MA
66012013-10-18 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6604 introduced on 2013-09-08, which results in an infinite loop
6605 requesting a password.
6606
d64da4b7
GM
66072013-10-18 Glenn Morris <rgm@gnu.org>
6608
6609 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6610
ea89ff08
WS
66112013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6612
6613 Sync with upstream verilog-mode revision 1a6ecec7.
6614 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6615 (verilog-mode-release-date): Remove.
6616 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6617 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6618 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6619 (verilog-auto-tieoff-ignore-regexp)
6620 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6621 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6622 (verilog-signals-with, verilog-dir-cache-preserving)
6623 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6624 Doc fixes.
6625 (verilog-case-fold): New option, to control case folding in
6626 regexp searches, bug597.
6627 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6628 (verilog-string-match-fold, verilog-in-paren-count)
6629 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6630 (verilog-at-close-struct-p): New functions.
6631 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6632 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6633 (verilog-leap-to-case-head): Handle "unique0" case.
6634 (verilog-in-constraint-re): New constant.
6635 (verilog-keywords, verilog-type-font-keywords):
6636 Add some SystemVerilog 1800-2012 keywords.
6637 (verilog-label-be): Remove unimplemented argument, bug669.
6638 (verilog-batch-execute-func): When batch expanding clear
6639 create-lockfiles to prevent spurious user locks when a file ends
6640 up not changing.
6641 (verilog-calculate-indent, verilog-calc-1)
6642 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6643 (verilog-do-indent): Fix indentation of nested constraints
6644 and structures.
6645 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6646 (verilog-auto-inst-param): Use verilog-string-match-fold.
6647 (verilog-read-inst-module-matcher):
6648 Fix AUTOINST on gate primitives with #1.
6649 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6650 Reads all user-defined typed variables.
6651 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6652 (verilog-signals-matching-regexp)
6653 (verilog-signals-not-matching-regexp, verilog-auto):
6654 Respect verilog-case-fold.
6655 (verilog-diff-report): Fix line count.
6656 (verilog-auto-assign-modport): Remove unused local `modi'.
6657 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6658 better handle multidimensional arrays.
6659 Fix packed array ports misadding bit index in AUTOINST, bug637.
6660 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6661 to not double-declare existing outputs and inputs, respectively.
6662 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6663 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6664 (verilog-sk-uvm-component): New skeleton.
6665 (verilog-submit-bug-report): Add verilog-case-fold,
6666 remove verilog-mode-release-date.
6667
ef566920
BR
66682013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6669
a12bf61e 6670 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6671 as before.
6672
29df8a0b
RT
66732013-10-18 Reuben Thomas <rrt@sc3d.org>
6674
e0eb0550 6675 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6676 remember buffers (bug#13566).
6677
04a19a79
DC
66782013-10-18 Daniel Colascione <dancol@dancol.org>
6679
6680 When evaluating forms in ielm, direct standard output to ielm
6681 buffer. Add new ielm-return-for-effect command. Remove trailing
6682 whitespace throughout.
6683
6684 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6685 (ielm-return-for-effect): New command.
6686 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6687 (ielm-eval-input): Accept optional `for-effect' parameter.
6688 Bind `standard-output' to stream we create using
04a19a79
DC
6689 `ielm-standard-output-impl'. Suppress printing result when
6690 `for-effect'.
6691 (ielm-standard-output-impl): New function.
6692 (inferior-emacs-lisp-mode): Explain new features in documentation.
6693
4c1f03ef
MA
66942013-10-17 Michael Albinus <michael.albinus@gmx.de>
6695
6696 Code cleanup.
6697
6698 * net/tramp.el (tramp-debug-message): Do not check for connection
6699 buffer.
6700 (tramp-message): Use "vector" connection property.
6701
6702 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6703 (tramp-equal-remote, tramp-eshell-directory-change)
6704 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6705 (tramp-adb-handle-rename-file)
6706 * net/tramp-cmds.el (tramp-list-remote-buffers)
6707 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6708 * net/tramp-compat.el (tramp-compat-process-running-p)
6709 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6710 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6711 (tramp-gvfs-handle-rename-file)
6712 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6713 (tramp-set-file-uid-gid)
6714 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6715 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6716 of `file-remote-p'.
6717
6718 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6719 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6720 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6721 (tramp-gw-open-network-stream): Suppress unrelated traces.
6722
6723 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6724 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6725 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6726 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6727 connection property.
6728
6729 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 6730 persistency file.
4c1f03ef
MA
6731
6732 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6733 Refactor common code. Improve debug message.
6734 (tramp-maybe-open-connection)
6735 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6736 connection buffer too early.
6737
6738 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6739 from `tramp-smb-actions-with-acl'.
6740 (tramp-smb-actions-set-acl): New defconst.
6741 (tramp-smb-handle-copy-directory)
6742 (tramp-smb-action-get-acl): New defun, renamed from
6743 `tramp-smb-action-with-acl'.
6744 (tramp-smb-action-set-acl): New defun.
6745 (tramp-smb-handle-set-file-acl): Rewrite.
6746
642eb8b6
GM
67472013-10-17 Glenn Morris <rgm@gnu.org>
6748
6749 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6750
85527ff3
SM
67512013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6752
921c1d62
SM
6753 * skeleton.el (skeleton-newline): Remove.
6754 (skeleton-internal-1): Use (insert "\n") instead.
6755
e333fb10
SM
6756 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6757 let-bindings.
6758
85527ff3
SM
6759 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6760 forward-sexp-function while we redo its job (bug#15613).
6761
c8722a97
JB
67622013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6763
6764 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6765 represented by lists.
6766
7a550bbb
GM
67672013-10-16 Glenn Morris <rgm@gnu.org>
6768
6769 * tmm.el (tmm--history): New dynamic variable.
6770 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6771
f19da8ad
MA
67722013-10-16 Michael Albinus <michael.albinus@gmx.de>
6773
6774 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6775 (tramp-smb-errors): Add error messages.
6776 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 6777 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
6778 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6779 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6780 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6781 (tramp-smb-get-stat-capability): Fix tests.
6782
a24b9961
DK
67832013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6784
6785 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6786 (bug#15580).
6787
62ad85e6
GM
67882013-10-16 Glenn Morris <rgm@gnu.org>
6789
0283d6b0
GM
6790 * ansi-color.el (ansi-color-drop-regexp):
6791 Add 1J, 1K, 2K. (Bug#15617)
6792
012e2f9f
GM
6793 * files.el (hack-local-variables--warned-lexical): New.
6794 (hack-local-variables):
6795 Warn about misplaced lexical-binding. (Bug#15616)
6796
62ad85e6
GM
6797 * net/eww.el (eww-render): Always set eww-current-url,
6798 and update header line. (Bug#15622)
6799 (eww-display-html): ... Rather than just doing it here.
6800
6456c0ea
EZ
68012013-10-15 Eli Zaretskii <eliz@gnu.org>
6802
6803 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6804 menu navigations commands.
6805
c2de5588
DK
68062013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6807
6808 * progmodes/subword.el (subword-capitalize): Be careful when
6809 the search for [[:alpha:]] fails (bug#15580).
6810
ccd4a783
EZ
68112013-10-14 Eli Zaretskii <eliz@gnu.org>
6812
6813 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6814 to commands that scroll the menu.
6815
1eda1d8d
DG
68162013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6817
c2de5588
DK
6818 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6819 Handle methods ending with `?' and `!'.
1eda1d8d 6820
e70181b8
AM
68212013-10-14 Akinori MUSHA <knu@iDaemons.org>
6822
6823 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6824 `japanese-cp932' to `cp932' to fix the problem where saving a
6825 source file written in Shift_JIS twice would end up having
6826 `coding: japanese-cp932' which Ruby could not recognize.
6827 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6828 in `ruby-encoding-map'.
6829 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6830 doesn't need to be explicitly declared in magic comment.
6831 (ruby-encoding-map): Add type declaration for better customize UI.
6832
9148ee92
GM
68332013-10-13 Glenn Morris <rgm@gnu.org>
6834
a5d38e34
GM
6835 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6836 Occur buffers are read-only. http://bugs.debian.org/720775
6837
9148ee92
GM
6838 * emacs-lisp/authors.el (authors-fixed-entries):
6839 Comment out old alpha stuff.
6840
a9ba094b
DG
68412013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6842
6843 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6844 to `after-save-hook' instead of `before-save-hook'.
6845 (ruby-mode-set-encoding): Use the value of coding system used to
6846 write the file. Call `basic-save-buffer-1' after modifying the
6847 buffer.
6848
7a068717
AM
68492013-10-13 Alan Mackenzie <acm@muc.de>
6850
6851 Fix indentation/fontification of Java enum with
6852 "implements"/generic.
6853
c2de5588
DK
6854 * progmodes/cc-engine.el (c-backward-over-enum-header):
6855 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
6856 (c-inside-bracelist-p): Uses new function above.
6857 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6858 function above.
6859 (c-font-lock-enum-tail): Uses new function above.
6860
85b64f02
KH
68612013-10-13 Kenichi Handa <handa@gnu.org>
6862
6863 * international/mule-cmds.el (select-safe-coding-system): Remove a
6864 superfluous condition in chekcing whether a coding system is safe
6865 or not.
6866
fc7f501b
OK
68672013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6868
6869 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6870
fdcb2049
AP
68712013-10-13 Andreas Politz <politza@hochschule-trier.de>
6872
6873 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6874
8c106d17
GM
68752013-10-13 Glenn Morris <rgm@gnu.org>
6876
feab892d
GM
6877 * menu-bar.el (menu-bar-update-buffers):
6878 Unify Buffers menu prompt string. (Bug#15576)
6879
b22d0686
GM
6880 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6881
8c106d17
GM
6882 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6883 Add some entries.
6884 (authors-fixed-entries): Use accented form of name.
6885
1b12c797
SM
68862013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6887
650fa7bf 6888 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 6889 method calls (bug#15594).
650fa7bf
SM
6890 (ruby-smie--args-separator-p): New function.
6891 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6892 recognize paren-free method calls.
6893
1b12c797
SM
6894 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6895 internals of universal-argument.
6896
029619c8
EZ
68972013-10-11 Eli Zaretskii <eliz@gnu.org>
6898
6899 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
6900 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6901 dropped menu on second mouse click on the menu bar.
029619c8 6902
dd070019
SM
69032013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6906 (explicit-shell-file-name): Declare.
6907 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6908 (sh-completion-at-point-function): New function.
6909 (sh-mode): Use it.
6910 (sh-smie--keyword-p): Remove unused argument.
6911 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6912 vars.
6913 (sh-set-shell): Always setup SMIE, even if we use the
6914 old indentation code.
6915
0922b826
DG
69162013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6917
b68e2926
DG
6918 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6919 cases of ? and =.
6920 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6921 predicate would return nil are almost non-existent.
6922 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6923
0922b826
DG
6924 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6925 cache also after commands that modify the buffer but don't move
6926 point.
6927
ee041f2d
SM
69282013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * env.el (substitute-env-in-file-name): New function.
6931 (substitute-env-vars): Extend the meaning of the optional arg.
6932
a5dab159
EZ
69332013-10-10 Eli Zaretskii <eliz@gnu.org>
6934
6935 * term/w32-win.el (dynamic-library-alist): Define separate lists
6936 of GIF DLLs for versions before and after 5.0.0 of giflib.
6937 (Bug#15531)
6938
0449d6cd 69392013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
6940
6941 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6942 not locked, use last revision and current source as
6943 defaults. (Bug#15569)
6944
2f6e161e
MY
69452013-10-10 Masatake YAMATO <yamato@redhat.com>
6946
6947 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6948 menu-bar is hidden.
6949
6c8413fc
MR
69502013-10-10 Martin Rudalics <rudalics@gmx.at>
6951
6952 * window.el (pop-to-buffer-same-window): Fix doc-string.
6953 (Bug#15492)
6954
20832de0
SM
69552013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6958
c6e8ae77
AC
69592013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6960
6961 * calendar/icalendar.el (icalendar-import-file):
6962 Fix interactive spec. (Bug#15482)
6963
9db13baf
GM
69642013-10-10 Glenn Morris <rgm@gnu.org>
6965
9271e90e
GM
6966 * desktop.el (desktop-save): Default to saving in .emacs.d,
6967 since PWD is no longer in desktop-path by default. (Bug#15319)
6968
9db13baf
GM
6969 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6970 now that text mode has a menu with the same entry.
6971 (menu-bar-text-mode-auto-fill): Remove now unused func.
6972 * textmodes/text-mode.el (text-mode-map):
6973 Use auto-fill help text from menu-bar.el.
6974
a0be396a 69752013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
6976
6977 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6978
2edcd3c7
JL
69792013-10-09 Juri Linkov <juri@jurta.org>
6980
6981 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6982 instead of this-command-keys. Add universal-argument-more and
6983 universal-argument-minus to the list of prefix commands. (Bug#15568)
6984
574411d0
GM
69852013-10-09 Glenn Morris <rgm@gnu.org>
6986
14afa541
GM
6987 * vc/vc-svn.el (vc-svn-create-repo):
6988 Expand paths in file://... url. (Bug#15446)
6989
574411d0
GM
6990 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6991 Add some entries.
6992 (authors): Remove unused local variables.
6993
79804536
SM
69942013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * profiler.el: Create a more coherent calltree from partial backtraces.
6997 (profiler-format): Hide the tail with `invisible' so that C-s can still
6998 find the hidden elements.
6999 (profiler-calltree-depth): Don't recurse so enthusiastically.
7000 (profiler-function-equal): New hash-table-test.
7001 (profiler-calltree-build-unified): New function.
7002 (profiler-calltree-build): Use it.
7003 (profiler-report-make-name-part): Indent the calltree less.
7004 (profiler-report-mode): Add visibility specs for profiler-format.
7005 (profiler-report-expand-entry, profiler-report-toggle-entry):
7006 Expand the whole subtree when provided with a prefix arg.
7007
238150c8
DG
70082013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7009
7010 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7011 iuwu-mod token.
7012 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7013 hanging iuwu-mod token.
7014 (ruby-smie--forward-token): Do not include a dot after a token in
7015 that token.
7016 (ruby-smie--backward-token): Likewise.
7017
b0949cc4
JL
70182013-10-08 Juri Linkov <juri@jurta.org>
7019
7020 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7021 to isearch-other-control-char.
7022 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7023 and isearch-post-command-hook to post-command-hook.
7024 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7025 and isearch-post-command-hook from post-command-hook.
7026 (isearch-unread-key-sequence)
7027 (isearch-reread-key-sequence-naturally)
7028 (isearch-lookup-scroll-key, isearch-other-control-char)
7029 (isearch-other-meta-char): Remove functions.
7030 (isearch-pre-command-hook, isearch-post-command-hook):
7031 New functions based on isearch-other-meta-char rewritten
7032 relying on the new behavior of overriding-terminal-local-map
7033 that does not replace the local keymaps any more. (Bug#15200)
7034
4ed77415
EZ
70352013-10-08 Eli Zaretskii <eliz@gnu.org>
7036
7037 Support menus on text-mode terminals.
7038 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7039 functionality.
7040
7041 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7042
c2de5588
DK
7043 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7044 Move here from mouse.el.
4ed77415
EZ
7045 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7046 and arrow keys.
7047 (tty-menu-navigation-map): New map for TTY menu navigation.
7048
7049 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7050
7051 * frame.el (display-mouse-p): Report text-mode mouse as available
7052 on w32.
7053 (display-popup-menus-p): Report availability if mouse is
7054 available; don't condition on window-system.
7055
7056 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7057 (tty-menu-selected-face): New faces.
7058
b7d5bd82
TL
70592013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7060
06286513
SM
7061 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7062 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7063 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7064 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7065 New constants.
7066 (lisp-mode-variables): New `elisp' argument.
7067 (emacs-lisp-mode): Use it.
7068 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7069 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7070
b7d5bd82
TL
7071 * indent.el: Use lexical-binding.
7072 (indent-region): Add progress reporter.
7073 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7074 last step.
7075 (indent--next-tab-stop): New function to implement this behavior.
7076 (tab-to-tab-stop, move-to-tab-stop): Use it.
7077
70782013-10-08 Teemu Likonen <tlikonen@iki.fi>
7079
7080 * indent.el (indent-rigidly--current-indentation): New function.
7081 (indent-rigidly-map): New var.
7082 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7083
5ea75d23
BG
70842013-10-08 Bastien Guerry <bzg@gnu.org>
7085
f2726fa2 7086 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7087
cc5da1ec
SM
70882013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7089
8ffa1a0b
SM
7090 * progmodes/perl-mode.el: Use lexical-binding.
7091 Remove redundant :group args.
7092 (perl-nochange): Change default to be closer to other major modes's
7093 standard behavior.
7094 (perl-indent-line): Don't consider text on current line as a
7095 valid beginning of function from which to indent.
7096
f2223371
SM
7097 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7098 with more than one argument (bug#15538).
7099
44256060
SM
7100 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7101
cc5da1ec
SM
7102 * vc/pcvs.el: Use lexical-binding.
7103 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7104 environment of `eval'.
7105 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7106 than a list of expressions. Adjust callers.
7107 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7108
0ea1599d
DG
71092013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7110
7111 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7112 case of the dot in a chained method call being on the following line.
0ea1599d 7113
da3e5ebb
SM
71142013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7115
2abb4e65
SM
7116 * electric.el (electric-indent-inhibit): New var.
7117 (electric-indent-post-self-insert-function): Use it.
7118 * progmodes/python.el (python-mode): Set it.
7119
d2e0e795
SM
7120 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7121 open braces.
7122
7123 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7124
bdc6b4c8
SM
7125 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7126 (css-mode): Use electric-indent-chars.
7127
da3e5ebb
SM
7128 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7129 (font-lock-beg, font-lock-end): Move before first use.
7130 (nxml-mode): Use syntax-propertize-function.
7131 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7132 (nxml-extend-after-change-region): Remove.
7133 * nxml/xmltok.el: Use lexical-binding.
7134 (xmltok-save): Use `declare'.
7135 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7136 * nxml/nxml-util.el: Use lexical-binding.
7137 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7138 Use `declare'.
7139 * nxml/nxml-ns.el: Use lexical-binding.
7140 (nxml-ns-save): Use `declare'.
7141 (nxml-ns-prefixes-for): Avoid add-to-list.
7142 * nxml/rng-match.el: Use lexical-binding.
7143 (rng--ipattern): Use cl-defstruct.
7144 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7145 (rng-cons-group-after, rng-subst-group-after)
7146 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7147 Use closures instead of `(lambda...).
7148
f8f91d5d
MA
71492013-10-07 Michael Albinus <michael.albinus@gmx.de>
7150
7151 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7152 of BEG and END.
7153
da3e5ebb
SM
7154 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7155 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7156 (tramp-gvfs-handle-insert-file-contents): Remove function.
7157
da3e5ebb
SM
7158 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7159 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7160
7161 * net/trampver.el: Update release number.
7162
7ccae3b1
SM
71632013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7164
55ca2c0d
SM
7165 * progmodes/compile.el (compilation-parse-errors):
7166 Use compilation--put-prop.
7167 (compilation--ensure-parse): Check compilation-multiline.
7168
731fc3ae
SM
7169 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7170
da3e5ebb
SM
7171 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7172 lexical-binding.
a5833280 7173
2e7ba2c2
SM
7174 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7175
7ccae3b1
SM
7176 * progmodes/ruby-mode.el: Fix recently added tests.
7177 (ruby-smie-grammar): Add - and +.
7178 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7179 (ruby-smie--backward-id): New functions.
7180 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7181 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7182 any more.
7183
85698d63
LL
71842013-10-07 Leo Liu <sdl.web@gmail.com>
7185
7186 * register.el (register-preview-delay)
7187 (register-preview-functions): New variables.
7188 (register-read-with-preview, register-preview)
7189 (register-describe-oneline): New functions.
7190 (point-to-register, window-configuration-to-register)
7191 (frame-configuration-to-register, jump-to-register)
7192 (number-to-register, view-register, insert-register)
7193 (copy-to-register, append-to-register, prepend-to-register)
7194 (copy-rectangle-to-register): Use register-read-with-preview to
7195 read register. (Bug#15525)
7196
3986af6c
DS
71972013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7198
7199 * net/network-stream.el (network-stream-open-starttls): Don't add
7200 --insecure if it's already present, because that gnutls-cli
7201 rejects getting that parameter twice.
7202
5cd9cda9
DG
72032013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7204
7205 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7206 keyword, too.
7207
da9ea6d9
DG
72082013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7209
7210 * newcomment.el (comment-use-global-state): Change default value
7211 to t, mark obsolete (Bug#15251).
7212 (comment-beginning): In addition to `comment-to-syntax', check the
7213 value of `comment-use-global-state'.
7214
34d1a133
SM
72152013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7218 (ruby-comment-column): Follow the global default, by default.
7219 (ruby-smie-grammar): Add assignment syntax.
7220 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7221 open-paren, a comma, or a \.
7222 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7223 and line continuations.
7224 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7225 followed by implicit semi-colons. Add rule for string concatenation
7226 and for indentation at BOB.
27821a89 7227 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7228
7229 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7230 calling next-sexp, since next-token may have skipped chars which
7231 next-sexp doesn't know should be skipped!
7232
6f6ab820
LL
72332013-10-05 Leo Liu <sdl.web@gmail.com>
7234
34d1a133
SM
7235 * progmodes/octave.el (octave-send-region):
7236 Call compilation-forget-errors.
6f6ab820 7237
34ca0f4c
XF
72382013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7239
7240 * vc/vc-svn.el (vc-svn-find-admin-dir):
7241 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7242 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7243 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7244 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7245
a27c1b72
SM
72462013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7249
258ab3bc
SM
72502013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * subr.el (read-passwd): Hide chars even when called within a context
7253 where after-change-functions is disabled (bug#15501).
7254 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7255 until we removed ourself from overriding-terminal-local-map.
7256
939fb29c
LL
72572013-10-04 Leo Liu <sdl.web@gmail.com>
7258
258ab3bc
SM
7259 * progmodes/octave.el (inferior-octave-mode):
7260 Call compilation-forget-errors.
939fb29c 7261
63bd7f35
XF
72622013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7263
7264 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7265
9e6229fa
MA
72662013-10-04 Michael Albinus <michael.albinus@gmx.de>
7267
7268 * net/secrets.el (secrets-create-collection): Add optional
7269 argument ALIAS. Use proper Label keyword. Append ALIAS as
7270 dbus-call-method argument. (Bug#15516)
7271
1dab32a3
LL
72722013-10-04 Leo Liu <sdl.web@gmail.com>
7273
7274 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7275 (inferior-octave-compilation-font-lock-keywords): New variables.
7276 (compilation-error-regexp-alist)
7277 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7278 (inferior-octave-mode): Use compilation-shell-minor-mode.
7279
6cad7ba3
JS
72802013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7281
7282 * minibuffer.el (completion--replace): Be careful that `end' might be
7283 a marker.
7284
acbadd00
DU
72852013-10-03 Daiki Ueno <ueno@gnu.org>
7286
7287 Add support for package signature checking.
7288 * emacs-lisp/package.el (url-http-file-exists-p)
7289 (epg-make-context, epg-context-set-home-directory)
7290 (epg-verify-string, epg-context-result-for)
7291 (epg-signature-status, epg-signature-to-string)
7292 (epg-check-configuration, epg-configuration)
7293 (epg-import-keys-from-file): Declare.
7294 (package-check-signature): New user option.
7295 (package-unsigned-archives): New user option.
7296 (package-desc): Add `signed' field.
7297 (package-load-descriptor): Set `signed' field if .signed file exists.
7298 (package--archive-file-exists-p): New function.
7299 (package--check-signature): New function.
7300 (package-install-from-archive): Check package signature.
7301 (package--download-one-archive): Check archive signature.
7302 (package-delete): Remove .signed file.
7303 (package-import-keyring): New command.
7304 (package-refresh-contents): Import default keyring.
7305 (package-desc-status): Add "unsigned" status.
7306 (describe-package-1, package-menu--print-info)
7307 (package-menu-mark-delete, package-menu--find-upgrades)
7308 (package-menu--status-predicate): Support "unsigned" status.
7309
adf2aa61
SM
73102013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7313 the new compilation scheme using the new byte-codes.
7314
7315 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7316 (byte-pophandler): New byte codes.
7317 (byte-goto-ops): Adjust accordingly.
7318 (byte-compile--use-old-handlers): New var.
7319 (byte-compile-catch): Use new byte codes depending on
7320 byte-compile--use-old-handlers.
7321 (byte-compile-condition-case--old): Rename from
7322 byte-compile-condition-case.
7323 (byte-compile-condition-case--new): New function.
7324 (byte-compile-condition-case): New function that dispatches depending
7325 on byte-compile--use-old-handlers.
7326 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7327 when we can.
7328
7329 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7330 Optimize under `condition-case' and `catch' if
7331 byte-compile--use-old-handlers is nil.
7332 (disassemble-offset): Handle new bytecodes.
7333
328a8179
SM
73342013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * subr.el (error): Use `declare'.
7337 (decode-char, encode-char): Use advertised-calling-convention instead
7338 of the docstring to discourage use of the `restriction' arg.
7339
15a1e936
DU
73402013-10-03 Daiki Ueno <ueno@gnu.org>
7341
7342 * epg.el (epg-verify-file): Add a comment saying that it does not
7343 notify verification error as a return value nor a signal.
7344 (epg-verify-string): Ditto.
7345
376f862a
KR
73462013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7347
7348 * progmodes/compile.el (compilation-start): Try globbing the arg to
7349 `cd' (bug#15417).
7350
a2f93a5f
MA
73512013-10-02 Michael Albinus <michael.albinus@gmx.de>
7352
7353 Sync with Tramp 2.2.8.
7354
7355 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7356 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7357 * net/trampver.el: Update release number.
7358
0daa0804
JD
73592013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7360
7361 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7362 and default-process-coding-system for darwin only.
7363
abd1ae34
SM
73642013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7367
be4e325d
MH
73682013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7369
7370 * vc/vc-git.el (vc-git-grep): Disable pager.
7371
e9155c4a
DG
73722013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7373
494e898b
DG
7374 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7375 Use :url instead of :homepage, as per
7376 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7377
e9155c4a
DG
7378 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7379 non-nil, use `syntax-ppss' (Bug#15251).
7380
481a8e0f
RS
73812013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7382
be4e325d
MH
7383 * progmodes/octave.el (inferior-octave-startup-file):
7384 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7385
056453c6
DG
73862013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7387
be4e325d
MH
7388 * emacs-lisp/package.el (package-desc-from-define):
7389 Accept additional arguments as plist, convert them to an alist and store
7390 them in the `extras' slot.
056453c6
DG
7391 (package-generate-description-file): Convert extras alist back to
7392 plist and append to the `define-package' form arguments.
7393 (package--alist-to-plist): New function.
7394 (package--ac-desc): Add `extras' slot.
7395 (package--add-to-archive-contents): Check if the archive-contents
7396 vector is long enough, and if it is, pass its `extras' slot value
7397 to `package-desc-create'.
7398 (package-buffer-info): Call `lm-homepage', pass the returned value
7399 to `package-desc-from-define'.
7400 (describe-package-1): Render the homepage button (Bug#13291).
7401
be4e325d
MH
7402 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7403 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7404
832966e5
JD
74052013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7406
7407 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7408 and default-process-coding-system to utf-8-unix (Bug#15402).
7409
6cfe977d
XF
74102013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7411
7412 * subr.el (looking-back): Do not recommend using looking-back.
7413
38de11bd
AM
74142013-09-28 Alan Mackenzie <acm@muc.de>
7415
7416 Fix indentation/fontification of Java enum with "implements".
7417
7418 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7419 regexp which matches "implements", etc., in Java.
7420 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7421 specifier clauses coming after "enum".
7422 * progmodes/cc-fonts.el (c-font-lock-declarations)
7423 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7424 after "enum".
7425
1610938f
JD
74262013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7427
7428 * faces.el (region): Change ns_selection_color to
7429 ns_selection_fg_color, add ns_selection_bg_color.
7430
e090f499
LL
74312013-09-28 Leo Liu <sdl.web@gmail.com>
7432
4d2e94d1
LL
7433 * progmodes/octave.el (inferior-octave-completion-table)
7434 (inferior-octave-completion-at-point): Minor tweaks.
7435
e090f499
LL
7436 * textmodes/ispell.el (ispell-lookup-words): Rename from
7437 lookup-words. (Bug#15460)
7438 (lookup-words): Obsolete.
7439 (ispell-complete-word, ispell-command-loop): All uses changed.
7440
7e138a62
RS
74412013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7442
a12bf61e 7443 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7444 (octave-mode-menu): Add octave-send-buffer.
7445 (octave-send-buffer): New function.
7446
5af5ed08
RS
74472013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7448
a12bf61e 7449 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7450 octave-lookfor.
7451 (octave-mode-menu): Add octave-lookfor.
7452 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7453 octave-lookfor.
7454 (octave-lookfor): New function.
7455
3b7b2692
SM
74562013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7457
35e951cd 7458 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7459 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7460 its convention.
7461 (cl--loop-set-iterator-function): New function.
7462 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7463 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7464 Bind `it' with `let' instead of substituting it with `cl-subst'.
7465 (cl--unused-var-p): New function.
7466 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7467 Eliminate some unused variable warnings (bug#15326).
7468
529fb53f
TH
74692013-09-27 Tassilo Horn <tsdh@gnu.org>
7470
7471 * doc-view.el (doc-view-scale-reset): Rename from
7472 `doc-view-reset-zoom-level'.
7473 (doc-view-scale-adjust): New command.
7474 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7475 `doc-view-scale-adjust'.
7476
0550c95a
TH
74772013-09-26 Tassilo Horn <tsdh@gnu.org>
7478
7479 * doc-view.el (doc-view-reset-zoom-level): New command.
7480 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7481 zoom commands (bug#15466).
7482
6950f152
KH
74832013-09-26 Kenichi Handa <handa@gnu.org>
7484
7485 * international/quail.el (quail-help): Make it not a command.
7486
39587580
LL
74872013-09-26 Leo Liu <sdl.web@gmail.com>
7488
7489 * minibuffer.el (completion-all-sorted-completions): Make args
7490 optional as they are.
7491
00578659
DC
74922013-09-25 Daniel Colascione <dancol@dancol.org>
7493
7494 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7495 specs are and that they're not evaluated.
7496
0c173878
SS
74972013-09-24 Sam Steingold <sds@gnu.org>
7498
7499 * midnight.el (clean-buffer-list-kill-regexps)
7500 (clean-buffer-list-kill-buffer-names): Update for the new Man
7501 buffer naming which includes the object name.
7502
84998447
SM
75032013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7506 (eshell-parse-command, eshell-parse-pipeline): Use it since
7507 eshell-separate-commands requires a dynamic scoped var.
7508 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7509
33215353
LL
75102013-09-23 Leo Liu <sdl.web@gmail.com>
7511
7512 * autoinsert.el (auto-insert-alist): Make the value of
7513 lexical-binding match its file setting.
7514
57b16162
JB
75152013-09-23 Juanma Barranquero <lekktu@gmail.com>
7516
c8af4e67
JB
7517 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7518
57b16162
JB
7519 * autoarg.el (autoarg-kp-digit-argument):
7520 * electric.el (Electric-command-loop):
7521 * kmacro.el (kmacro-step-edit-insert):
7522 Do not set universal-argument-num-events.
7523
7186ba60
LL
75242013-09-22 Leo Liu <sdl.web@gmail.com>
7525
7526 * files.el (interpreter-mode-alist): Add octave.
7527
ece15004
AM
75282013-09-21 Alan Mackenzie <acm@muc.de>
7529
7530 C++: fontify identifier in declaration following "public:" correctly.
7531 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7532 to match "public", etc.
7533 (c-decl-prefix-re): Add ":" into the C++ value.
7534 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7535 bit. Add a check for a ":" preceded by "public", etc.
7536
75d83e22
EZ
75372013-09-21 Eli Zaretskii <eliz@gnu.org>
7538
7539 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7540 recognized by GDB 7.5 and later.
7541
d052d3bd
XF
75422013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7543
7544 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7545
31dca772
R
75462013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * subr.el (internal--call-interactively): New const.
7549 (called-interactively-p): Use it (bug#3984).
7550
98ccf24e
XF
75512013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7552
7553 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7554 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7555 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7556
c39cc7d1
SM
75572013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7560 (eshell-ls-orig-insert-directory): Remove.
7561 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7562 (eshell-ls-use-in-dired): Use advice-add/remove.
7563 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7564 Add `orig-fun' arg for use in :around advice.
7565 Make it check (redundantly) eshell-ls-use-in-dired.
7566
9a0289a2
GM
75672013-09-19 Glenn Morris <rgm@gnu.org>
7568
a2c501b8
GM
7569 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7570
c440407a
GM
7571 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7572
9a0289a2
GM
7573 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7574
85e05915
MA
75752013-09-19 Michael Albinus <michael.albinus@gmx.de>
7576
7577 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7578 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7579 (tramp-get-remote-python): New defuns.
7580 (tramp-get-remote-uid-with-perl)
7581 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7582 contributed by yary <not.com@gmail.com> (tiny change).
7583 (tramp-get-remote-uid-with-python)
7584 (tramp-get-remote-gid-with-python): New defuns. Python code
7585 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7586 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7587
ce503312
GM
75882013-09-19 Glenn Morris <rgm@gnu.org>
7589
f7544773
GM
7590 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7591
72fd2877
GM
7592 * eshell/em-unix.el (eshell-remove-entries):
7593 Rename argument to avoid name-clash with global `top-level'.
7594
336b5a56
GM
7595 * eshell/esh-proc.el (eshell-kill-process-function):
7596 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7597 (eshell-reset-after-proc): Remove unused arg `proc'.
7598
57a3a53d
GM
7599 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7600 (directory-files-and-attributes): Mark unused arg.
7601
3261d4af
GM
7602 * eshell/em-unix.el (eshell-remove-entries):
7603 Remove unused arg `path'. Update callers.
7604
8e51b5d0
GM
7605 * eshell/em-hist.el (eshell-hist-parse-arguments):
7606 Remove unused arg `silent'. Update callers.
7607
ce503312
GM
7608 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7609 Fix (f)boundp mix-up.
7610
7611 * eshell/em-smart.el (eshell-smart-scroll-window)
7612 (eshell-disable-after-change):
336b5a56 7613 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7614
ee3ce8a7
AM
76152013-09-18 Alan Mackenzie <acm@muc.de>
7616
7617 Fix fontification of type when followed by "const".
7618 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7619 "known" types from fontification.
7620
ec9177ba
GM
76212013-09-18 Glenn Morris <rgm@gnu.org>
7622
7bb3e768
GM
7623 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7624 (chart-face-list): Drop Emacsen without display-color-p.
7625
5148da15
GM
7626 * net/eww.el (libxml-parse-html-region): Declare.
7627 (eww-display-html): Explicit error if no libxml2 support.
7628
2f68e157
GM
7629 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7630
9019d095
GM
7631 * image.el (image-type-from-buffer, image-multi-frame-p):
7632 Remove --without-x warning/error.
67645389 7633
5f30349b 7634 * mouse.el (mouse-yank-primary):
45069b2e 7635 * term.el (term-mouse-paste):
5f30349b
GM
7636 Reorder to silence --without-x compilation.
7637
cd8edbbe
GM
7638 * mpc.el (doc-view-mode): Silence --without-x compilation.
7639
8a78544e
GM
7640 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7641 Silence --without-x compilation.
7642
12679bfd
GM
7643 * progmodes/gud.el (gud-find-file, gud-mode):
7644 Silence --without-x compilation.
7645 (tooltip-mode): Declare.
30810a05 7646
f0047cb9
GM
7647 * wdired.el (dired-backup-overwrite): Remove declaration.
7648 (wdired-mode-map): Add doc string.
7649
e740f9d2
GM
7650 * custom.el (x-get-resource): Declare.
7651
92d77c89
GM
7652 * eshell/em-glob.el (ange-cache):
7653 * eshell/em-unix.el (ange-cache): Declare.
7654
76e69577
GM
7655 * faces.el (x-display-list, x-open-connection, x-get-resource):
7656 Declare.
7e58af4b
GM
7657
7658 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7659 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7660 Declare.
76e69577 7661
4bd4c0af 7662 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7663
ffb82dbd
GM
7664 * net/gnutls.el (gnutls-log-level): Declare.
7665
986ed135
GM
7666 * net/shr.el (image-size, image-animate): Declare.
7667
e740f9d2
GM
7668 * simple.el (font-info): Declare.
7669
d2f3e9f8
GM
7670 * subr.el (x-popup-dialog): Declare.
7671
047a1a4c
GM
7672 * term/common-win.el (x-select-enable-primary)
7673 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7674 Declare.
7675
f4a1d572
GM
7676 * term/ns-win.el (x-handle-args): Declare.
7677
e843de77
GM
7678 * term/x-win.el (x-select-enable-clipboard): Declare.
7679
5fa89513
GM
7680 * term/w32-win.el (create-default-fontset): Declare.
7681
38702b5b
GM
7682 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7683 Declare.
7684
e740f9d2
GM
7685 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7686 (fit-frame-to-buffer): Explicit error if --without-x.
7687 (mouse-autoselect-window-select): Silence compiler.
7688
49a053fc
GM
7689 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7690
7691 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7692 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7693 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7694 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7695 Remove unused local variables.
7696
7697 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7698
ec9177ba
GM
7699 * textmodes/two-column.el: Make 2C-split work for --without-x.
7700 (scroll-bar-columns): Autoload.
7701 (top-level): Require fringe when compiling.
7702
9f25cb77
LL
77032013-09-18 Leo Liu <sdl.web@gmail.com>
7704
7705 * subr.el (add-hook): Robustify to handle closure as well.
7706
2b42da98
GM
77072013-09-17 Glenn Morris <rgm@gnu.org>
7708
7709 * simple.el (messages-buffer-mode-map): Unbind "g".
7710
e8b66a6a
SM
77112013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7712
9c0ad4f7
SM
7713 * help-mode.el (help-mode-finish): Use derived-mode-p.
7714 Remove obsolete highlighting.
7715
7a806dfb
SM
7716 * play/life.el (life-mode): Use define-derived-mode. Derive from
7717 special-mode.
7718 (life): Let-bind inhibit-read-only.
7719 (life-setup): Avoid `setq'. Use `life-mode'.
7720
96dbf5a8
SM
7721 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7722 which should not be needed any more.
7723 (package-menu-refresh, package-menu-describe-package): Use user-error.
7724
e8b66a6a
SM
7725 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7726 (eshell-post-rewrite-command-hook): Make obsolete.
7727 (eshell-parse-command): Simplify.
7728 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7729 (eshell--cmd): Declare.
7730 (eshell-parse-pipeline): Remove unused var `final-p'.
7731 Pass a dynvar to eshell-post-rewrite-command-hook.
7732 Implement the new eshell-post-rewrite-command-function.
7733 (eshell-invoke-directly): Remove unused arg `input'.
7734 * eshell/esh-io.el (eshell-io-initialize):
7735 Use eshell-post-rewrite-command-function (bug#15399).
7736 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7737 adjust to new calling convention.
7738 (eshell-create-handles): Rename args to avoid clashing with dynvar
7739 `standard-output'.
7740
90582f05
GM
77412013-09-17 Glenn Morris <rgm@gnu.org>
7742
7743 * simple.el (messages-buffer-mode): New major mode.
7744 (messages-buffer): New function.
7745 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7746 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 7747 (ert-run-test): Use `messages-buffer' function.
90582f05 7748 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
7749 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7750 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 7751
39eb0cb5 77522013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
7753
7754 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7755
1d42e5b6 7756 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 7757
70568a90
SM
77582013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7759
504a0381
SM
7760 * icomplete.el (icomplete-in-buffer): New var.
7761 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7762 vars and replace them with functions.
7763 (icomplete-minibuffer-setup): Adjust accordingly.
7764 (icomplete--completion-table, icomplete--completion-predicate)
7765 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7766 New functions.
7767 (icomplete-forward-completions, icomplete-backward-completions)
7768 (icomplete-simple-completing-p, icomplete-exhibit)
7769 (icomplete-completions): Use them.
7770 (icomplete--in-region-buffer): New var.
7771 (icomplete--in-region-setup): New function.
7772 (icomplete-mode): Use it.
7773
70568a90
SM
7774 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7775 (bug#15379).
7776 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7777 return args and options.
7778 (eshell-eval-using-options): Use the new return value of
7779 eshell--do-opts to set the options's vars in their scope.
7780 (eshell--set-option): Rename from eshell-set-option.
7781 Add arg `opt-vals'.
7782 (eshell--process-option): Rename from eshell-process-option.
7783 Add arg `opt-vals'.
7784 (eshell--process-args): Use an `opt-vals' alist to store the options's
7785 values during their processing and return them additionally to the
7786 remaining args.
7787
578c21bc
DG
77882013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7789
7790 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7791 continuation character an operator, as far as indentation is
7792 concerned (Bug#15369).
7793
c089653d
MR
77942013-09-15 Martin Rudalics <rudalics@gmx.at>
7795
7796 * window.el (window--state-put-2): Don't process buffer state
7797 when buffer doesn't exist any more (Bug#15382).
7798
1e53bb4b
GM
77992013-09-15 Glenn Morris <rgm@gnu.org>
7800
30753242
GM
7801 * eshell/em-unix.el (eshell/rm):
7802 Make -f ignore missing files. (Bug#15373)
7803
1e53bb4b
GM
7804 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7805 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7806 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7807
0d8863b3
GM
78082013-09-14 Glenn Morris <rgm@gnu.org>
7809
7810 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7811
d3fc6549
GM
78122013-09-13 Glenn Morris <rgm@gnu.org>
7813
7814 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7815 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7816
fcd42c11
DA
78172013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7818
7819 * frame.el (x-focus-frame): Mark as declared in frame.c.
7820
7830899f
SM
78212013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * ls-lisp.el: Use advice-add.
7824 (original-insert-directory): Remove.
7825 (ls-lisp--insert-directory): Rename from insert-directory; add
7826 `orig-fun' argument.
7827 (insert-directory): Advise.
7828
84387cd2
EZ
78292013-09-13 Eli Zaretskii <eliz@gnu.org>
7830
7831 * term.el (term-emulate-terminal): Decode the command string
7832 before passing it to term-command-hook. (Bug#15337)
7833
35ffc6ba
GM
78342013-09-13 Glenn Morris <rgm@gnu.org>
7835
5c3f9bcc
GM
7836 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7837
2ada368a
GM
7838 * eshell/esh-ext.el (eshell-search-path): Declare.
7839
fcef2e13
GM
7840 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7841 Otherwise an error occurs if eshell-dirs module not loaded.
7842
35ffc6ba
GM
7843 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7844
35c3d36e
MA
78452013-09-13 Michael Albinus <michael.albinus@gmx.de>
7846
7847 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7848 `tramp-check-proper-host'. Check for a valid method name.
7849
7850 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7851 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7852 * net/tramp-sh.el (tramp-maybe-open-connection):
7853 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7854
7855 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7856 also for hash values.
7857
ae5e4c48
SM
78582013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7859
379add74
SM
7860 * term/ns-win.el (parameters): Don't declare as dynamic.
7861 (before-make-frame-hook): Don't add ineffective function.
7862
ae5e4c48
SM
7863 * eshell/*.el: Use lexical-binding (bug#15231).
7864
b5623270
KH
78652013-09-12 Kenichi Handa <handa@gnu.org>
7866
ae5e4c48 7867 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 7868
30213927
GM
78692013-09-12 Glenn Morris <rgm@gnu.org>
7870
be94d713 7871 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 7872 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 7873
44915370
GM
7874 * subr.el (do-after-load-evaluation): Also give compiler warnings
7875 when obsolete files are used (except by obsolete files).
7876
a6ae021f
GM
7877 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7878 in the status output, assume `filename' is the first. (Bug#15322)
7879
40e64f0c
GM
7880 * vc/vc.el (vc-deduce-fileset): Doc fix.
7881
16d9f896
GM
7882 * calc/calc-help.el (Info-goto-node):
7883 * progmodes/cperl-mode.el (Info-find-node):
7884 * vc/ediff.el (Info-goto-node): Update declarations.
7885
dea01c6e
GM
7886 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7887
759880bf 7888 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
7889 (vc-bzr-pull): Require vc-dispatcher.
7890 * vc/vc-git.el (vc-compilation-mode): Declare.
7891 (vc-git-pull): Require vc-dispatcher.
7892
08d66420
GM
7893 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7894
30b626e9
GM
7895 * progmodes/octave.el (help-button-action): Declare.
7896
8c05cb10
GM
7897 * shell.el (shell-directory-tracker): Output error as a message
7898 rather than just returning it as a string.
7899 (shell-process-pushd): Remove useless use of message.
7900
30213927
GM
7901 * dframe.el (dframe-timer-fn):
7902 * files.el (dir-locals-read-from-file):
7903 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7904 (mpc-format):
7905 * reveal.el (reveal-post-command):
7906 * saveplace.el (load-save-place-alist-from-file):
7907 * shell.el (shell-resync-dirs):
7908 * w32-common-fns.el (x-get-selection-value):
7909 * emacs-lisp/copyright.el (copyright-find-copyright):
7910 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7911 * emulation/tpu-edt.el (tpu-copy-keyfile):
7912 * play/bubbles.el (bubbles--mark-neighbourhood):
7913 * progmodes/executable.el
7914 (executable-make-buffer-file-executable-if-script-p):
7915 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7916
d3b049e6
SM
79172013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7918
170266d0
SM
7919 Cleanup Eshell to rely less on dynamic scoping.
7920 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7921 last-value, and ext-command here. Bind `args' closer to `body'.
7922 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7923 (eshell--args): Declare new dynamic var.
7924 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7925 last-value, and ext-command. Pass `args' to `body'.
7926 (eshell-process-args): Bind eshell--args.
7927 (eshell-set-option): Use eshell--args.
7928 * eshell/eshell.el (eshell): Use derived-mode-p.
7929 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7930 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7931 (eshell-glob-function): Declare.
7932 * eshell/esh-util.el: Require cl-lib.
7933 (eshell-read-hosts-file): Avoid add-to-list.
7934 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7935 `err'.
7936 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7937 Declare.
7938 (eshell/diff): Remove unused var `err'.
7939 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7940 `killflag'.
7941 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7942 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7943 first use.
7944 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7945 Move declaration before first use.
7946 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
7947 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7948 rely on cl-return.
7949
56834f3b
GM
79502013-09-12 Glenn Morris <rgm@gnu.org>
7951
7952 * term/ns-win.el (global-map): Remove binding for ispell-next,
7953 deleted 1999-05-29. (Bug#15357)
7954
5c91a2b8
GM
79552013-09-11 Glenn Morris <rgm@gnu.org>
7956
da712f22
GM
7957 * echistory.el (electric-command-history): Remove call to deleted func.
7958
512e4cdc
GM
7959 * play/landmark.el (landmark-mode): Fix typos.
7960
d3506ca5
GM
7961 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7962 Check cvs-sort-ignore-file is bound.
7963
5c91a2b8
GM
7964 * savehist.el: No need for cl when compiling on Emacs.
7965
feeff482
SM
79662013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7967
656bd483
SM
7968 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7969 (bug#15338).
d3b049e6
SM
7970 (eshell-self-insert-command, eshell-send-invisible):
7971 Remove unused argument.
656bd483
SM
7972 (eshell-handle-control-codes): Remove unused var `orig'.
7973 Avoid delete-backward-char.
7974
feeff482
SM
7975 * files.el (set-auto-mode): Simplify a bit further.
7976
2a08047a
GM
79772013-09-11 Glenn Morris <rgm@gnu.org>
7978
7979 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7980 (set-auto-mode): Don't regexp-quote elements.
7981 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7982 * progmodes/cc-mode.el (interpreter-mode-alist):
7983 * progmodes/ruby-mode.el (interpreter-mode-alist):
7984 Revert previous change.
7985
34675540
SM
79862013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7987
1b3b87df
SM
7988 * play/snake.el (snake-mode):
7989 * play/mpuz.el (mpuz-mode):
7990 * play/landmark.el (lm-mode):
7991 * play/blackbox.el (blackbox-mode):
7992 * play/5x5.el (5x5-mode):
7993 * obsolete/options.el (Edit-options-mode):
7994 * net/quickurl.el (quickurl-list-mode):
7995 * net/newst-treeview.el (newsticker-treeview-mode):
7996 * mail/rmailsum.el (rmail-summary-mode):
7997 * mail/mspools.el (mspools-mode):
7998 * locate.el (locate-mode):
7999 * ibuffer.el (ibuffer-mode):
8000 * emulation/ws-mode.el (wordstar-mode):
8001 * emacs-lisp/debug.el (debugger-mode):
8002 * array.el (array-mode):
8003 * net/eudc.el (eudc-mode): Use define-derived-mode.
8004 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8005 Move initialization into declaration.
8006 (mairix-searches-mode): Use define-derived-mode.
8007 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8008 (eudc-edit-hotlist): Use dolist.
8009 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8010 (Man-mode): Use define-derived-mode.
8011 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8012 (Info-edit-mode): Use define-derived-mode.
8013 (Info-cease-edit): Use Info-mode.
8014 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8015 into declaration.
8016 (eshell-mode): Use define-derived-mode.
8017 * chistory.el (command-history-mode-map): Rename from
8018 command-history-map.
8019 (command-history-mode): Use define-derived-mode.
da712f22 8020 (Command-history-setup): Remove function.
1b3b87df
SM
8021 * calc/calc.el (calc-trail-mode-map): New var.
8022 (calc-trail-mode): Use define-derived-mode.
8023 (calc-trail-buffer): Set calc-main-buffer manually.
8024 * bookmark.el (bookmark-insert-annotation): New function.
8025 (bookmark-edit-annotation): Use it.
8026 (bookmark-edit-annotation-mode): Make it a proper major mode.
8027 (bookmark-send-edited-annotation): Use derived-mode-p.
8028 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8029 closer to its ideal place. Use \' to match EOS.
8030
34675540
SM
8031 * profiler.el (profiler-calltree-find): Use function-equal.
8032
6a5c15d9
GM
80332013-09-10 Glenn Morris <rgm@gnu.org>
8034
1af4c220
GM
8035 * files.el (interpreter-mode-alist): Convert to regexps.
8036 (set-auto-mode): Adapt for this. (Bug#15306)
8037 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8038 Comment out unused variable.
8039 * progmodes/cc-mode.el (interpreter-mode-alist):
8040 * progmodes/python.el (interpreter-mode-alist):
8041 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8042 * progmodes/sh-script.el (sh-set-shell):
8043 No longer use interpreter-mode-alist to get list of shells.
8044
6a5c15d9
GM
8045 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8046
8c27f5ff
SM
80472013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8048
02ef6c1a 8049 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8050 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8051 Bind switch-frame explicitly. Replace universal-argument-minus with
8052 a conditional binding.
8053 (universal-argument-num-events, saved-overriding-map): Remove.
8054 (restore-overriding-map): Remove.
8055 (universal-argument--mode): Rename from save&set-overriding-map,
8056 and rewrite.
8057 (universal-argument, universal-argument-more, negative-argument)
8058 (digit-argument): Adjust accordingly.
8059 (universal-argument-minus): Remove.
8060 (universal-argument-other-key): Remove.
8061
8c27f5ff
SM
8062 * subr.el (with-demoted-errors): Add `format' argument.
8063
6480194c
MA
80642013-09-10 Michael Albinus <michael.albinus@gmx.de>
8065
8066 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8067 `tramp-cleanup-connection'.
8068
8069 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8070 parameters KEEP-DEBUG and KEEP-PASSWORD.
8071
8072 * net/tramp.el (tramp-file-name-handler):
8073 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8074 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8075 (tramp-maybe-open-connection):
8c27f5ff
SM
8076 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8077 Use `tramp-cleanup-connection'.
6480194c 8078
8c27f5ff
SM
8079 * net/tramp-sh.el (tramp-maybe-open-connection):
8080 Catch 'uname-changed inside the progress reporter.
6480194c 8081
e5e916d8
GM
80822013-09-10 Glenn Morris <rgm@gnu.org>
8083
9a2c9b47
GM
8084 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8085
e5e916d8
GM
8086 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8087 returns "alternate access method" in mode (eg "-rw-r--r--.").
8088
144e38fe
GM
80892013-09-08 Glenn Morris <rgm@gnu.org>
8090
8091 * saveplace.el (load-save-place-alist-from-file):
8092 Demote errors. (Bug#15305)
8093
af9ff9e8
MA
80942013-09-08 Michael Albinus <michael.albinus@gmx.de>
8095
8096 Improve compatibility with older Emacsen, and XEmacs.
8097
8098 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8099 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8100 (with-tramp-progress-reporter): Do not let-bind `result'.
8101 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8102 (tramp-handle-make-auto-save-file-name): New function, moved from
8103 tramp-sh.el.
8104
8105 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8106 for `make-auto-save-file-name'.
8c27f5ff
SM
8107 (tramp-adb--gnu-switches-to-ash):
8108 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8109
8110 * net/tramp-cache.el (tramp-cache-print): Call
8111 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8112
8113 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8114 bound. It isn't for XEmacs.
8115
8c27f5ff
SM
8116 * net/tramp-compat.el (tramp-compat-copy-file):
8117 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8118 (tramp-compat-replace-regexp-in-string): New defun.
8119
8120 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8121 for `make-auto-save-file-name'.
8122 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8123 `copy-file'.
8124 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8125 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8126 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8127
8c27f5ff
SM
8128 * net/tramp-gw.el (tramp-gw-open-network-stream):
8129 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8130
8c27f5ff
SM
8131 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8132 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8133 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8134 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8135 (tramp-sh-file-inotifywait-process-filter):
8136 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8137 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8138
8139 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8140 for `make-auto-save-file-name'.
8c27f5ff
SM
8141 (tramp-smb-handle-copy-directory):
8142 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8143 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8144 (tramp-smb-handle-copy-file): Improve error message.
8145 (tramp-smb-handle-rename-file): Rename directly only in case
8146 `newname' does not exist yet. This is a restriction of smbclient.
8147 (tramp-smb-maybe-open-connection): Rerun the function only when
8148 `auth-sources' is non-nil.
8149
0ca754d0
KH
81502013-09-08 Kenichi Handa <handa@gnu.org>
8151
e0eb0550 8152 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8153 more characters.
8154
e8dd0787
AM
81552013-09-07 Alan Mackenzie <acm@muc.de>
8156
8157 Correctly fontify Java class constructors.
8158 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8159 in Java Mode.
8160 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8161 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8162 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8163 "typeless" declaration there.
8164
f2f248e7
RW
81652013-09-07 Roland Winkler <winkler@gnu.org>
8166
8167 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8168 field subtitle for entry type book.
8169
67982e2b
SM
81702013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8171
8172 * minibuffer.el: Make minibuffer-complete call completion-in-region
8173 rather than other way around.
8174 (completion--some, completion-pcm--find-all-completions):
8175 Don't delay signals when debugging.
8176 (minibuffer-completion-contents): Beware fields within the
8177 minibuffer contents.
8178 (completion-all-sorted-completions): Use defvar-local.
8179 (completion--do-completion, completion--cache-all-sorted-completions)
8180 (completion-all-sorted-completions, minibuffer-force-complete):
8181 Add args `beg' and `end'.
8182 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8183 (minibuffer-complete): Use completion-in-region.
8184 (completion-complete-and-exit): New fun, extracted from
8185 minibuffer-complete-and-exit.
8186 (minibuffer-complete-and-exit): Use it.
8187 (completion--complete-and-exit): Rename from
8188 minibuffer--complete-and-exit.
8189 (completion-in-region--single-word): New function, extracted from
8190 minibuffer-complete-word.
8191 (minibuffer-complete-word): Use it.
8192 (display-completion-list): Make `common-substring' argument obsolete.
8193 (completion--in-region): Call completion--in-region-1 instead of
8194 minibuffer-complete.
8195 (completion-help-at-point): Pass boundaries to
8196 minibuffer-completion-help as args rather than via an overlay.
8197 (completion-pcm--string->pattern): Use `any-delim'.
8198 (completion-pcm--optimize-pattern): New function.
8199 (completion-pcm--pattern->regex): Handle `any-delim'.
8200 * icomplete.el (icomplete-forward-completions)
8201 (icomplete-backward-completions, icomplete-completions):
8202 Adjust calls to completion-all-sorted-completions and
8203 completion--cache-all-sorted-completions.
8204 (icomplete-with-completion-tables): Default to t.
8205 * emacs-lisp/crm.el (crm--current-element): Rename from
8206 crm--select-current-element. Don't put an overlay but return the
8207 boundaries instead.
8208 (crm--completion-command): Take two new args to bind to the boundaries.
8209 (crm-completion-help): Adjust accordingly.
8210 (crm-complete): Use completion-in-region.
8211 (crm-complete-word): Use completion-in-region--single-word.
8212 (crm-complete-and-exit): Use completion-complete-and-exit.
8213
e17d94a5
SM
82142013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8217 than dynamically.
8218
96727100
JL
82192013-09-06 Juri Linkov <juri@jurta.org>
8220
8221 * info.el (Info-display-images-node): When image file doesn't exist
8222 display text version of the image if it's provided in the Info file.
8223 Otherwise, display the location of missing image from SRC attribute.
8224 Add help-echo text property from ALT attribute. (Bug#15279)
8225
86cf7329
SM
82262013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8229 (edit-abbrevs-mode): Use define-derived-mode.
8230
8231 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8232 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8233 that it's defined.
8234 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8235 Use define-derived-mode.
8236
8237 * epg.el (epg-start-encrypt): Minor CSE simplification.
8238
816244a2
WX
82392013-09-06 William Xu <william.xwl@gmail.com>
8240
8241 * arc-mode.el: Add support for 7za (bug#15264).
8242 (archive-7z-program): New var.
8243 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8244 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8245 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8246
1486fa31
MA
82472013-09-06 Michael Albinus <michael.albinus@gmx.de>
8248
8249 Remove URL syntax.
8250
8251 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8252 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8253 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8254 (tramp-postfix-host-format, tramp-file-name-regexp)
8255 (tramp-completion-file-name-regexp)
8256 (tramp-completion-dissect-file-name)
8257 (tramp-handle-substitute-in-file-name): Remove 'url case.
8258 (tramp-file-name-regexp-url)
8259 (tramp-completion-file-name-regexp-url): Remove constants.
8260
39785324
GM
82612013-09-06 Glenn Morris <rgm@gnu.org>
8262
8263 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8264
1f896cb7
DG
82652013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8266
8267 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8268 keywords" below "here-doc beginnings" (Bug#15270).
8269
c0458e0b
SM
82702013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * subr.el (pop): Use `car-safe'.
8273 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8274 to detect unused `pop' return value.
8275
8276 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8277 var `block-regexp'.
8278 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8279 (python-fill-string): Remove unused var `marker'.
8280 (python-skeleton-add-menu-items): Remove unused var `items'.
8281
8282 * international/mule-cmds.el: Require CL.
8283 (find-coding-systems-for-charsets): Avoid add-to-list.
8284 (sanitize-coding-system-list): New function, extracted from
8285 select-safe-coding-system-interactively.
8286 (select-safe-coding-system-interactively): Use it.
8287 (read-input-method-name): Accept symbols for `default'.
8288
8289 * emacs-lisp/advice.el (defadvice): Add indent rule.
8290
6c42fc3e
DH
82912013-09-05 Daniel Hackney <dan@haxney.org>
8292
8293 * dired-x.el:
8294 * net/ange-ftp.el:
8295 * net/browse-url.el:
8296 * net/dbus.el:
8297 * net/eudc.el:
8298 * net/eudcb-ldap.el:
8299 * net/eww.el:
8300 * net/imap.el:
8301 * printing.el:
8302 * vc/ediff-diff.el:
8303 * vc/ediff-init.el:
8304 * vc/ediff-merg.el:
8305 * vc/ediff-mult.el:
8306 * vc/ediff-util.el:
8307 * vc/ediff-wind.el:
8308 * vc/ediff.el:
8309 * vc/emerge.el:
8310 * vc/pcvs.el:
8311 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8312 byte compiler. Remove some unused let-bound variables.
8313
4c528aab
SM
83142013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8317 a "ref-cell", since it gets better optimized (bug#14883).
8318
bd15c390
GM
83192013-09-05 Glenn Morris <rgm@gnu.org>
8320
8321 * progmodes/cc-awk.el (c-forward-sws): Declare.
8322
1c3ac2e5
GM
83232013-09-04 Glenn Morris <rgm@gnu.org>
8324
8325 * generic-x.el [rul-generic-mode]: Require cc-mode.
8326 (c++-mode-syntax-table): Declare.
8327 (rul-generic-mode-syntax-table): Init in the defvar.
8328
52b1cc79
SM
83292013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8330
c828af56
SM
8331 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8332 (vc-do-command, vc-set-async-update):
8333 * vc/vc-mtn.el (vc-mtn-dir-status):
8334 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8335 (vc-hg-pull, vc-hg-merge-branch):
8336 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8337 (vc-git-merge-branch):
8338 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8339 (vc-cvs-dir-status-files):
8340 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8341 (vc-bzr-dir-status-files):
8342 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8343 * vc/vc-annotate.el: Use lexical-binding.
8344 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8345 (vc-sentinel-movepoint): Declare.
8346 (vc-annotate): Don't use `goto-line'.
8347 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8348 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8349 (vc-sentinel-movepoint): Declare.
8350 * vc/vc-svn.el: Use lexical-binding.
8351 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8352 * vc/vc-sccs.el:
8353 * vc/vc-rcs.el: Use lexical-binding.
8354
abae272c
SM
8355 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8356 `deleted'. Don't drop errors silently.
8357
52b1cc79
SM
8358 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8359
63191d9f
XF
83602013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8361
8362 * vc/vc.el (vc-ignore): Rewrite.
8363 (vc-default-ignore): New function.
8364 (vc-default-ignore-completion-table): Use find-ignore-file.
8365
8366 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8367 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8368 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8369 Remove. Most code moved to vc.el.
8370
9d3f707c
SM
83712013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8372
abae272c 8373 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8374 * net/tramp-smb.el (tramp-smb-get-file-entries):
8375 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8376 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8377
fde38d49
SM
8378 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8379 Update call to it.
8380 (eww-change-select): Remove unused var `properties'.
8381 (eww-make-unique-file-name): Remove unused var `base'.
8382
8383 * finder.el (finder-compile-keywords): Don't mess with windows.
8384
84032db7
SM
8385 * calculator.el (calculator-funcall): Fix typo in last change.
8386
724f5e41
SM
8387 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8388
14b511d4
SM
8389 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8390 <pkg>-autoloads.el file stop us.
8391
9d3f707c 8392 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8393 warnings, and factor out common code.
9d3f707c 8394
88527bc0
DG
83952013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8396
8397 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8398 two-character operators and whether the character preceding them
8399 changes their meaning (Bug#15208).
8400
96edb677
FEG
84012013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8402
8403 Format code sent to Python shell for robustness.
9d3f707c
SM
8404 * progmodes/python.el (python-shell-buffer-substring):
8405 New function.
96edb677
FEG
8406 (python-shell-send-region, python-shell-send-buffer): Use it.
8407
95beaef3
MA
84082013-09-02 Michael Albinus <michael.albinus@gmx.de>
8409
8410 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8411 * net/tramp.el (tramp-user-error): ... here.
8412 (tramp-find-method, tramp-check-proper-host)
8413 (tramp-dissect-file-name, tramp-debug-message)
8414 (tramp-handle-shell-command):
8415 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8416 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8417
8418 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8419
f167c27b
MR
84202013-09-02 Martin Rudalics <rudalics@gmx.at>
8421
8422 * avoid.el (mouse-avoidance-point-position)
8423 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8424 returns nil.
8425
cd16c5f1
FEG
84262013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8427
8428 * progmodes/python.el (python-shell-completion-get-completions):
8429 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8430 (python-nav-if-name-main): New command.
cd16c5f1 8431
e73c3a0d
GM
84322013-09-01 Glenn Morris <rgm@gnu.org>
8433
f8ccce03
GM
8434 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8435 Avoid leading space in $wins. Otherwise the sed command used by
8436 eg compile-main ends up containing "/*.el". (Bug#15170)
8437
e73c3a0d
GM
8438 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8439
415f808e
GM
84402013-08-30 Glenn Morris <rgm@gnu.org>
8441
8442 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8443 Fix is-this-a-directory logic. (Bug#15220)
8444
f069bba8
SM
84452013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8446
112798c1
SM
8447 * textmodes/css-mode.el: Use SMIE.
8448 (css-smie-grammar): New var.
8449 (css-smie--forward-token, css-smie--backward-token)
8450 (css-smie-rules): New functions.
8451 (css-mode): Use them.
8452 (css-navigation-syntax-table): Remove var.
8453 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8454 (css-indent-calculate, css-indent-line): Remove functions.
8455
8456 Misc changes to reduce use of `(lambda...); and other cleanups.
8457 * cus-edit.el: Use lexical-binding.
8458 (customize-push-and-save, customize-apropos)
8459 (custom-buffer-create-internal): Use closures.
8460 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8461 * progmodes/ada-xref.el: Use setq.
8462 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8463 * dframe.el: Use lexical-binding.
8464 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8465 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8466 * descr-text.el: Use lexical-binding.
8467 (describe-text-widget, describe-text-sexp, describe-property-list):
8468 Use closures.
8469 * comint.el (comint-history-isearch-push-state): Use a closure.
8470 * calculator.el: Use lexical-binding.
8471 (calculator-number-to-string): Make it work with lexical-binding.
8472 (calculator-funcall): Same and use cl-letf.
8473
2da4c3ab
SM
8474 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8475 (lisp--company-doc-string, lisp--company-location): New functions.
8476 (lisp-completion-at-point): Use them to improve Company support.
8477
f069bba8
SM
8478 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8479 params of lambda expressions.
8480 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8481 (ruby-smie--opening-pipe-p): New function.
8482 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8483 symbols and matched |...| for formal params.
8484 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8485 from being treated as hanging. Handle "rescue".
8486
6758b6a8
GM
84872013-08-29 Glenn Morris <rgm@gnu.org>
8488
8489 * progmodes/cc-engine.el (c-pull-open-brace):
8490 Move definition before use.
8491
e8dfd197
SM
84922013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8495 are immutable. Don't use `unsafe' any more.
8496 (cl--defsubst-expand): Don't substitute at the same time as keeping
8497 a residual unused let-binding. Don't use `unsafe' any more.
8498
cc585c96
GM
84992013-08-29 Glenn Morris <rgm@gnu.org>
8500
ba579ea6
GM
8501 * calendar/cal-china.el (calendar-chinese-year-cache):
8502 Recenter on 2015.
8503
8201a87e
GM
8504 * nxml/nxml-util.el (nxml-debug-clear-inside):
8505 Use cl-loop rather than loop.
8506
6ee877c7
GM
8507 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8508
cc585c96
GM
8509 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8510
27be8d39
GM
85112013-08-28 Glenn Morris <rgm@gnu.org>
8512
397440a1
GM
8513 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8514
2bb762d4
GM
8515 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8516
27be8d39
GM
8517 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8518
2d69b99e
SM
85192013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8520
f663baa7
SM
8521 * simple.el (repeat-complex-command--called-interactively-skip):
8522 New function.
8523 (repeat-complex-command): Use it (bug#14136).
8524
dd4f8b74
SM
8525 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8526 (c-define-abbrev-table): Add `doc' argument.
8527 (c-mode-abbrev-table, c++-mode-abbrev-table)
8528 (objc-mode-abbrev-table, java-mode-abbrev-table)
8529 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8530 (awk-mode-abbrev-table): Use it.
8531 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8532 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8533 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8534 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8535 Move initialization into the declaration; and remove any
8536 autoload cookie.
8537
b58969f7
SM
8538 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8539 and dynamic let binding.
8540
4021d6a6
SM
8541 * vc/smerge-mode.el: Remove redundant :group args.
8542
2d69b99e
SM
8543 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8544 to load-path.
8545
274919fd
JL
85462013-08-28 Juri Linkov <juri@jurta.org>
8547
8548 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8549 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8550 (isearch-other-meta-char): Handle an undefined shifted printing
8551 character by downshifting it. (Bug#15200)
8552
121f8c95
JL
85532013-08-28 Juri Linkov <juri@jurta.org>
8554
8555 * isearch.el (isearch-search): Change regexp error message for
8556 non-regexp searches. (Bug#15166)
8557
50b13cde
PE
85582013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8559
8560 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8561 for portability to hosts where /bin/sh has problems.
8562
95888bca
SM
85632013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8566
bbe558f1
JL
85672013-08-27 Juri Linkov <juri@jurta.org>
8568
8569 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8570 in the keyboard macro. (Bug#15126)
8571
26f98a7d
JL
85722013-08-27 Juri Linkov <juri@jurta.org>
8573
8574 * isearch.el (isearch-quote-char): Comment out converting unibyte
8575 to multibyte, thus syncing with its `quoted-insert' counterpart.
8576 (Bug#15166)
8577
7c97d35e
MR
85782013-08-27 Martin Rudalics <rudalics@gmx.at>
8579
8580 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8581 argument in call of get-largest-window (Bug#15185).
8582 Reported by Stephen Leake.
7c97d35e 8583
a0b5606e 85842013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8585
8586 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8587
9e89d835
SM
85882013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8591 from a matcher-function unless there's no more matches (bug#15161).
8592
78fc2530
MA
85932013-08-26 Michael Albinus <michael.albinus@gmx.de>
8594
8595 * minibuffer.el: Revert change from 2013-08-20.
8596
8597 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8598 with text property `tramp-default', if appropriate.
8599 (tramp-check-proper-host): New defun.
8600 (tramp-dissect-file-name): Do not check hostname. Revert change
8601 of 2013-03-18.
8602 (tramp-backtrace): Make VEC-OR-PROC optional.
8603
8604 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8605 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8606 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8607 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8608 Apply `tramp-check-proper-host'.
78fc2530 8609
edca97cd
TH
86102013-08-26 Tassilo Horn <tsdh@gnu.org>
8611
8612 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8613 lambda expression in order to have `describe-variable' display it.
8614
df54bcbd
MA
86152013-08-26 Michael Albinus <michael.albinus@gmx.de>
8616
8617 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8618 BUF can be optional. (Bug#15186)
8619
eed99101
XF
86202013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8621
8622 * progmodes/flymake.el (flymake-get-real-file-name-function):
8623 Fix broken customization. (Bug#15184)
8624
b5eb9035
AM
86252013-08-25 Alan Mackenzie <acm@muc.de>
8626
8a51e842
AM
8627 Improve indentation of bracelists defined by macros (without "=").
8628
8629 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8630 expansion begins with "{", regard it as bracelist when it doesn't
8631 contain a ";".
8632
869455d4
AM
8633 Parse C++ inher-intro when there's a template split over 2 lines.
8634
8635 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8636 rigorously the search for "class" etc. followed by ":".
8637
8638 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8639 random languages a regexp which never matches rather than nil.
8640
b5eb9035
AM
8641 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8642
8643 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8644 (c-awk-regexp-one-line-possibly-open-char-list-re)
8645 (c-awk-one-line-possibly-open-regexp-re)
8646 (c-awk-one-line-non-syn-ws*-re): Remove.
8647 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8648 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8649 (c-awk-space*-unclosed-regexp-/-re): New constants.
8650 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8651 aren't regexp delimiters.
8652
8653 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8654 handling for a rare situation in AWK Mode involving unterminated
8655 strings/regexps.
8656
61611d54
GM
86572013-08-23 Glenn Morris <rgm@gnu.org>
8658
2d85dc34
GM
8659 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8660
cb8d2612
GM
8661 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8662
bb35f42f
GM
8663 * files.el (create-file-buffer): If the result would begin with
8664 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8665
b9808e77
SM
86662013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8667
e3a66363
SM
8668 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8669 text-properties (bug#15155).
8670
b9808e77
SM
8671 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8672 exist any more.
8673 (calc-keypad-redraw): Remove unused var `pad'.
8674 (calc-keypad-press): Remove unused var `menu'.
8675
7fd5f65e
MR
86762013-08-23 Martin Rudalics <rudalics@gmx.at>
8677
b9808e77
SM
8678 * window.el (display-buffer-pop-up-frame):
8679 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8680 use it as the new frame's buffer (Bug#15133).
8681
8352b530
SM
86822013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * calendar/timeclock.el: Minor cleanups.
8685 (timeclock-ask-before-exiting, timeclock-use-display-time):
8686 Use `symbol'.
8687 (timeclock-modeline-display): Define as alias before the
8688 actual definition.
8689 (timeclock-mode-line-display): Use define-minor-mode.
8690 (timeclock-day-list-template): Make it a function, add an argument.
8691 (timeclock-day-list-required, timeclock-day-list-length)
8692 (timeclock-day-list-debt, timeclock-day-list-span)
8693 (timeclock-day-list-break): Adjust calls accordingly.
8694
9f7b1925
SM
86952013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8698 Use read--expression so that completion works again.
8699
6e50e983
SS
87002013-08-21 Sam Steingold <sds@gnu.org>
8701
8702 Add rudimentary inferior shell interaction
8703 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8704 (sh-set-shell): Reset it.
9f7b1925
SM
8705 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8706 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 8707
dbb0d350
SM
87082013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * align.el: Use lexical-binding.
8711 (align-region): Simplify accordingly.
8712
c88586a9
MA
87132013-08-20 Michael Albinus <michael.albinus@gmx.de>
8714
8715 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8716
8717 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8718 `non-essential' up.
8719
f95527c8
MA
87202013-08-17 Michael Albinus <michael.albinus@gmx.de>
8721
8722 * net/tramp.el:
8723 * net/tramp-adb.el:
8724 * net/tramp-cmds.el:
8725 * net/tramp-ftp.el:
8726 * net/tramp-gvfs.el:
8727 * net/tramp-gw.el:
8728 * net/tramp-sh.el: Don't wrap external variable declarations by
8729 `eval-when-compile'.
8730
4b5fe4ee
LMI
87312013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
8733 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8734 now that Emacs supports ImageMagick animations.
8735
13c366c9
MA
87362013-08-16 Michael Albinus <michael.albinus@gmx.de>
8737
8738 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8739 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8740
3dfc5cd6
MR
87412013-08-16 Martin Rudalics <rudalics@gmx.at>
8742
8743 * window.el (mouse-autoselect-window-select): Do autoselect when
8744 mouse pointer is on margin.
8745
4bbb4381
WP
87462013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8747
8748 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8749
3a2ddc2d
GM
87502013-08-16 Glenn Morris <rgm@gnu.org>
8751
e8bedf5a
GM
8752 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8753 Handle "Remote Directory" response of some clients. (Bug#15058)
8754
58c4682f
GM
8755 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8756 Tweak warning. (Bug#14926)
8757
57953f49
GM
8758 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8759 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8760
3a2ddc2d
GM
8761 * image-mode.el (image-mode-map): Add menu items to reverse,
8762 increase, decrease, reset animation speed.
8763 (image--set-speed, image-increase-speed, image-decrease-speed)
8764 (image-reverse-speed, image-reset-speed): New functions.
8765 (image-mode-map): Add bindings for speed commands.
8766
8767 * image.el (image-animate-get-speed, image-animate-set-speed):
8768 New functions.
8769 (image-animate-timeout): Respect image :speed property.
8770
10fa0ed3
SM
87712013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8772
8773 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8774 previous line (bug#15101).
8775 (debugger-eval-expression, debugger-record-expression):
8776 Use read--expression (bug#15102).
8777
5d89d9d2
MA
87782013-08-15 Michael Albinus <michael.albinus@gmx.de>
8779
8780 Remove byte compiler warnings, visible when compiling with
8781 `byte-compile-force-lexical-warnings' set to t.
8782
8783 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8784 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8785 (tramp-handle-unhandled-file-name-directory)
8786 (tramp-handle-file-notify-add-watch, tramp-action-login)
8787 (tramp-action-succeed, tramp-action-permission-denied)
8788 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8789 arguments with "_".
8790
8791 * net/tramp-adb.el (tramp-adb-parse-device-names)
8792 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8793 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8794 (tramp-adb-handle-file-truename): Remove unused arguments.
8795
8796 * net/tramp-cache.el (tramp-flush-directory-property)
8797 (tramp-flush-connection-property, tramp-list-connections)
8798 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8799
10fa0ed3
SM
8800 * net/tramp-compat.el (tramp-compat-make-temp-file):
8801 Rename FILENAME to F.
5d89d9d2
MA
8802
8803 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8804 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8805 (tramp-zeroconf-parse-workstation-device-names)
8806 (tramp-zeroconf-parse-webdav-device-names)
8807 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8808
8809 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8810 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8811
8812 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8813 arguments.
8814 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8815 (tramp-sh-handle-insert-file-contents-literally)
8816 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8817 with "_".
8818 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8819 Remove unused variables.
8820
8821 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8822 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8823 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8824
8825 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8826 Make them a defconst.
8827 (tramp-uuencode-region): Remove unused variable.
8828
62f33bae
JB
88292013-08-14 Juanma Barranquero <lekktu@gmail.com>
8830
8831 * frameset.el (frameset--prop-setter): New function.
8832 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
8833 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8834 parameter was already set in FILTERED. Doc fix.
8835 (frameset--record-minibuffer-relationships): Allow saving a
8836 minibufferless frame without its corresponding minibuffer frame.
8837 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8838 frame, if the frame id matches.
8839 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8840 frames before orphaned ones.
8841 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 8842
c660a885
MR
88432013-08-14 Martin Rudalics <rudalics@gmx.at>
8844
8845 * window.el (window-make-atom): Don't overwrite parameter
8846 already present.
8847 (display-buffer-in-atom-window): Handle special case where we
8848 split an already atomic window.
8849 (window--major-non-side-window, display-buffer-in-side-window)
8850 (window--side-check): Ignore minibuffer window when walking
8851 window tree.
8852 (window-deletable-p): Return 'frame only if no other frame uses
8853 our minibuffer window.
8854 (record-window-buffer): Run buffer-list-update-hook.
8855 (split-window): Make sure window--check-frame won't destroy an
8856 existing atomic window in case the new window gets nested
8857 inside.
8858 (display-buffer-at-bottom): Ignore minibuffer window when
8859 walking window tree. Don't split a side window.
8860 (pop-to-buffer): Don't set-buffer here, the select-window call
8861 should do that.
8862 (mouse-autoselect-window-select): Autoselect only if we are in the
8863 text portion of the window.
8864
8259030d
LMI
88652013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8866
21c58ae2
LMI
8867 * net/shr.el (shr-parse-image-data): New function to grab both the
8868 data itself and the Content-Type.
8869 (shr-put-image): Use it.
8870
8871 * net/eww.el (eww-display-image): Ditto.
8872
8259030d
LMI
8873 * image.el (image-content-type-suffixes): New variable.
8874
ad756449
FEG
88752013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8876
8877 * progmodes/python.el (python-imenu--build-tree)
8878 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8879
f73f4ce6
XF
88802013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8881
8882 * simple.el (backward-word): Mention the optional argument.
8883
1f585e65
SM
88842013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8885
8886 * frameset.el (frameset--make): Rename constructor from make-frameset.
8887 (frameset-p, frameset-valid-p): Don't autoload.
8888 (frameset-valid-p): Use normal accessors.
8889
af1c6c84
GM
88902013-08-13 Glenn Morris <rgm@gnu.org>
8891
55e47f95
GM
8892 * progmodes/compile.el (compile-command): Tweak example in doc.
8893 * obsolete/scribe.el (scribe-mode):
8894 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8895
f0024d8c
GM
8896 * mail/feedmail.el (feedmail-confirm-outgoing)
8897 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8898
8899 * cus-start.el (truncate-partial-width-windows): Fix type.
8900
8901 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8902
af1c6c84
GM
8903 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8904
5514cc4c
SM
89052013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * emacs-lisp/timer.el (timer--time-setter): New function.
8908 (timer--time): Use it as gv-setter.
8909
8910 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8911 setter is not a symbol.
8912
7997a2f1
GJ
89132013-08-12 Grégoire Jadi <daimrod@gmail.com>
8914
8915 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8916 if sending fails. This makes debugging easier.
8917
01f1a9ab
JB
89182013-08-12 Juanma Barranquero <lekktu@gmail.com>
8919
8920 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8921 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8922 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8923
594a4307
EZ
89242013-08-12 Eli Zaretskii <eliz@gnu.org>
8925
8926 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8927
7a22490f 89282013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
8929
8930 * format.el (format-annotate-function):
8931 Handle read-only text properties in the source. (Bug#14887)
8932
3e41a054
LMI
89332013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8934
5514cc4c
SM
8935 * net/eww.el (eww-display-html): Ignore coding system errors.
8936 One web site uses "utf-8lias" as the coding system.
3e41a054 8937
7ec326db
JB
89382013-08-11 Juanma Barranquero <lekktu@gmail.com>
8939
8940 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8941
5660113b
JB
89422013-08-10 Juanma Barranquero <lekktu@gmail.com>
8943
9a4ebc74
JB
8944 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8945 (tutorial--detailed-help): Remove unused local variables.
8946 (tutorial--save-tutorial-to): Use ignore-errors.
8947 (help-with-tutorial): Use looking-at-p.
8948
8949 * view.el (view-buffer-other-window, view-buffer-other-frame):
8950 Mark unused arguments.
8951
8952 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8953 (woman-select-symbol-fonts, woman, woman-find-file)
8954 (woman-insert-file-contents, woman-non-underline-faces):
8955 Use string-match-p.
8956 (woman1-unquote): Move declaration.
8957
8958 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8959 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8960 argument. Remove unused local variable.
8961 (xml-parse-elem-type): Use string-match-p.
8962 (xml-substitute-numeric-entities): Use ignore-errors.
8963
45fdb482
JB
8964 * calculator.el (calculator): Mark unused argument.
8965 (calculator-paste, calculator-quit, calculator-integer-p):
8966 Use ignore-errors.
8967 (calculator-string-to-number, calculator-decimal, calculator-exp)
8968 (calculator-op-or-exp): Use string-match-p.
8969
8970 * dired.el (dired-buffer-more-recently-used-p): Declare.
8971 (dired-insert-set-properties, dired-insert-old-subdirs):
8972 Use ignore-errors.
8973
8974 * dired-aux.el (dired-compress): Use ignore-errors.
8975 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8976 (dired-do-async-shell-command, dired-do-shell-command)
8977 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8978 (dired-insert-subdir-validate): Use string-match-p.
8979 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8980 (dired-add-entry): Use string-match-p, looking-at-p.
8981 (dired-insert-subdir-newpos): Remove unused local variable.
8982
8983 * filenotify.el (file-notify-callback): Remove unused local variable.
8984
8985 * filesets.el (filesets-error): Mark unused argument.
8986 (filesets-which-command-p, filesets-filter-dir-names)
8987 (filesets-directory-files, filesets-get-external-viewer)
8988 (filesets-ingroup-get-data): Use string-match-p.
8989
8990 * find-file.el (ff-other-file-name, ff-other-file-name)
8991 (ff-find-the-other-file, ff-cc-hh-converter):
8992 Remove unused local variables.
8993 (ff-get-file-name): Use string-match-p.
8994 (ff-all-dirs-under): Use ignore-errors.
8995
8996 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8997 (follow-select-if-visible): Remove unused local variable.
8998
8999 * forms.el (read-file-filter): Move declaration.
9000 (forms--make-format, forms--make-parser, forms-insert-record):
9001 Quote function with #'.
9002 (forms--update): Use string-match-p. Quote function with #'.
9003
9004 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9005 (help-make-xrefs): Use looking-at-p.
9006 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9007
9008 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9009 (ibuffer-confirm-operation-on): Use string-match-p.
9010
9011 * msb.el (msb-item-handler, msb-dired-item-handler):
9012 Mark unused arguments.
9013
9014 * ses.el (ses-decode-cell-symbol)
9015 (ses-kill-override): Remove unused local variable.
9016 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9017 (ses-load): Use ignore-errors, looking-at-p.
9018 (ses-jump-safe): Use ignore-errors.
9019 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9020
9021 * tabify.el (untabify, tabify): Mark unused arguments.
9022
9023 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9024 Mark unused argument.
9025 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9026 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9027
c880af52
JB
9028 * emacs-lisp/timer.el (timer--time): Define setter with
9029 gv-define-setter to avoid deprecation warning.
9030
5660113b 9031 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9032 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9033 (cmpl-statistics-block): Remove (body was commented out).
9034 All callers changed.
9035 (add-completions-from-buffer, load-completions-from-file):
9036 Remove unused variables.
9037
156aab80
JB
90382013-08-09 Juanma Barranquero <lekktu@gmail.com>
9039
5c5dee78
JB
9040 * filecache.el (file-cache-delete-file-list):
9041 Print message only when told so.
9042 (file-cache-files-matching): Use #' in mapconcat argument.
9043
156aab80
JB
9044 * ffap.el (ffap-url-at-point): Fix reference to variable
9045 thing-at-point-default-mail-uri-scheme.
9046
ad9dcd70
SM
90472013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9048
54bd972f
SM
9049 * subr.el (define-error): New function.
9050 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9051 error-file-not-found and define with define-error.
9052 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9053 and define with define-error.
9054 * userlock.el (file-locked, file-supersession):
9055 * simple.el (mark-inactive):
9056 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9057 * progmodes/ada-mode.el (ada-mode-errors):
9058 * play/life.el (life-extinct):
9059 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9060 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9061 * nxml/rng-util.el (rng-error):
9062 * nxml/rng-uri.el (rng-uri-error):
9063 * nxml/rng-match.el (rng-compile-error):
9064 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9065 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9066 * nxml/nxml-rap.el (nxml-scan-error):
9067 * nxml/nxml-outln.el (nxml-outline-error):
9068 * net/soap-client.el (soap-error):
9069 * net/gnutls.el (gnutls-error):
9070 * net/ange-ftp.el (ftp-error):
9071 * mpc.el (mpc-proc-error):
9072 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9073 (json-number-format, json-string-escape, json-string-format)
9074 (json-key-format, json-object-format):
9075 * jka-compr.el (compression-error):
9076 * international/quail.el (quail-error):
9077 * international/kkc.el (kkc-error):
9078 * emacs-lisp/ert.el (ert-test-failed):
9079 * calc/calc.el (calc-error, inexact-result, math-overflow)
9080 (math-underflow):
9081 * bookmark.el (bookmark-error-no-filename):
9082 * epg.el (epg-error): Define with define-error.
9083
0ea9e53a
SM
9084 * time.el (display-time-event-handler)
9085 (display-time-next-load-average): Don't call sit-for since it seems
9086 unnecessary (bug#15045).
9087
b0429158
SM
9088 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9089 Use #' instead of ' to quote functions.
9090 (checkdoc-output-mode): Use setq-local.
9091 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9092 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9093 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9094 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9095 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9096 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9097 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9098 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9099
ad9dcd70
SM
9100 * ido.el (ido-completion-help): Fix up compiler warning.
9101
77187e6f
JB
91022013-08-09 Juanma Barranquero <lekktu@gmail.com>
9103
9104 * frameset.el (frameset-p): Add autoload cookie.
9105 (frameset--jump-to-register): New function, based on code moved from
9106 register.el.
9107 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9108
9109 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9110 (frameset-restore, frameset-save, frameset-session-filter-alist):
9111 Remove declarations.
9112 (register-alist): Doc fix.
9113 (frameset-to-register): Move to frameset.el.
9114 (jump-to-register, describe-register-1): Remove frameset-specific code.
9115
9d3aa82c
JB
91162013-08-08 Juanma Barranquero <lekktu@gmail.com>
9117
9118 * allout-widgets.el (allout-widgets-pre-command-business)
9119 (allout-widgets-post-command-business)
9120 (allout-widgets-after-change-handler)
9121 (allout-decorate-item-and-context, allout-set-boundary-marker)
9122 (allout-body-modification-handler)
9123 (allout-graphics-modification-handler): Mark ignored arguments.
9124 (allout-widgets-post-command-business)
9125 (allout-widgets-exposure-change-processor)
9126 (allout-widgets-exposure-undo-processor)
9127 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9128 (allout-parse-item-at-point, allout-decorate-item-guides)
9129 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9130 * allout.el (epa-passphrase-callback-function): Declare.
9131 (allout-overlay-insert-in-front-handler)
9132 (allout-overlay-interior-modification-handler)
9133 (allout-isearch-end-handler, allout-chart-siblings)
9134 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9135 (allout-yank-processing, allout-process-exposed)
9136 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9137 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9138 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9139 (lisp-indent-defform): Mark ignored arguments.
9140 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9141 (calculate-lisp-indent): Remove unused variables.
9142 * international/characters.el (indian-2-column, arabic-2-column)
9143 (tibetan): Mark ignored arguments.
9144 (use-cjk-char-width-table): Mark ignored arguments.
9145 Remove unused variables.
9146 * international/fontset.el (build-default-fontset-data)
9147 (x-compose-font-name, create-fontset-from-fontset-spec):
9148 Mark ignored arguments.
9149 (fontset-plain-name): Remove unused variables.
9150 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9151 (keyboard-coding-system): Mark ignored arguments.
9152 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9153 * help.el (resize-temp-buffer-window):
9154 * window.el (display-buffer-in-major-side-window)
9155 (display-buffer-in-side-window, display-buffer-in-previous-window):
9156 Remove unused variables.
9157 * isearch.el (isearch-forward-symbol):
9158 * version.el (emacs-bzr-version-bzr):
9159 * international/mule-cmds.el (current-language-environment):
9160 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9161 (x-handle-display):
9162 * term/pc-win.el (x-list-fonts, x-display-planes)
9163 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9164 (x-server-version, x-display-screens, x-display-mm-height)
9165 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9166 (x-selection-owner-p, x-own-selection-internal)
9167 (x-disown-selection-internal, x-get-selection-internal)
9168 (msdos-initialize-window-system):
9169 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9170 * term/x-win.el (x-handle-no-bitmap-icon):
9171 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9172 (vc-default-find-file-hook, vc-default-extra-menu):
9173 Mark ignored arguments.
9174
0ca3f70e
SM
91752013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9178 break-condition in the context of the debugged code (bug#12685).
9179
74c5d24c
CS
91802013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9181
9182 * comint.el:
9183 Do not use an overlay to highlight the last prompt. (Bug#14744)
9184 (comint-mode): Make comint-last-prompt buffer local.
9185 (comint-last-prompt): New variable.
9186 (comint-last-prompt-overlay): Remove. Superseded by
9187 comint-last-prompt.
0ca3f70e
SM
9188 (comint-snapshot-last-prompt, comint-output-filter):
9189 Use comint-last-prompt.
74c5d24c 9190
c03c02ee
JB
91912013-08-08 Juanma Barranquero <lekktu@gmail.com>
9192
a3738d20 9193 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9194 (frameset-save): Check validity of the resulting frameset.
9195
04263d23
XF
91962013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9197
9198 * ido.el (ido-record-command): Add doc string.
9199
76c5e5ab
JB
92002013-08-08 Juanma Barranquero <lekktu@gmail.com>
9201
9202 * frameset.el (frameset): Do not disable creation of the default
9203 frameset-p predicate. Doc fix.
9204 (frameset-valid-p): New function, copied from the old predicate-p.
9205 Add additional checks.
9206 (frameset-restore): Check with frameset-valid-p.
9207 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9208 (frameset-name, frameset-description, frameset-properties)
9209 (frameset-states): Add docstring.
f9dbf1cb
JB
9210 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9211 (frameset-filter-alist): Doc fixes.
76c5e5ab 9212
bd0c3c0b
JB
92132013-08-08 Juanma Barranquero <lekktu@gmail.com>
9214
9215 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9216
c735544c
SM
92172013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9220 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9221 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9222 (byte-compile-normal-call): Remove obsolescence check.
9223
2805a651
JB
92242013-08-08 Juanma Barranquero <lekktu@gmail.com>
9225
3677ffeb
JB
9226 * frameset.el (frameset-restore): Doc fix.
9227
2805a651
JB
9228 * register.el (frameset-frame-id, frameset-frame-with-id)
9229 (frameset-p, frameset-restore, frameset-save): Declare.
9230 (register-alist): Document framesets.
9231 (frameset-session-filter-alist): Declare.
9232 (frameset-to-register): New function.
9233 (jump-to-register): Implement jumping to framesets. Doc fix.
9234 (describe-register-1): Describe framesets.
9235
9236 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9237
a912c016
JB
92382013-08-07 Juanma Barranquero <lekktu@gmail.com>
9239
9240 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9241 Use lexical-binding.
9242
9243 * frameset.el (frameset): Use type vector, not list (incompatible
9244 change). Do not declare a new constructor, use the default one.
9245 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9246 `name' and `description', respectively, and add read-only slot
9247 `timestamp'. Doc fixes.
9248 (frameset-copy, frameset-persistent-filter-alist)
9249 (frameset-filter-alist, frameset-switch-to-gui-p)
9250 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9251 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9252 (frameset-filter-iconified, frameset-keep-original-display-p):
9253 Doc fixes.
9254 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9255 Rename from frameset-filter-(save|restore)-param. All callers changed.
9256 Doc fix.
9257 (frameset-p): Adapt to change to vector and be more thorough.
9258 Change arg name to OBJECT. Doc fix.
9259 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9260 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9261 All callers changed.
9262 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9263 All callers changed.
9264 (frameset--record-minibuffer-relationships): Rename from
9265 frameset--process-minibuffer-frames. All callers changed.
9266 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9267 Use new default constructor (again). Doc fix.
c295fc18 9268 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9269 All callers changed.
9270 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9271 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9272 Doc fix.
9273 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9274 PARAMETERS and WINDOW-STATE, respectively.
9275 (frameset-restore): Add new keyword argument PREDICATE.
9276 Reset frameset--target-display to nil. Doc fix.
9277
bb41480a
SM
92782013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9279
f001e98e
SM
9280 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9281 (bat-mode): Use it.
9282 (bat-mode-syntax-table): Mark \n as end-of-comment.
9283 (bat-font-lock-keywords): Remove comment rule.
9284
7679edb1
SM
9285 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9286 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9287
bb41480a
SM
9288 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9289 (byte-compile-callargs-warn): Use `push'.
9290 (byte-compile-arglist-warn): Ignore higher-order "calls".
9291 (byte-compile-file-form-autoload): Use `pcase'.
9292 (byte-compile-function-form): If quoting a symbol, check that it exists.
9293
cdc1ebb9
EZ
92942013-08-07 Eli Zaretskii <eliz@gnu.org>
9295
9296 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9297 and add a few popular commands found in batch files.
9298 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9299 (dos-mode): Doc fixes.
9300
312b1740
SM
93012013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9304 (dos-mode): Use setq-local. Add space after "rem".
9305 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9306 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9307
400a3178
AM
93082013-08-07 Arni Magnusson <arnima@hafro.is>
9309
9310 * progmodes/dos.el: New file.
9311 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9312 dos-mode.
9313
3b5c03d3
GM
93142013-08-06 Glenn Morris <rgm@gnu.org>
9315
9316 * calendar/calendar.el: Add new faces, and day-header-array.
9317 (calendar-weekday-header, calendar-weekend-header)
9318 (calendar-month-header): New faces.
9319 (calendar-day-header-construct): New function.
9320 (calendar-day-header-width): Also :set calendar-day-header-array.
9321 (calendar-american-month-header, calendar-european-month-header)
9322 (calendar-iso-month-header): Use calendar- faces.
9323 (calendar-generate-month):
9324 Use calendar-day-header-array for day headers; apply faces to them.
9325 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9326 (calendar-abbrev-construct): Add optional maxlen argument.
9327 (calendar-day-name-array): Doc fix.
9328 (calendar-day-name-array, calendar-abbrev-length)
9329 (calendar-day-abbrev-array):
9330 Also :set calendar-day-header-array, and maybe redraw.
9331 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9332 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9333 (calendar-day-name): Add option to use header array.
9334
ec6a2d7a
LMI
93352013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
9337 * net/shr.el (shr-render-td): Remove debugging.
9338 (shr-render-td): Make width computation consistent by defaulting
9339 all zero-width columns to 10 characters. This may not be optimal,
9340 but it's at least consistent.
2122cb6d
LMI
9341 (shr-make-table-1): Redo last change to fix the real problem in
9342 colspan handling.
ec6a2d7a 9343
ed4fd9c5
DA
93442013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9345
0ca3f70e
SM
9346 * files.el (cache-long-line-scans):
9347 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9348
64e22afe
JB
93492013-08-06 Juanma Barranquero <lekktu@gmail.com>
9350
024b38fc
JB
9351 * frameset.el (frameset, frameset-filter-alist)
9352 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9353 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9354 (frameset-compute-pos): Rename from frameset--compute-pos,
9355 and add docstring.
9356 (frameset-move-onscreen): Use frameset-compute-pos.
9357 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9358
64e22afe
JB
9359 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9360 Fix typos in docstrings.
9361
c8c2aca8
DA
93622013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9363
9364 * frame.el (get-other-frame): Tiny cleanup.
9365
1d237bba
JB
93662013-08-06 Juanma Barranquero <lekktu@gmail.com>
9367
8951efef
JB
9368 * vc/vc.el (vc-default-ignore-completion-table):
9369 Silence byte-compiler warning.
9370
307764cc 9371 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9372 slot, which can indeed be nil.
307764cc
JB
9373 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9374 Move entry for `left' from persistent to live filter alist.
9375 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9376 Doc fixes.
9377 (frameset-filter-params): When restoring a frame, copy items added to
9378 `filtered', to avoid unwittingly modifying the original parameters.
9379 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9380 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9381
1d237bba
JB
9382 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9383 to use looking-at-p instead of looking-at. (Bug#15028)
9384
dc6c0eda
SM
93852013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 Revert introduction of isearch-filter-predicates (bug#14714).
9388 Rely on add-function instead.
9389 * isearch.el (isearch-filter-predicates): Rename it back to
9390 isearch-filter-predicate.
9391 (isearch-message-prefix): Use advice-function-mapc and advice
9392 properties to get the isearch-message-prefix.
9393 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9394 instead of run-hook-with-args-until-failure.
9395 (isearch-filter-visible): Not obsolete any more.
9396 * loadup.el: Preload nadvice.
9397 * replace.el (perform-replace): Revert to funcall
9398 instead of run-hook-with-args-until-failure.
9399 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9400 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9401 dired-isearch-filenames-toggle; make it into a proper minor mode.
9402 Use add/remove-function.
9403 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9404 Call the minor-mode rather than add/remove-hook.
9405 (dired-isearch-filter-filenames):
9406 Remove isearch-message-prefix property.
9407 * info.el (Info--search-loop): New function, extracted from Info-search.
9408 Funcall isearch-filter-predicate instead of
9409 run-hook-with-args-until-failure isearch-filter-predicates.
9410 (Info-search): Use it.
9411 (Info-mode): Use isearch-filter-predicate instead of
9412 isearch-filter-predicates.
9413
290d5b58
DA
94142013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9415
9416 Do not call to `selected-window' where it is assumed by default.
9417 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9418 `window-hscroll', `window-width', `window-height', `window-buffer',
9419 `window-frame', `window-start', `window-point', `next-window'
9420 and `window-display-table'.
9421 * abbrev.el (abbrev--default-expand):
9422 * bs.el (bs--show-with-configuration):
9423 * buff-menu.el (Buffer-menu-mouse-select):
9424 * calc/calc.el (calc):
9425 * calendar/calendar.el (calendar-generate-window):
9426 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9427 (diary-make-entry):
9428 * comint.el (send-invisible, comint-dynamic-complete-filename)
9429 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9430 * completion.el (complete):
9431 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9432 * disp-table.el (describe-current-display-table):
9433 * doc-view.el (doc-view-insert-image):
9434 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9435 * ehelp.el (with-electric-help):
9436 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9437 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9438 * emacs-lisp/helper.el (Helper-help-scroller):
9439 * emulation/cua-base.el (cua--post-command-handler-1):
9440 * eshell/esh-mode.el (eshell-output-filter):
9441 * ffap.el (ffap-gnus-wrapper):
9442 * help-macro.el (make-help-screen):
9443 * hilit-chg.el (highlight-compare-buffers):
9444 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9445 * hl-line.el (global-hl-line-highlight):
9446 * icomplete.el (icomplete-simple-completing-p):
9447 * isearch.el (isearch-done):
9448 * jit-lock.el (jit-lock-stealth-fontify):
9449 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9450 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9451 * mpc.el (mpc-tagbrowser, mpc):
9452 * net/rcirc.el (rcirc-any-buffer):
9453 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9454 * play/landmark.el (landmark-max-width, landmark-max-height):
9455 * play/zone.el (zone):
9456 * progmodes/compile.el (compilation-goto-locus):
9457 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9458 * progmodes/etags.el (find-tag-other-window):
9459 * progmodes/fortran.el (fortran-column-ruler):
9460 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9461 * progmodes/verilog-mode.el (verilog-point-text):
9462 * reposition.el (reposition-window):
9463 * rot13.el (toggle-rot13-mode):
9464 * server.el (server-switch-buffer):
9465 * shell.el (shell-dynamic-complete-command)
9466 (shell-dynamic-complete-environment-variable):
9467 * simple.el (insert-buffer, set-selective-display)
9468 (delete-completion-window):
9469 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9470 (speedbar-recenter):
9471 * startup.el (fancy-splash-head):
9472 * textmodes/ispell.el (ispell-command-loop):
9473 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9474 * tutorial.el (help-with-tutorial):
9475 * vc/add-log.el (add-change-log-entry):
9476 * vc/compare-w.el (compare-windows):
9477 * vc/ediff-help.el (ediff-indent-help-message):
9478 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9479 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9480 (ediff-setup-control-frame):
9481 * vc/emerge.el (emerge-position-region):
9482 * vc/pcvs-util.el (cvs-bury-buffer):
9483 * window.el (walk-windows, mouse-autoselect-window-select):
9484 * winner.el (winner-set-conf, winner-undo): Related users changed.
9485
38276e01
JB
94862013-08-05 Juanma Barranquero <lekktu@gmail.com>
9487
9488 * frameset.el (frameset--set-id): Doc fix.
9489 (frameset-frame-id, frameset-frame-id-equal-p)
9490 (frameset-locate-frame-id): New functions.
9491 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9492 (frameset-restore): Use them.
9493
12b4c0ea
DA
94942013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9495
9496 Do not call to `selected-frame' where it is assumed by default.
9497 Affected functions are `raise-frame', `redraw-frame',
9498 `frame-first-window', `frame-terminal' and `delete-frame'.
9499 * calendar/appt.el (appt-disp-window):
9500 * epg.el (epg-wait-for-completion):
9501 * follow.el (follow-delete-other-windows-and-split)
9502 (follow-avoid-tail-recenter):
9503 * international/mule.el (set-terminal-coding-system):
9504 * mail/rmail.el (rmail-mail-return):
9505 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9506 * progmodes/f90.el (f90-add-imenu-menu):
9507 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9508 * server.el (server-switch-buffer):
9509 * simple.el (delete-completion-window):
9510 * talk.el (talk):
9511 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9512 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9513 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9514 * vc/ediff.el (ediff-documentation): Related users changed.
9515 * frame.el (selected-terminal): Remove the leftover.
9516
17f25e76
GM
95172013-08-05 Glenn Morris <rgm@gnu.org>
9518
9519 * calendar/calendar.el (calendar-generate-month):
9520 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9521 (calendar-generate-month, calendar-font-lock-keywords):
9522 Fix for calendar-day-header-width > length of any day name.
17f25e76 9523
063233c3
JB
95242013-08-05 Juanma Barranquero <lekktu@gmail.com>
9525
9526 * desktop.el (desktop-clear): Use new name of sort predicate.
9527
9528 * frameset.el (frameset): Add docstring. Move :version property to its
9529 own `version' slot.
9530 (frameset-copy): Rename from copy-frameset.
9531 (frameset-p): Check more thoroughly.
9532 (frameset-prop): Do not check for :version, which is no longer a prop.
9533 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9534 Use new :never value instead of t.
9535 (frameset-filter-alist): Expand and clarify docstring.
9536 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9537 (frameset-filter-minibuffer, frameset-filter-save-param)
9538 (frameset-filter-restore-param, frameset-filter-iconified):
9539 Add pointer to docstring of frameset-filter-alist.
9540 (frameset-filter-params): Rename filter values to be more meaningful:
9541 :never instead of t, and reverse the meanings of :save and :restore.
9542 (frameset--process-minibuffer-frames): Clarify error message.
9543 (frameset-save): Avoid unnecessary and confusing call to framep.
9544 Use new BOA constructor for framesets.
9545 (frameset--reuse-list): Doc fix.
9546 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9547 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9548 (frameset-minibufferless-first-p): Doc fix.
9549 Rename from frameset-sort-frames-for-deletion.
9550 (frameset-restore): Doc fixes. Use new function names.
9551 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9552
d5671a82
JB
95532013-08-04 Juanma Barranquero <lekktu@gmail.com>
9554
9555 * desktop.el (desktop-restore-forces-onscreen)
9556 (desktop-restore-reuses-frames): Document :keyword constant values.
9557 (desktop-filter-parameters-alist): Remove, now identical to
9558 frameset-filter-alist.
9559 (desktop--filter-tty*): Remove, moved to frameset.el.
9560 (desktop-save-frameset, desktop-restore-frameset):
9561 Do not pass :filters argument.
9562
9563 * frameset.el (frameset-live-filter-alist)
9564 (frameset-persistent-filter-alist): New variables.
9565 (frameset-filter-alist): Use them. Add autoload cookie.
9566 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9567 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9568 `frameset--id' (it's supposed to be internal to frameset.el).
9569 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9570 (frameset--initial-params): New function.
9571 (frameset--get-frame): Use it. Doc fix.
9572 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9573 Accept :all, not 'all.
9574 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9575 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9576 with fbound symbols. Fix frame id matching, and remove matching ids if
9577 the frame being restored is deleted. Obey :delete.
9578
671d5c16
SM
95792013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * subr.el (macrop): New function.
9582 (text-clone--maintaining): New var.
9583 (text-clone--maintain): Rename from text-clone-maintain. Use it
9584 instead of inhibit-modification-hooks.
9585
9586 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9587 a proxy, so as handle autoloads and redefinitions of the target.
9588 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9589
9590 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9591 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9592 (pcase--mutually-exclusive-p): New function.
9593 (pcase--split-consp): Use it.
9594 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9595 mutually exclusive with the current predicate.
9596
9597 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9598 (edebug-macrop): Remove. Use `macrop' instead.
9599 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9600 (ad-macro-p):
9601 * eshell/esh-cmd.el (eshell-macrop):
9602 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9603
1d44e9dc
SM
96042013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9607 (advice-mapc): New function, using it.
9608 (advice-function-member-p): New function.
9609 (advice--normalize): Store the cdr in advice--saved-rewrite since
9610 that's the part that will be changed.
9611 (advice--symbol-function): New function.
9612 (advice-remove): Handle removal before the function is defined.
9613 Adjust to new advice--saved-rewrite.
9614 (advice-member-p): Use advice-function-member-p and
9615 advice--symbol-function.
9616
5414a283
JB
96172013-08-04 Juanma Barranquero <lekktu@gmail.com>
9618
51d30f2c
JB
9619 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9620 (frameset-filter-minibuffer): Doc fix.
9621 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9622 (frameset--set-id, frameset--process-minibuffer-frames)
9623 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9624 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9625
5414a283
JB
9626 * desktop.el (desktop-clear): Only delete frames when called
9627 interactively and desktop-restore-frames is non-nil. Doc fix.
9628 (desktop-read): Set desktop-saved-frameset to nil.
9629
ab419665
XF
96302013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9631
9632 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9633 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9634 (vc--add-line, vc--remove-regexp): New functions.
9635
9636 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9637 (vc-svn-ignore-completion-table): New function.
9638
9639 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9640 (vc-hg-ignore-completion-table)
ab419665
XF
9641 (vc-hg-find-ignore-file): New functions.
9642
9643 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9644 (vc-git-ignore-completion-table)
ab419665
XF
9645 (vc-git-find-ignore-file): New functions.
9646
9647 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9648
9649 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9650 (vc-bzr-ignore-completion-table)
ab419665
XF
9651 (vc-bzr-find-ignore-file): New functions.
9652
2613dea2
JB
96532013-08-03 Juanma Barranquero <lekktu@gmail.com>
9654
9655 * frameset.el (frameset-prop): New function and setter.
9656 (frameset-save): Do not modify frame list passed by the caller.
9657
9c959872
SM
96582013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9661
a104f656
SM
96622013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9663
70122acf
SM
9664 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9665 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9666
a104f656
SM
9667 * custom.el (custom-initialize-default, custom-initialize-set)
9668 (custom-initialize-reset, custom-initialize-changed): Affect the
9669 toplevel-default-value (bug#6275, bug#14586).
9670 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9671 for bug#6275.
9672
f078d570
JB
96732013-08-02 Juanma Barranquero <lekktu@gmail.com>
9674
185e3b5a
JB
9675 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9676 Add cl-def* expressions.
9677
f078d570
JB
9678 * frameset.el (frameset-filter-params): Fix order of arguments.
9679
9421876d
JB
96802013-08-02 Juanma Barranquero <lekktu@gmail.com>
9681
9682 Move code related to saving frames to frameset.el.
9683 * desktop.el: Require frameset.
9684 (desktop-restore-frames): Doc fix.
9685 (desktop-restore-reuses-frames): Rename from
9686 desktop-restoring-reuses-frames.
9687 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9688 (desktop-clear): Clear frames too.
9689 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9690 (desktop--filter-tty*, desktop-save, desktop-read):
9691 Use frameset functions.
9692 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9693 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9694 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9695 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9696 (desktop--process-minibuffer-frames, desktop-save-frames)
9697 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9698 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9699 (desktop--sort-states, desktop-restoring-frames-p)
9700 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9701 (desktop-restoring-frameset-p, desktop-restore-frameset)
9702 (desktop--check-dont-save, desktop-save-frameset): New functions.
9703 (desktop--app-id): New constant.
9704 (desktop-first-buffer, desktop-buffer-ok-count)
9705 (desktop-buffer-fail-count): Move before first use.
9706 * frameset.el: New file.
9707
76dc5996
SM
97082013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * files.el: Use lexical-binding.
9711 (dir-locals-read-from-file): Remove unused `err' variable.
9712 (hack-dir-local-variables--warned-coding): New var.
9713 (hack-dir-local-variables): Use it to avoid repeated warnings.
9714 (make-backup-file-name--default-function): New function.
9715 (make-backup-file-name-function): Use it as default.
9716 (buffer-stale--default-function): New function.
9717 (buffer-stale-function): Use it as default.
9718 (revert-buffer-insert-file-contents--default-function): New function.
9719 (revert-buffer-insert-file-contents-function): Use it as default.
9720 (insert-directory): Avoid add-to-list.
9721
9722 * autorevert.el (auto-revert-handler): Simplify.
9723 Use buffer-stale--default-function.
9724
06d36e2b
TH
97252013-08-01 Tassilo Horn <tsdh@gnu.org>
9726
5f648ab4
TH
9727 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9728
06d36e2b
TH
9729 * whitespace.el (whitespace-ensure-local-variables): New function.
9730 (whitespace-cleanup-region): Call it.
9731 (whitespace-turn-on): Call it.
9732
a43dc424
MA
97332013-08-01 Michael Albinus <michael.albinus@gmx.de>
9734
9735 Complete file name handlers.
9736
9737 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9738 (tramp-handle-verify-visited-file-modtime)
9739 (tramp-handle-file-notify-rm-watch): New functions.
9740 (tramp-call-process): Do not bind `default-directory'.
9741
44e18199
JB
9742 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9743 Order alphabetically.
afe1e4c8
GM
9744 <access-file, add-name-to-file, dired-call-process>:
9745 <dired-compress-file, file-acl, file-notify-rm-watch>:
9746 <file-ownership-preserved-p, file-selinux-context>:
9747 <make-directory-internal, make-symbolic-link, set-file-acl>:
9748 <set-file-selinux-context, set-visited-file-modtime>:
9749 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9750 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9751
9752 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
9753 <file-notify-add-watch, file-notify-rm-watch>:
9754 <set-file-times, set-visited-file-modtime>:
9755 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9756 (with-tramp-gvfs-error-message)
9757 (tramp-gvfs-handle-set-visited-file-modtime)
9758 (tramp-gvfs-fuse-file-name): Remove.
9759 (tramp-gvfs-handle-file-notify-add-watch)
9760 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9761 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9762
44e18199
JB
9763 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9764 Order alphabetically.
afe1e4c8
GM
9765 <file-notify-rm-watch>: Use default Tramp handler.
9766 <executable-find>: Remove private handler.
a43dc424
MA
9767 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9768 `default-directory'.
9769 (tramp-sh-handle-executable-find)
9770 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9771 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9772 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9773 Do not use `format' in `tramp-message'.
9774
9775 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
9776 <file-notify-rm-watch, set-visited-file-modtime>:
9777 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9778 (tramp-smb-call-winexe): Do not bind `default-directory'.
9779
7188b515
XF
97802013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9781
9782 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9783
2412ee1a
DG
97842013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9785
9786 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9787 use it.
9788 (log-view-diff-changeset): Same.
9789 (log-view-diff-common): Call backend command `previous-revision'
9790 to find out the previous revision, in both cases. Swap the
9791 variables `to' and `fr', so that `fr' usually refers to the
9792 earlier revision (Bug#14989).
9793
5002a754
KRC
97942013-07-31 Kan-Ru Chen <kanru@kanru.info>
9795
9796 * ibuf-ext.el (ibuffer-filter-by-filename):
9797 Make it work with dired buffers too.
9798
44e18199 97992013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
9800
9801 * emacs-lisp/re-builder.el (reb-color-display-p):
9802 * files.el (save-buffers-kill-terminal):
9803 * net/browse-url.el (browse-url):
9804 * server.el (server-save-buffers-kill-terminal):
9805 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9806 Prefer nil to selected-frame for the first arg of frame-parameter.
9807
aeca3fbb
XF
98082013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9809
9810 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9811
158bc55c
SB
98122013-07-30 Stephen Berman <stephen.berman@gmx.net>
9813
9814 * minibuffer.el (completion--twq-all): Try and preserve each
9815 completion's case choice (bug#14907).
9816
d50fceab
LMI
98172013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818
ac38e731
LMI
9819 * net/network-stream.el (open-network-stream): Mention the new
9820 :nogreeting parameter.
9821 (network-stream-open-starttls): Use the :nogreeting parameter
9822 (bug#14938).
9823
1211de50
LMI
9824 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9825
997798bf
LMI
9826 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9827 more natural than popping.
9828
d50fceab 9829 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 9830 (shr-urlify): Highlight under mouse.
d50fceab 9831
5c09de04
XF
98322013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9833
207d1d04
XF
9834 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9835
9836 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9837
5c09de04
XF
9838 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9839 buffer for output.
9840
3cd51eaa
XF
9841 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9842 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 9843
44e18199 9844 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 9845 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
9846
9847 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9848
9849 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9850 buffer for output.
9851
35a89bdd
EZ
98522013-07-29 Eli Zaretskii <eliz@gnu.org>
9853
9854 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9855 initial frame is minibuffer-less. (Bug#14841)
9856
78822e94
MA
98572013-07-29 Michael Albinus <michael.albinus@gmx.de>
9858
9859 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9860 option.
9861
9862 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9863 (tramp-maybe-open-connection): Use it.
9864
9503c190
JB
98652013-07-28 Juanma Barranquero <lekktu@gmail.com>
9866
9867 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9868 minimal set of parameters passed when creating a frame, because
9869 the minibuffer status of a frame cannot be changed later.
9870
d5a845b4
SB
98712013-07-28 Stephen Berman <stephen.berman@gmx.net>
9872
9873 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9874 replace-regexp-in-string and inadvertent omissions in previous change.
9875 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 9876 name of filtered items buffer.
d5a845b4 9877
ddeffb17
JB
98782013-07-28 Juanma Barranquero <lekktu@gmail.com>
9879
9880 * desktop.el: Optionally force offscreen frames back onscreen.
9881 (desktop-restoring-reuses-frames): New option.
9882 (desktop--compute-pos, desktop--move-onscreen): New functions.
9883 (desktop--make-frame): Use desktop--move-onscreen.
9884
f5950f7a
AM
98852013-07-27 Alan Mackenzie <acm@muc.de>
9886
9887 Fontify a Java generic method as a function.
9888 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9889 value to t.
9890
ae43b66a
SB
98912013-07-27 Stephen Berman <stephen.berman@gmx.net>
9892
9893 * calendar/todo-mode.el: Add command to rename todo files.
9894 (todo-rename-file): New command.
9895 (todo-key-bindings-t): Add key binding for it. Change the
9896 bindings of todo-filter-regexp-items(-multifile) to use `x'
9897 instead of `r', since the latter is better suited to the new
9898 renaming command.
9899
5ab78d3d
AM
99002013-07-27 Alan Mackenzie <acm@muc.de>
9901
9902 Make Java try-with-resources statement parse properly.
9903 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9904 (c-block-stmt-1-2-key): New language constants/variables.
9905 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9906 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9907 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 9908 with c-block-stmt-1-2-key.
5ab78d3d 9909
d85c4d50
JB
99102013-07-27 Juanma Barranquero <lekktu@gmail.com>
9911
9912 * desktop.el (desktop--make-frame): Apply most frame parameters after
9913 creating the frame to force (partially or totally) offscreen frames to
9914 be restored as such.
9915
e4c467f9
XF
99162013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9917
9918 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 9919 (Bug#14948)
e4c467f9 9920
7ced0d04
SM
99212013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9924 `base' arg of backtrace-frame.
9925
fec92060
EZ
99262013-07-26 Eli Zaretskii <eliz@gnu.org>
9927
9928 * simple.el (list-processes): Doc fix.
9929
d58d31fb
JB
99302013-07-26 Juanma Barranquero <lekktu@gmail.com>
9931
9932 * desktop.el (desktop--select-frame):
d85c4d50 9933 Try harder to reuse existing frames.
d58d31fb 9934
53ff3e77
SM
99352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9938 (edebug-eval): Use backtrace-eval.
9939 (edebug--display, edebug--recursive-edit): Don't let-bind the
9940 edebug-outer-* vars that keep track of variables we locally let-bind.
9941 (edebug-outside-excursion): Don't restore outside values of locally
9942 let-bound vars.
9943 (edebug--display): Use user-error.
9944 (cl-lexical-debug, cl-debug-env): Remove.
9945
045f7a53
JB
99462013-07-26 Juanma Barranquero <lekktu@gmail.com>
9947
9948 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9949 are restored to be sure that they are visible before deleting any
9950 remaining ones.
9951
59070b32
MM
99522013-07-26 Matthias Meulien <orontee@gmail.com>
9953
742a3501
XF
9954 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9955 vc-print-root-log. (Bug#14948)
59070b32 9956
b1fb3596
RS
99572013-07-26 Richard Stallman <rms@gnu.org>
9958
9959 Add aliases for encrypting mail.
9960 * epa.el (epa-mail-aliases): New option.
9961 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9962 Bind inhibit-read-only so read-only text doesn't ruin everything.
9963 (epa-mail-default-recipients): New subroutine broken out.
9964 Handle epa-mail-aliases.
9965
56ea7291
SM
99662013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 Add support for lexical variables to the debugger's `e' command.
9969 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9970 vars, except for debugger-outer-match-data.
9971 (debugger-frame-number): Move check for "on a function call" from
9972 callers into it. Add `skip-base' argument.
9973 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9974 (debugger-env-macro): Only reset the state stored in non-variables,
9975 i.e. current-buffer and match-data.
9976 (debugger-eval-expression): Rewrite using backtrace-eval.
9977 * subr.el (internal--called-interactively-p--get-frame): Remove.
9978 (called-interactively-p):
9979 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9980 `base' arg of backtrace-frame instead.
9981
15ac32d5
GM
99822013-07-26 Glenn Morris <rgm@gnu.org>
9983
8358a09d
GM
9984 * align.el (align-regexp): Doc fix. (Bug#14857)
9985 (align-region): Explicit error if subexpression missing/does not match.
9986
15ac32d5
GM
9987 * simple.el (global-visual-line-mode):
9988 Do not duplicate the mode lighter. (Bug#14858)
9989
f47ad11b
MR
99902013-07-25 Martin Rudalics <rudalics@gmx.at>
9991
9992 * window.el (display-buffer): In display-buffer bind
9993 split-window-keep-point to t, bug#14829.
9994
02530987
JB
99952013-07-25 Juanma Barranquero <lekktu@gmail.com>
9996
9997 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9998 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9999 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10000 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10001 Change accordingly.
f63ebeb5
JB
10002 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10003 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10004
6ccb9cab 100052013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10006
6ccb9cab 10007 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10008
cb3a56d2
JB
100092013-07-25 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10012 parameter to modify-frame-parameters if the value has not changed;
10013 this is a workaround for bug#14949.
10014 (desktop--make-frame): On cl-delete-if call, check parameter name,
10015 not full parameter.
10016
7aa7fff0
XF
100172013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10018
10019 * vc/vc.el (vc-ignore): New function.
10020
10021 * vc/vc-svn.el (vc-svn-ignore): New function.
10022
10023 * vc/vc-hg.el (vc-hg-ignore): New function.
10024
10025 * vc/vc-git.el (vc-git-ignore): New function.
10026
10027 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10028 (vc-dir-ignore): New function.
10029
10030 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10031 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10032
10033 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10034
10035 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10036
889acc5c
JB
100372013-07-24 Juanma Barranquero <lekktu@gmail.com>
10038
10039 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10040 (desktop-restore-frames): Warn when deleting an existing frame failed.
10041
86c40970
GM
100422013-07-24 Glenn Morris <rgm@gnu.org>
10043
10044 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10045
d5d3c58a
MA
100462013-07-24 Michael Albinus <michael.albinus@gmx.de>
10047
10048 * filenotify.el (file-notify-supported-p):
10049 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10050 Remove functions.
10051
35e951cd 10052 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10053 (auto-revert-notify-add-watch):
10054 * net/tramp.el (tramp-file-name-for-operation):
10055 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10056 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10057 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10058 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10059 Remove `file-notify-supported-p' entry.
10060
d100084b
GM
100612013-07-24 Glenn Morris <rgm@gnu.org>
10062
10063 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10064 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10065
ac93e56b
SM
100662013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10067
249eea30
SM
10068 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10069 checked with memq (bug#14935).
10070
ac93e56b
SM
10071 * files.el (revert-buffer-function): Use a non-nil default.
10072 (revert-buffer-preserve-modes): Declare var to
10073 provide access to the `preserve-modes' argument.
10074 (revert-buffer): Let-bind it.
10075 (revert-buffer--default): New function, extracted from revert-buffer.
10076
2cdeb903
SM
100772013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * lpr.el: Signal print errors more prominently.
10080 (print-region-function): Don't default to nil.
10081 (lpr-print-region): New function, extracted from print-region-1.
10082 Check lpr's return value and signal an error in case of problem.
10083 (print-region-1): Use it.
10084 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10085 versions instead.
10086 (ps-printer-name): Default to nil.
10087 (ps-printer-name-option): Default to lpr-printer-switch.
10088 (ps-print-region-function): Don't default to nil.
10089 (ps-postscript-code-directory): Simplify default.
10090 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10091 (ps-string-list, ps-eval-switch, ps-flatten-list)
10092 (ps-flatten-list-1): Remove.
10093 (ps-multibyte-buffer): Avoid setq.
10094 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10095 (print-region-function, ps-print-region-function): Don't set them here.
10096
73600831
XF
100972013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10098
35e951cd
JB
10099 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10100 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10101 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10102 (ido-decorations): Doc fix.
10103
73600831
XF
10104 * ansi-color.el: Fix old URL.
10105
3d012865
MM
101062013-07-23 Michael R. Mauger <michael@mauger.com>
10107
e903c210 10108 * progmodes/sql.el: Version 3.3
3d012865
MM
10109 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10110 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10111 (sql-interactive-remove-continuation-prompt): Rewrite, use
10112 functions above. Fix continuation prompt and complete output line
10113 handling.
10114 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10115 redirected output buffer.
10116 (sql-mode): Restore deleted code (Bug#13591).
10117
da77a2e2
JB
101182013-07-23 Juanma Barranquero <lekktu@gmail.com>
10119
10120 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10121
80ff0c71
MA
101222013-07-23 Michael Albinus <michael.albinus@gmx.de>
10123
10124 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10125
10126 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10127 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10128 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10129
b61d71e4
JB
101302013-07-23 Juanma Barranquero <lekktu@gmail.com>
10131
10132 * desktop.el (desktop-clear): Simplify; remove useless checks
10133 against invalid buffer names.
10134 (desktop-list*): Use cl-list*.
10135 (desktop-buffer-info, desktop-create-buffer): Simplify.
10136
c3512092
LL
101372013-07-23 Leo Liu <sdl.web@gmail.com>
10138
10139 * bookmark.el (bookmark-make-record): Restore NAME as a default
10140 value. (Bug#14933)
10141
0ac26976
SM
101422013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10143
7d22ce18
SM
10144 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10145 extracted from autoload--insert-text.
10146 (autoload--insert-text): Remove.
10147 (autoload--print-cookie-text): New function, extracted from
10148 autoload--insert-cookie-text.
10149 (autoload--insert-cookie-text): Remove.
10150 (autoload-generate-file-autoloads): Adjust calls accordingly.
10151
9b2607e8
SM
10152 * winner.el (winner-hook-installed-p): Remove.
10153 (winner-mode): Simplify accordingly.
10154
c43a8618
SM
10155 * subr.el (add-to-list): Fix compiler-macro when `append' is
10156 not constant. Don't use `cl-member' for the base case.
10157
0ac26976
SM
10158 * progmodes/subword.el: Fix boundary case (bug#13758).
10159 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10160 own group.
10161 (subword-backward-regexp): Make it a constant.
10162 (subword-forward-internal): Don't treat a trailing capital as the
10163 beginning of a word.
10164
6874724a
AR
101652013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10166
10167 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10168 global value of tabulated-list-revert-hook (bug#14930).
10169
70f1b5e8
JB
101702013-07-22 Juanma Barranquero <lekktu@gmail.com>
10171
a1c80d9d
JB
10172 * desktop.el: Require 'cl-lib.
10173 (desktop-before-saving-frames-functions): New hook.
10174 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10175 for frames being saved. Rename from desktop--save-minibuffer-frames.
10176 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10177 Do not save frames with non-nil `desktop-dont-save' parameter.
10178 Filter out deleted frames.
a1c80d9d
JB
10179 (desktop--find-frame): Use cl-find-if.
10180 (desktop--select-frame): Use cl-(first|second|third) to access values
10181 of desktop-mini.
10182 (desktop--make-frame): Use cl-delete-if.
10183 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10184 (desktop-restore-frames): Use cl-(first|second|third) to access values
10185 of desktop-mini. Look for visible frame at the end, not while
10186 restoring frames.
10187
70f1b5e8
JB
10188 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10189 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10190 Use string-match-p, looking-at-p (bug#14927).
10191
728dc3cc
JB
101922013-07-21 Juanma Barranquero <lekktu@gmail.com>
10193
56bc453c
JB
10194 * desktop.el (desktop-saved-frame-states):
10195 Rename from desktop--saved-states; all users changed.
10196 (desktop-save-frames): Rename from desktop--save-frames.
10197 Do not save state to desktop file.
10198 (desktop-save): Save desktop-saved-frame-states to desktop file
10199 and reset to nil.
10200 (desktop-restoring-frames-p): New function.
10201 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10202 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10203 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10204
728dc3cc
JB
10205 * desktop.el: Correctly restore iconified frames.
10206 (desktop--filter-iconified-position): New function.
10207 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10208
862f1c9c
GM
102092013-07-20 Glenn Morris <rgm@gnu.org>
10210
c4074c9f
GM
10211 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10212 Let `message' do the formatting.
10213 (def-gdb-preempt-display-buffer): Add explicit format.
10214
d828e5f9
GM
10215 * image-dired.el (image-dired-track-original-file):
10216 Use with-current-buffer.
10217 (image-dired-track-thumbnail): Use with-current-buffer.
10218 Avoid changing point of wrong window.
10219
862f1c9c
GM
10220 * image-dired.el (image-dired-track-original-file):
10221 Avoid changing point of wrong window. (Bug#14909)
10222
f0398ec1 102232013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10224
10225 * progmodes/gdb-mi.el (gdb-done-or-error):
10226 Guard against "%" in gdb output. (Bug#14127)
10227
1451928f
AS
102282013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10229
763a086d
JB
10230 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10231 (Bug#14826)
f7a03897 10232
1451928f
AS
10233 * international/mule.el (coding-system-iso-2022-flags): Fix last
10234 change.
10235
99107004
KH
102362013-07-20 Kenichi Handa <handa@gnu.org>
10237
763a086d
JB
10238 * international/mule.el (coding-system-iso-2022-flags):
10239 Add `8-bit-level-4'. (Bug#8522)
99107004 10240
48494e06
LMI
102412013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10242
8ba8eec5
LMI
10243 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10244 (bug#14815).
10245
dfbc66e3
LMI
10246 * net/eww.el (eww-process-text-input): Allow inputting when the
10247 point is at the start of the line, as the properties aren't
10248 front-sticky.
10249
48494e06
LMI
10250 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10251 degenerate widths.
10252
77c92cb9
RS
102532013-07-19 Richard Stallman <rms@gnu.org>
10254
aec7da77
RS
10255 * epa.el (epa-popup-info-window): Doc fix.
10256
77c92cb9
RS
10257 * subr.el (split-string): New arg TRIM.
10258
945c5bb1
JB
102592013-07-18 Juanma Barranquero <lekktu@gmail.com>
10260
10261 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10262 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10263
e06ec67f
MA
102642013-07-18 Michael Albinus <michael.albinus@gmx.de>
10265
c7064f05 10266 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10267 `file-notify-support'. Do not autoload. Adapt all uses.
10268 (file-notify-supported-p): New defun.
10269
c7064f05
JB
10270 * autorevert.el (auto-revert-use-notify):
10271 Use `file-notify-supported-p' instead of `file-notify-support'.
10272 Adapt docstring.
e06ec67f
MA
10273 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10274
10275 * net/tramp.el (tramp-file-name-for-operation):
10276 Add `file-notify-supported-p'.
10277
10278 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10279 New defun.
10280 (tramp-sh-file-name-handler-alist): Add it as handler for
10281 `file-notify-supported-p '.
10282
10283 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10285 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10286 Add `ignore' as handler for `file-notify-*' functions.
10287
5dc8a629
EZ
102882013-07-17 Eli Zaretskii <eliz@gnu.org>
10289
10290 * simple.el (line-move-partial, line-move): Don't start vscroll or
10291 scroll-up if the current line is not taller than the window.
10292 (Bug#14881)
10293
77aea2fb
DG
102942013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10295
10296 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10297 highlight question marks in the method names as strings.
ac72c08d
DG
10298 (ruby-block-beg-keywords): Inline.
10299 (ruby-font-lock-keyword-beg-re): Extract from
10300 `ruby-font-lock-keywords'.
77aea2fb 10301
18c26d81
JD
103022013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10303
10304 * frame.el (blink-cursor-blinks): New defcustom.
10305 (blink-cursor-blinks-done): New defvar.
10306 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10307 (blink-cursor-timer-function): Check if number of blinks has been
10308 done on X and NS.
10309 (blink-cursor-suspend, blink-cursor-check): New defuns.
10310
da48522e
GM
103112013-07-15 Glenn Morris <rgm@gnu.org>
10312
10313 * edmacro.el (edmacro-format-keys): Fix previous change.
10314
0463c1ef
PE
103152013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10316
10317 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10318 The hack didn't work outside English locales anyway.
10319
b43f6451
JB
103202013-07-15 Juanma Barranquero <lekktu@gmail.com>
10321
10322 * simple.el (define-alternatives): Rename from alternatives-define,
10323 per RMS' suggestion.
10324
b958c0ad
JB
103252013-07-14 Juanma Barranquero <lekktu@gmail.com>
10326
10327 * desktop.el (desktop-restore-frames): Change default to t.
10328 (desktop-restore-in-current-display): Now offer more options.
10329 (desktop-restoring-reuses-frames): New customization option.
10330 (desktop--saved-states): Doc fix.
10331 (desktop-filter-parameters-alist): New variable, renamed and expanded
10332 from desktop--excluded-frame-parameters.
10333 (desktop--target-display): New variable.
10334 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10335 (desktop--filter-tty*, desktop--filter-*-color)
10336 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10337 (desktop--filter-save-desktop-parm)
10338 (desktop-restore-in-original-display-p): New functions.
10339 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10340 (desktop--save-minibuffer-frames): New function, inspired by a similar
10341 function from Martin Rudalics.
10342 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10343 (desktop--restore-in-this-display-p): Remove.
10344 (desktop--find-frame): Rename from desktop--find-frame-in-display
10345 and add predicate argument.
10346 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10347 (desktop--reuse-list): New variable.
10348 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10349 New functions.
10350 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10351
f6dd8b36
MA
103522013-07-14 Michael Albinus <michael.albinus@gmx.de>
10353
10354 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10355
2ce3c565
DG
103562013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10357
763a086d
JB
10358 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10359 Highlight conversion methods on Kernel.
2ce3c565 10360
2cdb7698
AM
103612013-07-13 Alan Mackenzie <acm@muc.de>
10362
10363 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10364 and comment it out. This out-commenting enables certain C++
10365 declarations to be parsed correctly.
10366
1a67b811
EZ
103672013-07-13 Eli Zaretskii <eliz@gnu.org>
10368
1b796d6b
EZ
10369 * international/mule.el (define-coding-system): Doc fix.
10370
1a67b811
EZ
10371 * simple.el (default-font-height): Don't call font-info if the
10372 frame's default font didn't change since the frame was created.
10373 (Bug#14838)
10374
58fbe886
LL
103752013-07-13 Leo Liu <sdl.web@gmail.com>
10376
10377 * ido.el (ido-read-file-name): Guard against non-symbol value.
10378
1f0480d4
FEG
103792013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10380
10381 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10382 in nested defuns.
10383
97ead0e5
LL
103842013-07-13 Leo Liu <sdl.web@gmail.com>
10385
10386 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10387 ido-set-matches call. (Bug#6852)
10388
0880a952
DG
103892013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10390
35e951cd 10391 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10392 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10393 Ruby 2.0.
10394 (ruby-font-lock-keywords): Distinguish calls to functions with
10395 module-like names from module references. Highlight character
10396 literals.
10397
a7d8babb
SDJ
103982013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10399
10400 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10401 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10402
acfcc8c5
JB
104032013-07-12 Juanma Barranquero <lekktu@gmail.com>
10404
10405 * desktop.el (desktop--v2s): Remove unused local variable.
10406 (desktop-save-buffer): Make defvar-local; adjust docstring.
10407 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10408 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10409
051f2775
AS
104102013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10411
10412 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10413
f24e7572
GM
104142013-07-12 Eli Zaretskii <eliz@gnu.org>
10415
10416 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10417 (Bug#14842)
10418
539a920c
GM
104192013-07-12 Glenn Morris <rgm@gnu.org>
10420
10421 * doc-view.el: Require cl-lib at runtime too.
10422 (doc-view-remove-if): Remove.
10423 (doc-view-search-next-match, doc-view-search-previous-match):
10424 Use cl-remove-if.
10425
10426 * edmacro.el: Require cl-lib at runtime too.
10427 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10428 (edmacro-mismatch, edmacro-subseq): Remove.
10429
10430 * shadowfile.el: Require cl-lib.
10431 (shadow-remove-if): Remove.
10432 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10433 Use cl-remove-if.
10434
10435 * wid-edit.el: Require cl-lib.
10436 (widget-choose): Use cl-remove-if.
10437 (widget-remove-if): Remove.
10438
10439 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10440 (ebrowse-delete-if-not): Remove.
10441 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10442 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10443 Use cl-delete-if-not.
10444
1048af7c
JB
104452013-07-12 Juanma Barranquero <lekktu@gmail.com>
10446
10447 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10448 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10449
6c0674ee
LL
104502013-07-12 Leo Liu <sdl.web@gmail.com>
10451
10452 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10453
a19b3c2d
GM
104542013-07-11 Glenn Morris <rgm@gnu.org>
10455
4582a01c
GM
10456 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10457 (edebug-gensym-index, edebug-gensym):
10458 Remove reimplementation of cl-gensym.
10459 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10460
10461 * thumbs.el: Require cl-lib at run-time too.
10462 (thumbs-gensym-counter, thumbs-gensym):
10463 Remove reimplementation of cl-gensym.
10464 (thumbs-temp-file): Use cl-gensym.
10465
a19b3c2d
GM
10466 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10467 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10468 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10469 (ert--union, ert--gensym-counter, ert--gensym-counter)
10470 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10471 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10472 (ert-make-test-unbound, ert--expand-should-1)
10473 (ert--expand-should, ert--should-error-handle-error)
10474 (should-error, ert--explain-equal-rec)
10475 (ert--plist-difference-explanation, ert-select-tests)
10476 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10477 Use cl-lib functions rather than reimplementations.
10478
88f6a933
MA
104792013-07-11 Michael Albinus <michael.albinus@gmx.de>
10480
10481 * net/tramp.el (tramp-methods): Extend docstring.
10482 (tramp-connection-timeout): New defcustom.
10483 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10484 (with-tramp-progress-reporter): Simplify.
10485 (tramp-process-actions): Improve messages.
10486
10487 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10488 * net/tramp-sh.el (tramp-maybe-open-connection):
10489 Use `tramp-connection-timeout'.
afe1e4c8 10490 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10491 (Bug#14808)
10492
a43d577e
LL
104932013-07-11 Leo Liu <sdl.web@gmail.com>
10494
10495 * ido.el (ido-read-file-name): Conform to the requirements of
10496 read-file-name. (Bug#11861)
10497 (ido-read-directory-name): Conform to the requirements of
10498 read-directory-name.
10499
d77974bf
JB
105002013-07-11 Juanma Barranquero <lekktu@gmail.com>
10501
10502 * subr.el (delay-warning): New function.
10503
35cb8a3e
EZ
105042013-07-10 Eli Zaretskii <eliz@gnu.org>
10505
10506 * simple.el (default-line-height): New function.
10507 (line-move-partial, line-move): Use it instead of computing the
10508 line height inline.
10509 (line-move-partial): Always compute ROWH. If the last line is
10510 partially-visible, but its text is completely visible, allow
10511 cursor to enter such a partially-visible line.
10512
525c5c77
MA
105132013-07-10 Michael Albinus <michael.albinus@gmx.de>
10514
10515 Improve error messages. (Bug#14808)
10516
10517 * net/tramp.el (tramp-current-connection): New defvar, moved from
10518 tramp-sh.el.
0ac26976 10519 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10520 needed anymore.
0ac26976
SM
10521 (tramp-error-with-buffer): Show message in minibuffer.
10522 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10523 (with-tramp-progress-reporter): Improve messages.
10524 (tramp-process-actions): Use progress reporter. Delete process in
10525 case of error. Improve messages.
10526
763a086d
JB
10527 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10528 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10529 (tramp-current-connection): Remove.
525c5c77
MA
10530 (tramp-maybe-open-connection): The car of
10531 `tramp-current-connection' are the first 3 slots of the vector.
10532
c7a4d368
TZ
105332013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10534
10535 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10536 inside continued strings.
10537
954b166e
PE
105382013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10539
10540 Timestamp fixes for undo (Bug#14824).
10541 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10542
56973319
LL
105432013-07-10 Leo Liu <sdl.web@gmail.com>
10544
10545 * files.el (require-final-newline): Allow safe local value.
10546 (Bug#14834)
10547
5550a72c
LL
105482013-07-09 Leo Liu <sdl.web@gmail.com>
10549
10550 * ido.el (ido-read-directory-name): Handle fallback.
10551 (ido-read-file-name): Update DIR to ido-current-directory.
10552 (Bug#1516)
c28b9050 10553 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10554
70c46b28
DG
105552013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10556
10557 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10558 "autoload". Remove "warn lower camel case" section, previously
10559 commented out. Highlight negation char. Do not highlight the
10560 target in singleton method definitions.
10561
0b64b838
SM
105622013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10563
7fd72e2c
SM
10564 * faces.el (tty-setup-hook): Declare the hook.
10565
0b64b838
SM
10566 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10567 and detect when a guard/pred depends on local vars (bug#14773).
10568 (pcase--u1): Adjust caller.
10569
ab49d60b
EZ
105702013-07-08 Eli Zaretskii <eliz@gnu.org>
10571
10572 * simple.el (line-move-partial, line-move): Account for
10573 line-spacing.
701d79aa
EZ
10574 (line-move-partial): Avoid setting vscroll when the last
10575 partially-visible line in window is of default height.
ab49d60b 10576
2d756ae0
LMI
105772013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10578
10579 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10580 been used a while.
10581
ed095bd7
JB
105822013-07-07 Juanma Barranquero <lekktu@gmail.com>
10583
10584 * subr.el (read-quoted-char): Remove unused local variable `char'.
10585
f1e6674b
MK
105862013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10587
584ee3fc
GM
10588 * ediff.el (ediff-version): Version update.
10589 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10590 (ediff-merge-with-ancestor-command, ediff-directories-command)
10591 (ediff-directories3-command, ediff-merge-directories-command)
10592 (ediff-merge-directories-with-ancestor-command): New functions.
10593 All are command-line interfaces to ediff: to facilitate calling
10594 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10595
10596 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10597 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10598
584ee3fc
GM
10599 * viper.el (viper-version): Version update.
10600 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10601
584ee3fc
GM
106022013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10605 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10606 (viper-intercept-ESC-key): Simplify.
10607 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10608 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10609 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10610 (viper-setup-ESC-to-escape): New functions.
10611 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10612 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10613
9aff9b38
EZ
106142013-07-07 Eli Zaretskii <eliz@gnu.org>
10615
5165d44a
JB
10616 * simple.el (default-font-height, window-screen-lines):
10617 New functions.
9aff9b38
EZ
10618 (line-move, line-move-partial): Use them instead of
10619 frame-char-height and window-text-height. This makes scrolling
10620 text smoother when the buffer's default face uses a font that is
10621 different from the frame's default font.
10622
1afb1d07
JD
106232013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10624
10625 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10626 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10627
23de972a
EZ
106282013-07-06 Eli Zaretskii <eliz@gnu.org>
10629
10630 * simple.el (line-move-partial): Adjust the row returned by
10631 posn-at-point for the current window-vscroll. (Bug#14567)
10632
54a42486
MA
106332013-07-06 Michael Albinus <michael.albinus@gmx.de>
10634
35e951cd 10635 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10636 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10637 spaces.
10638
34ada5f4
MR
106392013-07-06 Martin Rudalics <rudalics@gmx.at>
10640
10641 * window.el (window-state-put-stale-windows): New variable.
10642 (window--state-put-2): Save list of windows without matching buffer.
10643 (window-state-put): Remove "bufferless" windows if possible.
10644
11e03d89
JB
106452013-07-06 Juanma Barranquero <lekktu@gmail.com>
10646
10647 * simple.el (alternatives-define): Remove leftover :group keyword.
10648 Tweak docstring.
10649
3504a4be
LL
106502013-07-06 Leo Liu <sdl.web@gmail.com>
10651
10652 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10653 (ido-enable-virtual-buffers): New variable.
10654 (ido-buffer-internal, ido-toggle-virtual-buffers)
10655 (ido-make-buffer-list): Use it.
10656 (ido-exhibit): Support turning on and off virtual buffers
10657 automatically.
10658
61e56e2c
JB
106592013-07-06 Juanma Barranquero <lekktu@gmail.com>
10660
10661 * simple.el (alternatives-define): New macro.
10662
321e1a9c
SM
106632013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * subr.el (read-quoted-char): Use read-key.
10666 (sit-for): Let read-event decode tty input (bug#14782).
10667
d610f6dd
SB
106682013-07-05 Stephen Berman <stephen.berman@gmx.net>
10669
10670 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10671 mode command and externally. Fix various related bugs.
10672 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10673 (todo-delete-file): New command.
10674 (todo-check-file): New function.
10675 (todo-show): Handle external deletion of the file we're trying to
10676 show (bug#14688). Replace called-interactively-p by an optional
10677 prefix argument to avoid problematic interaction with catch form
10678 when byte compiled (bug#14702).
10679 (todo-quit): Handle external deletion of the archive's todo file.
10680 Make sure the buffer that was visiting the archive file is still
10681 live before trying to bury it.
10682 (todo-category-completions): Handle external deletion of any
10683 category completion files.
10684 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10685 of todo files, in case of external deletion.
10686 (todo-add-file): Replace unnecessary setq by let-binding.
10687 (todo-find-archive): Check whether there are any archives.
10688 Replace unnecessary setq by let-binding.
10689 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10690 archive buffer whether or not the archive already exists.
10691 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10692 check if the archive is new; if it is, update list of archives.
10693 (todo-default-todo-file): Allow nil to be a valid value for when
10694 there are no todo files.
10695 (todo-reevaluate-default-file-defcustom): Use corrected definition
10696 of todo-default-todo-file.
10697 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10698 (todo-delete-category, todo-show-categories-table)
10699 (todo-category-number): Clarify comment.
10700 (todo-filter-items): Clarify documentation string.
10701 (todo-show-current-file, todo-display-as-todo-file)
10702 (todo-reset-and-enable-done-separator): Tweak documentation string.
10703 (todo-done-separator): Make separator length window-width, since
10704 bug#2749 is now fixed.
10705
ddbdfd6f
MA
107062013-07-05 Michael Albinus <michael.albinus@gmx.de>
10707
321e1a9c
SM
10708 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10709 Support both "gvfs-monitor-dir" and "inotifywait".
10710 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
10711 `tramp-sh-file-notify-process-filter'.
10712 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10713 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10714
96eb829a
LL
107152013-07-05 Leo Liu <sdl.web@gmail.com>
10716
10717 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10718
cf13177e
YM
107192013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10720
10721 * frame.el (display-pixel-height, display-pixel-width)
10722 (display-mm-height, display-mm-width): Mention behavior on
10723 multi-monitor setups in docstrings.
10724 (w32-display-monitor-attributes-list): Declare function.
10725 (display-monitor-attributes-list): Use it.
10726
864c58ca
MA
107272013-07-04 Michael Albinus <michael.albinus@gmx.de>
10728
10729 * filenotify.el: New package.
10730
10731 * autorevert.el (top): Require filenotify.el.
10732 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10733 instead.
10734 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10735 (auto-revert-notify-handler): Use `file-notify-*' functions.
10736
10737 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10738
321e1a9c
SM
10739 * net/tramp.el (tramp-file-name-for-operation):
10740 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
10741
10742 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10743 for `file-notify-add-watch' and `file-notify-rm-watch'.
10744 (tramp-process-sentinel): Improve trace.
10745 (tramp-sh-handle-file-notify-add-watch)
10746 (tramp-sh-file-notify-process-filter)
10747 (tramp-sh-handle-file-notify-rm-watch)
10748 (tramp-get-remote-inotifywait): New defuns.
10749
96673afe
JL
107502013-07-03 Juri Linkov <juri@jurta.org>
10751
10752 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10753 call of `occur-read-primary-args' to interactive spec.
10754
10755 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10756 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10757
924494f4
MM
107582013-07-03 Matthias Meulien <orontee@gmail.com>
10759
10760 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10761 `Buffer-menu-multi-occur'. Add it to the menu.
10762 (Buffer-menu-mode): Document it in docstring.
10763 (Buffer-menu-multi-occur): New command. (Bug#14673)
10764
56f75efc
DG
107652013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10766
10767 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10768 keywords and built-ins.
10769
9b057d61
GM
107702013-07-03 Glenn Morris <rgm@gnu.org>
10771
208dee4d
GM
10772 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10773
9b057d61
GM
10774 Make info-xref checks case-sensitive by default
10775 * info.el (Info-find-node, Info-find-in-tag-table)
10776 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10777 Add option for exact case matching of nodes.
10778 * info-xref.el (info-xref): New custom group.
10779 (info-xref-case-fold): New option.
10780 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10781
e01aa29c
LL
107822013-07-03 Leo Liu <sdl.web@gmail.com>
10783
10784 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10785
3086ca2e
DG
107862013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10787
10788 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10789 middle of block statement initially, lower the depth. Remove
10790 FIXME comment, not longer valid. Remove middle of block statement
10791 detection, no need to do that anymore since we've been using
10792 `ruby-parse-region' here.
10793
a3b49114
JD
107942013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10795
10796 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10797
08e5c823 107982013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
10799
10800 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10801
2addf922
JB
108022013-07-01 Juanma Barranquero <lekktu@gmail.com>
10803
10804 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10805 (desktop-restore-in-current-display): New customization option.
10806 (desktop--excluded-frame-parameters): Add `font'.
10807 (desktop--save-frames): Rename from desktop--save-windows.
10808 (desktop--restore-in-this-display-p): New function.
10809 (desktop--make-full-frame): Remove unwanted width/height from
10810 full(width|height) frames.
10811 (desktop--restore-frames): Rename from desktop--restore-windows.
10812 Obey desktop-restore-current-display. Do not delete old frames or
10813 select a new frame unless we were able to restore at least one frame.
10814
ef099a94
MN
108152013-06-30 Michal Nazarewicz <mina86@mina86.com>
10816
10817 * files.el (find-file-noselect): Simplify conditional expression.
10818
a12bf61e 10819 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
10820 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10821
10822 Add `remember-notes' function to store random notes across Emacs
10823 restarts.
3fcfc4ee
JB
10824 * textmodes/remember.el (remember-data-file): Add :set callback to
10825 affect notes buffer (if any).
ef099a94
MN
10826 (remember-notes): New command.
10827 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10828 New defcustoms for the `remember-notes' function.
10829 (remember-notes-save-and-bury-buffer): New command.
10830 (remember-notes-mode-map): New variable.
10831 (remember-mode): New minor mode.
10832 (remember-notes--kill-buffer-query): New function.
10833 * startup.el (initial-buffer-choice): Add notes to custom type.
10834
0865d506
EZ
108352013-06-30 Eli Zaretskii <eliz@gnu.org>
10836
0ba54312
EZ
10837 * bindings.el (right-char, left-char): Don't call sit-for, this is
10838 no longer needed. Use arithmetic comparison only for numerical
10839 arguments.
10840
ef099a94
MN
10841 * international/mule-cmds.el (select-safe-coding-system):
10842 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 10843
2fae38e5
LMI
108442013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10845
10846 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10847 progression on degenerate tables.
ef099a94 10848 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 10849
a47cbd64
JB
108502013-06-30 Juanma Barranquero <lekktu@gmail.com>
10851
10852 Some fixes and improvements for desktop frame restoration.
10853 It is still experimental and disabled by default.
10854 * desktop.el (desktop--save-windows): Put the selected frame at
10855 the head of the list.
10856 (desktop--make-full-frame): New function.
10857 (desktop--restore-windows): Try to re-select the frame that was
10858 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
10859 just show an error message and continue. Set up maximized frames
10860 so they have default non-maximized dimensions.
a47cbd64 10861
6dbafa30
DG
108622013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10863
ef099a94
MN
10864 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10865 Don't start heredoc inside a string or comment.
6dbafa30 10866
4c672a0f
EZ
108672013-06-29 Eli Zaretskii <eliz@gnu.org>
10868
10869 * bindings.el (visual-order-cursor-movement): New defcustom.
10870 (right-char, left-char): Provide visual-order cursor motion by
10871 calling move-point-visually. Update the doc strings.
10872
50960f36
KH
108732013-06-28 Kenichi Handa <handa@gnu.org>
10874
10875 * international/mule.el (define-coding-system): New coding system
10876 properties :inhibit-null-byte-detection,
10877 :inhibit-iso-escape-detection, and :prefer-utf-8.
10878 (set-buffer-file-coding-system): If :charset-list property of
10879 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10880 appropriate for setting.
10881
c1ea3abf
JB
10882 * international/mule-cmds.el (select-safe-coding-system):
10883 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10884 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
10885
10886 * international/mule-conf.el (prefer-utf-8): New coding system.
10887 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10888 files.
10889
75dbaf9d
IK
108902013-06-28 Ivan Kanis <ivan@kanis.fr>
10891
eadb6068
IK
10892 * net/shr.el (shr-render-region): New function.
10893
75dbaf9d
IK
10894 * net/eww.el: Autoload `eww-browse-url'.
10895
9ea5cf9f
DG
108962013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10897
c1ea3abf
JB
10898 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10899 Adapt to `package-desc-version' being a list.
10900 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
10901 archive element.
10902
39c0e36f
JB
109032013-06-27 Juanma Barranquero <lekktu@gmail.com>
10904
10905 New experimental feature to save&restore window and frame setup.
10906 * desktop.el (desktop-save-windows): New defcustom.
10907 (desktop--saved-states): New var.
10908 (desktop--excluded-frame-parameters): New defconst.
10909 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10910 (desktop--restore-windows, desktop--save-windows): New functions.
10911 (desktop-save): Call `desktop--save-windows'.
10912 (desktop-read): Call `desktop--restore-windows'.
10913
7f13406b
LMI
109142013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10915
ef099a94 10916 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 10917
1e072639
SB
109182013-06-27 Stephen Berman <stephen.berman@gmx.net>
10919
10920 * info.el (Info-try-follow-nearest-node): Move search for footnote
10921 above search for node name to prevent missing a footnote (bug#14717).
10922
f3e2cbde
SB
109232013-06-27 Stephen Berman <stephen.berman@gmx.net>
10924
10925 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10926
99906aa0
LL
109272013-06-27 Leo Liu <sdl.web@gmail.com>
10928
10929 * net/eww.el (eww-read-bookmarks): Check file size.
10930
539f75f4
SM
109312013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10934 advice--pending if newdef is nil or an autoload (bug#13820).
10935 (advice-mapc): New function.
10936
843571cb
LMI
109372013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10938
10939 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10940 probably.
23a75d7f 10941 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
10942 (eww-add-bookmark): New command.
10943 (eww-bookmark-mode): New mode and commands.
a285ce99 10944 (eww-add-bookmark): Remove newlines from the title.
47fd571b 10945 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 10946
f2136e1e
GM
109472013-06-26 Glenn Morris <rgm@gnu.org>
10948
eab35f39
GM
10949 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10950 (hfy-size): Handle ttys. (Bug#14668)
10951
f2136e1e
GM
10952 * info-xref.el: Update for Texinfo 5 change in *note format.
10953 (info-xref-node-re, info-xref-note-re): New constants.
10954 (info-xref-check-buffer): Use info-xref-note-re.
10955
a49ff80c
SM
109562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10957
a343d218
SM
10958 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10959
a49ff80c
SM
10960 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10961 nil terminate the loop (bug#14718).
10962
8308f184
LMI
109632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10964
10965 * net/eww.el: Rework history traversal. When going forward/back,
10966 put these actions into the history, too, so that they can be
10967 replayed.
26bf2b82 10968 (eww-render): Move the history reset to the correct buffer.
8308f184 10969
ec64c273
JL
109702013-06-25 Juri Linkov <juri@jurta.org>
10971
10972 * files-x.el (modify-dir-local-variable): Change the header comment
10973 in the file with directory local variables. (Bug#14692)
10974
e080a9d7
JL
10975 * files-x.el (read-file-local-variable-value): Add `default'.
10976 (Bug#14710)
10977
bfbc93a1
IK
109782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10979
10980 * net/eww.el (eww-make-unique-file-name): Create a unique file
10981 name before saving to entering `y' accidentally asynchronously.
10982
109832013-06-25 Ivan Kanis <ivan@kanis.fr>
10984
10985 * net/eww.el (eww-download): New command and keystroke.
10986
16f74f10
LMI
109872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10988
a49ff80c 10989 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
10990
10991 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10992 be more consistent with Info and dired.
10993
10994 * net/eww.el (eww-mode-map): Ditto.
10995
12059709
SM
109962013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10999 packages from archives.
11000 (package-archive-contents): Change format; include obsolete packages.
11001 (package-desc): Use `dir' to mark builtin packages.
11002 (package--from-builtin): Set the `dir' field to `builtin'.
11003 (generated-autoload-file, version-control): Declare.
11004 (package-compute-transaction): Change first arg and return value to be
11005 lists of package-descs. Adjust to new package-archive-contents format.
11006 (package--add-to-archive-contents): Adjust to new
11007 package-archive-contents format.
11008 (package-download-transaction): Arg is now a list of package-descs.
11009 (package-install): If `pkg' is a package name, pass it as
11010 a requirement, so it is subject to the usual (e.g. disabled) checks.
11011 (describe-package): Accept package-desc as well.
11012 (describe-package-1): Describe a specific package-desc. Add links to
11013 other package-descs for the same package name.
11014 (package-menu-describe-package): Pass the actual package-desc.
11015 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11016 works correctly.
11017 (package-desc-status): New function.
11018 (package-menu--refresh): New function, extracted
11019 from package-menu--generate.
11020 (package-menu--generate): Use it.
11021 (package-delete): Update package-alist.
11022 (package-menu-execute): Don't call package-initialize.
11023
11024 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11025 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11026 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11027 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11028 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11029 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11030
8bbdea0f
MR
110312013-06-25 Martin Rudalics <rudalics@gmx.at>
11032
11033 * window.el (window--state-get-1): Workaround for bug#14527.
11034 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11035
e82b0991
LMI
110362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11037
11038 * net/eww.el (eww-back-url): Implement the history by stashing all
11039 the data into a list.
d3f0f918 11040 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11041
c763842b
SM
110422013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11045 for values and use read--expression for expressions (bug#14710).
11046 (read-file-local-variable): Avoid setq.
11047 (read-file-local-variable-mode): Use minor-mode-list.
11048
bceff189
RW
110492013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11050
864c58ca 11051 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11052 for DOI URLs.
11053
45f431c6
RW
110542013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11055
864c58ca 11056 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11057 Update imenu-support when dialect changes.
11058
f42d8237
LL
110592013-06-25 Leo Liu <sdl.web@gmail.com>
11060
11061 * ido.el (ido-read-internal): Allow forward slash on windows.
11062
be549ce6
LMI
110632013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11064
11065 * net/eww.el (eww): Start of strings is \\`, not ^.
11066
71d4c19d
IK
110672013-06-24 Ivan Kanis <ivan@kanis.fr>
11068
5196f88a
IK
11069 * net/shr.el (shr-browse-url): Fix interactive spec.
11070
71d4c19d
IK
11071 * net/eww.el (eww): Add a trailing slash to domain names.
11072
ae36ca55
JB
110732013-06-24 Juanma Barranquero <lekktu@gmail.com>
11074
11075 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11076
0ebd92a3
LMI
110772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11078
bdaa086b
LMI
11079 * net/shr.el (shr-browse-url): Use an external browser if given a
11080 prefix.
11081
c763842b 11082 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11083
b89fc156
IK
110842013-06-24 Ivan Kanis <ivan@kanis.fr>
11085
11086 * net/eww.el (eww): Work more correctly for file: URLs.
11087 (eww-detect-charset): Allow quoted charsets.
11088 (eww-yank-page-url): New command and keystroke.
11089
18eb4bca
DU
110902013-06-24 Daiki Ueno <ueno@gnu.org>
11091
11092 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11093 file name of gpg executable.
11094 (epg-context-program): New function.
11095 (epg-context-home-directory): New function.
11096 (epg-context-set-program): New function.
11097 (epg-context-set-home-directory): New function.
11098 (epg--start): Use `epg-context-program' instead of
11099 'epg-gpg-program'.
11100 (epg--list-keys-1): Likewise.
11101
6c6268c8
LL
111022013-06-24 Leo Liu <sdl.web@gmail.com>
11103
11104 * ido.el (ido-read-internal): Fix bug#14620.
11105
5e400cb3
JB
111062013-06-23 Juanma Barranquero <lekktu@gmail.com>
11107
11108 * faces.el (face-documentation): Simplify.
11109 (read-face-attribute, tty-find-type, x-resolve-font-name):
11110 Use `string-match-p'.
11111 (list-faces-display): Use `string-match-p'. Simplify.
11112 (face-spec-recalc): Check face to avoid face alias loops.
11113 (read-color): Use `string-match-p' and non-capturing parenthesis.
11114
f3f9606c
LMI
111152013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11116
11117 * net/shr.el (shr-rescale-image): Use the new
11118 :max-width/:max-height functionality.
11119
a3ca09b9
IK
111202013-06-23 Ivan Kanis <ivan@kanis.fr>
11121
11122 * net/eww.el (eww-search-prefix): New variable.
11123 (eww): Use it.
f865b474
IK
11124 (eww-external-browser): New variable.
11125 (eww-mode-map): New keystroke.
11126 (eww-browse-with-external-browser): New command.
a3ca09b9 11127
e854cfc7
IK
11128 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11129
18bb9e21
JB
111302013-06-23 Juanma Barranquero <lekktu@gmail.com>
11131
11132 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11133 Don't skip aligning the next header field when padding is 0;
11134 otherwise, field width is not respected unless the title is as
11135 wide as the field.
11136
5b165ade
SM
111372013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * emacs-lisp/package.el (package-el-version): Remove.
11140 (package-process-define-package): Fix inf-loop.
11141 (package-install): Allow symbols as arguments again.
11142
12adebe9
DG
111432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11144
11145 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11146 add some more keyword-like methods.
11147 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11148
388573ee
JB
111492013-06-22 Juanma Barranquero <lekktu@gmail.com>
11150
11151 * bs.el (bs-buffer-show-mark): Make defvar-local.
11152 (bs-mode): Use setq-local.
11153
11154 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11155 (emacs-lock--try-unlocking): Make defvar-local.
11156
4582a01c 111572013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11158
2663dd23
GM
11159 * play/cookie1.el (cookie-apropos): Minor simplification.
11160
3d94f3ad
GM
11161 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11162
f72e2fdb
DG
111632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11164
11165 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11166 `regexp-opt', it breaks the build during dumping.
11167
73eab938
DG
111682013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11169
c763842b
SM
11170 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11171 Highlight keyword-like methods on Kernel and Module with
73eab938 11172 font-lock-builtin-face.
5cf8176d
DG
11173 (auto-mode-alist): Consolidate different entries into one regexp
11174 and add more *file-s.
73eab938 11175
d26255f6
SB
111762013-06-21 Stephen Berman <stephen.berman@gmx.net>
11177
11178 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11179
11180 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11181 (diary-entry): Use it in the action of this button type instead of
11182 diary-goto-entry.
11183
11184 * calendar/todo-mode.el: New version.
11185 (todo-add-category): Append new category to end of file and give
11186 it the highest number, instead of putting it at the beginning and
11187 giving it 0. Incorporate noninteractive functionality.
11188 (todo-forward-category): Adapt to 1-based category numbering.
11189 Allow skipping over archived categories.
11190 (todo-backward-category): Derive from todo-forward-category.
11191 (todo-backward-item, todo-forward-item): Make noninteractive and
11192 delegate interactive part to new commands. Make sensitive to done items.
11193 (todo-categories): Make value an alist of category names and
11194 vectors of item counts.
11195 (todo-category-beg): Make a defconst.
11196 (todo-category-number): Use 1 instead of 0 as initial value.
11197 (todo-category-select): Make sensitive to overlays, optional item
11198 highlighting and done items.
11199 (todo-delete-item): Make sensitive to overlays and marked and done items.
11200 (todo-edit-item): Make sensitive to overlays and editing of
11201 date/time header optional. Add format checks.
11202 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11203 no-op if point is not on an item. Advertise using todo-edit-quit.
11204 (todo-edit-mode): Make sensitive to new format, font-locking, and
11205 multiple todo files.
11206 (todo-insert-item, todo-insert-item-here): Derive from
11207 todo-basic-insert-item and extend functionality.
11208 (todo-item-end, todo-item-start): Make sensitive to done items.
11209 (todo-item-string): Don't return text properties. Restore point.
11210 (todo-jump-to-category): Make sensitive to multiple todo files and
11211 todo archives. Use extended category completion.
11212 (todo-lower-item, todo-raise-item): Rename to *-priority and
11213 derive from todo-set-item-priority.
11214 (todo-mode): Derive from special-mode. Make sensitive to new
11215 format, font-locking and multiple todo files. Make read-only.
11216 (todo-mode-map): Don't suppress digit keys, so they can supply
11217 prefix arguments. Add many new key bindings.
11218 (todo-prefix): Insert as an overlay instead of file text.
11219 Change semantics from diary date expression to purely visual mark.
11220 (todo-print): Rename to todo-print-buffer. Make buffer display
11221 features printable. Remove option to restrict number of items
11222 printed. Add option to print to file.
11223 (todo-print-function): Rename to todo-print-buffer-function.
11224 (todo-quit): Extend to handle exiting new todo modes.
11225 (todo-remove-item): Make sensitive to overlays.
11226 (todo-save): Extend to buffers of filtered items.
11227 (todo-show): Make sensitive to done items, multiple todo files and
11228 new todo modes. Offer to convert legacy todo file before creating
11229 first new todo file.
11230 (todo-show-priorities): Rename to todo-top-priorities.
11231 Change semantics of value 0.
11232 (todo-top-priorities): Rename to todo-filter-top-priorities,
11233 derive from todo-filter-items and extend functionality.
11234 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11235 and extend functionality to other types of filtered items.
11236 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11237 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11238 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11239 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11240 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11241 (todo-edit-mode-hook, todo-entry-prefix-function)
11242 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11243 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11244 (todo-initials, todo-insert-threshold, todo-item-string-start)
11245 (todo-line-string, todo-menu, todo-mode-hook)
11246 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11247 (todo-print-priorities, todo-remove-separator)
11248 (todo-save-top-priorities-too, todo-string-count-lines)
11249 (todo-string-multiline-p, todo-time-string-format)
11250 (todo-tmp-buffer-name): Remove.
11251 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11252 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11253 (todo-edit-category-diary-inclusion)
11254 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11255 (todo-edit-file, todo-edit-item-date-day)
11256 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11257 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11258 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11259 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11260 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11261 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11262 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11263 (todo-filter-top-priorities-multifile, todo-find-archive)
11264 (todo-find-filtered-items-file, todo-go-to-source-item)
11265 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11266 (todo-jump-to-archive-category, todo-lower-category)
11267 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11268 (todo-move-category, todo-move-item, todo-next-button)
11269 (todo-next-item, todo-padded-string, todo-powerset)
11270 (todo-previous-button, todo-previous-item)
11271 (todo-print-buffer-to-file, todo-raise-category)
11272 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11273 (todo-set-category-number, todo-set-item-priority)
11274 (todo-set-top-priorities-in-category)
11275 (todo-set-top-priorities-in-file, todo-show-categories-table)
11276 (todo-sort-categories-alphabetically-or-numerically)
11277 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11278 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11279 (todo-toggle-item-header, todo-toggle-item-highlighting)
11280 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11281 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11282 (todo-unarchive-items, todo-unmark-category): New commands.
11283 (todo-absolute-file-name, todo-add-to-buffer-list)
11284 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11285 (todo-basic-insert-item, todo-category-completions)
11286 (todo-category-number, todo-category-string-matcher-1)
11287 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11288 (todo-check-format, todo-clear-matches)
11289 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11290 (todo-current-category, todo-date-string-matcher)
11291 (todo-define-insertion-command, todo-diary-expired-matcher)
11292 (todo-diary-goto-entry, todo-diary-item-p)
11293 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11294 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11295 (todo-done-item-section-p, todo-done-separator)
11296 (todo-done-string-matcher, todo-files, todo-filter-items)
11297 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11298 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11299 (todo-insert-category-line, todo-insert-item-from-calendar)
11300 (todo-insert-sort-button, todo-insert-with-overlays)
11301 (todo-insertion-command-name, todo-insertion-key-bindings)
11302 (todo-label-to-key, todo-longest-category-name-length)
11303 (todo-make-categories-list, todo-mode-external-set)
11304 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11305 (todo-modes-set-3, todo-multiple-filter-files)
11306 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11307 (todo-read-category, todo-read-date, todo-read-dayname)
11308 (todo-read-file-name, todo-read-time)
11309 (todo-reevaluate-category-completions-files-defcustom)
11310 (todo-reevaluate-default-file-defcustom)
11311 (todo-reevaluate-filelist-defcustoms)
11312 (todo-reevaluate-filter-files-defcustom)
11313 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11314 (todo-reset-done-separator, todo-reset-done-separator-string)
11315 (todo-reset-done-string, todo-reset-global-current-todo-file)
11316 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11317 (todo-reset-prefix, todo-set-categories)
11318 (todo-set-date-from-calendar, todo-set-show-current-file)
11319 (todo-set-top-priorities, todo-short-file-name)
11320 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11321 (todo-total-item-counts, todo-update-buffer-list)
11322 (todo-update-categories-display, todo-update-categories-sexp)
11323 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11324 New functions.
11325 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11326 New major modes.
11327 (todo-categories, todo-display, todo-edit, todo-faces)
11328 (todo-filtered): New defgroups.
11329 (todo-archived-only, todo-button, todo-category-string, todo-date)
11330 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11331 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11332 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11333 (todo-add-item-if-new-category, todo-always-add-time-string)
11334 (todo-categories-align, todo-categories-archived-label)
11335 (todo-categories-category-label, todo-categories-diary-label)
11336 (todo-categories-done-label, todo-categories-number-separator)
11337 (todo-categories-todo-label, todo-categories-totals-label)
11338 (todo-category-completions-files, todo-completion-ignore-case)
11339 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11340 (todo-done-separator-string, todo-done-string)
11341 (todo-files-function, todo-filter-done-items, todo-filter-files)
11342 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11343 (todo-initial-category, todo-initial-file, todo-item-mark)
11344 (todo-legacy-date-time-regexp, todo-mode-line-function)
11345 (todo-nondiary-marker, todo-number-prefix)
11346 (todo-print-buffer-function, todo-show-current-file)
11347 (todo-show-done-only, todo-show-first, todo-show-with-done)
11348 (todo-skip-archived-categories, todo-top-priorities-overrides)
11349 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11350 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11351 New defcustoms.
11352 (todo-category-done, todo-date-pattern, todo-date-string-start)
11353 (todo-diary-items-buffer, todo-done-string-start)
11354 (todo-filtered-items-buffer, todo-item-start)
11355 (todo-month-abbrev-array, todo-month-name-array)
11356 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11357 (todo-top-priorities-buffer): New defconsts.
11358 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11359 (todo-categories-with-marks, todo-category-string-face)
11360 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11361 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11362 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11363 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11364 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11365 (todo-font-lock-keywords, todo-global-current-todo-file)
11366 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11367 (todo-insertion-commands-args)
11368 (todo-insertion-commands-args-genlist)
11369 (todo-insertion-commands-names, todo-insertion-map)
11370 (todo-key-bindings-t, todo-key-bindings-t+a)
11371 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11372 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11373 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11374 (todo-visited): New variables.
11375
cad5d1cb
GM
113762013-06-21 Glenn Morris <rgm@gnu.org>
11377
11378 * play/cookie1.el (cookie-apropos): Add optional display argument.
11379 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11380 (psychoanalyze-pinhead): Use cookie-doctor.
11381
9e277302
JB
113822013-06-21 Juanma Barranquero <lekktu@gmail.com>
11383
11384 * emacs-lisp/package.el (tar-get-file-descriptor)
11385 (tar--extract): Declare.
11386
c5b0993e
EW
113872013-06-21 Eduard Wiebe <usenet@pusto.de>
11388
11389 Extend flymake's warning predicate to be a function (bug#14217).
11390 * progmodes/flymake.el (flymake-warning-predicate): New.
11391 (flymake-parse-line): Use it.
11392 (flymake-warning-re): Make obsolete alias to
11393 `flymake-warning-predicate'.
11394
a7d2d465
SM
113952013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11396
11397 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11398 (package-obsolete-list): Remove.
11399 (package-activate): Remove min-version argument. Add `force' argument.
11400 Adjust to new package-alist format.
11401 (package-mark-obsolete): Remove.
11402 (package-unpack): Force reload of the package's autoloads.
11403 (package-installed-p): Check builtins if the installed package is not
11404 recent enough.
11405 (package-initialize): Don't reset package-obsolete-list.
11406 Don't specify which package version to activate.
11407 (package-process-define-package, describe-package-1)
11408 (package-menu--generate): Adjust to new package-alist format.
11409
cedf5c9d
JB
114102013-06-21 Juanma Barranquero <lekktu@gmail.com>
11411
11412 * allout-widgets.el (allout-widgets-mode-off)
11413 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11414 (allout-widgets-post-command-business)
11415 (allout-widgets-after-copy-or-kill-function)
11416 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11417 (allout-decorate-item-and-context)
11418 (allout-graphics-modification-handler): Fix typos in docstrings.
11419 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11420
11421 * cmuscheme.el (scheme-start-file): Doc fix.
11422 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11423 (scheme-input-filter): Use `string-match-p'.
11424
11425 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11426
11427 * dired-x.el: Use Dired consistently in docstrings.
11428
11429 * dired.el: Use Dired consistently in docstrings.
11430 (dired-readin, dired-mode): Use `setq-local'.
11431 (dired-switches-alist): Make defvar-local.
11432 (dired-buffers-for-dir): Use `zerop'.
11433 (dired-safe-switches-p, dired-switches-escape-p)
11434 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11435 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11436 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11437 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11438 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11439 (dired-toggle-marks, dired-mark-files-containing-regexp)
11440 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11441 (dired-flag-auto-save-files, dired-flag-backup-files):
11442 Use `looking-at-p'.
11443 (dired-mark-files-regexp, dired-build-subdir-alist):
11444 Use `string-match-p', `looking-at-p'.
11445
11446 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11447 (direct-print-region-helper): Use `string-match-p'.
11448
aed838b5
LL
114492013-06-21 Leo Liu <sdl.web@gmail.com>
11450
cedf5c9d
JB
11451 * comint.el (comint-redirect-results-list-from-process):
11452 Fix infinite loop.
aed838b5 11453
d80a808f
LMI
114542013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11455
11456 * net/eww.el (eww-update-header-line-format): Quote % characters.
11457
e7a526e3
GM
114582013-06-21 Glenn Morris <rgm@gnu.org>
11459
11460 * play/cookie1.el (cookie): New custom group.
11461 (cookie-file): New option.
11462 (cookie-check-file): New function.
11463 (cookie): Make it interactive. Make start and end messages optional.
11464 Interactively, display the result. Default to cookie-file.
11465 (cookie-insert): Default to cookie-file.
11466 (cookie-snarf): Make start and end messages optional.
11467 Default to cookie-file. Use with-temp-buffer.
11468 (cookie-read): Rename from read-cookie.
11469 Make start and end messages optional. Default to cookie-file.
11470 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11471 Do not autoload it.
e7a526e3
GM
11472 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11473 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11474
62efb35e
LL
114752013-06-21 Leo Liu <sdl.web@gmail.com>
11476
11477 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11478
21e3f963
GM
114792013-06-21 Glenn Morris <rgm@gnu.org>
11480
11481 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11482
fd846ab4
SM
114832013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11484 Daniel Hackney <dan@haxney.org>
11485
11486 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11487 Consolidate the single-file vs tarball code.
11488 (package-desc-suffix): New function.
11489 (package-desc-full-name): Don't bother inlining it.
11490 (package-load-descriptor): Return the new package-desc.
11491 (package-mark-obsolete): Remove unused arg `package'.
11492 (package-unpack): Make it work for single files as well.
11493 Make it update package-alist.
11494 (package--make-autoloads-and-stuff): Rename from
11495 package--make-autoloads-and-compile. Don't compile any more.
11496 (package--compile): New function.
11497 (package-generate-description-file): New function, extracted from
11498 package-unpack-single.
11499 (package-unpack-single): Remove.
11500 (package--with-work-buffer): Add indentation and debugging info.
11501 (package-download-single): Remove.
11502 (package-install-from-archive): Rename from package-download-tar, make
11503 it take a pkg-desc, and make it work for single files as well.
11504 (package-download-transaction): Simplify.
11505 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11506 external tar program.
11507 (package-install-from-buffer): Remove `pkg-desc' argument.
11508 Use package-tar-file-info for tar-mode buffers.
11509 (package-install-file): Simplify accordingly.
11510 (package-archive-base): Change to take a pkg-desc.
11511 * tar-mode.el (tar--check-descriptor): New function, extracted from
11512 tar-get-descriptor.
11513 (tar-get-descriptor): Use it.
11514 (tar-get-file-descriptor): New function.
11515 (tar--extract): New function, extracted from tar-extract.
11516 (tar--extract): Use it.
11517 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11518 case the summary uses non-ascii. Adjust to new calling convention of
11519 package-tar-file-info.
11520
b7deae5e
LL
115212013-06-21 Leo Liu <sdl.web@gmail.com>
11522
fd846ab4
SM
11523 * comint.el (comint-redirect-results-list-from-process):
11524 Fix random delay. (Bug#14681)
b7deae5e 11525
7a65a0b2
JB
115262013-06-21 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * profiler.el (profiler-format-number): Use log, not log10.
11529
1493c2af
JB
115302013-06-20 Juanma Barranquero <lekktu@gmail.com>
11531
11532 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11533
aff6371e
SM
115342013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11537 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11538 yet available.
11539 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11540 (AUTOGENEL): ... here.
11541 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11542 (cl--defsubst-expand): Use it.
11543
89561f72
PE
115442013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11545
11546 * subr.el (log10): Move here from C code, and declare as obsolete.
11547 All uses of (log10 X) replaced with (log X 10).
11548
47199123
JB
115492013-06-20 Juanma Barranquero <lekktu@gmail.com>
11550
11551 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11552 Declare with `defvar-local'.
11553 (tabulated-list-use-header-line, tabulated-list-entries)
11554 (tabulated-list-padding, tabulated-list-printer)
11555 (tabulated-list-sort-key): Declare with `defvar-local'.
11556 (tabulated-list-init-header, tabulated-list-print-fake-header):
11557 Use `setq-local'.
11558
4a172eab
MA
115592013-06-20 Michael Albinus <michael.albinus@gmx.de>
11560
47199123
JB
11561 * arc-mode.el (archive-mode): Add `archive-write-file' to
11562 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11563
5fc0acc0
JB
115642013-06-20 Juanma Barranquero <lekktu@gmail.com>
11565
d5b27848
JB
11566 * cus-edit.el (custom-commands): Fix typos.
11567 (custom-display): Fix tooltip text.
11568 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11569 Fix typos in docstrings.
11570 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11571 (custom-unlispify-menu-entry, custom-magic-value-create)
11572 (custom-add-see-also, custom-group-value-create): Use ?\s.
11573 (custom-guess-type, customize-apropos, editable-field)
11574 (custom-face-value-create): Use `string-match-p'.
11575 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11576
11577 * custom.el (custom-load-symbol): Use `string-match-p'.
11578
a5c581d8
JB
11579 * ansi-color.el: Convert to lexical binding.
11580 (ansi-colors): Fix URL.
11581 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11582 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11583 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11584
970ad972
G
115852013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11586
11587 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11588
11589 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11590
115912013-06-19 Tom Tromey <tromey@redhat.com>
11592
11593 * net/eww.el (eww-top-url): Remove.
11594 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11595 (eww-render): Set new variables. Don't set eww-top-url.
11596 (eww-handle-link): Handle "prev", "home", and "contents".
11597 Downcase the rel text.
11598 (eww-top-url): Choose best top URL.
11599
116002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11601
11602 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11603 relying in widget.el. Using widget.el leads to too many
11604 user interface inconsistencies.
11605 (eww-self-insert): Implement entering commands in text fields.
11606 (eww-process-text-input): New function to make text input field editing
11607 work.
11608 (eww-submit): Rewrite to use the new-style form methods.
11609 (eww-select-display): Display the correct selected item.
11610 (eww-change-select): Implement changing the select value.
11611 (eww-toggle-checkbox): Implement radio/checkboxes.
11612 (eww-update-field): Fix compilation error.
11613 (eww-tag-textarea): Implement <textarea>.
11614
11615 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11616 we don't shadow mode-specific bindings.
11617
11618 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11619 nothing to push.
11620
11621 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11622
4582a01c 116232013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11624
11625 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11626
15b263dc
MA
116272013-06-19 Michael Albinus <michael.albinus@gmx.de>
11628
11629 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11630 not needed.
11631
11632 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11633
8f5297f7
LMI
116342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11635
11636 * net/browse-url.el (browse-url-browser-function):
11637 `eww-browse-url' has the right calling signature, `eww' does not.
11638
011c4552
GM
116392013-06-19 Glenn Morris <rgm@gnu.org>
11640
2285bd27
GM
11641 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11642 Only eval autoloaded macros.
11643 (byte-compile-autoload): Only give the macro warning for macros.
11644
1d653303
GM
11645 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11646 (ps-underlined-faces): Declare.
11647
bdd779ec
GM
11648 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11649 (speedbar-add-supported-extension): Declare.
11650
011c4552
GM
11651 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11652 Don't include a date stamp in the header of the generated file;
11653 it leads to needless differences between output files.
11654
e59dfb0e
MA
116552013-06-19 Michael Albinus <michael.albinus@gmx.de>
11656
c763842b
SM
11657 * net/secrets.el (secrets-struct-secret-content-type):
11658 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11659 Some servers do not offer introspection.
e59dfb0e 11660
102626e2
SM
116612013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * electric.el (electric-pair-mode): Improve interaction with
11664 electric-layout-mode.
11665 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11666 (electric-pair-syntax): Use text-mode-syntax-table in comments
11667 and strings.
11668 (electric-pair--insert): New function.
11669 (electric-pair-post-self-insert-function): Use it and
11670 electric--after-char-pos.
11671
ad528125
LL
116722013-06-19 Leo Liu <sdl.web@gmail.com>
11673
11674 * progmodes/octave.el (octave-help): Fix regexp.
11675
924d6997
G
116762013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11677
11678 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11679 (shr-table-horizontal-line): Allow nil as a value, and change the
11680 default.
11681 (shr-insert-table-ruler): Respect the nil value.
11682
116832013-06-18 Tom Tromey <tromey@barimba>
11684
11685 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11686 New defvars.
11687 (eww-open-file): New defun.
11688 (eww-render): Initialize new variables.
11689 (eww-display-html): Handle "link" and "a".
11690 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11691 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11692 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11693 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11694 New defuns.
924d6997 11695
d1bbba4f
DG
116962013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11697
11698 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11699 Distinguish ternary operator tokens from slash symbol and slash
11700 char literal.
11701
14dd22d2
JB
117022013-06-18 Juanma Barranquero <lekktu@gmail.com>
11703
11704 Convert symbol prettification into minor mode and global minor mode.
11705
11706 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11707 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11708 (prettify-symbols--keywords): Rename from
11709 `prog-prettify-symbols-alist' and make a local defvar.
11710 (prettify-symbols--compose-symbol): Rename from
11711 `prog--prettify-font-lock-compose-symbol'.
11712 (prettify-symbols--make-keywords): Rename from
11713 `prog-prettify-font-lock-symbols-keywords' and simplify.
11714 (prog-prettify-install): Remove.
11715 (prettify-symbols-mode): New minor mode, based on
11716 `prog-prettify-install'.
11717 (turn-on-prettify-symbols-mode): New function.
11718 (global-prettify-symbols-mode): New globalized minor mode.
11719
11720 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11721 * progmodes/cfengine.el (cfengine3-mode):
11722 * progmodes/perl-mode.el (perl-mode): Don't call
11723 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11724
292c880c
JL
117252013-06-18 Juri Linkov <juri@jurta.org>
11726
11727 * files-x.el (modify-file-local-variable-message): New function.
11728 (modify-file-local-variable)
11729 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11730 and call `modify-file-local-variable-message' when it's non-nil.
11731 (add-file-local-variable, delete-file-local-variable)
11732 (add-file-local-variable-prop-line)
11733 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11734 and use it. (Bug#9820)
11735
0950aa27
JL
117362013-06-18 Juri Linkov <juri@jurta.org>
11737
11738 * emulation/vi.el (vi-shell-op):
11739 * emulation/vip.el (vip-execute-com, ex-command):
11740 * emulation/viper-cmd.el (viper-exec-bang):
11741 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11742 the call of `shell-command-on-region'. (Bug#14637)
11743
11744 * simple.el (shell-command-on-region): Doc fix.
11745
8fbcca16
SM
117462013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11749 (bug#14633).
11750
dd7426ea
GM
117512013-06-18 Glenn Morris <rgm@gnu.org>
11752
4ba54f7d
GM
11753 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11754
dd7426ea
GM
11755 * newcomment.el (comment-search-forward, comment-search-backward):
11756 Doc fix. (Bug#14376)
11757
58aa805b
JB
117582013-06-18 Juanma Barranquero <lekktu@gmail.com>
11759
11760 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11761 (buffer-face-mode-invoke): Doc fix.
11762
9a08a617
MM
117632013-06-18 Matthias Meulien <orontee@gmail.com>
11764
11765 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 11766 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 11767
f2f426ca
GM
117682013-06-18 Glenn Morris <rgm@gnu.org>
11769
9445f99b
GM
11770 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11771 Replace obsolete function generic-make-keywords with its expansion.
11772
e0df2d14
GM
11773 * progmodes/python.el (ffap-alist): Declare.
11774
f2f426ca
GM
11775 * textmodes/reftex.el (bibtex-mode-map): Declare.
11776
f7f9a720
SM
117772013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11780 (package-unpack, package-unpack-single): Return the pkg-dir.
11781 (package-download-transaction): Use it to update package-alist.
11782
57ff04e0
LMI
117832013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11784
11785 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11786 possible choice.
11787
c048c022
JL
117882013-06-17 Juri Linkov <juri@jurta.org>
11789
11790 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11791
b5bcaee5
DG
117922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11793
a020afb9
JB
11794 * emacs-lisp/package.el (package-load-descriptor):
11795 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
11796 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11797
551e07e5
JB
117982013-06-17 Juanma Barranquero <lekktu@gmail.com>
11799
11800 * startup.el (command-line): Expand package name returned by
11801 `package--description-file' (bug#14639).
11802
d363bffb
DG
118032013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11804
11805 * emacs-lisp/package.el (package-load-descriptor): Do not call
11806 `emacs-lisp-mode', just use its syntax table.
11807
f612933b
JB
118082013-06-17 Juanma Barranquero <lekktu@gmail.com>
11809
11810 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11811 `font-lock-extra-managed-props' if any prettifying keyword is added.
11812 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11813 (prog-mode): Use `setq-local'.
11814
db3b7db5
SM
118152013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * international/characters.el (standard-case-table): Set syntax of ?»
11818 and ?« to punctuation.
11819
f3d674df
JB
118202013-06-16 Juanma Barranquero <lekktu@gmail.com>
11821
11822 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11823 Save relevant match data before calling `syntax-ppss' (bug#14595).
11824
31489a32
JL
118252013-06-15 Juri Linkov <juri@jurta.org>
11826
11827 * files-x.el (modify-file-local-variable-prop-line): Add local
11828 variables to the end of the existing comment on the first line.
11829 Use `file-auto-mode-skip' to skip interpreter magic line,
11830 and also skip XML declaration.
11831
66bd25ab
SM
118322013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 * startup.el (package--builtin-versions): New var.
11835 (package-subdirectory-regexp): Remove.
11836 (package--description-file): Hard code its value instead.
11837
11838 * emacs-lisp/package.el: Don't activate packages older than builtin.
11839 (package-obsolete-list): Rename from package-obsolete-alist, and make
11840 it into a simple list of package-desc.
11841 (package-strip-version): Remove.
11842 (package-built-in-p): Use package--builtin-versions.
11843 (package-mark-obsolete): Simplify.
11844 (package-process-define-package): Mark it obsolete if older than the
11845 builtin version.
11846 (package-handle-response): Use line-end-position.
11847 (package-read-archive-contents, package--download-one-archive):
11848 Simplify.
11849 (package--add-to-archive-contents): Skip if older than the builtin or
11850 installed version.
11851 (package-menu-describe-package): Fix last change.
11852 (package-list-unversioned): New var.
11853 (package-menu--generate): Use it.
11854
11855 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11856 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11857 (autoload-builtin-package-versions): New variable.
11858 (autoload-generate-file-autoloads): Use them.
11859 Remove the list of autoloaded functions/macros from the
11860 (autoload...) comments.
11861
11862 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11863
9583ec36
EZ
118642013-06-15 Eli Zaretskii <eliz@gnu.org>
11865
11866 * simple.el (line-move-partial): Don't jump to the next screen
11867 line as soon as it becomes visible. Instead, continue enlarging
11868 the vscroll until the portion of a tall screen line that's left on
11869 display is about the height of the frame's default font.
11870 (Bug#14567)
11871
f0100d8a
GM
118722013-06-15 Glenn Morris <rgm@gnu.org>
11873
b86a85ca
GM
11874 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11875 compilation-error-regexp-alist void, or local while let-bound.
11876
f0100d8a
GM
11877 * progmodes/make-mode.el (makefile-mode-syntax-table):
11878 Treat "=" as punctuation. (Bug#14614)
11879
05e7ce90
JB
118802013-06-15 Juanma Barranquero <lekktu@gmail.com>
11881
11882 * help-fns.el (describe-variable):
11883 Add extra line for permanent-local variables.
11884
12e5e86e
SH
118852013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11886
11887 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11888 Add export, import, library. (Bug#9164)
11889 (library): Set indent function.
11890
230dcbaf
GM
118912013-06-14 Glenn Morris <rgm@gnu.org>
11892
11893 * term/xterm.el (xterm--query):
11894 Stop after first matching handler. (Bug#14615)
11895
e36b2d20 118962013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
11897
11898 Add support for dired in saveplace.
11899 * dired.el (dired-initial-position-hook): New variable.
11900 (dired-initial-position): Call hook to place cursor position.
11901 * saveplace.el (save-place-to-alist): Add dired position.
11902 (save-place-dired-hook): New function.
11903
0b31660d
SM
119042013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11905
bf1e6ae8
SM
11906 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11907 through a symbol rather than letrec.
11908
1b8dff23
SM
11909 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11910 (package-desc): Add `dir' field.
11911 (package-desc-full-name): New function.
11912 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11913 (package-maybe-load-descriptor): Remove.
11914 (package-load-all-descriptors): Just call package-load-descriptor.
11915 (package--disabled-p): New function.
11916 (package-desc-vers, package-desc-doc): Remove aliases.
11917 (package--dir): Remove function.
11918 (package-activate): Check if a package is disabled.
11919 (package-process-define-package): New function, extracted from
11920 define-package.
11921 (define-package): Turn into a place holder.
11922 (package-unpack-single, package-tar-file-info):
11923 Use package--description-file.
11924 (package-compute-transaction): Use package--disabled-p.
11925 (package-download-transaction): Don't call
11926 package-maybe-load-descriptor since they're all loaded anyway.
11927 (package-install): Change argument to be a pkg-desc.
11928 (package-delete): Use a single pkg-desc argument.
11929 (describe-package-1): Use package-desc-dir instead of package--dir.
11930 Use package-desc property instead of package-symbol.
11931 (package-install-button-action): Adjust accordingly.
11932 (package--push): Rewrite.
11933 (package-menu--print-info): Adjust accordingly. Change the ID format
11934 to be a pkg-desc.
11935 (package-menu-describe-package, package-menu-get-status)
11936 (package-menu--find-upgrades, package-menu-mark-upgrades)
11937 (package-menu-execute, package-menu--name-predicate):
11938 Adjust accordingly.
11939 * startup.el (package--description-file): New function.
11940 (command-line): Use it.
11941 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11942 Use package-desc-version.
11943
0b31660d
SM
11944 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11945 (byte-compile-preprocess): Use it.
11946 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11947 can't quite recognize.
11948 (byte-compile-add-to-list): Remove.
11949 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11950 (cconv-closure-convert): Add assertion.
11951
11952 * emacs-lisp/map-ynp.el: Use lexical-binding.
11953 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11954 Factor out some repeated code.
11955
de0503df
SM
119562013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * subr.el (with-eval-after-load): New macro.
11959 (eval-after-load): Allow form to be a function.
11960 take advantage of lexical-binding.
11961 (do-after-load-evaluation): Use dolist and adjust to new format.
11962 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11963
bc5c8c5a
JL
119642013-06-13 Juri Linkov <juri@jurta.org>
11965
11966 * replace.el (perform-replace): Display "symbol " and other search
11967 modes from `isearch-message-prefix' in the *Help* buffer.
11968
11969 * isearch.el (isearch-query-replace): Add " symbol" and other
11970 possible search modes from `isearch-message-prefix' to the prompt.
11971 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11972 when reading a regexp to collect.
11973
a22289f7
JL
119742013-06-13 Juri Linkov <juri@jurta.org>
11975
11976 * isearch.el (word-search-regexp): Match whitespace if the search
11977 string begins or ends in whitespace. The LAX arg is applied to
11978 both ends of the search string. Use `regexp-quote' and explicit
11979 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11980 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11981 boundaries are replaced with symbol boundaries, and characters
11982 between symbols match non-word non-symbol syntax. (Bug#14602)
11983
cb89acab
JL
119842013-06-13 Juri Linkov <juri@jurta.org>
11985
11986 * isearch.el (isearch-del-char): Don't exceed the length of
11987 `isearch-string' by the prefix arg. (Bug#14563)
11988
6e8cfc81
JL
119892013-06-13 Juri Linkov <juri@jurta.org>
11990
11991 * isearch.el (isearch-yank-word, isearch-yank-line)
11992 (isearch-char-by-name, isearch-quote-char)
11993 (isearch-printing-char, isearch-process-search-char):
11994 Add optional count prefix arg. (Bug#14563)
11995
11996 * international/isearch-x.el
11997 (isearch-process-search-multibyte-characters):
11998 Add optional count prefix arg.
11999
c23d55f4
VS
120002013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12001
12002 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12003 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12004 lexical-binding.
12005
120062013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12007
12008 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12009
ba947bc4
GM
120102013-06-13 Glenn Morris <rgm@gnu.org>
12011
8baeb37a
GM
12012 * startup.el (tty-handle-args):
12013 Don't just discard "--" and anything after. (Bug#14608)
12014
ba947bc4
GM
12015 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12016
9abefce4
MA
120172013-06-13 Michael Albinus <michael.albinus@gmx.de>
12018
12019 Implement changes in Secret Service API. Make it backward compatible.
12020 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12021 (secrets-create-item): Use it. Prefix properties with interface.
12022
5755011f
MH
120232013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12024
12025 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12026 (term-emulate-terminal): Respect term-suppress-hard-newline.
12027
1261d2da
S
120282013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12029
12030 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12031 Only remove a `thumb-file' overlay. (Bug#14548)
12032
868490bb
GJ
120332013-06-12 Grégoire Jadi <daimrod@gmail.com>
12034
12035 * mail/reporter.el (reporter-submit-bug-report):
12036 Handle missing package-name. (Bug#14600)
12037
79d7167f
TH
120382013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12039
12040 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12041 (reftex-citation-prompt, reftex-default-bibliography)
12042 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12043 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12044 (reftex-bib-sort-author, reftex-bib-sort-year)
12045 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12046 (reftex-extract-bib-entries-from-thebibliography)
12047 (reftex-get-bibkey-default, reftex-get-bib-names)
12048 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12049 (reftex-format-bib-entry, reftex-parse-bibitem)
12050 (reftex-format-bibitem, reftex-do-citation)
12051 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12052 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12053 (reftex-insert-bib-matches, reftex-format-citation)
12054 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12055 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12056 existing comments into docstrings.
12057
5f9dbd7a
XF
120582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12059
12060 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12061
94df41ab
AS
120622013-06-12 Andreas Schwab <schwab@suse.de>
12063
12064 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12065 for auto-save files.
12066
a7f3fecc
GM
120672013-06-12 Glenn Morris <rgm@gnu.org>
12068
001809f6
GM
12069 * ido.el (ido-delete-ignored-files): Remove.
12070 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12071 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12072
834b5ded
EL
120732013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12074
08c73ed2
EL
12075 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12076
834b5ded
EL
12077 * ido.el (ido-delete-ignored-files): New function,
12078 split from ido-make-file-list-1.
12079 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12080 (ido-make-file-list-1): Use ido-delete-ignored-files.
12081
daabf15a
LL
120822013-06-12 Leo Liu <sdl.web@gmail.com>
12083
12084 * progmodes/octave.el (inferior-octave-startup)
12085 (inferior-octave-completion-table)
12086 (inferior-octave-track-window-width-change)
12087 (octave-eldoc-function-signatures, octave-help)
12088 (octave-find-definition): Use single quoted strings.
12089 (inferior-octave-startup-args): Change default value.
12090 (inferior-octave-startup): Do not hard code "-i" and
12091 "--no-line-editing".
12092 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12093 (inferior-octave-directory-tracker): Use it.
12094 (octave-goto-function-definition): Robustify.
12095 (octave-help): Support highlighting operators in 'See also'.
12096 (octave-find-definition): Find subfunctions only in Octave mode.
12097
cf4e5178
SM
120982013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12099
12100 * help-fns.el (help-fns--compiler-macro): If the handler function is
12101 named, then put a link to it.
12102 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12103 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12104 (cl-typep): Use it.
12105 (cl-eval-when): Simplify debug spec.
12106 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12107 compiler-macro function instead of setting `compiler-macro-file'.
12108
99c81280 121092013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12110
12111 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12112 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12113
f56be016
SM
121142013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12115 Daniel Hackney <dan@haxney.org>
12116
12117 First part of Daniel Hackney's patch to package.el.
12118 * emacs-lisp/package.el: Use defstruct.
12119 (package-desc): New, main struct.
12120 (package--bi-desc, package--ac-desc): New structs, used to describe the
12121 format in external files.
12122 (package-desc-vers): Replace with package-desc-version accessor.
12123 (package-desc-doc): Replace with package-desc-summary accessor.
12124 (package-activate-1): Remove `package' arg since the pkg-vec now
12125 includes the name.
12126 (define-package): Use package-desc-from-define.
12127 (package-unpack-single): Change file-name arg to be a symbol.
12128 (package--add-to-archive-contents): Use package-desc-create and new
12129 accessor functions to package--ac-desc.
12130 (package-buffer-info, package-tar-file-info): Return a package-desc.
12131 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12132 arg to be a package-desc.
12133 (package-install-file): Adjust accordingly. Use \' to match EOS.
12134 (package--from-builtin): New function.
12135 (describe-package-1, package-menu--generate): Use it.
12136 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12137 (package-generate-autoloads): Idem and return the name of the file.
12138 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12139 Change pkg-info arg to be a package-desc.
12140 Use package-make-ac-desc.
12141 (package-upload-file): Use \' to match EOS.
12142 * finder.el (finder-compile-keywords): Use package-make-builtin.
12143
31119d63
SM
121442013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12145
931a2762
SM
12146 * vc/vc.el (vc-deduce-fileset): Change error message.
12147 (vc-read-backend): New function.
12148 (vc-next-action): Use it.
12149
5a3eb0c6
SM
12150 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12151
e3eb1bb7
SM
12152 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12153 (prolog-font-lock-keywords): Use regexp-opt instead.
12154 Don't manually highlight strings.
12155 (prolog-mode-variables): Simplify comment-start-skip.
12156 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12157
31119d63
SM
12158 * emacs-lisp/generic.el (generic--normalise-comments)
12159 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12160 (generic-mode-set-comments): Use them.
12161 (generic-bracket-support): Use setq-local.
12162 (generic-make-keywords-list): Declare obsolete.
12163
7de135d0
GM
121642013-06-11 Glenn Morris <rgm@gnu.org>
12165
12166 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12167 Prettify after setting font-lock-defaults. (Bug#14574)
12168
fa6bc6fd
JB
121692013-06-11 Juanma Barranquero <lekktu@gmail.com>
12170
12171 * replace.el (query-replace, occur-read-regexp-defaults-function)
12172 (replace-search):
12173 * subr.el (declare-function, number-sequence, local-set-key)
12174 (substitute-key-definition, locate-user-emacs-file)
12175 (with-silent-modifications, split-string, eval-after-load):
12176 Fix typos, remove unneeded backslashes and reflow some docstrings.
12177
cf1f9b9a
SM
121782013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12179
12180 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12181 default for Elisp files.
12182
56602a4b
GM
121832013-06-11 Glenn Morris <rgm@gnu.org>
12184
12185 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12186 although define-derived-mode was doing this anyway. (Bug#14583)
12187
30ae0b2c
JB
121882013-06-10 Juanma Barranquero <lekktu@gmail.com>
12189
12190 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12191 Fix make-variable-buffer-local call to refer to the correct variable.
12192
fa472906
AG
121932013-06-10 Aidan Gauland <aidalgol@amuri.net>
12194
12195 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12196 (eshell-visual-subcommands, eshell-visual-options):
12197 Add summary line to docstrings. Add cross-references.
fa472906 12198
ff4871b9
GM
121992013-06-10 Glenn Morris <rgm@gnu.org>
12200
12201 * epa.el (epa-read-file-name): New function. (Bug#14510)
12202 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12203
04fcf1b0
AG
122042013-06-09 Aidan Gauland <aidalgol@amuri.net>
12205
12206 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12207 output redirection to be ignored with visual commands.
12208
88b00caa
AG
122092013-06-09 Aidan Gauland <aidalgol@amuri.net>
12210
12211 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12212 (eshell-term-initialize): Move long lambda to separate function
12213 eshell-visual-command-p.
27821a89 12214 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12215 * eshell/em-script.el (eshell-script-initialize):
12216 Add missing #' to lambda.
88b00caa 12217
fda74125
LL
122182013-06-08 Leo Liu <sdl.web@gmail.com>
12219
12220 * progmodes/octave.el (octave-add-log-current-defun): New function.
12221 (octave-mode): Set add-log-current-defun-function.
12222 (octave-goto-function-definition): Do not move point if not found.
12223 (octave-find-definition): Enhance to try subfunctions first.
12224
467f3b33
GM
122252013-06-08 Glenn Morris <rgm@gnu.org>
12226
12227 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12228 (byte-compile-backward-char, byte-compile-backward-word):
12229 Improve previous change, to handle non-explicit nil.
12230
544badc3
SM
122312013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12232
12233 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12234 (smie--opener/closer-at-point): New function.
12235 (smie--matching-block-data): Use it. Don't match from right after an
12236 opener or right before a closer. Obey smie-blink-matching-inners.
12237 Don't signal a mismatch for repeated inners like "switch..case..case".
12238
a175bf33
LL
122392013-06-07 Leo Liu <sdl.web@gmail.com>
12240
12241 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12242 to t. (Bug#14303)
ce8209d4
LL
12243 (octave-function-header-regexp): Fix. (Bug#14570)
12244 (octave-help-mode-finish-hook, octave-help-mode-finish):
12245 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12246
12247 * newcomment.el (comment-search-backward): Revert last change.
12248 (Bug#14434)
12249
12250 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12251
a822acff
EZ
122522013-06-07 Eli Zaretskii <eliz@gnu.org>
12253
12254 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12255 through xargs, to avoid failure due to MS-Windows limitations on
12256 command-line length.
12257
961166f5
GM
122582013-06-06 Glenn Morris <rgm@gnu.org>
12259
d0341459
GM
12260 * font-lock.el (lisp-font-lock-keywords-2):
12261 Treat user-error like error.
12262
961166f5
GM
12263 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12264 (byte-compile-backward-char, byte-compile-backward-word):
12265 Handle explicit nil arguments. (Bug#14565)
12266
80fa505f
AM
122672013-06-05 Alan Mackenzie <acm@muc.de>
12268
12269 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12270 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12271 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12272 (Bug#9706)
80fa505f 12273
fccdc796
SM
122742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * autorevert.el (auto-revert-notify-handler): Use memq.
12277 Hide assertion failure.
12278
12279 * skeleton.el: Use cl-lib.
12280 (skeleton-further-elements): Use defvar-local.
12281 (skeleton-insert): Use cl-progv.
12282
9bfff84b
TZ
122832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12284
12285 * progmodes/prog-mode.el (prog-prettify-symbols)
12286 (prog-prettify-install): Update docstrings.
12287
55577e7c
SM
122882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * simple.el: Move all the prog-mode code to prog-mode.el.
12291 * progmodes/prog-mode.el: New file.
12292 * loadup.el: Add prog-mode.el.
12293
8fc57765
TZ
122942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12295
12296 * simple.el (prog-prettify-symbols): Add version.
12297 (prog-prettify-install): Add convenience function to prettify symbols.
12298
12299 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12300 (perl--augmented-font-lock-keywords-1)
12301 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12302 variables and use it.
12303
12304 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12305 (cfengine3-mode): Remove unneeded variable and use it.
12306
12307 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12308 (lisp--augmented-font-lock-keywords-1)
12309 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12310 Remove unneeded variables and use it.
12311
650645d5 123122013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12313
12314 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12315 to point when opening the connection. (Bug#14380)
28f5da6d 12316
781b4af6
SM
123172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * subr.el (load-history-regexp, load-history-filename-element)
12320 (eval-after-load, after-load-functions, do-after-load-evaluation)
12321 (eval-next-after-load, display-delayed-warnings)
12322 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12323 definition of save-match-data.
12324 (overriding-local-map): Remove accidental obsolescence declaration.
12325
12326 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12327
3ca0d0b4
TZ
123282013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12329
12330 Generalize symbol prettify support to prog-mode and implement it
12331 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12332 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12333 (prog--prettify-font-lock-compose-symbol)
12334 (prog-prettify-font-lock-symbols-keywords): New variables and
12335 functions to support symbol prettification.
12336 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12337 (lisp--augmented-font-lock-keywords-1)
12338 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12339 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12340 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12341 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12342 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12343 * progmodes/perl-mode.el (perl-prettify-symbols)
12344 (perl--font-lock-compose-symbol)
12345 (perl--font-lock-symbols-keywords): Move to prog-mode.
12346 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12347 (perl-font-lock-keywords-1)
12348 (perl-font-lock-keywords-2): Remove explicit prettify support.
12349 (perl--augmented-font-lock-keywords)
12350 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12351 (perl--augmented-font-lock-keywords-2, perl-mode):
12352 Implement prettify support.
3ca0d0b4 12353
976cb066
LL
123542013-06-05 Leo Liu <sdl.web@gmail.com>
12355
27821a89 12356 Re-implement SMIE matching block highlight using
976cb066
LL
12357 show-paren-data-function. (Bug#14395)
12358 * emacs-lisp/smie.el (smie-matching-block-highlight)
12359 (smie--highlight-matching-block-overlay)
12360 (smie--highlight-matching-block-lastpos)
12361 (smie-highlight-matching-block)
12362 (smie-highlight-matching-block-mode): Remove.
12363 (smie--matching-block-data-cache): New variable.
12364 (smie--matching-block-data): New function.
12365 (smie-setup): Use smie--matching-block-data for
12366 show-paren-data-function.
12367
12368 * progmodes/octave.el (octave-mode-menu): Fix.
12369 (octave-find-definition): Skip garbage lines.
12370
208d0342
SM
123712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 Fix compilation error with simultaneous dynamic+lexical scoping.
12374 Add warning when a defvar appears after the first let-binding.
12375 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12376 (byte-compile-close-variables): Initialize it.
12377 (byte-compile--declare-var): New function.
12378 (byte-compile-file-form-defvar)
12379 (byte-compile-file-form-define-abbrev-table)
12380 (byte-compile-file-form-custom-declare-variable): Use it.
12381 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12382 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12383 (byte-compile-bind): Handle dynamic bindings that shadow
12384 lexical bindings.
12385 (byte-compile-unbind): Make arg non-optional.
12386 (byte-compile-let): Simplify.
12387 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12388 (cconv--analyse-function, cconv-analyse-form): Populate it.
12389 Protect byte-compile-bound-variables to limit the scope of defvars.
12390 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12391 Remove unneeded rule for `declare'.
12392
12393 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12394 so as to avoid depending on cl-adjoin at run-time.
12395 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12396
12397 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12398 (macroexp--warn-and-return): Use it.
12399
1ac2891e
GM
124002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12401
a12bf61e 12402 * subr.el: Convert to lexical binding.
1ac2891e
GM
12403 (overriding-local-map): Make obsolete.
12404 (add-to-list): Doc fix. Add compiler macro.
12405 (read-key): Swap values of local maps.
12406
2587b005
LL
124072013-06-05 Leo Liu <sdl.web@gmail.com>
12408
12409 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12410
f1da3c88
LL
124112013-06-04 Leo Liu <sdl.web@gmail.com>
12412
12413 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12414 (compilation-auto-jump): Suppress the "Mark set" message to give
12415 way to exit message.
12416
3caa391f
AM
124172013-06-04 Alan Mackenzie <acm@muc.de>
12418
12419 Remove faulty optimisation from indentation calculation.
12420 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12421 search limit based on 2000 characters back from indent-point.
12422
068922a2
TH
124232013-06-03 Tassilo Horn <tsdh@gnu.org>
12424
12425 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12426
1f8fdd53
SM
124272013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12428
bbcc4d97
SM
12429 * emacs-lisp/lisp.el: Use lexical-binding.
12430 (lisp--local-variables-1, lisp--local-variables): New functions.
12431 (lisp--local-variables-completion-table): New var.
208d0342 12432 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12433
1f8fdd53
SM
12434 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12435 eagerly (bug#14422).
12436
c9628c79
MA
124372013-06-03 Michael Albinus <michael.albinus@gmx.de>
12438
12439 * autorevert.el (auto-revert-notify-enabled)
12440 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12441 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12442 (auto-revert-notify-handler): Handle also gfilenotify.
12443
e7b41c4c 12444 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12445 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12446 Remove.
c9628c79 12447
e5e4a942
JL
124482013-06-03 Juri Linkov <juri@jurta.org>
12449
12450 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12451 `M-s h .'. (Bug#14427)
12452
12453 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12454 command `hi-lock-face-symbol-at-point'.
12455 (hi-lock-face-symbol-at-point): New command.
12456 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12457 (hi-lock-menu): Add `highlight-symbol-at-point'.
12458 (hi-lock-mode): Doc fix.
12459
12460 * isearch.el (isearch-forward-symbol-at-point): New command.
12461 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12462 (isearch-highlight-regexp): Add a regexp which matches
12463 words/symbols for word/symbol mode.
12464
12465 * subr.el (find-tag-default-bounds): New function with the body
12466 mostly moved from `find-tag-default'.
12467 (find-tag-default): Move most code to `find-tag-default-bounds',
12468 call it and apply `buffer-substring-no-properties' afterwards.
12469
26b3353a
TH
124702013-06-03 Tassilo Horn <tsdh@gnu.org>
12471
781b4af6
SM
12472 * eshell/em-term.el (eshell-term-initialize):
12473 Use `cl-intersection' rather than `intersection'.
26b3353a 12474
51b60f53
XF
124752013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12476
fe054b63 12477 * vc/log-view.el: Doc fix.
d3ffe17c 12478 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12479
a0eb10b3 124802013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12481
12482 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12483 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12484 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12485 (eieio-unbound, eieio-default-superclass)
12486 (eieio--define-field-accessors, method-static, method-before)
12487 (method-primary, method-after, method-num-lists)
12488 (method-generic-before, method-generic-primary)
12489 (method-generic-after, method-num-slots)
12490 (eieio-specialized-key-to-generic-key)
12491 (eieio--check-type, class-v, class-p)
12492 (eieio-class-name, define-obsolete-function-alias)
12493 (eieio-class-parents-fast, eieio-class-children-fast)
12494 (same-class-fast-p, class-constructor, generic-p)
12495 (generic-primary-only-p, generic-primary-only-one-p)
12496 (class-option-assoc, class-option, eieio-object-p)
12497 (class-abstract-p, class-method-invocation-order)
12498 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12499 (eieio-class-un-autoload, eieio-defclass)
12500 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12501 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12502 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12503 (eieio-defgeneric-reset-generic-form)
12504 (eieio-defgeneric-form-primary-only)
12505 (eieio-defgeneric-reset-generic-form-primary-only)
12506 (eieio-defgeneric-form-primary-only-one)
12507 (eieio-defgeneric-reset-generic-form-primary-only-one)
12508 (eieio-unbind-method-implementations)
12509 (eieio--defmethod, eieio--typep)
12510 (eieio-perform-slot-validation, eieio-validate-slot-value)
12511 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12512 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12513 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12514 (eieio-slot-name-index, eieio-class-slot-name-index)
12515 (eieio-set-defaults, eieio-initarg-to-attribute)
12516 (eieio-attribute-to-initarg, eieio-c3-candidate)
12517 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12518 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12519 (eieio-class-precedence-list, eieio-generic-call-methodname)
12520 (eieio-generic-call-arglst, eieio-generic-call-key)
12521 (eieio-generic-call-next-method-list)
12522 (eieio-pre-method-execution-functions, eieio-generic-call)
12523 (eieio-generic-call-primary-only, eieiomt-method-list)
12524 (eieiomt-optimizing-obarray, eieiomt-install)
12525 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12526 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12527 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12528 (defclass): Remove `eval-and-compile' from macro.
12529 (call-next-method, shared-initialize): Instead of using
12530 `scoped-class' variable, use new eieio--scoped-class, and
12531 eieio--with-scoped-class.
12532 (initialize-instance): Rename local variable 'scoped-class' to
12533 'this-class' to remove ambiguitity from old global.
12534
12535 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12536 eieio.el.
4f405069
JB
12537 (eieio--scoped-class-stack): New variable.
12538 (eieio--scoped-class): New fcn.
890f7890
DE
12539 (eieio--with-scoped-class): New scoping macro.
12540 (eieio-defclass): Use pushnew instead of add-to-list.
12541 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12542 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12543 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12544 `scoped-class' variable, use new eieio--scoped-class, and
12545 eieio--with-scoped-class.
12546
12547 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12548
d105b0e2
TH
125492013-06-02 Tassilo Horn <tsdh@gnu.org>
12550
12551 * eshell/esh-ext.el (eshell-external-command): Pass args to
12552 `eshell-find-interpreter'.
12553 (eshell-find-interpreter): Add new second parameter ARGS.
12554
12555 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12556 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12557
12558 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12559 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12560
12561 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12562 (eshell-visual-options): New defcustom.
12563 (eshell-escape-control-x): Adapt docstring.
12564 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12565 `eshell-visual-options' in addition to `eshell-visual-commands'.
12566 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12567
f46305c8 125682013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12569
12570 * progmodes/python.el (python-indent-block-enders): Add break,
12571 continue and raise keywords.
12572
d870df21
GM
125732013-06-01 Glenn Morris <rgm@gnu.org>
12574
9133b82e
GM
12575 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12576
02c992ec 12577 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12578 * progmodes/cc-cmds.el (delete-forward-p):
12579 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12580 * progmodes/cc-engine.el (buffer-syntactic-context):
12581 * progmodes/cc-fonts.el (face-property-instance):
12582 * progmodes/cc-mode.el (set-keymap-parents):
12583 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12584 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12585 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12586 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12587 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12588
31e7b090
GM
12589 * progmodes/cc-vars.el (other): Emacs has this widget since
12590 at least 21.1, so don't (re)define it.
12591
d870df21
GM
12592 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12593 Replace the obsolete alias pcomplete-arg-quote-list.
12594
c75c93c7
LL
125952013-06-01 Leo Liu <sdl.web@gmail.com>
12596
12597 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12598 punctuation syntax.
12599 (inferior-octave-minimal-columns)
12600 (inferior-octave-last-column-width): New variables.
12601 (inferior-octave-track-window-width-change): New function.
12602 (inferior-octave-mode): Adjust column width so that Octave output,
12603 for example from 'ls', can fit into the window nicely.
12604
973d1e12
DG
126052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12606
12607 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12608 Highlight expansions inside regexp literals.
12609
0888c286
GM
126102013-05-31 Glenn Morris <rgm@gnu.org>
12611
e26aac1f
GM
12612 * obsolete/sym-comp.el (symbol-complete):
12613 Replace obsolete completion-annotate-function.
12614
0888c286
GM
12615 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12616
19bb8e62
DG
126172013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12618
781b4af6
SM
12619 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12620 New function, checks if point is inside a literal that allows
19bb8e62
DG
12621 expression expansion.
12622 (ruby-syntax-propertize-expansion): Use it.
12623 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12624 around the body.
12625
01dea85f
JL
126262013-05-30 Juri Linkov <juri@jurta.org>
12627
12628 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12629 to "\M-si".
12630 (isearch-invisible): New variable.
12631 (isearch-forward): Doc fix.
12632 (isearch-mode): Set `isearch-invisible'
12633 to the value of `search-invisible'.
12634 (isearch-toggle-case-fold): Doc fix.
12635 (isearch-toggle-invisible): New command.
12636 (isearch-query-replace): Let-bind `search-invisible'
12637 to the value of `isearch-invisible'.
12638 (isearch-search): Use `isearch-invisible' instead of
12639 `search-invisible'. Let-bind `search-invisible'
12640 to the value of `isearch-invisible'. (Bug#11378)
12641
ab1bdce5
JL
126422013-05-30 Juri Linkov <juri@jurta.org>
12643
12644 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12645 call when `query-flag' is nil and `search-invisible' is non-nil.
12646 (Bug#11746)
12647
d6d236e2
GM
126482013-05-30 Glenn Morris <rgm@gnu.org>
12649
8accd027
GM
12650 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12651
2a8bed1c
GM
12652 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12653 (cc-require): Suppress spurious "noruntime" warnings.
12654 (cc-require-when-compile): Use fboundp, for sake of compiler.
12655
d6d236e2
GM
12656 * progmodes/cc-mode.el: Move load of cc-vars before that of
12657 cc-langs (which in turn loads cc-vars), to quieten compiler.
12658
9190b35b
SM
126592013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12660
12661 * paren.el: Simplify the code.
12662 (show-paren-mode): Always start the timer.
12663 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12664 (show-paren--overlay, show-paren--overlay-1): Rename from
12665 show-paren-overlay and show-paren-overlay-1, and initialize to an
12666 overlay rather than to nil.
12667 (show-paren-function): Misc cleanup and simplifications.
12668
4f8d1cf6
SM
126692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * paren.el (show-paren-data-function): New hook.
12672 (show-paren--default): New function, extracted from show-paren-function.
12673 (show-paren-function): Use show-paren-data-function.
12674
02d844b5
GM
126752013-05-30 Glenn Morris <rgm@gnu.org>
12676
d209d4a9
GM
12677 * ielm.el (ielm-map, ielm-complete-symbol):
12678 Use completion-at-point rather than obsolete functions.
12679 (inferior-emacs-lisp-mode): Doc fix.
12680 Set completion-at-point-functions, rather than
12681 comint-dynamic-complete-functions.
12682
2082faa6
GM
12683 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12684 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12685 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12686
dd8620de
GM
12687 * image.el (image-animated-p): Tweak definition.
12688
ceca95b1
GM
12689 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12690 (rlogin-process-connection-type): Tweak default. Add set-after.
12691 (rlogin-host): Doc fix.
12692 (rlogin): Tweak prompt.
12693 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12694
ee9f1acc
GM
12695 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12696 * progmodes/tcl.el (inferior-tcl-mode-map):
12697 Use completion-at-point rather than obsolete alias.
12698
45ce222e
GM
12699 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12700
02d844b5
GM
12701 * minibuffer.el (read-file-name-completion-ignore-case):
12702 Move before completion--in-region, for eager macro expansion.
12703
ac44d6c1
JL
127042013-05-29 Juri Linkov <juri@jurta.org>
12705
12706 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12707 for total count of matching lines. Add `global-matches' for total
12708 count of matches. Rename `matches' to `lines' for count of
12709 matching lines. Add `matches' for count of matches.
12710 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12711 to `prev-line' for line number of prev match endpt.
12712 Increment `matches' for every match. Print the number of
12713 matching lines in the header.
12714 (occur-context-lines): Rename `lines' to `curr-line'.
12715 Rename `prev-lines' to `prev-line'. (Bug#14017)
12716
3c9c9d38
JL
127172013-05-29 Juri Linkov <juri@jurta.org>
12718
12719 * replace.el (perform-replace): Add `skip-read-only-count',
12720 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12721 Increment them for corresponding conditions and report the number
12722 of skipped occurrences in the final message. (Bug#11746)
12723 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12724 (replace-string, replace-regexp): Doc fix.
12725
33e249a2
SM
127262013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12727
8e399682
SM
12728 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12729
33e249a2 12730 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 12731 prog-mode-map (bug#14504).
33e249a2 12732
f236dd84
LL
127332013-05-29 Leo Liu <sdl.web@gmail.com>
12734
12735 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12736 (octave-help): Small simplification.
12737
12738 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12739 off the highlight first.
12740
3694d13f
GM
127412013-05-29 Glenn Morris <rgm@gnu.org>
12742
03983bdc
GM
12743 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12744 Handle idlwave-last-system-routine-info-cons-cell being nil.
12745
bc74a74a
GM
12746 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12747 (idlwave-write-paths): Simplify via with-temp-buffer.
12748
8b394200
GM
12749 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12750 * emulation/cua-rect.el: Also load cua-base at run time.
12751
3694d13f
GM
12752 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12753 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12754 (cperl-imenu-on-info): Require imenu.
12755
336d7284
AM
127562013-05-28 Alan Mackenzie <acm@muc.de>
12757
12758 Handle "capitalised keywords" correctly.
33e249a2 12759 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 12760
cb29c582
AG
127612013-05-28 Aidan Gauland <aidalgol@amuri.net>
12762
781b4af6 12763 * eshell/em-unix.el: Add -r option to cp.
cb29c582 12764
690e44b2
GM
127652013-05-28 Glenn Morris <rgm@gnu.org>
12766
e658d75c
GM
12767 * vc/vc-arch.el (vc-exec-after): Declare.
12768 (vc-switches): Autoload.
12769 * vc/vc-bzr.el: No need to require vc when compiling.
12770 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12771 (vc-resynch-buffer, vc-dir-refresh): Declare.
12772 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
12773 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12774 (vc-resynch-buffer): Declare.
12775 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 12776 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
12777 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12778 (grep-read-regexp, grep-read-files, grep-expand-template)
12779 (vc-dir-refresh): Declare.
12780 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12781 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12782 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
12783 * vc/vc-mtn.el (vc-exec-after): Declare.
12784 (vc-switches): Autoload.
12785 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12786 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12787 (vc-file-tree-walk): Declare.
712b9732
GM
12788 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12789 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12790 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
12791 * vc/vc-svn.el (vc-exec-after): Declare.
12792 (vc-switches, vc-setup-buffer): Autoload.
12793 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12794 Autoload.
12795 (vc-resynch-buffer): Declare.
12796
98e87fb3
GM
12797 * obsolete/fast-lock.el (byte-compile-warnings):
12798 Don't warn about obsolete features in this obsolete file.
12799
f5379553
GM
12800 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12801 Move definition before use.
12802
7a20ef83
GM
12803 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12804 (dun-unix-verbs): Remove dun-zippy.
12805 (dun-zippy): Remove function.
12806
690e44b2
GM
12807 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12808
3a52ccf7
JL
128092013-05-27 Juri Linkov <juri@jurta.org>
12810
12811 * replace.el (replace-search): New function with code moved out
12812 from `perform-replace'.
12813 (replace-highlight, replace-dehighlight): Move function definitions
12814 up closer to `replace-search'. (Bug#11746)
12815
d289938a
JL
128162013-05-27 Juri Linkov <juri@jurta.org>
12817
12818 * replace.el (perform-replace): Ignore invisible matches.
12819 In addition to checking `query-replace-skip-read-only', also
12820 filter out matches by calling `run-hook-with-args-until-failure'
12821 on `isearch-filter-predicates', and also check `search-invisible'
12822 for t or call `isearch-range-invisible'.
12823 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12824
66fc57e3
JL
128252013-05-27 Juri Linkov <juri@jurta.org>
12826
12827 * isearch.el (isearch-filter-predicates): Rename from
12828 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12829 (isearch-message-prefix): Display text from the property
12830 `isearch-message-prefix' of the currently active filters.
12831 (isearch-search): Don't compare `isearch-filter-predicate' with
12832 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12833 on `isearch-filter-predicates'. Also check `search-invisible' for t
12834 or call `isearch-range-invisible'.
12835 (isearch-filter-visible): Make obsolete.
12836 (isearch-lazy-highlight-search):
12837 Call `run-hook-with-args-until-failure' on
12838 `isearch-filter-predicates' and use `isearch-range-invisible'.
12839
12840 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12841 `isearch-filter-predicates' instead of `funcall'ing
12842 `isearch-filter-predicate'.
12843 (Info-mode): Set `Info-isearch-filter' to
12844 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12845
12846 * dired-aux.el (dired-isearch-filter-predicate-orig):
12847 Remove variable.
12848 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12849 (dired-isearch-filenames-end): Add and remove
12850 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12851 instead of changing the value of `isearch-filter-predicate'.
12852 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12853 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12854 Put property `isearch-message-prefix' to "filename " on
12855 `dired-isearch-filter-filenames'.
12856
12857 * wdired.el (wdired-change-to-wdired-mode):
12858 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12859 locally instead of changing `isearch-filter-predicate'.
12860 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12861
f1a60a0f
DG
128622013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12863
12864 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12865 return the commit hash (Bug#14459). Also set the
12866 `vc-git-detached' property.
12867 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12868 (vc-git-mode-line-string): Use the same help-echo format whether
12869 in detached mode or not, because we know the actual revision now.
12870 When in detached mode, shorten the revision to 7 chars.
12871
7f17cc40
SM
128722013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * emacs-lisp/easy-mmode.el (define-minor-mode):
12875 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12876 mode hook and provide a docstring.
12877
25c8401c
AM
128782013-05-27 Alan Mackenzie <acm@muc.de>
12879
12880 Remove spurious syntax-table text properties inserted by C-y.
12881 * progmodes/cc-mode.el (c-after-change): Also clear hard
12882 syntax-table property with value nil.
12883
dde84790
MA
128842013-05-27 Michael Albinus <michael.albinus@gmx.de>
12885
12886 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12887 when reading the events; the buffer layout shall not be changed.
12888
837fd9af
LL
128892013-05-27 Leo Liu <sdl.web@gmail.com>
12890
12891 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12892 New variable.
12893 (inferior-octave-directory-tracker): Automatically re-sync
12894 default-directory.
12895 (octave-help): Improve handling of 'See also'.
12896
4fd996b3
SM
128972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12898
416f1802
SM
12899 * doc-view.el: Minor naming convention tweaks.
12900 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12901
4fd996b3
SM
12902 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12903 even if there's no `display' property yet (bug#14435).
12904
a052ef3b
EZ
129052013-05-25 Eli Zaretskii <eliz@gnu.org>
12906
4fd996b3 12907 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
12908
12909 * Makefile.in (custom-deps, finder-data, autoloads)
12910 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12911 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12912 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12913
c9023370
SM
129142013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12917 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 12918 Don't burp at EOB.
c9023370 12919
24d699fa
LL
129202013-05-25 Leo Liu <sdl.web@gmail.com>
12921
12922 * comint.el (comint-previous-matching-input): Do not flood the
12923 *Messages* buffer with trivial messages.
12924
17e5c0cc
SM
129252013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * progmodes/flymake.el (flymake-nop): Don't return a string.
12928 (flymake-set-at): Fix typo.
12929
12930 * simple.el (read--expression): New function, extracted from
12931 eval-expression. Set completion-at-point-functions (bug#14465).
12932 (eval-expression, eval-minibuffer): Use it.
12933
5d028165
XF
129342013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12935
12936 * progmodes/flymake.el (flymake-save-buffer-in-file)
12937 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12938 (flymake-selected-frame, flymake-log, flymake-ins-after)
12939 (flymake-set-at, flymake-get-buildfile-from-cache)
12940 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12941 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12942 Refine the doc string.
12943 (flymake-get-file-name-mode-and-masks): Reformat.
12944 (flymake-get-real-file-name-function): Fix a minor bug.
12945
7a1d7ba7
JL
129462013-05-24 Juri Linkov <juri@jurta.org>
12947
12948 * progmodes/grep.el (grep-mode-font-lock-keywords):
12949 Support =linenumber= format used by git-grep for lines with
12950 function names. (Bug#13549)
12951
650cff3d
SM
129522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12953
12954 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12955 0 after a semi-colon; it works better for smie-auto-fill.
12956 (octave--indent-new-comment-line): New function.
12957 (octave-indent-new-comment-line): Use it (indirectly).
12958 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12959 modify comment-line-break-function.
12960
12961 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12962 (smie-setup): Use add-function to set it.
12963
9631677d
SS
129642013-05-24 Sam Steingold <sds@gnu.org>
12965
12966 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12967 argument (before the `interactive' argument).
12968
50105835
SM
129692013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * image-mode.el (image-mode-winprops): Add winprops to
12972 image-mode-winprops-alist before running
12973 image-mode-new-window-functions.
12974 * doc-view.el (doc-view-new-window-function): Don't delay
12975 doc-view-goto-page via timers (bug#14435).
12976
57b9823e
TH
129772013-05-24 Tassilo Horn <tsdh@gnu.org>
12978
12979 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12980 (doc-view-desktop-save-buffer): New function.
12981 (doc-view-restore-desktop-buffer): New function.
50105835
SM
12982 (desktop-buffer-mode-handlers):
12983 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
12984 handler.
12985 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12986 `desktop-save-buffer' function.
12987
91aafa16
MA
129882013-05-24 Michael Albinus <michael.albinus@gmx.de>
12989
12990 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12991 (tramp-gvfs-file-name-handler): Raise a user error when
12992 `tramp-gvfs-enabled' is nil.
12993 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12994 Do not raise a user error when loading package. (Bug#14447)
12995
ec076379
MA
12996 * net/xesam.el: Move to obsolete/.
12997
db785726
GM
129982013-05-24 Glenn Morris <rgm@gnu.org>
12999
af5c7606
GM
13000 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13001
e5d1916a
GM
13002 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13003
ded62b08
GM
13004 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13005 (Info-find-node, Man-getpage-in-background): Declare.
13006
9e614a3f
GM
13007 * mail/unrmail.el (unrmail):
13008 Replace obsolete detect-coding-with-priority.
13009
892f8ca3
GM
13010 * net/socks.el (socks-split-string): Use this rather than split-string.
13011 (socks-nslookup-host): Update for above change.
13012 (dynamic-choice, s5-dynamic-choice-match)
13013 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13014 Comment out unused code.
13015
3c291973
GM
13016 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13017 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13018 (gud-tooltip-echo-area): Make obsolete.
13019 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13020
43cc956b
GM
13021 * progmodes/js.el (js--optimize-arglist): Declare.
13022
dab49a3b
GM
13023 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13024
36b9d085
GM
13025 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13026 (ediff-window-C): Declare.
13027
e354ae76
GM
13028 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13029 Tweak requires to silence compiler.
13030
b8e57bf4
GM
13031 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13032 (he-search-string, he-tried-table, he-expand-list)
13033 (he-init-string, he-string-member, he-substitute-string)
13034 (he-reset-string): Declare.
13035
db785726
GM
13036 * obsolete/options.el (list-options): Use custom-variable-p,
13037 rather than obsolete alias.
13038
b3531901
SS
130392013-05-23 Sam Steingold <sds@gnu.org>
13040
13041 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13042 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13043 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13044
bdda4c66
SM
130452013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * emacs-lisp/smie.el (smie-indent-forward-token)
13048 (smie-indent-backward-token): Handle string tokens (bug#14381).
13049
c43d45f9
TH
130502013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13051
fe1eb856
RS
13052 * ielm.el (ielm-menu): New menu.
13053 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13054
fe1eb856
RS
130552013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13056
a12bf61e 13057 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13058 Fix deactivate action.
13059
a12bf61e 13060 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13061 Add cleveref macros.
074dd971 13062
9b017563
JB
13063 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13064 Accept options for bibliography commands.
a12bf61e 13065 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13066 Add addbibresource. Basic Biblatex support.
13067
7764286e
MA
130682013-05-23 Michael Albinus <michael.albinus@gmx.de>
13069
13070 * net/tramp-gvfs.el (top):
13071 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13072 when loading package. (Bug#14447)
13073
d361bc10
GM
130742013-05-23 Glenn Morris <rgm@gnu.org>
13075
8fa23984
GM
13076 * progmodes/js.el: No need to load comint when compiling.
13077 (ring-insert, comint-send-string, comint-send-input)
13078 (comint-last-input-end, ido-chop): Declare.
13079
a5c7df1a
GM
13080 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13081 * vc/ediff-mult.el: Adjust requires.
13082 (ediff-directories-internal, ediff-directory-revisions-internal)
13083 (ediff-patch-file-internal): Declare.
13084 * vc/ediff-ptch.el: Adjust requires.
13085 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13086 (ediff-find-file): Autoload.
13087 * vc/ediff-util.el: No need to load ediff when compiling.
13088 (ediff-regions-internal): Declare.
13089 * vc/ediff-wind.el: Adjust requires.
13090 (ediff-compute-toolbar-width): Define when compiling.
13091 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13092 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13093 (dired-get-filename, dired-get-marked-files)
13094 (ediff-last-dir-patch, ediff-patch-default-directory)
13095 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13096 (ediff-patch-buffer-internal): Declare.
13097
e2aec513
GM
13098 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13099 (ispell-process, ispell-buffer-local-words, lm-summary)
13100 (lm-section-start, lm-section-end): Declare.
13101 (checkdoc-ispell-init): Simplify.
13102
e68bbd7c
GM
13103 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13104 (he-string-member, he-reset-string, he-substitute-string): Declare.
13105
7efe0991
GM
13106 * eshell/em-ls.el: Adjust requires.
13107 (eshell-glob-regexp): Declare.
f87b1284
GM
13108 * eshell/em-tramp.el: Adjust requires.
13109 (eshell-parse-command): Autoload.
13110 * eshell/em-xtra.el: Adjust requires.
13111 (eshell-parse-command): Autoload.
13112 * eshell/esh-ext.el: Adjust requires.
13113 (eshell-parse-command, eshell-close-handles): Autoload.
13114 * eshell/esh-io.el: Adjust requires.
13115 (eshell-output-filter): Autoload.
13116 * eshell/esh-util.el: No need to load tramp when compiling.
13117 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13118 Declare.
13119 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13120 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13121 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13122 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13123 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13124 * eshell/esh-opt.el, eshell/esh-proc.el:
13125 * eshell/esh-var.el: Adjust requires.
13126 * eshell/eshell.el: Do not require esh-util twice.
13127 (eshell-add-input-to-history): Declare.
13128 (eshell-command): Check history module is active before using it.
13129
d361bc10
GM
13130 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13131
85d090a9
LL
131322013-05-22 Leo Liu <sdl.web@gmail.com>
13133
13134 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13135
5d0acd9d
MA
131362013-05-22 Michael Albinus <michael.albinus@gmx.de>
13137
13138 * autorevert.el (auto-revert-notify-add-watch)
13139 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13140 it indicates changes in file modification time.
13141
0cdffd7d
GM
131422013-05-22 Glenn Morris <rgm@gnu.org>
13143
ca5995ec
GM
13144 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13145 Always delete the autoloaded function from the noruntime and
13146 unresolved functions lists.
13147
6450907e
GM
13148 * allout.el: No need to load epa, epg, overlay when compiling.
13149 (epg-context-set-passphrase-callback, epg-list-keys)
13150 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13151 (epg-key-user-id-list): Declare.
13152
9c6906f6
GM
13153 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13154 (viper-set-parsing-style-toggling-macro)
13155 (viper-set-emacs-state-searchstyle-macros):
13156 Use called-interactively-p on Emacs.
13157 (viper-looking-back): Make it an obsolete alias. Update callers.
13158 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13159 Use looking-back rather than viper-looking-back.
13160 (viper-tmp-insert-at-eob, viper-enlarge-region)
13161 (viper-read-string-with-history, viper-register-to-point)
13162 (viper-append-to-register, viper-change-state-to-vi)
13163 (viper-backward-char-carefully, viper-forward-char-carefully)
13164 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13165 (viper-change-state-to-emacs): Declare.
13166 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13167 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13168 * emulation/viper-mous.el: Do not load viper-cmd.
13169 (viper-backward-char-carefully, viper-forward-char-carefully)
13170 (viper-forward-word, viper-adjust-window): Declare.
13171
5f70c169
GM
13172 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13173
b1b7f300
GM
13174 * progmodes/idlw-help.el (idlwave-help-fontify):
13175 Use called-interactively-p.
13176
f6ebbb46
GM
13177 * term/w32console.el (w32-get-console-codepage)
13178 (w32-get-console-output-codepage): Declare.
13179
0cdffd7d
GM
13180 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13181 Remove unnecessary declarations.
13182 (dframe-message): Doc fix.
13183
13184 * info.el (dframe-select-attached-frame, dframe-current-frame):
13185 Declare.
13186
13187 * speedbar.el (speedbar-message): Make it an obsolete alias.
13188 Update all callers.
13189 (speedbar-with-attached-buffer)
13190 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13191 (speedbar-with-writable): Use backquote.
13192 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13193 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13194 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13195 rather than speedbar- aliases.
13196 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13197 (speedbar-make-specialized-keymap, speedbar-insert-button)
13198 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13199 (speedbar-do-function-pointer): Declare.
13200 (rmail-speedbar-button, rmail-speedbar-find-file)
13201 (rmail-speedbar-move-message):
13202 Use dframe-with-attached-buffer rather than speedbar- alias.
13203 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13204 (dframe-message, speedbar-make-specialized-keymap)
13205 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13206 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13207 (speedbar-insert-button, dframe-select-attached-frame)
13208 (dframe-maybee-jump-to-attached-frame)
13209 (speedbar-change-initial-expansion-list)
13210 (speedbar-previously-used-expansion-list-name): Declare.
13211 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13212 Use dframe-message, dframe-with-attached-buffer rather than
13213 speedbar- aliases.
13214 (gud-sentinel): Silence compiler.
13215 * progmodes/vhdl-mode.el (speedbar-refresh)
13216 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13217 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13218 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13219 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13220 (speedbar-file-lists, speedbar-make-tag-line)
13221 (speedbar-line-directory, speedbar-goto-this-file)
13222 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13223 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13224 (speedbar-make-button, speedbar-reset-scanners)
13225 (speedbar-files-item-info, speedbar-line-text)
13226 (speedbar-find-file-in-frame, speedbar-set-timer)
13227 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13228 (speedbar-with-writable): Do not (re)define it.
13229 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13230 rather than speedbar- alias.
13231
ee44b62a
LL
132322013-05-21 Leo Liu <sdl.web@gmail.com>
13233
13234 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13235 menu items.
13236 (octave-mode): Tweak fill-nobreak-predicate.
13237 (inferior-octave-startup): Check process to avoid infinite loop.
13238 (inferior-octave): Pop to buffer first to show abornmal process
13239 exit information.
13240
640f050f
GM
132412013-05-21 Glenn Morris <rgm@gnu.org>
13242
79458038
GM
13243 * printing.el (pr-menu-bar): Define when compiling.
13244
9cc3e83f
LL
132452013-05-21 Leo Liu <sdl.web@gmail.com>
13246
13247 * progmodes/octave.el (octave-auto-fill): Remove.
13248 (octave-indent-new-comment-line): Improve.
13249 (octave-mode): Use auto fill mode through
4f405069 13250 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13251 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13252 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13253 (octave-help): Show parent directory.
13254
f440830d
GM
132552013-05-21 Glenn Morris <rgm@gnu.org>
13256
13257 * files.el (dired-unmark):
13258 * progmodes/gud.el (gdb-input): Update declarations.
13259
13260 * calculator.el (electric, ehelp): No need to load when compiling.
13261 (Electric-command-loop, electric-describe-mode): Declare.
13262
13263 * doc-view.el (doc-view-current-converter-processes): Move before use.
13264
13265 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13266 Move MODE-set-explicitly definition before use.
13267
13268 * international/mule-diag.el (mule-diag):
13269 Don't use obsolete window-system-version.
13270
13271 * mail/feedmail.el (smtpmail): No need to load when compiling.
13272 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13273
13274 * mail/mail-utils.el (rfc822): No need to load when compiling.
13275 (rfc822-addresses): Autoload it.
13276 (mail-strip-quoted-names): Trivial simplification.
13277
13278 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13279 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13280
13281 * net/snmp-mode.el (tempo): Don't duplicate requires.
13282
13283 * progmodes/prolog.el (info): No need to load when compiling.
13284 (comint): Require before shell requires it.
13285 (Info-goto-node): Autoload it.
13286 (Info-follow-nearest-node): Declare.
13287 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13288
13289 * textmodes/artist.el (picture-mode-exit): Declare.
13290
13291 * textmodes/reftex-parse.el (reftex-parse-from-file):
13292 Trivial rewrite so the compiler can parse it better.
13293
b4da2cbb
LL
132942013-05-20 Leo Liu <sdl.web@gmail.com>
13295
13296 * progmodes/octave.el (octave-help-mode-map)
13297 (octave-help-mode-finish-hook): New variables.
13298 (octave-help-mode, octave-help-mode-finish): New functions.
13299 (octave-help): Use octave-help-mode.
13300
33c0f65b
GM
133012013-05-20 Glenn Morris <rgm@gnu.org>
13302
13303 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13304
1a0a0a8a
DG
133052013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13306
13307 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13308 start at point, so that expansion starting right after opening
13309 slash in a regexp is recognized.
13310 (ruby-syntax-before-regexp-re): New defvar, extracted from
13311 ruby-syntax-propertize-function. Since the value of this regexp
13312 is looked up at runtime now, we should be able to turn
13313 `ruby-syntax-methods-before-regexp' into a defcustom later.
13314 (ruby-syntax-propertize-function): Split regexp matching into two
13315 parts, for opening and closing slashes. That allows us to skip
13316 over string interpolations and support multiline regexps.
13317 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13318 for them, which calls `ruby-syntax-propertize-expansion'.
13319 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13320 call to `ruby-syntax-propertize-function'.
13321 (ruby-syntax-propertize-expansion): Extracted from
13322 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13323 (ruby-syntax-propertize-percent-literal): Leave point right after
13324 the percent symbol, so that the expression expansion rule can
13325 propertize the contents.
462388b6
DG
13326 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13327 heredoc openers.
13328 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13329
c1a6c0a4
JL
133302013-05-18 Juri Linkov <juri@jurta.org>
13331
13332 * man.el (Man-default-man-entry): Remove `-' from the end
13333 of the default value. (Bug#14400)
13334
8051fccd
GM
133352013-05-18 Glenn Morris <rgm@gnu.org>
13336
13337 * comint.el (comint-password-prompt-regexp):
13338 Allow "password for XXX" where XXX contains colons (eg https://...).
13339
5e80b74f
LL
133402013-05-18 Leo Liu <sdl.web@gmail.com>
13341
13342 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13343 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13344 (octave-source-directories): Don't check process.
13345 (octave-source-directories, octave-find-definition): Doc fix.
13346
521a54c5
GM
133472013-05-18 Glenn Morris <rgm@gnu.org>
13348
86a94b05
GM
13349 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13350 Remove backspace/delete bindings. (Bug#14392)
13351
521a54c5
GM
13352 * cus-dep.el (custom-make-dependencies): Sort the output.
13353 (custom-versions-load-alist): Convert comment to doc.
13354
42caeb89
LL
133552013-05-17 Leo Liu <sdl.web@gmail.com>
13356
13357 * newcomment.el (comment-search-backward): Stricter in finding
13358 comment start. (Bug#14303)
13359
13360 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13361 (octave-comment-start-skip): Properly anchored.
13362
e219dd97
LL
133632013-05-17 Leo Liu <sdl.web@gmail.com>
13364
fe1eb856
RS
13365 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13366 Clean up when turned off. (Bug#14395)
e219dd97
LL
13367 (smie--highlight-matching-block-overlay): No longer buffer-local.
13368 (smie-highlight-matching-block): Adjust.
13369
dc5dcb4b
PE
133702013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13371
13372 Doc string fix for "nanoseconds" (Bug#14406).
13373 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13374 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13375
1db165f0
JB
133762013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13377
13378 * calc/calc-units.el (math-extract-units): Preserve powers
13379 of units.
13380
c7a8fcac
LL
133812013-05-17 Leo Liu <sdl.web@gmail.com>
13382
13383 * subr.el (delete-consecutive-dups): New function.
13384 * ido.el (ido-set-matches-1): Use it.
13385 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13386 * ido.el (ido-remove-consecutive-dups): Remove.
13387
f678b18a
SM
133882013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13389
13390 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13391 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13392 regexp-opt's `words'.
13393
ebfe68e8
LL
133942013-05-16 Leo Liu <sdl.web@gmail.com>
13395
13396 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13397 (smie--highlight-matching-block-overlay)
13398 (smie--highlight-matching-block-lastpos)
13399 (smie--highlight-matching-block-timer): New variables.
13400 (smie-highlight-matching-block): New function.
13401 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13402 (smie-setup): Conditionally enable smie-blink-matching-open.
13403
bc8bc17d
WS
134042013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13405
13406 Sync with upstream verilog-mode r840.
13407 * progmodes/verilog-mode.el (verilog-mode-version)
13408 (verilog-mode-release-date): Update.
13409 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13410 (verilog-sig-tieoff): Fix string error on
13411 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13412 (verilog-read-decls): Fix parameters confusing
13413 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13414
df065a0b
EZ
134152013-05-16 Eli Zaretskii <eliz@gnu.org>
13416
13417 * subr.el (reveal-filename): New function.
13418
13419 * loadup.el: Compute Emacs executable versions on MS-Windows,
13420 where executables have the .exe extension. Add a hard link
13421 emacs-XX.YY.ZZ.exe on MS-Windows.
13422
13423 * Makefile.in (XARGS_LIMIT): New variable.
13424 (custom-deps, finder-data, autoloads)
13425 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13426 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13427 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13428 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13429
2d4bf34b
LL
134302013-05-16 Leo Liu <sdl.web@gmail.com>
13431
13432 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13433 (octave-mode-menu, octave-mode-map): Remove its uses.
13434
6b9c2d85
RZ
134352013-05-16 Reto Zimmermann <reto@gnu.org>
13436
13437 Sync with upstream vhdl mode v3.34.2.
13438 * progmodes/vhdl-mode.el: Use `push' throughout.
13439 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13440 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13441 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13442 (vhdl-actual-generic-name): New option to derive actual generic name.
13443 (vhdl-port-paste-signals): Replace formal by actual generics.
13444 (vhdl-beautify): New name for old group vhdl-align. Update users.
13445 (vhdl-beautify-options): New option.
13446 (vhdl-last-input-event): New compat alias. Use throughout.
13447 (vhdl-goto-line): Replace user level function `goto-line'.
13448 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13449 vhdl-fix-statement-buffer.
13450 (vhdl-create-mode-menu): Add some entries.
13451 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13452 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13453 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13454 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13455 to force statements on one line.
13456 (vhdl-remove-trailing-spaces-region):
13457 New, split from vhdl-remove-trailing-spaces.
13458 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13459 Respect vhdl-beautify-options.
13460 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13461 (vhdl-update-sensitivity-list): Not add with index if exists without.
13462 Not include array index with signal. Ignore keywords in comments.
13463 (vhdl-get-visible-signals): Regexp tweaks.
13464 (vhdl-template-component-inst): Handle empty library.
13465 (vhdl-template-type): Add template for 'enum' type.
13466 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13467 Use vhdl-replace-string.
13468 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13469 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13470 (vhdl-speedbar-initialize): Update for above name change.
13471 (vhdl-compose-wire-components): Fix in handling of constants.
13472 (vhdl-error-regexp-emacs-alist): New variable.
13473 (vhdl-error-regexp-add-emacs): New function;
13474 adds support for new compile.el (Emacs 22+)
13475 (vhdl-generate-makefile-1): Change target order for single lib. units.
13476 Allow use of absolute file names.
13477
9df4ec5e
LL
134782013-05-16 Leo Liu <sdl.web@gmail.com>
13479
13480 * simple.el (prog-indent-sexp): Indent enclosing defun.
13481
f5ba00a6
GM
134822013-05-15 Glenn Morris <rgm@gnu.org>
13483
ed8be7ff
GM
13484 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13485 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13486 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13487 (whitespace-highlight): Move to whitespace group.
13488
13489 * comint.el (comint-source):
13490 * pcmpl-linux.el (pcmpl-linux):
13491 * shell.el (shell-faces):
13492 * eshell/esh-opt.el (eshell-opt):
13493 * international/ccl.el (ccl): Remove empty custom groups.
13494
13495 * completion.el (dynamic-completion-mode):
13496 * jit-lock.el (jit-lock-debug-mode):
13497 * minibuffer.el (completion-in-region-mode):
13498 * type-break.el (type-break-mode-line-message-mode)
13499 (type-break-query-mode):
13500 * emulation/tpu-edt.el (tpu-edt-mode):
13501 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13502 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13503 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13504
13505 * term/xterm.el (xterm): Change parent group to terminals.
13506
13507 * master.el (master): Remove empty custom group.
13508 (master-mode): Remove unused :group argument.
13509 * textmodes/refill.el (refill): Remove empty custom group.
13510 (refill-mode): Remove unused :group argument.
13511
13512 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13513
82a7c41b
GM
13514 * cus-dep.el: Provide a feature.
13515 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13516 Don't mistakenly ignore files whose basenames match a basename
13517 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13518 Add a fallback method for getting :group.
f5ba00a6 13519
6d65486d
JL
135202013-05-15 Juri Linkov <juri@jurta.org>
13521
da547b32
JL
13522 * isearch.el (isearch-char-by-name): Rename from
13523 `isearch-insert-char-by-name'. Doc fix.
13524 (isearch-forward): Mention `isearch-char-by-name' in
13525 the docstring. (Bug#13348)
13526
6d65486d
JL
13527 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13528 `exit-minibuffer' instead of
13529 `isearch-nonincremental-exit-minibuffer'.
13530 (isearch-edit-string): Remove mention of
13531 `isearch-nonincremental-exit-minibuffer' from docstring.
13532 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13533 (isearch-forward-exit-minibuffer)
13534 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13535
c9990474
SM
135362013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13537
6e911150
SM
13538 * loadup.el: Just use unversioned DOC.
13539
c9990474
SM
13540 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13541 literals as extending to EOB.
13542 (nxml-last-fontify-end): Remove unused variable.
13543 (nxml-after-change1): Use with-silent-modifications.
13544 (nxml-extend-after-change-region): Simplify.
13545 (nxml-extend-after-change-region1): Remove function.
13546 (nxml-after-change1): Don't adjust for dependent regions.
13547 (nxml-fontify-matcher): Simplify.
13548 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13549 (xmltok-add-dependent): Remove function.
13550 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13551 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13552 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13553 unclosed <[[, <?, comment, and other literals as extending to EOB.
13554 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13555 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13556 Remove functions.
13557 (rng-do-some-validation-1): Don't mark dependent regions.
13558 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13559 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13560 (nxml-clear-dependent-regions): Remove functions.
13561 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13562 (nxml-ensure-scan-up-to-date):
13563 Don't clear&mark dependent regions.
13564
e3772e98
LL
135652013-05-15 Leo Liu <sdl.web@gmail.com>
13566
c9990474
SM
13567 * progmodes/octave.el (octave-goto-function-definition):
13568 Improve and fix callers.
e3772e98 13569
5ac2eb34
SM
135702013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13571
c46c57b0
SM
13572 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13573 the setter (bug#14387).
13574
5ac2eb34
SM
13575 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13576 surrounding group (bug#14402).
13577
180ed218
JL
135782013-05-14 Juri Linkov <juri@jurta.org>
13579
13580 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13581 (Bug#14390)
13582
0ac0fecb
GM
135832013-05-14 Glenn Morris <rgm@gnu.org>
13584
13585 * progmodes/f90.el (f90-imenu-generic-expression):
13586 Fix typo in 2013-05-08 change. (Bug#14402)
13587
2e78e6a7
JPG
135882013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13589
5ac2eb34
SM
13590 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13591 Remove signals for which replies are never received.
2e78e6a7 13592
53267cca
JPG
135932013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13594
13595 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13596 (gdb-handler-alist, gdb-handler-number): Remove variables.
13597 (gdb-handler-list): New variable.
13598 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13599 (gdb-pending-handler-p, gdb-handle-reply)
13600 (gdb-remove-all-pending-triggers): New functions.
13601 (gdb-discard-unordered-replies): New defcustom.
13602 (gdb-handler): New defstruct.
13603 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13604 instead of gdb-pending-triggers. Update docstring.
13605 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13606 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13607 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13608 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13609 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13610 (gdb-frame-handler): Pending triggers are now automatically managed.
13611 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13612 Remove argument.
13613 (gdb-input): Automatically handles pending triggers. Update docstring.
13614 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13615 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13616 Update comments.
13617 (gdb-done-or-error): Now use gdb-handle-reply.
13618
d04ce803
JPG
136192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13620
13621 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13622 gdb-debug-log.
13623
0114073a
GM
136242013-05-14 Glenn Morris <rgm@gnu.org>
13625
13626 * subr.el (user-emacs-directory-warning): New option.
13627 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13628
4d25fd7e
LL
136292013-05-14 Leo Liu <sdl.web@gmail.com>
13630
13631 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13632 during redisplay.
13633 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13634 (octave-font-lock-texinfo-comment): Fix invalid search bound
13635 error: wrong side of point.
4d25fd7e 13636
27c8b6eb
GM
136372013-05-14 Glenn Morris <rgm@gnu.org>
13638
61aaeb01
GM
13639 * progmodes/flymake.el (flymake-xml-program): New option.
13640 (flymake-xml-init): Use it.
13641
5bf90bc5
GM
13642 * term/xterm.el: Provide a feature.
13643
13644 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13645
f4c7dfd2
GM
136462013-05-13 Glenn Morris <rgm@gnu.org>
13647
13648 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13649 Add compat aliases as a hack workaround. (Bug#14384)
13650
2aeb3a1d
LL
136512013-05-13 Leo Liu <sdl.web@gmail.com>
13652
b0e069c2
LL
13653 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13654 ###, and %!.
f5a9432f
LL
13655 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13656 C-M-q.
b0e069c2
LL
13657 (octave-comment-start-skip): Include %!.
13658 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13659
30ea8374
LL
136602013-05-12 Leo Liu <sdl.web@gmail.com>
13661
13662 * progmodes/octave.el (inferior-octave-startup): Store the value
13663 of __octave_srcdir__ for octave-source-directories.
13664 (inferior-octave-check-process): New function refactored out of
13665 inferior-octave-send-list-and-digest.
13666 (octave-source-directories)
13667 (octave-find-definition-filename-function): New variables.
13668 (octave-source-directories)
13669 (octave-find-definition-default-filename): New functions.
13670 (octave-find-definition): Improve to find functions implemented in C++.
13671
472a3834
GM
136722013-05-12 Glenn Morris <rgm@gnu.org>
13673
13674 * calendar/diary-lib.el (diary-outlook-format-1):
13675 Don't include dayname in the output. (Bug#14349)
13676
3191b52f
GM
136772013-05-11 Glenn Morris <rgm@gnu.org>
13678
0060ac73
GM
13679 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13680
3191b52f
GM
13681 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13682 Treat cc-provide like provide.
13683
e065ba74
KR
136842013-05-11 Kevin Ryde <user42@zip.com.au>
13685
13686 * cus-dep.el (custom-make-dependencies):
13687 Use generated-autoload-load-name for the sake of files such
13688 such cedet/semantic/bovine/c.el, where the base file name
13689 is not in load-path. (Bug#5277)
13690
36f84c37
GM
136912013-05-11 Glenn Morris <rgm@gnu.org>
13692
13693 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13694 Provide features.
13695
c8730c3a
LL
136962013-05-11 Leo Liu <sdl.web@gmail.com>
13697
13698 * progmodes/octave.el (octave-indent-comment): Improve.
13699 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
13700 (octave-eldoc-function-signatures, octave-eldoc-function):
13701 New functions.
c8730c3a
LL
13702 (octave-mode, inferior-octave-mode): Add eldoc support.
13703
212e29f2
RS
137042013-05-11 Richard Stallman <rms@gnu.org>
13705
13706 * epa.el (epa-decrypt-file): Take output file name as argument
13707 and read it using `interactive'.
13708
083fe0d7
LL
137092013-05-11 Leo Liu <sdl.web@gmail.com>
13710
13711 * progmodes/octave.el (octave-beginning-of-line)
13712 (octave-end-of-line): Check before using up-list because it jumps
13713 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
13714 (octave-indent-comment): New function.
13715 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
13716 (octave-begin-keywords, octave-end-keywords)
13717 (octave-reserved-words, octave-smie-bnf-table)
13718 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 13719
8582e4c4
GM
137202013-05-11 Glenn Morris <rgm@gnu.org>
13721
f20def1f
GM
13722 * faces.el (internal-face-x-get-resource):
13723 * frame.el (ns-display-monitor-attributes-list):
d78abe37 13724 * calc/calc-aent.el (math-to-radians-2):
f20def1f 13725 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 13726 Fix declarations.
f20def1f 13727
445f95e2
GM
13728 * calc/calc-menu.el: Make it loadable in isolation.
13729
13730 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13731 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13732 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13733 (eudc-bbdb-query-internal): Require 'bbdb.
13734
99fb2756
GM
13735 * lpr.el (lpr-headers-switches):
13736 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13737
13738 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13739
0da7ad96
GM
13740 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13741
8582e4c4
GM
13742 * term.el (term-set-escape-char): Make it idempotent.
13743
f71c50d0
LL
137442013-05-10 Leo Liu <sdl.web@gmail.com>
13745
5ac2eb34
SM
13746 * progmodes/octave.el (inferior-octave-completion-table):
13747 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
13748 completion due to bug#11906.
13749 (octave-beginning-of-defun): Re-write to be more general.
13750
d5837773
GM
137512013-05-10 Glenn Morris <rgm@gnu.org>
13752
13753 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13754
027c0f75
SM
137552013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * comint.el (comint-redirect-send-command-to-process): Use :around
13758 rather than :override for comint-redirect-filter.
13759 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13760 Call it instead of comint-redirect-original-filter-function (which
13761 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13762
4465bfb4
JD
137632013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13764
13765 * frame.el (display-monitor-attributes-list): Add NS case.
13766 (ns-display-monitor-attributes-list): Declare.
13767
2d809ffa 137682013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
13769
13770 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13771
e54eeb9b
GM
137722013-05-09 Glenn Morris <rgm@gnu.org>
13773
56cd351d
GM
13774 * international/fontset.el (vertical-centering-font-regexp):
13775 Set standard-value.
13776
d84b6108
GM
13777 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13778
a931698a
GM
13779 * bookmark.el (bookmark-search-delay):
13780 * cus-start.el (vertical-centering-font-regexp):
13781 * ps-mule.el (ps-mule-font-info-database-default):
13782 * ps-print.el (ps-default-fg, ps-default-bg):
13783 * type-break.el (type-break-good-break-interval):
13784 * whitespace.el (whitespace-indentation-regexp)
13785 (whitespace-space-after-tab-regexp):
13786 * emacs-lisp/testcover.el (testcover-1value-functions)
13787 (testcover-noreturn-functions, testcover-progn-functions)
13788 (testcover-prog1-functions):
13789 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13790 * eshell/em-glob.el (eshell-glob-translate-alist):
13791 * play/tetris.el (tetris-tty-colors):
13792 * progmodes/cpp.el (cpp-face-default-list):
13793 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13794 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13795 (idlwave-help-browser-generic-args):
13796 * progmodes/make-mode.el (makefile-special-targets-list):
13797 * progmodes/python.el (python-shell-virtualenv-path):
13798 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13799 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13800 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13801 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13802 * textmodes/reftex-vars.el (reftex-format-label-function):
13803 * textmodes/remember.el (remember-diary-file): Fix custom types.
13804
e54eeb9b
GM
13805 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13806 Add :version.
13807
455851dd
LL
138082013-05-09 Leo Liu <sdl.web@gmail.com>
13809
13810 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 13811 Restore file completion. (Bug#14300)
455851dd
LL
13812 (inferior-octave-startup): Fix incorrect highlighting for the
13813 first prompt.
13814
a9e4425b
SM
138152013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * progmodes/ruby-mode.el: First cut at SMIE support.
13818 (ruby-use-smie): New var.
13819 (ruby-smie-grammar): New constant.
13820 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13821 (ruby-smie--forward-token, ruby-smie--backward-token)
13822 (ruby-smie-rules): New functions.
13823 (ruby-mode-variables): Setup SMIE if applicable.
13824
060ca408
EZ
138252013-05-08 Eli Zaretskii <eliz@gnu.org>
13826
13827 * simple.el (line-move-visual): Signal beginning/end of buffer
13828 only if vertical-motion moved less than it was requested. Avoids
13829 silly incorrect error messages when there are display strings with
13830 multiple newlines at EOL.
13831
1d5963cc
SM
138322013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13835 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13836 (prolog-char-quote-workaround):
13837 * progmodes/cperl-mode.el (cperl-under-as-char):
13838 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
13839 Mark as obsolete.
13840 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
13841 their declaration.
13842 (vhdl-mode-syntax-table-init): Remove.
13843
c9990474
SM
13844 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13845 last change.
1d5963cc
SM
13846
13847 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13848 syntax for "_".
13849 (ld-script-font-lock-keywords):
13850 Change regexps to use things like \_< and \_>.
13851
13852 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13853 Change all regexps to use things like \_< and \_>.
13854
13855 * progmodes/autoconf.el (autoconf-definition-regexp)
13856 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13857 Handle a _ with symbol syntax.
13858 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13859
c9990474
SM
13860 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13861 Consolidate declaration.
1d5963cc
SM
13862 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13863 the declaration.
13864 (ada-create-syntax-table): Remove.
13865 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13866 already has the right syntax nowadays.
13867 (ada-goto-next-word): Don't change the syntax of "_".
13868
13869 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13870 with-wrapper-hook.
13871
72d3cfca
SS
138722013-05-08 Sam Steingold <sds@gnu.org>
13873
13874 * thingatpt.el (thing-at-point): Accept optional second argument
13875 NO-PROPERTIES to strip the text properties from the return value.
13876 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13877 to `thing-at-point' instead of stripping the properties ourselves.
13878 Also, when `thing-at-point' fails to find a url, prepend "http://"
13879 to the filename at point on the assumption that the user is
13880 pointing at something like gnu.org/gnu.
13881
5cb15713
JB
138822013-05-08 Juanma Barranquero <lekktu@gmail.com>
13883
13884 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13885 * faces.el (crm-separator):
13886 Silence byte-compiler.
13887
13888 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13889 (tool-bar-map): Remove unneeded defvars.
13890
ea78b95b
LL
138912013-05-08 Leo Liu <sdl.web@gmail.com>
13892
13893 Re-work a fix for bug#10994 based on Le Wang's patch.
13894 * ido.el (ido-remove-consecutive-dups): New helper.
13895 (ido-completing-read): Use it.
13896 (ido-chop): Revert fix for bug#10994.
13897
dc7466df
AS
138982013-05-08 Adam Spiers <emacs@adamspiers.org>
13899
13900 * cus-edit.el (custom-save-variables):
13901 Pretty-print long values. (Bug#14187)
13902
9ecf672a
GM
139032013-05-08 Glenn Morris <rgm@gnu.org>
13904
13905 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13906 (m4-mode-syntax-table): Init in the defvar.
13907 (m4-mode-abbrev-table): Let define-derived-mode define it.
13908
3f555be8
TT
139092013-05-08 Tom Tromey <tromey@redhat.com>
13910
13911 * progmodes/m4-mode.el (m4-mode-syntax-table):
13912 Do not treat "_" as word constituent. (Bug#14167)
13913
7cc8ae06
GM
139142013-05-07 Glenn Morris <rgm@gnu.org>
13915
4f58bc06
GM
13916 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13917 Remove explicit eshell-isearch-cancel-map.
13918
7cc8ae06
GM
13919 * progmodes/f90.el (f90-smart-end-names): New option.
13920 (f90-smart-end): Doc fix.
13921 (f90-end-block-optional-name): New constant.
13922 (f90-block-match): Respect f90-smart-end-names.
13923
ceb57e59
SM
139242013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13927 about implicit semi-colons (bug#14218).
13928
4e3f9230
YM
139292013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13930
13931 * frame.el (display-monitor-attributes-list)
13932 (frame-monitor-attributes): New functions.
13933
203a5572
LL
139342013-05-06 Leo Liu <sdl.web@gmail.com>
13935
13936 * progmodes/octave.el (octave-syntax-propertize-function): Change
13937 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13938 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 13939 (octave-completion-at-point): Rename from
203a5572
LL
13940 octave-completion-at-point-function.
13941 (inferior-octave-directory-tracker): Robustify.
13942 (octave-text-functions): Remove and fix its uses. No such things
13943 any more.
13944
ee6cff99
SM
139452013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * emacs-lisp/trace.el (trace--display-buffer): New function.
13948 (trace-make-advice): Use it.
13949
32985194
JL
139502013-05-06 Juri Linkov <juri@jurta.org>
13951
13952 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13953 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13954 Doc fix.
13955 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13956 in the help string. (Bug#12985)
13957
a1c700de
KD
139582013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13959
13960 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13961
c67c0839
SM
139622013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13963
323885fd
SM
13964 * progmodes/perl-mode.el: Add support for here documents.
13965 (perl-syntax-propertize-function): Match here-doc markers.
13966 (perl-syntax-propertize-special-constructs): Find their end.
13967 (perl-imenu-generic-expression): Use [:alnum:].
13968
c67c0839
SM
13969 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13970 (advice--add-function): Refresh the advice if already present
13971 (bug#14317).
13972
d491e7a8
IA
139732013-05-06 Ivan Andrus <darthandrus@gmail.com>
13974
13975 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13976
ddf9925e
GM
139772013-05-06 Glenn Morris <rgm@gnu.org>
13978
7cc3af27
GM
13979 * w32-fns.el (w32-charset-info-alist): Declare.
13980
16e343d6
GM
13981 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13982 of its defcustom properties.
13983 (eshell-cmpl-initialize): No need to load pcomplete.
13984
7d889a47
GM
13985 * generic-x.el: No need to require comint when compiling.
13986
ddf9925e
GM
13987 * net/eudc-export.el: Make it loadable without bbdb.
13988 (top-level): Use require rather than load-library.
13989 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13990 (eudc-batch-export-records-to-bbdb)
13991 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13992 Require bbdb.
13993
1e2c18df
SM
139942013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13997 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13998 some tweaks, instead.
13999
02502a5f
LL
140002013-05-05 Leo Liu <sdl.web@gmail.com>
14001
14002 * progmodes/octave.el (octave-font-lock-keywords)
14003 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14004 (inferior-octave-send-list-and-digest): Improve error message.
14005 (octave-mode, inferior-octave-mode): Use setq-local.
14006 (octave-help): Set info-lookup-mode.
14007
0dc04f42
RS
140082013-05-05 Richard Stallman <rms@gnu.org>
14009
6c54491c
RS
14010 * vc/compare-w.el (compare-windows-whitespace):
14011 Treat no-break space as whitespace.
14012
0dc04f42
RS
14013 * mail/rmailsum.el (rmail-summary-rmail-update):
14014 Detect empty summary and don't change selected message.
14015 (rmail-summary-goto-msg): Likewise.
14016
df8f35df
RS
14017 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14018 Doc fixes, rename args.
14019
5356e1a3
AM
140202013-05-05 Alan Mackenzie <acm@muc.de>
14021
14022 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14023
d44014cb
JL
140242013-05-05 Juri Linkov <juri@jurta.org>
14025
14026 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14027 to not add the length of the summary segment to the return value.
14028 (Bug#14125)
14029
c129b51f
LL
140302013-05-05 Leo Liu <sdl.web@gmail.com>
14031
14032 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14033 (inferior-octave-output-filter): Remove.
14034 (octave-send-region, inferior-octave-startup): Fix callers.
14035 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14036 (octave-binary-file-extensions): New user variable.
14037 (octave-find-definition): Confirm if opening binary files.
14038 (octave-help-file): Use octave-find-definition to get the binary
14039 confirmation.
14040 (octave-help): Adjust for octave-help-file change.
14041
aa7dab97
SM
140422013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14045 Merge the two entries that handle function definitions.
14046 (pascal--syntax-propertize): New const.
14047 (pascal-mode): Use it. Use setq-local.
14048
fd3a9a6b
GM
140492013-05-04 Glenn Morris <rgm@gnu.org>
14050
14051 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14052 (diary-from-outlook): Respect diary-from-outlook-function.
14053
30c7e542
SM
140542013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14057 Move the declaration from C.
14058 (read-minibuffer, eval-minibuffer): Move from C.
14059 (completion-setup-function): Avoid minibuffer-completion-contents.
14060
b54f978b
LL
140612013-05-03 Leo Liu <sdl.web@gmail.com>
14062
14063 * progmodes/octave.el (octave-font-lock-keywords): Do not
14064 dehighlight 'end' in comments or strings.
30c7e542
SM
14065 (octave-completing-read, octave-goto-function-definition):
14066 New helpers.
d4d0f9b3
LL
14067 (octave-help-buffer): New user variable.
14068 (octave-help-file, octave-help-function): New button types.
14069 (octave-help): New command and bind it to C-h ;.
14070 (octave-find-definition): New command and bind it to M-.
d74a1581 14071 (user-error): Alias to error if not defined.
b54f978b 14072
27135018
LL
140732013-05-02 Leo Liu <sdl.web@gmail.com>
14074
14075 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14076 for \. (bug#14332)
14077 (octave-font-lock-keywords): Include [ and {.
14078
0d634d3a
LL
140792013-05-02 Leo Liu <sdl.web@gmail.com>
14080
14081 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14082 (inferior-octave): Remove calling comint-mode and return the buffer.
14083 (inferior-octave-startup): Cosmetic changes.
14084
b4c8295e
LL
140852013-05-02 Leo Liu <sdl.web@gmail.com>
14086
30c7e542
SM
14087 * progmodes/octave.el (octave-syntax-propertize-function):
14088 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14089
f12ad6ec
GM
140902013-05-02 Glenn Morris <rgm@gnu.org>
14091
14092 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14093 * desktop.el (vc-dir-mode): Just autoload it here.
14094
30cac1e0
AM
140952013-05-02 Alan Mackenzie <acm@muc.de>
14096
14097 Eliminate variable c-standard-font-lock-fontify-region-function.
14098 * progmodes/cc-mode.el
14099 (c-standard-font-lock-fontify-region-function): Remove.
14100 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14101
d8ef28b1
LL
141022013-05-01 Leo Liu <sdl.web@gmail.com>
14103
2640d52e 14104 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14105 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14106 variables were removed from Octave in 2007.
d8ef28b1
LL
14107 (inferior-octave-startup): Fix uses.
14108 (comint-line-beginning-position): Remove compatibility code for
14109 emacs 21.
14110
ac63ec89
JL
141112013-05-01 Juri Linkov <juri@jurta.org>
14112
14113 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14114
9e9be37c
JL
141152013-05-01 Juri Linkov <juri@jurta.org>
14116
14117 * comint.el (comint-previous-matching-input): Don't print message
14118 "History item: %d" when `isearch-mode' is active.
14119 (comint-history-isearch-message): Print message "History item: %d"
14120 when `comint-input-ring-index' is not empty and this function is
14121 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14122
9b92c13b
LL
141232013-05-01 Leo Liu <sdl.web@gmail.com>
14124
14125 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14126 definitions. Use completion-at-point to insert keywords.
14127 (octave-abbrev-start): Remove.
14128 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14129
b12d33d7
LL
141302013-04-30 Leo Liu <sdl.web@gmail.com>
14131
14132 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14133 change.
14134
3d1c39fa
AM
141352013-04-30 Alan Mackenzie <acm@muc.de>
14136
14137 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14138 * progmodes/cc-engine.el (c-back-over-member-initializers):
14139 new function.
3d1c39fa
AM
14140 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14141 (most) member init lists.
14142
5147fc17
RS
141432013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14144
14145 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14146 variable.
14147
5b78d7fc
LL
141482013-04-30 Leo Liu <sdl.web@gmail.com>
14149
14150 * progmodes/octave.el (octave-variables): Remove. No builtin
14151 variables any more. All converted to functions.
14152 (octave-font-lock-keywords, octave-completion-at-point-function):
14153 Fix uses.
14154 (octave-font-lock-texinfo-comment): New user variable.
14155 (octave-texinfo-font-lock-keywords): New variable for texinfo
14156 comment block.
14157 (octave-function-comment-block): New face.
14158 (octave-font-lock-texinfo-comment): New function.
14159 (octave-mode): Font lock texinfo comment block.
14160
38d8527b
LL
141612013-04-29 Leo Liu <sdl.web@gmail.com>
14162
14163 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14164 indexing expression.
14165 (octave-continuation-string): Do not use \.
14166 (inferior-octave-complete-impossible): Remove.
14167 (inferior-octave-completion-table)
14168 (inferior-octave-completion-at-point): Remove its uses.
14169 (inferior-octave-startup): completion_matches was introduced to
14170 Octave in 1996 so safe to assume it.
14171 (octave-function-file-comment): Improve to follow how Octave does it.
14172 (octave-update-function-file-comment): Tweak.
14173
2ec12cb0
LL
141742013-04-29 Leo Liu <sdl.web@gmail.com>
14175
14176 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14177 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14178 (octave-function-file-comment): Fix typo.
14179 (octave-sync-function-file-names): Use read-char-choice.
14180
6eaed048
JB
141812013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14182
14183 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14184 to t for the less important warnings.
14185
3ffa2d4f
DH
141862013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14187
14188 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14189
685c9501
GM
141902013-04-27 Glenn Morris <rgm@gnu.org>
14191
14192 * vc/log-view.el (log-view-current-entry):
14193 Treat "---" separator lines as part of the following rev. (Bug#14169)
14194
0208ede7
JL
141952013-04-27 Juri Linkov <juri@jurta.org>
14196
14197 * subr.el (read-number): Doc fix about using it by interactive
14198 code letter `n'. (Bug#14254)
14199
5db9dace
JL
142002013-04-27 Juri Linkov <juri@jurta.org>
14201
14202 * desktop.el (desktop-auto-save-timeout): New option.
14203 (desktop-file-checksum): New variable.
14204 (desktop-save): Add optional arg `auto-save' and don't auto-save
14205 if nothing changed.
14206 (desktop-auto-save-timer): New variable.
14207 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14208 (after-init-hook): Call `desktop-auto-save-set-timer'.
14209 Suggested by Reuben Thomas <rrt@sc3d.org> in
14210 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14211
b7260dd4
LL
142122013-04-27 Leo Liu <sdl.web@gmail.com>
14213
14214 * progmodes/octave.el (octave-function-file-p)
14215 (octave-skip-comment-forward, octave-function-file-comment)
14216 (octave-update-function-file-comment): New functions.
14217 (octave-mode-map): Bind C-c ; to
14218 octave-update-function-file-comment.
14219 (octave-mode-menu): Add octave-update-function-file-comment.
14220 (octave-mode, inferior-octave-mode): Fix doc-string.
14221 (octave-insert-defun): Conform to Octave's coding convention.
14222 (Bug#14285)
14223
14224 * files.el (basic-save-buffer): Don't let errors in
14225 before-save-hook prevent saving buffer.
14226
c46da669
RW
142272013-04-20 Roland Winkler <winkler@gnu.org>
14228
14229 * faces.el (read-face-name): Use completing-read if arg multiple
14230 is nil.
14231
a81ee1eb
IL
142322013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14233
14234 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14235 displayed, move point to after the totals line.
14236 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14237 for the details.
14238
4fac34ce
SM
142392013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14240
14241 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14242 Add current dir to the load-path.
14243 (package-generate-autoloads): Don't rely on
14244 autoload-ensure-default-file.
14245
f6bfc063
RT
142462013-04-26 Reuben Thomas <rrt@sc3d.org>
14247
d40ab5cf
BG
14248 * textmodes/remember.el (remember-store-in-files): Document that
14249 the file name format is passed to `format-time-string'.
f6bfc063 14250
e55d3b04
LL
142512013-04-26 Leo Liu <sdl.web@gmail.com>
14252
14253 * progmodes/octave.el (octave-sync-function-file-names): New function.
14254 (octave-mode): Use it in before-save-hook.
14255
e53052d3
SM
142562013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14257
140ef50c
SM
14258 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14259 (bug#14274).
14260
e53052d3
SM
14261 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14262 \n and comment, even if it's not an implicit ; (bug#14218).
14263
af80458d 142642013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14265
14266 * subr.el (read-number): Once more use `read' rather than
14267 `string-to-number', to trap non-numeric input. (Bug#14254)
14268
af80458d 142692013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14270
14271 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14272 Use `syntax-multiline' text property consistently instead of
8a621d53 14273 `font-lock-multiline'. (Bug#14237)
70203c2e 14274
e6ea1f6c
GM
142752013-04-26 Glenn Morris <rgm@gnu.org>
14276
14277 * emacs-lisp/shadow.el (list-load-path-shadows):
14278 No longer necessary to check for duplicate simple.el, since
14279 2012-07-07 change to init_lread to not include installation lisp
14280 directories in load-path when running uninstalled. (Bug#14270)
14281
070ccca4
LL
142822013-04-26 Leo Liu <sdl.web@gmail.com>
14283
14284 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14285 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14286 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14287 octave-in-string-or-comment-p.
14288 (octave-in-comment-p, octave-in-string-p)
14289 (octave-in-string-or-comment-p): Replace defsubst with defun.
14290
9d1c5fb6
PE
142912013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14292
14293 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14294
c034abda
BG
142952013-04-25 Bastien Guerry <bzg@gnu.org>
14296
14297 * textmodes/remember.el (remember-data-directory)
14298 (remember-directory-file-name-format): Fix custom types.
14299
584ea277
LL
143002013-04-25 Leo Liu <sdl.web@gmail.com>
14301
e53052d3
SM
14302 * progmodes/octave.el (octave-completion-at-point-function):
14303 Make use of inferior octave process.
584ea277
LL
14304 (octave-initialize-completions): Remove.
14305 (inferior-octave-completion-table): New function.
14306 (inferior-octave-completion-at-point): Use it.
14307 (octave-completion-alist): Remove.
14308
1693b06a
SM
143092013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14310
14311 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14312 (opascal-mode-syntax-table): New var.
14313 (opascal-literal-kind, opascal-is-literal-end)
14314 (opascal-literal-token-at): Rewrite.
14315 (opascal--literal-start-re, opascal-font-lock-keywords)
14316 (opascal--syntax-propertize): New constants.
14317 (opascal-font-lock-defaults): Adjust.
14318 (opascal-mode): Use them. Set comment-<foo> variables as well.
14319 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14320 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14321 (delphi-other-face, opascal-other-face): Remove face variables.
14322 (opascal-save-state): Remove macro.
14323 (opascal-fontifying-progress-step): Remove constant.
14324 (opascal--ignore-changes): Remove var.
14325 (opascal-set-token-property, opascal-parse-next-literal)
14326 (opascal-is-stable-literal, opascal-complete-literal)
14327 (opascal-is-literal-start, opascal-face-of)
14328 (opascal-parse-region, opascal-parse-region-until-stable)
14329 (opascal-fontify-region, opascal-after-change)
14330 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14331 (opascal-debug-parse-region, opascal-debug-parse-window)
14332 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14333 (opascal-debug-fontify-buffer): Remove.
14334 (opascal-debug-mode-map): Adjust accordingly.
14335
be64c05d
LL
143362013-04-25 Leo Liu <sdl.web@gmail.com>
14337
14338 Merge octave-mod.el and octave-inf.el into octave.el with some
14339 cleanups.
14340 * progmodes/octave.el: New file renamed from octave-mod.el.
14341 * progmodes/octave-inf.el: Merged into octave.el.
14342 * progmodes/octave-mod.el: Renamed to octave.el.
14343
d79d37bd
TH
143442013-04-25 Tassilo Horn <tsdh@gnu.org>
14345
14346 * textmodes/reftex-vars.el
14347 (reftex-label-ignored-macros-and-environments): New defcustom.
14348
14349 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14350
ced3fc5d
SM
143512013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14352
14353 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14354 (smie-indent-keyword): Improve the check to ensure that the next
14355 comment is really on the same line.
14356 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14357
14358 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14359 semi-colons if the line is not otherwise empty (bug#14218).
14360
1c141dad
GM
143612013-04-25 Glenn Morris <rgm@gnu.org>
14362
14363 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14364
5058062a
SM
143652013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14366
14367 * progmodes/opascal.el (opascal-set-token-property): Rename from
14368 opascal-set-text-properties and only set `token' (bug#14134).
14369 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14370 (opascal-literal-text-properties): Remove.
14371 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14372 Adjust callers.
14373
5db9dace 143742013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14375
14376 * textmodes/remember.el (remember-handler-functions): Add an
14377 option for a new handler `remember-store-in-files'.
14378 (remember-data-directory, remember-directory-file-name-format):
14379 New options.
14380 (remember-store-in-files): New function to store remember notes
14381 as separate files within a directory.
14382
4391916c
MH
143832013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14384
14385 * progmodes/compile.el (compilation-next-error-function):
14386 Pass "formats" to compilation-find-file (bug#11777).
14387
bb7cdf58
GM
143882013-04-24 Glenn Morris <rgm@gnu.org>
14389
3b8fe752 14390 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14391 * vc/vc-hg.el (vc-hg-print-log):
14392 * vc/vc-svn.el (vc-svn-print-log):
14393 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14394
bb7cdf58
GM
14395 * vc/vc-bzr.el (vc-bzr-print-log):
14396 * vc/vc-cvs.el (vc-cvs-print-log):
14397 * vc/vc-git.el (vc-git-print-log):
14398 * vc/vc-hg.el (vc-hg-print-log):
14399 * vc/vc-mtn.el (vc-mtn-print-log):
14400 * vc/vc-rcs.el (vc-rcs-print-log):
14401 * vc/vc-sccs.el (vc-sccs-print-log):
14402 * vc/vc-svn.el (vc-svn-print-log):
14403 * vc/vc.el (vc-print-log-internal): Doc fixes.
14404
b46a056e
GM
144052013-04-23 Glenn Morris <rgm@gnu.org>
14406
14407 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14408 Remove venerable code attempting to avoid substitute-command-keys.
14409
0aecf718
TH
144102013-04-23 Tassilo Horn <tsdh@gnu.org>
14411
4391916c
MH
14412 * textmodes/reftex-vars.el (reftex-label-regexps):
14413 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14414
117f94cf
SM
144152013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14416
4391916c 14417 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14418 Use lexical-binding.
14419 (jit-lock-force-redisplay): Use markers, check buffer's continued
14420 existence and beware narrowed buffers.
14421 (jit-lock-fontify-now): Adjust call accordingly.
14422
1d829c64
SM
144232013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14426 to avoid misleading the user.
14427
72d548a9
LL
144282013-04-22 Leo Liu <sdl.web@gmail.com>
14429
14430 * info-look.el: Prefer latex2e.info. (Bug#14240)
14431
d0853629
MA
144322013-04-22 Michael Albinus <michael.albinus@gmx.de>
14433
14434 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14435
14436 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14437 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14438 (tramp-set-completion-function, tramp-parse-putty):
14439 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14440 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14441 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14442 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14443 (tramp-call-local-coding-command): Use `tramp-call-process'
14444 instead of `tramp-compat-call-process'.
14445
14446 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14447 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14448 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14449 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14450 (tramp-maybe-send-script): Check for Perl binary.
14451 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14452
38cc0210
DU
144532013-04-22 Daiki Ueno <ueno@gnu.org>
14454
14455 * epg.el (epg-context-pinentry-mode): New function.
14456 (epg-context-set-pinentry-mode): New function.
14457 (epg--start): Pass --pinentry-mode option to gpg command.
14458
cc641ee1
XF
144592013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14460
02d844b5 14461 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14462 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14463 `completion-at-point'. (Bug#13774)
5d4e5c31 14464
cc641ee1
XF
14465 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14466 default key binding for `describe-distribution' has been moved to
14467 `C-h C-o'. (Bug#13970)
14468
1b42ee43
GM
144692013-04-21 Glenn Morris <rgm@gnu.org>
14470
14471 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14472 Add doc strings.
14473 (vc-print-log): Clarify interactive prompt.
14474
a6d63d97
GM
144752013-04-20 Glenn Morris <rgm@gnu.org>
14476
14477 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14478 No longer include timestamp etc information.
14479
d7f5c16f
RW
144802013-04-20 Roland Winkler <winkler@gnu.org>
14481
14482 * faces.el (read-face-name): Bug fix, return just one face if arg
14483 multiple is nil. (Bug#14209)
14484
bcd7a0a4
SM
144852013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14486
14487 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14488 (remove-function): Autoload.
14489
14490 * comint.el (comint-redirect-original-filter-function): Remove.
14491 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14492 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14493 (vc-cvs-annotate-command):
bcd7a0a4
SM
14494 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14495 * progmodes/prolog.el (prolog-consult-compile):
14496 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14497 Use add/remove-function instead.
14498 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14499 (gud-tooltip-process-output, gud-tooltip-tips):
14500 Use add/remove-function instead.
14501 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14502 (scheme-interaction-mode, exit-scheme-interaction-mode):
14503 Use add/remove-function instead.
14504
14505 * vc/vc-dispatcher.el: Use lexical-binding.
14506 (vc--process-sentinel): Rename from vc-process-sentinel.
14507 Change last arg to be the code to run. Don't use vc-previous-sentinel
14508 and vc-sentinel-commands any more.
14509 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14510 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14511
e36b2d20 145122013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14513
bcd7a0a4 14514 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14515 Handle function names with a single character. (Bug#14111)
4d3268ba 14516
27821a89 145172013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14518
14519 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14520 for subroutines defined in an eval (bug#14182).
14521
7d688336
TV
145222013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14523
14524 * bookmark.el (bookmark-completing-read): Improve handling of empty
14525 string (bug#14176).
14526
31dcede0
SM
145272013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14528
14529 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14530
adc31213
FEG
145312013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14532
14533 New faster Imenu implementation (bug#14058).
9b017563 14534 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14535 (python-imenu-format-item-label-function)
14536 (python-imenu-format-parent-item-label-function)
14537 (python-imenu-format-parent-item-jump-label-function):
14538 New vars.
14539 (python-imenu-format-item-label)
14540 (python-imenu-format-parent-item-label)
14541 (python-imenu-format-parent-item-jump-label)
14542 (python-imenu--put-parent, python-imenu--build-tree)
14543 (python-imenu-create-index, python-imenu-create-flat-index)
14544 (python-util-popn): New functions.
14545 (python-mode): Set imenu-create-index-function to
14546 python-imenu-create-index.
14547
cdca8255
SM
145482013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * winner.el (winner-active-region): Use region-active-p, activate-mark
14551 and deactivate-mark (bug#14225).
14552
14553 * simple.el (deactivate-mark): Don't inline it.
14554
beb42340
MA
145552013-04-18 Michael Albinus <michael.albinus@gmx.de>
14556
14557 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14558
fc7f4d7e
TH
145592013-04-18 Tassilo Horn <tsdh@gnu.org>
14560
14561 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14562 file extensions from the archive-mode entry in order to prefer
14563 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14564
29f47822
LL
145652013-04-18 Leo Liu <sdl.web@gmail.com>
14566
14567 * bindings.el (help-event-list): Add ?\?.
14568
d36ed1c8
SM
145692013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14570
14571 * subr.el (with-wrapper-hook): Declare obsolete.
14572 * simple.el (filter-buffer-substring-function): New hook.
14573 (filter-buffer-substring): Use it.
14574 (filter-buffer-substring-functions): Mark obsolete.
14575 * minibuffer.el (completion-in-region-function): New hook.
14576 (completion-in-region): Use it.
14577 (completion-in-region-functions): Mark obsolete.
14578 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14579 * abbrev.el (abbrev-expand-function): New hook.
14580 (expand-abbrev): Use it.
14581 (abbrev-expand-functions): Mark obsolete.
14582 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14583 and :filter-return.
14584
04754d36
FEG
145852013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14586
14587 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14588 and do not care about match data.
14589
dd8791e9
SM
145902013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14593 completion tables when completing error conditions and
14594 `declare' arguments.
14595 (lisp-complete-symbol, field-complete): Mark as obsolete.
14596 (check-parens): Unmatched parens are user errors.
14597 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14598
ffe54a13
AM
145992013-04-17 Michal Nazarewicz <mina86@mina86.com>
14600
dd8791e9
SM
14601 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14602 command changed buffer (ie. `flyspell-pre-buffer' is not current
14603 buffer), which prevents making decisions based on invalid value of
14604 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14605 cause an error when `flyspell-pre-point' was nil after switching
14606 buffers.
14607 (flyspell-post-command-hook): No longer needs to change buffers when
14608 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14609
ec7e39f2
AM
146102013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14611
14612 * textmodes/ispell.el (ispell-add-per-file-word-list):
14613 Fix `flyspell-correct-word-before-point' error when accepting
14614 words and `coment-padding' is an integer by using
14615 `comment-normalize-vars' (Bug #14214).
14616
083850a6
FEG
146172013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14618
14619 New defun movement commands.
14620 * progmodes/python.el (python-nav--syntactically)
14621 (python-nav--forward-defun, python-nav-backward-defun)
14622 (python-nav-forward-defun): New functions.
14623
619ed6e1
FEG
146242013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14625
14626 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14627 (python-syntax-context): Use named compiler-macro for backwards
14628 compatibility with Emacs 24.x.
14629
7a1beb6c
LL
146302013-04-17 Leo Liu <sdl.web@gmail.com>
14631
14632 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14633 octave-hide-process-buffer.
14634
2d3fa3e5
SM
146352013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14636
14637 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14638 (bug#14216).
14639
7ce5be54
JPG
146402013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14641
14642 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14643 Fix adjustment of offset when receiving incomplete responses from GDB
14644 (bug#14129).
14645
351edece
SM
146462013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14649 python-mode-abbrev-table.
14650 (python-skeleton-define): Adjust accordingly.
14651 (python-mode-abbrev-table): New table that inherits from it so that
14652 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14653
14654 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14655 (abbrev-symbol): Use it.
14656 (abbrev--before-point): Use it since we already handle inheritance.
14657
613f9481
LL
146582013-04-16 Leo Liu <sdl.web@gmail.com>
14659
14660 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14661 binding to info-lookup-symbol.
14662
51646b62
JB
146632013-04-16 Juanma Barranquero <lekktu@gmail.com>
14664
14665 * minibuffer.el (completion--twq-all):
14666 * term/ns-win.el (ns-initialize-window-system):
14667 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14668
efb3f01d
SM
146692013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14670
36c0a301
SM
14671 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14672 global bindings.
14673
efb3f01d
SM
14674 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14675
fb549d64
DG
146762013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14677
14678 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14679 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14680 to nil.
14681 (ruby-end-of-defun): Remove the unused arg, change the docstring
14682 to reflect that this function is only used as the value of
14683 `end-of-defun-function'.
14684 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14685 to reflect an earlier change that beginning/end-of-defun functions
14686 jump between methods in a class definition, as well as top-level
14687 functions.
14688
21e8fe2f
SM
146892013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14690
14691 * minibuffer.el (minibuffer-complete): Don't just scroll
14692 a *Completions* that's been iconified.
14693 (minibuffer-force-complete): Make sure repetitions do cycle when going
14694 through completion-in-region -> minibuffer-complete.
14695
20e527d0
AM
146962013-04-15 Alan Mackenzie <acm@muc.de>
14697
14698 Correct the placement of c-cpp-delimiters when there're #s not at
14699 col 0.
14700
14701 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14702 place a submatch around the #.
21e8fe2f
SM
14703 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14704 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
14705 on the #, not BOL.
14706
dabefae5
SM
147072013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14708
14709 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14710 (advice--member-p): New arg `name'.
14711 (advice--add-function, advice-member-p): Use it (bug#14202).
14712
85c9ab64
AM
147132013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14714
14715 Reformulate java imenu-generic-expression.
14716 The old expression contained ill formed regexps.
14717
14718 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14719 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14720 (cc-imenu-java-method-arg-regexp): New defconsts.
14721 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 14722 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
14723 handling of spaces in the regexp.
14724
0f821d99
AM
147252013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14726
14727 * textmodes/ispell.el (ispell-command-loop): Remove
14728 flyspell highlight of a word when ispell accepts it (bug #14178).
14729
eb922adf
MA
147302013-04-15 Michael Albinus <michael.albinus@gmx.de>
14731
14732 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14733 uses code from the previous `ange-ftp-run-real-handler'.
14734 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14735 only in case that function exist. This is needed for proper
14736 unloading of Tramp.
14737
4d9a0979
TH
147382013-04-15 Tassilo Horn <tsdh@gnu.org>
14739
14740 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14741
14742 * textmodes/reftex.el (reftex-compile-variables): Use it.
14743
a829b0dc
SM
147442013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14745
91e8293c
SM
14746 * files.el (normal-mode): Only use default major-mode if no other mode
14747 was specified.
14748
830aed4d
SM
14749 * emacs-lisp/trace.el (trace-values): New function.
14750
a829b0dc
SM
14751 * files.el: Allow : in local variables (bug#14089).
14752 (hack-local-variable-regexp): New var.
14753 (hack-local-variables-prop-line, hack-local-variables): Use it.
14754
7ae9f0fb
RW
147552013-04-13 Roland Winkler <winkler@gnu.org>
14756
14757 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14758 data before it gets modified by bibtex-beginning-of-entry.
14759
6646e848
RW
147602013-04-13 Roland Winkler <winkler@gnu.org>
14761
14762 * textmodes/bibtex.el (bibtex-url): Doc fix.
14763
147642013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
14765
14766 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14767 does not visit a BibTeX file, exclude it from the list of buffers
14768 returned by bibtex-initialize.
14769
0aa3616e
SB
147702013-04-13 Stephen Berman <stephen.berman@gmx.net>
14771
14772 * window.el (split-window): Remove interactive form, since as a
14773 command this function is a special case of split-window-below.
14774 Correct doc string.
14775
011cddd6
RW
147762013-04-12 Roland Winkler <winkler@gnu.org>
14777
14778 * faces.el (read-face-name): Do not override value of arg default.
14779 Allow single faces and strings as default values. Remove those
14780 elements from return value that are not faces.
14781 (describe-face): Simplify.
14782 (face-at-point): New optional args thing and multiple so that this
14783 function can provide the same functionality previously provided by
14784 read-face-name.
14785 (make-face-bold, make-face-unbold, make-face-italic)
14786 (make-face-unitalic, make-face-bold-italic, invert-face)
14787 (modify-face, read-face-and-attribute): Use face-at-point.
14788
14789 * cus-edit.el (customize-face, customize-face-other-window)
14790 * cus-theme.el (custom-theme-add-face)
14791 * face-remap.el (buffer-face-set)
14792 * facemenu.el (facemenu-set-face): Use face-at-point.
14793
f24e0036
MA
147942013-04-12 Michael Albinus <michael.albinus@gmx.de>
14795
14796 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14797
da3cda2d
TH
147982013-04-10 Tassilo Horn <tsdh@gnu.org>
14799
14800 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14801 off leading { and trailing } from field values.
14802
15e54145
SM
148032013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14804
78ce603d
SM
14805 * emacs-lisp/timer.el (timer--check): New function.
14806 (timer--time, timer-set-function, timer-event-handler): Use it.
14807 (timer-set-idle-time): Simplify.
14808 (timer--activate): CSE.
14809 (timer-event-handler): Give more info in error message.
14810 (internal-timer-start-idle): New function, moved from C.
14811
15e54145
SM
14812 * mpc.el (mpc-proc): Add `restart' argument.
14813 (mpc-proc-cmd): Use it.
14814 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14815 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14816 less often.
14817
7144c627
MY
148182013-04-10 Masatake YAMATO <yamato@redhat.com>
14819
14820 * progmodes/sh-script.el: Implement `sh-mode' own
14821 `add-log-current-defun-function' (bug#14112).
14822 (sh-current-defun-name): New function.
14823 (sh-mode): Use the function.
14824
b39792eb
BG
148252013-04-09 Bastien Guerry <bzg@gnu.org>
14826
14827 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14828
8acdeb71
SM
148292013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14830
6fcdab68
SM
14831 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14832
8acdeb71
SM
14833 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14834 timer (bug#14156).
14835
e3e7b504
NF
148362013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14837
14838 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14839 declaration.
14840
201bb296
LL
148412013-04-07 Leo Liu <sdl.web@gmail.com>
14842
14843 * pcmpl-x.el: New file.
14844
ebb19708
DA
148452013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14846
14847 Do not set x-display-name until X connection is established.
14848 This is needed to prevent from weird situation described at
14849 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14850 * frame.el (make-frame): Set x-display-name after call to
14851 window system initialization function, not before.
14852 * term/x-win.el (x-initialize-window-system): Add optional
14853 display argument and use it.
14854 * term/w32-win.el (w32-initialize-window-system):
14855 * term/ns-win.el (ns-initialize-window-system):
14856 * term/pc-win.el (msdos-initialize-window-system):
14857 Add compatible optional display argument.
14858
33bb237a
EZ
148592013-04-06 Eli Zaretskii <eliz@gnu.org>
14860
14861 * files.el (normal-backup-enable-predicate): On MS-Windows and
14862 MS-DOS compare truenames of temporary-file-directory and of the
14863 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14864 don't fail comparison by compare-strings. Also, compare file
14865 names case-insensitively on MS-Windows and MS-DOS.
14866
134abf1f
SM
148672013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14868
14869 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14870 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14871
d695cb94
DG
148722013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14873
e3e7b504
NF
14874 * whitespace.el (whitespace-color-on, whitespace-color-off):
14875 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 14876
f4ad7ea1 148772013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
14878
14879 * ispell.el (ispell-set-spellchecker-params):
14880 Really set `ispell-args' for all equivs.
14881
632556e4
SM
148822013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14883
14884 * ido.el (ido-completions): Use extra elements of ido-decorations
14885 (bug#14143).
14886 (ido-decorations): Update docstring.
14887
2a417372
MA
148882013-04-05 Michael Albinus <michael.albinus@gmx.de>
14889
14890 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14891 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14892 nil during initialization, in order not to miss changes since the
14893 file was opened. (Bug#14140)
14894
fc164b0c
LL
148952013-04-05 Leo Liu <sdl.web@gmail.com>
14896
14897 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14898
0ccecc08
JB
148992013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14900
14901 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14902
51af1aa2
GM
149032013-04-04 Glenn Morris <rgm@gnu.org>
14904
14905 * electric.el (electric-pair-inhibit-predicate): Add :version.
14906
b208ebc6
SM
149072013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14910 when a package is required several times (bug#14082).
14911
f3d3eaf0
RW
149122013-04-04 Roland Winkler <winkler@gnu.org>
14913
14914 * faces.el (read-face-name): Behave as promised by the docstring.
14915 Assume that arg default is a list of faces.
14916 (describe-face): Call read-face-name with list of default faces.
14917
2575da50
TV
149182013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14919
14920 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14921 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14922 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14923 the header.
14924 (bookmark-exit-hook-internal): Save even if list is empty.
14925
397703b4
YH
149262013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14927
14928 * emacs-lisp/package.el (package-pinned-packages): New var.
14929 (package--add-to-archive-contents): Obey it (bug#14118).
14930
691e26ae
AM
149312013-04-03 Alan Mackenzie <acm@muc.de>
14932
8a621d53
JB
14933 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14934 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
14935
14936 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14937 parameter `not-in-delimiter'. Handle being inside comment opener.
14938 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14939 character in case we're typing a '*' after a '/'.
14940 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14941 instead by passing the parameter to c-state-pp-to-literal.
14942
14943 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14944 for elt. 7 of a parse state.
14945
4b725a70
PE
149462013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14947
14948 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14949 * international/latin1-disp.el, international/mule-util.el:
14950 * language/cyril-util.el, language/european.el, language/ind-util.el:
14951 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14952 * language/tibetan.el, language/viet-util.el:
14953 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14954
15c579f0
SM
149552013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14956
14957 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14958 (electric-pair-post-self-insert-function): Use it.
14959 (electric-pair-default-inhibit): New function, extracted from
14960 electric-pair-post-self-insert-function.
14961
a77e2924
RW
149622013-03-31 Roland Winkler <winkler@gnu.org>
14963
14964 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14965
2bd8a4a8
SM
149662013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14967
14968 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14969
8d3655be 149702013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
14971
14972 Un-indent after "pass" and "return" statements (Bug#13888)
14973 * progmodes/python.el (python-indent-block-enders): New var.
14974 (python-indent-calculate-indentation): Use it.
14975
8d3655be 149762013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
14977
14978 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14979 defun. Defining it as defalias could introduce too eager
14980 byte-compiler optimization. (Bug#14030)
14981
8d3655be 149822013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
14983
14984 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14985
0b1619da
LL
149862013-03-30 Leo Liu <sdl.web@gmail.com>
14987
14988 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14989 (kmacro-execute-from-register): Pass the keyboard macro to
14990 kmacro-call-macro or repeating won't work correctly.
14991
0b938190
TZ
149922013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14993
14994 * progmodes/subword.el: Back to using `forward-symbol'.
14995
14996 * subr.el (forward-whitespace, forward-symbol)
14997 (forward-same-syntax): Move from thingatpt.el.
14998
35710234
LL
149992013-03-29 Leo Liu <sdl.web@gmail.com>
15000
15001 * kmacro.el (kmacro-to-register): New command.
15002 (kmacro-execute-from-register): New function.
15003 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15004
efc0bb73
SM
150052013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15006
15007 * mpc.el: Use defvar-local and setq-local.
15008 (mpc--proc-connect): Connection failures are not bugs.
15009 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15010 (mpc-volume-map): Bind to the up-events.
15011
75a2f981
TZ
150122013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15013
15014 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15015 instead of `forward-symbol'.
15016
17c781d1
SM
150172013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15020 (edebug--recursive-edit): Use it.
15021 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15022 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15023
f67bfbcf
LL
150242013-03-28 Leo Liu <sdl.web@gmail.com>
15025
15026 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15027
b59f639d
EZ
150282013-03-27 Eli Zaretskii <eliz@gnu.org>
15029
15030 * facemenu.el (list-colors-callback): New defvar.
15031 (list-colors-redisplay): New function.
15032 (list-colors-display): Install list-colors-redisplay as the
15033 revert-buffer-function. (Bug#14063)
15034
f557c1b1
SM
150352013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15036
b1da2957
SM
15037 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15038 and suffixes don't overlap (bug#14061).
15039
f557c1b1
SM
15040 * case-table.el: Use lexical-binding.
15041 (case-table-get-table): New function.
15042 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15043
002668e1
TZ
150442013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15045
15046 * progmodes/subword.el: Add `superword-mode' to do word motion
15047 over symbol_words (parallels and leverages `subword-mode' which
15048 does word motion inside MixedCaseWords).
15049
73572c72
AG
150502013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15051
78b8f320 15052 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15053 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15054
69b2c07e
SM
150552013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15056
15057 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15058 Change return value to be a sexp. Delay `get-buffer' to after
15059 restoring the desktop (bug#13951).
15060
08bb5ee2
LL
150612013-03-26 Leo Liu <sdl.web@gmail.com>
15062
15063 * register.el: Move semantic tag handling back to
15064 cedet/semantic/senator.el. (Bug#14052)
15065
8d4c974e
SM
150662013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15067
15068 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15069 into the prompt either (bug#13963).
15070
b234d92c
SM
150712013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15074 part of "(error-foo)".
15075
ddfa3cb4
JL
150762013-03-24 Juri Linkov <juri@jurta.org>
15077
15078 * replace.el (list-matching-lines-prefix-face): New defcustom.
15079 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15080 `occur-engine' if `face-differs-from-default-p' returns t.
15081 (occur-engine): Add `,' inside backquote construct to evaluate
15082 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15083 Pass `prefix-face' to the functions `occur-context-lines' and
15084 `occur-engine-add-prefix'.
15085 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15086 `prefix-face' and propertize the prefix with `prefix-face'.
15087 (Bug#14017)
15088
7b0e2f85
LL
150892013-03-24 Leo Liu <sdl.web@gmail.com>
15090
15091 * nxml/rng-valid.el (rng-validate-while-idle)
15092 (rng-validate-quick-while-idle): Guard against deleted buffer.
15093 (Bug#13999)
15094
15095 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15096 is the last entry in kill-buffer-hook.
15097
15098 * files.el (kill-buffer-hook): Doc fix.
15099
b3082f49
DG
151002013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15101
b234d92c
SM
15102 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15103 Make it safe-local.
bde73d27 15104
b3082f49
DG
15105 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15106
a320a2db
LL
151072013-03-23 Leo Liu <sdl.web@gmail.com>
15108
7e74b0fb
LL
15109 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15110 Remove.
15111
15112 * nxml/rng-valid.el (rng-validate-mode)
15113 (rng-after-change-function, rng-do-some-validation):
15114 * nxml/rng-maint.el (rng-validate-buffer):
15115 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15116 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15117 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15118 (nxml-extend-after-change-region): Use with-silent-modifications.
15119
a320a2db
LL
15120 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15121 timer-idle-list.
15122
15123 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15124 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15125 timer-idle-list. (Bug#13999)
15126
e38e6780
JL
151272013-03-23 Juri Linkov <juri@jurta.org>
15128
15129 * info.el (info-index-match): New face.
15130 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15131 main pattern and add text properties with the new face to matches
15132 in index entries relative to the beginning of the index entry.
15133 (Bug#14015)
15134
e8cc7880
DE
151352013-03-21 Eric Ludlam <zappo@gnu.org>
15136
39c87140 15137 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15138 Inhibit read only while inserting objects.
15139
9bb0d822
TZ
151402013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15141
15142 * progmodes/cfengine.el: Update docs to mention
15143 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15144 symbol motion. Remove "_" from the word syntax.
15145
aa703640
TZ
151462013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15147
15148 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15149 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15150
afff09d0
JL
151512013-03-20 Juri Linkov <juri@jurta.org>
15152
15153 * info.el (Info-next-reference-or-link)
15154 (Info-prev-reference-or-link): New functions.
15155 (Info-next-reference, Info-prev-reference): Use them.
15156 (Info-try-follow-nearest-node): Handle footnote navigation.
15157 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15158
9a1ff164
SM
151592013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15160
15161 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15162 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15163
2667d15d
PE
151642013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15165
15166 Suppress unnecessary non-ASCII chatter during build process.
15167 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15168 (batch-skkdic-convert): Suppress most of the chatter.
15169 It's not needed so much now that machines are faster,
15170 and its non-ASCII component was confusing; see Dmitry Gutov in
15171 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15172
438b0579
LL
151732013-03-20 Leo Liu <sdl.web@gmail.com>
15174
15175 * ido.el (ido-chop): Fix bug#10994.
15176
c128ab07
DG
151772013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15178
15179 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15180 Remove vars.
9a1ff164
SM
15181 (whitespace-color-on, whitespace-color-off):
15182 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15183
0e6008c5
SM
151842013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15185
15186 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15187 remapping in mode-line.
15188 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15189
627b52b0
DG
151902013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15191
15192 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15193 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15194 (whitespace-font-lock-keywords): Change description.
15195 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15196 the constructed keywords instead.
15197 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15198
50c3a20b
LL
151992013-03-19 Leo Liu <sdl.web@gmail.com>
15200
15201 * progmodes/compile.el (compilation-display-error): New command.
15202 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15203 C-o. (Bug#13992)
15204
2aa2157b
PE
152052013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15206
15207 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15208
e477dbfa
JD
152092013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15210
15211 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15212
64ab82d1
MA
152132013-03-18 Michael Albinus <michael.albinus@gmx.de>
15214
15215 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15216
15217 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15218 * net/tramp-gvfs.el (top):
15219 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15220 (tramp-handle-shell-command): Use it.
15221 (tramp-dissect-file-name): Raise an error when hostname is a
15222 method name, and neither method nor user is specified.
15223
15224 * net/trampver.el: Update release number.
15225
33cef733
LL
152262013-03-18 Leo Liu <sdl.web@gmail.com>
15227
15228 Make sure eldoc can be turned off properly.
15229 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15230 eldoc-mode.
15231 (eldoc-display-message-p): Revert last change.
15232 (eldoc-display-message-no-interference-p)
15233 (eldoc-print-current-symbol-info): Tweak.
15234
2167b7b2
TH
152352013-03-18 Tassilo Horn <tsdh@gnu.org>
15236
15237 * doc-view.el (doc-view-new-window-function): Check the new window
15238 overlay's display property instead the char property of the
15239 buffer's first char. Use `with-selected-window' instead of
15240 `save-window-excursion' with `select-window'.
15241 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15242 display property instead the char property of the buffer's first char.
2167b7b2 15243
982efbcd
PE
152442013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15245
15246 Automate the build of ja-dic.el (Bug#13984).
15247 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15248 from the input, rather than assume that it's been done for us by the
15249 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15250 the current date into a ja-dic.el comment, as that complicates
15251 regression testing.
15252
2fcc7665
SM
152532013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15254
15255 * whitespace.el: Fix double evaluation.
15256 (whitespace-space, whitespace-hspace, whitespace-tab)
15257 (whitespace-newline, whitespace-trailing, whitespace-line)
15258 (whitespace-space-before-tab, whitespace-indentation)
15259 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15260 obsolete defvars.
15261 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15262 (whitespace-color-on): Use a single font-lock-add-keywords call.
15263 Fix double-evaluation of face variables.
15264
67c0a6e6
MA
152652013-03-17 Michael Albinus <michael.albinus@gmx.de>
15266
2fcc7665
SM
15267 * net/tramp-adb.el (tramp-adb-parse-device-names):
15268 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15269 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15270
69489f1d
LL
152712013-03-17 Leo Liu <sdl.web@gmail.com>
15272
15273 Extend eldoc to display info in the mode-line. (Bug#13978)
15274 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15275 (eldoc-mode-line-string): New variable.
15276 (eldoc-minibuffer-message): New function.
15277 (eldoc-message-function): New variable.
15278 (eldoc-message): Use it.
15279 (eldoc-display-message-p)
2fcc7665
SM
15280 (eldoc-display-message-no-interference-p):
15281 Support eldoc-post-insert-mode.
69489f1d
LL
15282
15283 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15284 (eval-expression): Run it.
15285
9c44569e
RW
152862013-03-17 Roland Winkler <winkler@gnu.org>
15287
15288 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15289 strings in the list of return values.
15290
327f1f6f
JB
152912013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15292
15293 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15294 radix before checking for HMS forms.
15295
67ed8fcd
LL
152962013-03-16 Leo Liu <sdl.web@gmail.com>
15297
15298 * progmodes/scheme.el: Add indentation and font-locking for λ.
15299 (Bug#13975)
15300
78be8b64 153012013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15302
15303 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15304 token before point (bug#13942).
15305
78be8b64 153062013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15307
95b43468 15308 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15309
98e775e6
EZ
153102013-03-16 Eli Zaretskii <eliz@gnu.org>
15311
15312 * startup.el (command-line-normalize-file-name): Fix handling of
15313 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15314 <xfq.free@gmail.com> in
15315 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15316
2edd6029
MA
153172013-03-15 Michael Albinus <michael.albinus@gmx.de>
15318
15319 Sync with Tramp 2.2.7.
15320
15321 * net/trampver.el: Update release number.
15322
d35f5864
TH
153232013-03-14 Tassilo Horn <tsdh@gnu.org>
15324
e903c210 15325 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15326 (doc-view-insert-image): Don't modify overlay associated to
15327 non-live windows, and implement horizontal centering of image in
15328 case it's smaller than the window.
15329 (doc-view-new-window-function): Force redisplay of new windows on
15330 doc-view buffers.
d35f5864 15331
1c4a85ed
KF
153322013-03-13 Karl Fogel <kfogel@red-bean.com>
15333
15334 * saveplace.el (save-place-alist-to-file): Don't sort
15335 `save-place-alist', just pretty-print it (bug#13882).
15336
85b66a21
MA
153372013-03-13 Michael Albinus <michael.albinus@gmx.de>
15338
a020afb9
JB
15339 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15340 Check whether `default-file-name-coding-system' is bound.
15341 It isn't in XEmacs.
85b66a21 15342
175600da
SM
153432013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15344
e7f7cb1a
SM
15345 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15346 backquotes for `obsolete' (bug#13929).
15347
175600da
SM
15348 * international/mule.el (find-auto-coding): Include file name in
15349 obsolescence warning (bug#13922).
15350
ca68a22e
TZ
153512013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15352
15353 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15354 for CFEngine 3-specific indentation.
15355 (cfengine3-indent-line): Use it. Fix up category regex.
15356 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15357
940e5099
SM
153582013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15359
15360 * type-break.el (type-break-file-name):
15361 * textmodes/remember.el (remember-data-file):
15362 * strokes.el (strokes-file):
15363 * shadowfile.el (shadow-initialize):
15364 * saveplace.el (save-place-file):
15365 * ps-bdf.el (bdf-cache-file):
15366 * progmodes/idlwave.el (idlwave-config-directory):
15367 * net/quickurl.el (quickurl-url-file):
15368 * international/kkc.el (kkc-init-file-name):
15369 * ido.el (ido-save-directory-list-file):
15370 * emulation/viper.el (viper-custom-file-name):
15371 * emulation/vip.el (vip-startup-file):
15372 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15373 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15374
cc725808
PE
153752013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15376
15377 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15378 * language/thai-word.el: Switch to UTF-8.
15379
a020afb9 15380See ChangeLog.16 for earlier changes.
e3d51b27
MR
15381
15382;; Local Variables:
15383;; coding: utf-8
e3d51b27
MR
15384;; End:
15385
ba318903 15386 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15387
15388 This file is part of GNU Emacs.
15389
15390 GNU Emacs is free software: you can redistribute it and/or modify
15391 it under the terms of the GNU General Public License as published by
15392 the Free Software Foundation, either version 3 of the License, or
15393 (at your option) any later version.
15394
15395 GNU Emacs is distributed in the hope that it will be useful,
15396 but WITHOUT ANY WARRANTY; without even the implied warranty of
15397 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15398 GNU General Public License for more details.
15399
15400 You should have received a copy of the GNU General Public License
15401 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.