Sync with Tramp 2.2.10.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
df5703a0
SM
12014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4 add-to-list.
5 (ses-localvars): Remove ses--local-printer-list, unused.
6 (ses--metaprogramming): New macro. Use it to defvar variables.
7 (ses-set-localvars): Simplify.
8 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9 property-list into an alist.
10 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
11 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
12 Remove; use defstruct accessors/setters instead.
13 (ses-cell-formula-aset, ses-cell-printer-aset)
14 (ses-cell-references-aset): Remove, use setf instead.
15 (ses--alist-get): New function.
16 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
17 Use an alist instead of a plist and don't do move-to-front since the
18 list is always short.
19 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
20 (ses-cell-property-set-fun, ses-cell-property-set)
21 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
22 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
23 (ses--letref): New macro.
24 (ses-cell-property-pop): Rewrite.
25 (ses--cell): Rename from ses-cell and make it into a function.
26 Make `formula' fallback on `value' if nil.
27 (ses--local-printer): Rename from ses-local-printer and make it into
28 a function.
29 (ses-set-cell): Turn it into a macro so finding the accessor from the
30 field name is done at compile time.
31 (ses-repair-cell-reference-all): Test presence of `sym' rather than
32 `ref' before adding `sym' to :ses-repair-reference.
33 (ses-calculate-cell): Use ses--letref rather than
34 ses-cell-property-get-handle.
35 (ses-write-cells): Use a single prin1-to-string.
36 (ses-setter-with-undo): New function.
37 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
38 (ses-unset-with-undo): Remove.
39 (ses-load): Prefer apply' over `eval'.
40 (ses-read-printer, ses-set-column-width): Use standard "(default
41 foo)" format.
42
90de50e2 432014-06-15 Glenn Morris <rgm@gnu.org>
cd7d4e9b 44
0d9f8137
GM
45 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
46
cd7d4e9b
GM
47 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
48 Replace delete-duplicates and mapcan by cl- versions throughout.
49 And cl-macroexpand-all by macroexpand-all.
50 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
51
90de50e2 522014-06-15 Eli Zaretskii <eliz@gnu.org>
859488bf
EZ
53
54 * subr.el (posn-col-row): Doc fix. (Bug#17768)
55
90de50e2 562014-06-15 Juri Linkov <juri@jurta.org>
5be5f285
JL
57
58 * bindings.el: Put `ascii-character' property on keypad keys
59 mapped to characters. (Bug#17759)
60
90de50e2 612014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
40be983b 62
bf26b463
SM
63 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
64 bumping forward into a closing paren (bug#17761).
65
40be983b
SM
66 * term/xterm.el (xterm--version-handler): Work around for OSX
67 Terminal.app (bug#17607).
68
90de50e2
GM
692014-06-14 Ron Schnell <ronnie@driver-aces.com>
70
799d2f3d 71 * play/dunnet.el If a lamp is in the room, you won't be eaten by a grue.
90de50e2 72
5fd71fed
GM
732014-06-13 Glenn Morris <rgm@gnu.org>
74
f9d80c51
GM
75 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
76 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
77 (compile-always): GNU make automatically passes
78 command-line arguments to sub-makes.
79
5fd71fed
GM
80 * calendar/calendar.el (calendar-generate-window):
81 Remove pointless call to font-lock-fontify-buffer.
82
99961a04
MM
832014-06-13 Matthias Meulien <orontee@gmail.com>
84
85 * simple.el (completion-list-mode-map): Navigate with tab and backtab
86 (bug#17767).
87
882014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * simple.el (set-mark-command): Simplify a bit.
91
958d20d2
NR
922014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
93
94 * help.el (help--key-binding-keymap): New function.
95 (help--binding-locus): New function.
96 (describe-key): Mention the keymap in which the binding was
97 found. (bug#13948)
98
de825bbb
SM
992014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * hippie-exp.el (he--all-buffers): New function.
102 (try-expand-line-all-buffers, try-expand-list-all-buffers)
103 (try-expand-dabbrev-all-buffers): Use it.
104
85762518
EL
1052014-06-12 Emilio C. Lopes <eclig@gmx.net>
106
107 * hippie-exp.el (try-expand-line-all-buffers)
108 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
109 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
110 original buffer, in case they're buffer-local.
111
4f11561b
VB
1122014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
113
114 * ses.el (ses-initial-global-parameters-re): New defconst, a
115 specific regexp is needed now that ses.el can handle both
85762518
EL
116 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
117 local printers.
118 (ses-localvars): Add local variables needed for local printer handling.
4f11561b
VB
119 (ses-set-localvars): Handle hashmap initialisation.
120 (ses-paramlines-plist): Add param-line for number of local printers.
121 (ses-paramfmt-plist): New defconst, needed for code factorization
122 between functions `ses-set-parameter' and
123 `ses-file-format-extend-paramter-list'
124 (ses-make-local-printer-info): New defsubst.
125 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
126 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
127 (ses-cell-printer-aset): New defmacro.
128 (ses-local-printer-compile): New defun.
129 (ses-local-printer): New defmacro.
130 (ses-printer-validate, ses-call-printer): Add support for local
131 printer functions.
132 (ses-file-format-extend-paramter-list): New defun.
85762518
EL
133 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
134 factorization.
135 (ses-load): Add support for local printer functions.
136 (ses-read-printer): Update docstring and add support for local printer
137 functions.
4f11561b
VB
138 (ses-refresh-local-printer, ses-define-local-printer): New defun.
139 (ses-safe-printer): Add support for local printer functions.
140
7c35a922
IA
1412014-06-12 Ivan Andrus <darthandrus@gmail.com>
142
143 * ffap.el (ffap-lax-url): New var (bug#17723).
144 (ffap-url-at-point): Use it.
145 (ffap-file-at-point): Avoid returning just "/".
146
82fb2a08
MM
1472014-06-12 Matthias Meulien <orontee@gmail.com>
148
c77f4a90
MM
149 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
150 (python-mode-map): Bind it.
151
82fb2a08
MM
152 * progmodes/python.el (class skeleton): Don't erase last char of class
153 name (bug#17683).
154
e016b8f1
CD
1552014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
156
157 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
158
08cedf2e
KR
1592014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
160
161 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
162 (bug#17745).
163
41d33032
SM
1642014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * international/mule-cmds.el: Use lexical-binding.
167 (ucs-names): Simplify.
168
846e6e84
EH
1692014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
170
171 * progmodes/python.el (run-python): Use read-shell-command.
172
7e74ad02
SM
1732014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * rect.el: Make it possible to move bounds past EOL or into TABs.
176 (operate-on-rectangle): Use apply-on-rectangle.
177 (rectangle--mark-crutches): New var.
178 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
179 (rectangle--crutches, rectangle--reset-crutches): New functions.
180 (apply-on-rectangle): Obey crutches. Avoid setq.
181 Fix missing final iteration if end is at EOB&BOL.
182 (rectangle-mark-mode-map): Add remap bindings for
183 exchange-point-and-mark and char/line movements.
184 (rectangle--*-char): New function.
185 (rectangle-exchange-point-and-mark, rectangle-right-char)
186 (rectangle-left-char, rectangle-forward-char)
187 (rectangle-backward-char, rectangle-next-line)
188 (rectangle-previous-line): New commands.
189 (rectangle--place-cursor): New function.
190 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
191
99d8aedf
GM
1922014-06-08 Glenn Morris <rgm@gnu.org>
193
6d069b1b
GM
194 * startup.el (initial-buffer-choice): Doc fix.
195 Reset :version (adding an option does not merit a :version bump).
196
99d8aedf
GM
197 * bookmark.el (bookmark-load):
198 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
199
36cf8493 2002014-06-08 Juri Linkov <juri@jurta.org>
7f118009
JL
201
202 * desktop.el: Activate auto-saving on window configuration changes.
203 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
36cf8493
GM
204 `desktop-auto-save-set-timer' to/from
205 `window-configuration-change-hook'.
7f118009
JL
206 (desktop-auto-save-set-timer): Change REPEAT arg of
207 `run-with-idle-timer' from t to nil.
208 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
209
36cf8493 2102014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
f4be80b7
SPM
211
212 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
213 vc-hg-command (bug#17570).
214
36cf8493 2152014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
28b83297
SM
216
217 * international/mule-cmds.el (ucs-names): Add special entry for BEL
218 (bug#17702).
219
36cf8493 2202014-06-08 Glenn Morris <rgm@gnu.org>
b8379803
GM
221
222 * startup.el (window-setup-hook): Doc fix.
223
e1b3f35f
GM
224 * emacs-lisp/package.el (package-check-signature)
225 (package-unsigned-archives): Doc fixes.
226
36cf8493 2272014-06-08 Martin Rudalics <rudalics@gmx.at>
4a52a98a
MR
228
229 * window.el (display-buffer-use-some-window): Don't make window
230 used smaller than it was before (Bug#17671).
231
36cf8493 2322014-06-08 Eli Zaretskii <eliz@gnu.org>
0016fa11
EZ
233
234 * menu-bar.el (menu-bar-open): Fix last change: use the PC
235 'redisplay' instead of '(sit-for 0)'.
236
36cf8493 2372014-06-08 Michael Albinus <michael.albinus@gmx.de>
a336b2ea 238
36cf8493
GM
239 * net/tramp.el (tramp-ssh-controlmaster-options):
240 Improve search regexp. (Bug#17653)
a336b2ea 241
36cf8493 2422014-06-08 Glenn Morris <rgm@gnu.org>
910dc8d3
GM
243
244 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
245
36cf8493 2462014-06-08 Eli Zaretskii <eliz@gnu.org>
33590869
EZ
247
248 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
249
90b15d91
SPM
2502014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
251
3112e400
SPM
252 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
253 (bug#17586).
254
90b15d91
SPM
255 * vc/vc-hg.el (vc-hg-log-graph): New var.
256 (vc-hg-print-log): Use it.
257 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
258 graph output (bug#17515).
259
3da983f8
SM
2602014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * mouse.el (mouse-posn-property): Ignore buffer position info when the
263 even happened elsewhere.
264
4a816020
ML
2652014-06-06 Mario Lang <mlang@delysid.org>
266
267 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
268 `recenter' if `current-buffer' is equal to `window-buffer'.
269
14781f7f
LL
2702014-06-05 Leo Liu <sdl.web@gmail.com>
271
272 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
273
af9a3b28
MN
2742014-06-05 Michal Nazarewicz <mina86@mina86.com>
275
3da983f8
SM
276 * textmodes/tildify.el (tildify-foreach-region-outside-env):
277 New function which calls a callback on portions of the buffer that are
03d7d160
MN
278 outside of ignored environments.
279 (tildify-build-regexp): Remove function since it is now
280 incorporated in `tildify-foreach-region-outside-env' where it is
281 optimised and simplified by the use of `mapconcat'.
282 (tildify-tildify): Return number of substitutions made so that…
283 (tildify-count): …can be removed.
284 (tildify-find-env): Accept a new PAIRS argument which was
285 previously looked up in `tildify-ignored-environments-alist' each
286 time the function was called. With this change, the lookup is
287 performed only once in `tildify-foreach-region-outside-env'.
288 (tildify-region): Greatly simplify the function since now most of
289 the work is done by `tildify-foreach-region-outside-env'.
290 (tildify-mode-alist): Simplify slightly by avoiding if and setq
291 and instead using or.
292
df344ab4
MN
293 * textmodes/tildify.el (tildify-ignored-environments-alist):
294 Optimise environments regexes
295
296 Each time beginning of an environment to ignore is found,
297 `tildify-find-env' needs to identify regexp for the ending
298 of the environment. This is done by trying all the opening
299 regexes on matched text in a loop, so to speed that up, this
300 loop should have fewer things to match, which can be done by
301 using alternatives in the opening regexes.
302
303 Coincidentally, this should make matching of the opening
304 regexp faster as well thanks to the use of `regexp-opt' and
305 having common prefix pulled from many regexes.
306
eb54c73a
MN
307 * textmodes/tildify.el (tildify-string-alist)
308 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
309 of supported modes since `xml-mode' is no longer a thing but just
310 an alias to the former. Also include comments and insides of tags
311 in `tildify-ignored-environments-alist' for XML modes. Finally,
312 since XML does not define “&nbsp;”[1], use a numeric reference for
313 a no-break space (namely “&#160;”)
314
315 [1] XML specification defines only a handful of predefined entities.
316 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
317 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
318 >, &, ' and " respectively). This is in contrast to HTML and even
319 XHTML which defined a whole bunch of entities including “&nbsp;”.
320
e01e361f
MN
321 * textmodes/tildify.el (tildify-pattern-alist)
322 (tildify-string-alist, tildify-ignored-environments-alist):
323 Improve defcustom's types by adding more tags explaining what each
324 value means and replace “sexp” used in
325 `tildify-ignored-environments-alist' with a full type declaration.
326
9342feec
MN
327 * textmodes/tildify.el (tildify-find-env): Fix matched group
328 indexes in end-regex building
329
330 When looking for a start of an ignore-environment, the regex is built
331 by concatenating regexes of all the environments configured in
332 `tildify-ignored-environments-alist'. So for example, the following
333 list could be used to match TeX's \verb and \verb* commands:
334
335 (("\\\\verb\\(.\\)" . (1))
336 ("\\\\verb\\*\\(.\\)" . (1)))
337
338 This would result in the following regex being used to find the start
339 of any of the variants of the \verb command:
340
341 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
342
343 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
344 won't match anything, and thus (match-string 1) will be nil, which
345 will cause building of the end-matching regex to fail.
346
347 Fix this by using capture groups from the time when the opening
348 regexes are matched individually.
349
af9a3b28
MN
350 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
351 in `tildify-find-env'
352
353 The `tildify-ignored-environments-alist' allows the end-regex to
354 be provided not as a static string but mix of strings and indexes
355 of groups matched the begin-regex. For example, the “\verb!…!”
356 TeX-command (where “!” is an arbitrary character) is handled
357 using:
358
359 ("\\\\verb\\*?\\(.\\)" . (1))
360
361 In the same way, the following should be supported as well:
362
363 ("open-\\(.\\)" . ("end-" 1))
364
365 However the tildify-find-env function fails at
366
367 (concat result
368 (if (stringp (setq aux (car expression)))
369 expression ; BUG: expression is a list
370 (regexp-quote (match-string aux))))
371
372 where the string part is handled incorrectly.
373
374 The most trivial fix would be to replace `expression' in the
375 true-part of the if-statement with `aux', but instead, this commit
376 optimises `tildify-find-env' by changing it to use `mapconcat'
377 rather than open-coded while-loop.
378
a1d799c2
ML
3792014-06-05 Mario Lang <mlang@delysid.org>
380
381 * woman.el (woman-mapcan): Remove.
382 (woman-parse-colon-path): Use cl-mapcan instead.
383
5830a292
RS
3842014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
385
386 * register.el: Add link to Emacs manual in Commentary.
387
cf3c1e23
SS
3882014-06-02 Sam Steingold <sds@gnu.org>
389
390 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
391 (popup-menu): ...here.
392 (menu-bar-open): Use it to avoid an error when `lookup-key'
393 returns a number.
394
c8291a36
MA
3952014-06-02 Michael Albinus <michael.albinus@gmx.de>
396
e915914b 397 * net/tramp.el (tramp-call-process): Add traces.
7973d8d5 398 (tramp-handle-unhandled-file-name-directory): Return "/".
c8291a36 399
9e158ac8
WS
4002014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
401
402 Sync with upstream verilog-mode revision 3cd8144.
403 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
404 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
405 (verilog-type-font-keywords): Add nor.
406 (verilog-batch-execute-func): Force reading of Local Variables.
407 Fix printing "no changes to be saved" with verilog-batch.
408 (verilog-auto-arg-ports): Doc fix.
409 Add verilog-auto-arg-format to support newlines in AUTOARG.
410 (verilog-auto-arg): Doc fix.
411
4982861a
GM
4122014-06-02 Glenn Morris <rgm@gnu.org>
413
414 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
415 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
416 * emulation/ws-mode.el: Move to obsolete/.
3fbc3eff 417 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
4982861a 418
953e106a 4192014-06-02 Eli Zaretskii <eliz@gnu.org>
082c97e8
EZ
420
421 * simple.el (keyboard-quit): Force update of mode lines, to remove
422 the "Def" indicator, if we were defining a macro. (Bug#17615)
423
953e106a 4242014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
ffa8a2db 425
08c0f626
SM
426 * minibuffer.el (minibuffer-force-complete-and-exit):
427 Obey minibuffer-default (bug#17545).
428
ffa8a2db
SM
429 * progmodes/js.el (js-indent-line): Don't mix columns and chars
430 (bug#17619).
431
8889b935
SM
432 * subr.el (set-transient-map): Don't wait for some "nested"
433 transient-map to finish if we're only supposed to be active for
434 the next command (bug#17642).
435
953e106a 4362014-06-02 Leo Liu <sdl.web@gmail.com>
e41682ae
LL
437
438 * emacs-lisp/gv.el (window-buffer, window-display-table)
439 (window-dedicated-p, window-hscroll, window-point, window-start):
440 Fix gv-expander. (Bug#17630)
441
953e106a 4422014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
90cd9b13 443
3a73c34c
SM
444 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
445 clicks (bug#17633).
446
90cd9b13
SM
447 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
448 for the single comma, since ", " is *very* common in normal French text
449 (bug#17643).
450
953e106a 4512014-06-02 Glenn Morris <rgm@gnu.org>
ab84733c
GM
452
453 * emacs-lisp/package.el (package-check-signature)
454 (package-unsigned-archives): Fix :version.
455
953e106a 4562014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2f8165f4
SM
457
458 * subr.el (sit-for): Don't run input-methods (bug#15614).
459
953e106a 4602014-06-02 Glenn Morris <rgm@gnu.org>
18348234
GM
461
462 * cus-start.el: Fix some :version numbers.
463
953e106a 4642014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
53bc1e29 465
18348234
GM
466 * simple.el (deactivate-mark): Set mark-active to nil even if
467 deactivation is done via setting transient-mark-mode to nil,
468 since one is buffer-local and the other is global.
9828d523 469
53bc1e29
SM
470 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
471 there can't be more than 2 arguments (bug#17584).
472
953e106a 4732014-06-02 Glenn Morris <rgm@gnu.org>
e38a5ebe 474
e9e341bb
GM
475 * simple.el (filter-buffer-substring-functions)
476 (filter-buffer-substring-function, buffer-substring-filters)
477 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
478
4a12fa5c
GM
479 * minibuffer.el (completion-in-region-functions, completion-in-region)
480 (completion--in-region): Doc fixes.
481
e38a5ebe
GM
482 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
483 (expand-abbrev, abbrev--default-expand): Doc fixes.
484
953e106a 4852014-06-02 Paul Eggert <eggert@cs.ucla.edu>
cf2f54c4
PE
486
487 Include sources used to create macuvs.h.
488 * international/README: Refer to the Unicode Terms of Use rather
489 than copying it bodily here, as that simplifies maintenance.
490
a383d091
GM
4912014-06-01 Glenn Morris <rgm@gnu.org>
492
493 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
494
b5d6fe3b
GM
4952014-05-31 Glenn Morris <rgm@gnu.org>
496
497 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
498
6423ce26
GM
4992014-05-30 Glenn Morris <rgm@gnu.org>
500
501 * loadup.el: Treat `command-line-args' more flexibly.
502
9155e80d
AM
5032014-05-30 Alan Mackenzie <acm@muc.de>
504
505 Guard (looking-at "\\s!") from XEmacs.
506 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
507
e50e0340
KO
5082014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
509
3da983f8
SM
510 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
511 The argument COUNT is now optional, to be more backward-compatible.
e50e0340
KO
512 Doc fix. (Bug#17560)
513
6ddcaa8f
RT
5142014-05-29 Reuben Thomas <rrt@sc3d.org>
515
3da983f8
SM
516 * whitespace.el (whitespace-report-region):
517 Simplify documentation.
b4c1ce8a
RT
518 (whitespace-report-region): Allow report-if-bogus to take the
519 value `never', for non-interactive use.
b0877c44
RT
520 (whitespace-report): Refer to whitespace-report-region's
521 documentation.
6ddcaa8f 522
6711a21f
SM
5232014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
524
4d05fe98
SM
525 * whitespace.el: Use font-lock-flush. Minimize refontifications.
526 Side benefit: it works without jit-lock.
527 (whitespace-point--used): New buffer-local var.
528 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
529 (whitespace-color-off): Use font-lock-flush.
530 (whitespace-point--used, whitespace-point--flush-used): New functions.
531 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
532 (whitespace-empty-at-eob-regexp): Use them.
533 (whitespace-post-command-hook): Rewrite.
534
6711a21f
SM
535 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
536 (font-lock-fontify-buffer): Mark interactive-only.
537 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
538 Make buffer-local.
539 (font-lock-specified-p): Remove redundant boundp check.
540 (font-lock-flush-function, font-lock-ensure-function): New vars.
541 (font-lock-turn-on-thing-lock): Set them.
542 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
543 (font-lock-after-change-function): Make `old-len' optional.
544 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
545 Call font-lock-flush, just in case.
546 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
547 recent Emacsen.
548 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
549 (vera-mode-map, vera-mode-menu): Remove bindings to it.
550 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
551 and with-syntax-table.
552 * textmodes/conf-mode.el (conf-quote-normal):
553 * progmodes/sh-script.el (sh-set-shell):
554 * progmodes/prog-mode.el (prettify-symbols-mode):
555 * progmodes/f90.el (f90-font-lock-n):
556 * progmodes/cwarn.el (cwarn-mode):
557 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
558 * progmodes/compile.el (compilation-setup, compilation--unsetup):
559 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
560 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
561 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
562 font-lock-fontify-buffer-function and
563 font-lock-unfontify-buffer-function.
564 (rmail-unfontify-buffer-function, rmail-fontify-message):
565 Use with-silent-modifications.
566 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
567 and font-lock-ensure.
568 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
569
c63982dd
TTN
5702014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
571
572 * emacs-lisp/package.el (package-generate-autoloads):
573 Inhibit backup files.
574
1af6db7d
SM
5752014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
578 (bug#17608).
579
fc21a7de
MN
5802014-05-21 Michal Nazarewicz <mina86@mina86.com>
581
582 * textmodes/tildify.el (tildify-buffer, tildify-region):
583 Add dont-ask option.
584
0e4857b7
SM
5852014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
586
4c539a7b
SM
587 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
588 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
589
0e4857b7
SM
590 * subr.el (internal--funcall-interactively): New.
591 (internal--call-interactively): Remove.
592 (called-interactively-p): Detect funcall-interactively instead of
593 call-interactively.
0e4857b7
SM
594 * simple.el (repeat-complex-command): Use funcall-interactively.
595 (repeat-complex-command--called-interactively-skip): Remove.
596
a366fbe2
SM
5972014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
598
0da7d35c
SM
599 * register.el (register-read-with-preview): Don't burp on
600 frame switches (e.g. due to the frame we just popped).
601
a366fbe2
SM
602 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
603 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
604
015936fb 6052014-05-26 Andreas Schwab <schwab@linux-m68k.org>
12ddce55
AS
606
607 * cus-face.el (custom-face-attributes): Add :distant-foreground.
608
015936fb 6092014-05-26 Martin Rudalics <rudalics@gmx.at>
f408fbe4 610
015936fb 611 * window.el (window--dump-frame): Remove interactive specification.
f408fbe4 612
015936fb 6132014-05-26 Glenn Morris <rgm@gnu.org>
486eebac
GM
614
615 * hippie-exp.el (he-line-search-regexp):
616 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
617
015936fb 6182014-05-26 Stephen Berman <stephen.berman@gmx.net>
903204bb
SB
619
620 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
621 to avoid errors when trying to create or visit a file foo.todo
622 located outside to todo-directory, and to allow having such files
623 without them being tied to Todo mode (bug#17482).
624 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
625 (todo-archive-done-item, todo-find-filtered-items-file)
626 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
627 (todo-category-completions, todo-read-category): When visiting a
628 Todo file, make sure we're in the right mode and the buffer local
629 variables are set.
630 (todo-make-categories-list, todo-reset-nondiary-marker)
a366fbe2
SM
631 (todo-reset-done-string, todo-reset-comment-string):
632 After processing all Todo files, kill the buffers of those files that
903204bb
SB
633 weren't being visited before the processing.
634 (todo-display-as-todo-file, todo-add-to-buffer-list)
635 (todo-visit-files-commands): Comment out.
636 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
637 (auto-mode-alist): Remove add-to-list calls making Todo file
638 extensions unrestrictedly tied to Todo modes.
639
015936fb 6402014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
15ad4013
SM
641
642 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
643 (advice-function-member-p): Tell it to check both names and functions
644 (bug#17531).
645 (advice--add-function): Adjust call accordingly.
646
015936fb 6472014-05-26 Stephen Berman <stephen.berman@gmx.net>
982ccf03
SB
648
649 * calendar/todo-mode.el: Miscellaneous bug fixes.
650 (todo-delete-file): When deleting an archive but not its todo
651 file, make sure to update the todo file's category sexp.
652 (todo-move-category): Keep the moved category's name unless the
653 file moved to already has a category with that name. If the
654 numerically last category of the source file was moved, make the
655 first category current to avoid selecting a nonexisting category.
656 (todo-merge-category): Fix implementation to make merging to a
657 category in another file work as documented. Eliminate now
658 insufficient and unnecessary renaming of archive category, correct
659 document string accordingly, and clarify it. If the numerically
660 last category of the source file was merged, make the first
661 category current to avoid selecting a nonexisting category.
662 (todo-archive-done-item): When there are marked items and point
663 happens to be on an unmarked item, ignore the latter. Don't leave
664 point below last item after archiving marked items.
665 (todo-unarchive-items): Fix logic to ensure unarchiving an item
666 from an archive with only one category deletes the archive only
667 when the category is empty after unarchiving. Make sure the todo
668 file's category sexp is updated.
669 (todo-read-file-name): Allow an existing file name even when it is
670 not required (todo-move-category needs this to work as documented).
671 (todo-add-file): Call todo-validate-name to reject the name of an
672 existing todo file (needed due to fix in todo-read-file-name).
673 (todo-reset-nondiary-marker): Also reset in filtered items files.
674 (todo-reset-done-string, todo-reset-comment-string): Also reset in
675 regexp filtered items files.
676 (todo-reset-highlight-item): Also reset in filtered items files.
677 Fix incorrect variable reference in document string.
678
015936fb 6792014-05-26 Glenn Morris <rgm@gnu.org>
bcba2d85
GM
680
681 * window.el (window--dump-frame): Avoid error in --without-x builds.
682
015936fb 6832014-05-26 Glenn Morris <rgm@gnu.org>
fb4ca841
GM
684
685 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
686
015936fb 6872014-05-26 Eli Zaretskii <eliz@gnu.org>
13a83f05
EZ
688
689 * frame.el (set-frame-font): Doc fix.
690
691 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
692
015936fb 6932014-05-26 Dmitry Gutov <dgutov@yandex.ru>
b0df8b95 694
a366fbe2
SM
695 * emacs-lisp/package.el (package--download-one-archive):
696 Use `write-region' instead of `save-buffer' to avoid running various
b0df8b95
DG
697 hooks. (Bug#17155)
698 (describe-package-1): Same. Insert newline at the end of the
699 buffer if appropriate.
700
015936fb 7012014-05-26 Juri Linkov <juri@jurta.org>
a2115113
JL
702
703 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
704 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
705 Add more modifiers: meta, control, shift, hyper, super, alt.
706 (Bug#17439)
707
2614b25f
JL
708 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
709 to allow changing its value with `set-variable'.
710
015936fb 7112014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7b952d61 712
0a5cfeee
SM
713 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
714 #; comments.
715 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
716 New functions.
717 (scheme-mode-variables): Set syntax-propertize-function instead of
718 font-lock-syntactic-face-function.
719 (scheme-font-lock-syntactic-face-function): Delete.
720
7b952d61
SM
721 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
722
08a2434e
SM
723 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
724 (bug#17392).
725
015936fb 7262014-05-26 Michael Albinus <michael.albinus@gmx.de>
43425aec
MA
727
728 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
729 for a temporary file name.
730
015936fb 7312014-05-26 Eli Zaretskii <eliz@gnu.org>
1e046d37
EZ
732
733 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
734
015936fb 7352014-05-26 Michael Albinus <michael.albinus@gmx.de>
1bafb1de
MA
736
737 * net/dbus.el (dbus-init-bus, dbus-call-method)
738 (dbus-call-method-asynchronously, dbus-send-signal)
e8cbb768 739 (dbus-method-return-internal, dbus-method-error-internal):
1bafb1de
MA
740 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
741
015936fb 7422014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
ec264fbb
NR
743
744 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
745 methods which do not have a doc string. (Bug#17490)
746
5e26d984
TH
7472014-05-25 Tassilo Horn <tsdh@gnu.org>
748
749 * textmodes/reftex-ref.el (reftex-format-special): Make it work
750 also for AMS Math's \eqref macro.
751
770a6a91
TTN
7522014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
753
754 Arrange to never byte-compile the generated -pkg.el file.
755
756 * emacs-lisp/package.el (package-generate-description-file):
757 Output first-line comment to set buffer-local var `no-byte-compile'.
758 Suggested by Dmitry Gutov:
759 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
760
e50a0b6e
TTN
7612014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
762
763 Fix bug: Properly quote args to generated -pkg.el `define-package'.
764
765 * emacs-lisp/package.el (package-generate-description-file):
766 Inline `package--alist-to-plist'; rewrite to selectively
767 quote alist values that are not self-quoting.
768 (package--alist-to-plist): Delete func.
769
d93cfca0
AS
7702014-05-25 Andreas Schwab <schwab@linux-m68k.org>
771
772 * term/xterm.el (xterm-function-map): Add mapping for shifted
773 keypad keys.
774
8bb17f64
DC
7752014-05-24 Daniel Colascione <dancol@dancol.org>
776
166aaa37
DC
777 * progmodes/subword.el (subword-find-word-boundary): Move point to
778 correct spot before search. (Bug#17580)
779
8bb17f64
DC
780 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
781 breaking the build.
782
ec774634
LL
7832014-05-24 Leo Liu <sdl.web@gmail.com>
784
785 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
786
e4829cb8
SM
7872014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * minibuffer.el (completion--sreverse): Remove.
790 (completion--common-suffix): Use `reverse' instead.
791 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
792
aad65192
GM
7932014-05-22 Glenn Morris <rgm@gnu.org>
794
795 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
796
708374c7
DC
7972014-05-21 Daniel Colascione <dancol@dancol.org>
798
799 * files.el (interpreter-mode-alist): Add mksh.
800
801 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
802 derivative.
803 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
804 mksh. Improve custom spec; allow regular expressions.
805 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
806 (sh-after-hack-local-variables): New function.
807 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
808 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
809 the normalization.
810 (sh-canonicalize-shell): Rewrite to support regexes.
811
8ea51e4f
LL
8122014-05-21 Leo Liu <sdl.web@gmail.com>
813
814 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
815
427de535
LL
8162014-05-19 Leo Liu <sdl.web@gmail.com>
817
818 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
819
3c8d9107
GM
8202014-05-18 Glenn Morris <rgm@gnu.org>
821
822 * loadup.el:
823 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
824
b8e11d41
SS
8252014-05-14 Sam Steingold <sds@gnu.org>
826
827 * progmodes/python.el (python-shell-get-or-create-process):
828 Do not bind `current-prefix-arg' so that C-c C-z does not talk
829 back unless requested.
830
abad7b05
GM
8312014-05-14 Glenn Morris <rgm@gnu.org>
832
d63d883a
GM
833 * subr.el (with-file-modes): New macro.
834 * printing.el (pr-save-file-modes): Make obsolete.
835 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
836 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
837 Add with-file-modes.
838 * doc-view.el (doc-view-make-safe-dir):
839 * epg.el (epg--start):
840 * files.el (locate-user-emacs-file, make-temp-file)
841 (backup-buffer-copy, move-file-to-trash):
842 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
843 * eshell/esh-util.el (eshell-with-private-file-modes)
844 (eshell-make-private-directory):
845 * net/browse-url.el (browse-url-mosaic):
846 * obsolete/mailpost.el (post-mail-send-it):
847 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
848 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
849 Use with-file-modes.
850
abad7b05
GM
851 * vc/emerge.el (emerge-make-temp-file): Simplify.
852
34cba8e8
SB
8532014-05-14 Stephen Berman <stephen.berman@gmx.net>
854 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
857 suffix (bug#15419).
858
a5d09243
GM
8592014-05-14 Glenn Morris <rgm@gnu.org>
860
861 * vc/emerge.el (emerge-temp-file-prefix):
862 Make pointless option obsolete.
863 (emerge-temp-file-mode): Make non-functional option obsolete.
864
f4da4720 8652014-05-14 Michael Albinus <michael.albinus@gmx.de>
e95b937a
MA
866
867 * net/browse-url.el (browse-url):
868 Use `unhandled-file-name-directory' when setting `default-directory',
869 in order to circumvent stalled remote connections. (Bug#17425)
870
f0036ec2
GM
8712014-05-14 Glenn Morris <rgm@gnu.org>
872
873 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
874 Optimize on Emacs, which has the relevant functions for ages.
875
27a69ff0
SM
8762014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * simple.el (undo-make-selective-list): Obey undo-no-redo.
879
ecaf7f4d
SS
8802014-05-12 Sam Steingold <sds@gnu.org>
881
882 * calendar/time-date.el (seconds-to-string): New function to
883 pretty print time delay in seconds.
884
97100b43
SM
8852014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
886
400e8286
SM
887 * mpc.el (mpc-format): Trim Date to the year.
888 (mpc-songs-hashcons): Shorten the Date field.
889
97100b43
SM
890 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
891 into autoloading just because of a silly indirection.
892
90b15d91 8932014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
0add0959
SPM
894
895 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
896
bbbabffe 8972014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
898
899 * emacs-lisp/find-gc.el: Move to ../admin.
900
6b45ef35
GM
901 * printing.el (pr-version):
902 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
903
8c6699ab
GM
904 * net/browse-url.el (browse-url-mosaic):
905 Create /tmp/Mosaic.PID as a private file.
906
bbbabffe 9072014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
908
909 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
910 (advice--member-p): If name is given, only compare the name.
911 (advice--remove-function): Don't stop at the first match.
912 (advice--normalize-place): New function.
913 (add-function, remove-function): Use it.
914 (advice--add-function): Pass the name, if any, to
915 advice--remove-function.
916
bbbabffe 9172014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
918
919 * electric.el (electric-indent-post-self-insert-function): Don't use
920 `pos' after modifying the buffer (bug#17449).
921
bbbabffe 9222014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
923
924 * calendar/todo-mode.el (todo-insert-item-from-calendar):
925 Correct argument list to conform to todo-insert-item--basic.
926
bbbabffe 9272014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 928
2651ed05
GM
929 * files.el (cd-absolute): Test if directory is accessible
930 rather than executable. (Bug#17330)
931
bb1f4b8f
GM
932 * progmodes/compile.el (recompile):
933 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
934
4049faae
GM
935 * net/browse-url.el (browse-url-mosaic):
936 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
937 This is CVE-2014-3423.
938
4eb43682
SM
9392014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
940
fbd5cc6c
SM
941 * mouse.el: Use the normal toplevel loop while dragging.
942 (mouse-set-point): Handle multi-clicks.
943 (mouse-set-region): Handle multi-clicks for drags.
944 (mouse-drag-region): Update call accordingly.
945 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
946 Use the normal event loop instead of a local while/read-event loop.
947 (global-map): Remove redundant bindings for double/triple-mouse-1.
948 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
949 Generate synthetic down events when the protocol only sends up events.
950 (xterm-mouse-last): Remove.
951 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
952 terminal parameter instead.
953 (xterm-mouse--set-click-count): New function.
954 (xterm-mouse-event): Detect/generate double/triple clicks.
955 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
956
80a78d23
SM
957 * info.el (Info-quoted): New face.
958 (Info-mode-font-lock-keywords): New var.
959 (Info-mode): Use it.
960
4eb43682
SM
961 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
962 are a hindrance for C-x C-e.
963
2f9b4cfc
LL
9642014-05-11 Leo Liu <sdl.web@gmail.com>
965
966 * net/rcirc.el (rcirc-sentinel): Fix last change.
967
f36f0bca
SS
9682014-05-08 Sam Steingold <sds@gnu.org>
969
970 * net/rcirc.el (rcirc-reconnect-delay): New user option.
971 (rcirc-sentinel): Auto-reconnect to the server if
972 `rcirc-reconnect-delay' is non-0 (but not more often than its
973 value in case the host is off-line).
974
b722ea4e
EZ
9752014-05-09 Eli Zaretskii <eliz@gnu.org>
976
977 * progmodes/grep.el (lgrep): Fix a typo in last commit.
978
1d75432d
GM
9792014-05-09 Glenn Morris <rgm@gnu.org>
980
981 * files.el (file-expand-wildcards):
982 * man.el (Man-support-local-filenames):
983 * printing.el (pr-i-directory, pr-interface-directory):
984 * progmodes/grep.el (lgrep, rgrep):
985 * textmodes/ispell.el (ispell-call-process)
986 (ispell-call-process-region, ispell-start-process)
987 (ispell-init-process): Use file-accessible-directory-p.
988
b406487f
SM
9892014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
992 (xterm-mouse--read-event-sequence-1000): Return nil if something
993 looks fishy.
994 (xterm-mouse-event): Propagate it.
995 (xterm-mouse-translate-1): Handle it.
996
fb3f83f5 9972014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
998
999 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1000 four slots of the parameter list are filled, make sure to pass it
1001 to the argument list of todo-insert-item--basic.
1002
fb3f83f5 10032014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
1004
1005 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1006 Add optional `seen' argument to detect and break infinite loops.
1007
fb3f83f5 10082014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
1009
1010 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1011 (trace-unsafe, trace-use-tree): Make parentheses style be
1012 according to Emacs style.
1013
fb3f83f5 10142014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 1015
5e87fcb1
SM
1016 * net/tramp-sh.el (tramp-remote-process-environment):
1017 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1018 Add :version entry.
1019 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1020 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
1021 extra "PSx=..." commands.
1022 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1023 (Bug#17295)
1024
23e19cf2
MA
1025 (tramp-uudecode): Replace the hard-coded temporary file name by a
1026 format specifier.
1027 (tramp-remote-coding-commands): Enhance docstring.
1028 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1029 name. (Bug#17415)
a9fd3545 1030 This is CVE-2014-3424.
23e19cf2 1031
fb3f83f5 10322014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
1033
1034 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1035 (find-gc-source-files): Update some names.
1036 (trace-call-tree): Simplify and update.
1037 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 1038 This is CVE-2014-3422.
0c4decae 1039
fb3f83f5 10402014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 1041
bf67c3f7
SM
1042 * minibuffer.el (completion--try-word-completion): Revert fix for
1043 Bug#15980 (bug#17375).
1044
c22f24f6
SM
1045 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1046 Always store button numbers in the same way in xterm-mouse-last;
1047 Don't burp is xterm-mouse-last is not set as expected.
1048 Never return negative indices.
1049
fb3f83f5 10502014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
1051
1052 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1053 Backtrack one char if the global/char-literal var matcher hits
1054 inside a string. The next char could be the beginning of an
1055 expression expansion.
1056
fb3f83f5 10572014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
1058
1059 * help-fns.el (describe-function-1): Test for an autoload before a
1060 macro, since `macrop' works on autoloads. (Bug#17410)
1061
fb3f83f5 10622014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 1063
e6025d72
SM
1064 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1065
dccb0688
SM
1066 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1067 Make sure the new point we return is within the new string (bug#17239).
1068
049534ad
DC
10692014-05-05 Daniel Colascione <dancol@dancol.org>
1070
1071 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1072 Port `gnu' pattern to rx.
1073
80e377c0
JC
10742014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1075
1076 Remove unneeded prompt when closing a buffer with active
1077 emacsclient ("Buffer ... still has clients"), #16548.
1078 * server.el (server-start): Remove the only call to:
1079 (server-kill-buffer-query-function): Remove.
1080
f930a063
LL
10812014-05-04 Leo Liu <sdl.web@gmail.com>
1082
1083 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1084 Defvar to pacify compiler.
1085
3e9fa60a 10862014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
1087
1088 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1089
3e9fa60a 10902014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
1091
1092 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1093 Use nil rather than `default' for the "default" appearance (bug#17388).
1094 * vc/ediff-util.el (ediff-inferior-compare-regions)
1095 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1096 a misleading `default' value when it's really a boolean.
1097 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1098 overlay is not visible.
1099
3e9fa60a 11002014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
1101
1102 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1103 (todo-menu): Uncomment and update.
1104
3e9fa60a 11052014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
1106
1107 * calendar/todo-mode.el: Reimplement item editing to have the same
1108 basic user interface as item insertion, and make small UI and
1109 larger internal improvements to the latter.
1110 (todo-insert-item): Add reference to the Todo mode user manual to
1111 the documentation string.
1112 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1113 adjust all callers. Change signature to combine diary and
1114 nonmarking arguments. Incorporate functionality of deleted item
1115 copying command and add error checking. Remove detailed
1116 descriptions of the arguments from the documentation string, since
1117 this is treated in the Todo mode user manual.
1118 (todo-copy-item, todo-edit-multiline-item)
1119 (todo-edit-done-item-comment, todo-edit-item-header)
1120 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1121 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1122 (todo-edit-item-date-year, todo-edit-item-date-month)
1123 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1124 Remove.
1125 (todo-edit-item): Reimplement as wrapper command for
1126 todo-edit-item--next-key and make it distinguish done and not done
1127 todo items.
1128 (todo-edit-item--text): New function, replacing old command
1129 todo-edit-item and incorporating deleted commands
1130 todo-edit-multiline-item and todo-edit-done-item-comment.
1131 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1132 Use only numeric value of prefix argument. Remove detailed
1133 descriptions of the arguments from the documentation string, since
1134 this is treated in the Todo mode user manual.
1135 (todo-edit-item--diary-inclusion): New function, replacing old
1136 command todo-edit-item-diary-inclusion and incorporating and fixing
1137 functionality of deleted command todo-edit-item-diary-nonmarking,
1138 making sure to remove todo-nondiary-marker when adding
1139 diary-nonmarking-symbol.
1140 (todo-edit-category-diary-inclusion): Make sure to delete
1141 diary-nonmarking-symbol when adding todo-nondiary-marker.
1142 (todo-edit-category-diary-nonmarking): Fix indentation.
1143 (todo-insert-item--parameters): Group diary and nonmarking
1144 parameters together.
1145 (todo-insert-item--apply-args): Adjust to signature of
1146 todo-insert-item--basic and incorporate copy parameter.
1147 Make small code improvements.
1148 (todo-insert-item--next-param): Improve prompt and adjust it to
1149 new parameter grouping. Remove obsolete code.
1150 (todo-edit-item--param-key-alist)
1151 (todo-edit-item--date-param-key-alist)
1152 (todo-edit-done-item--param-key-alist): New defconsts.
1153 (todo-edit-item--prompt): New variable.
1154 (todo-edit-item--next-key): New function.
5e87fcb1
SM
1155 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1156 Remove bindings of deleted commands.
aed4b12d 1157
3e9fa60a 11582014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
1159
1160 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1161
3e9fa60a 11622014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
1163
1164 * allout-widgets.el (allout-widgets-tally)
1165 (allout-decorate-item-guides):
1166 * menu-bar.el (menu-bar-positive-p):
1167 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1168 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1169 * progmodes/js.el (js--inside-param-list-p)
1170 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1171 * progmodes/prolog.el (region-exists-p):
1172 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1173 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1174 Doc fixes (replace `iff').
1175
3e9fa60a 11762014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
1177
1178 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1179
bbdcf64f
LL
11802014-05-04 Leo Liu <sdl.web@gmail.com>
1181
1182 Support Chinese diary entries in calendar and diary. (Bug#17393)
1183 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1184 (calendar-chinese-from-absolute-for-diary)
1185 (calendar-chinese-to-absolute-for-diary)
1186 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1187 (diary-chinese-list-entries): New functions to list and mark
1188 Chinese diary entries in the calendar window.
1189 (diary-chinese-anniversary)
1190 (diary-chinese-insert-anniversary-entry)
1191 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1192 (diary-chinese-insert-yearly-entry): New commands to insert
1193 Chinese diary entries.
1194
80a78d23
SM
1195 * calendar/diary-lib.el (diary-font-lock-keywords):
1196 Support font-locking Chinese dates.
bbdcf64f
LL
1197
1198 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1199 inserting Chinese diary entries.
1200
80a78d23
SM
1201 * calendar/calendar.el (diary-chinese-entry-symbol):
1202 New customizable variable.
bbdcf64f
LL
1203 (calendar-mode-map): Add bindings for inserting Chinese diary
1204 entries.
1205
cfd59d67
JL
12062014-05-03 Juri Linkov <juri@jurta.org>
1207
1208 * dired.el (dired-check-switches, dired-switches-recursive-p):
1209 New functions. (Bug#17218)
1210 (dired-switches-escape-p, dired-move-to-end-of-filename):
1211 Use `dired-check-switches'.
1212 (dired-insert-old-subdirs, dired-build-subdir-alist)
1213 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1214
4807c7eb
BR
12152014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1216
a7e1ffdc
BR
1217 * simple.el (undo-make-selective-list): New algorithm fixes
1218 incorrectness of position adjustments when undoing in region.
1219 (Bug#17235)
1220 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
1221 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1222 New functions to adjust positions using undo-deltas.
4807c7eb 1223
17a873c5
SM
12242014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1227 the last consecutive closing paren (bug#17345).
1228
724ee6dc
RT
12292014-04-30 Reuben Thomas <rrt@sc3d.org>
1230
1231 * dired.el (dired-mode): make terminology for eXpunge command
1232 consistent. (Bug#17276)
1233
72962dd8
EZ
12342014-04-30 Eli Zaretskii <eliz@gnu.org>
1235
1236 * dired.el (dired-initial-position-hook, dired-initial-position):
1237 Doc string fixes.
1238
09b911ad 12392014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
1240
1241 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1242
09b911ad 12432014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
1244
1245 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 1246 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
1247 overriden by the defface spec which also fixes issues on win32 where
1248 the toolbar coloring was wrong because it is set through X resources
1249 and was (wrongfully) overriden. (Bug#16694)
1250
09b911ad 12512014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
1252
1253 * textmodes/rst.el (electric-pair-pairs): Declare.
1254 (rst-mode): Set it (bug#17131).
1255
09b911ad 12562014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
1257
1258 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1259 and `print-level' to nil. (Bug#17351)
1260
09b911ad 12612014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
1262
1263 * battery.el (battery-update): Handle the case where battery
1264 status is "N/A" (bug#17319).
1265
9b7b020d
SM
12662014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1269 to syntax-propertize.
1270 (ps-mode-auto-indent): Mark as obsolete.
1271 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1272 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1273 word regexp operators.
1274 (ps-mode-map): Move initialization into declaration. Remove binding
1275 for TAB, RET, >, ], and }.
1276 (ps-mode-syntax-table): Move initialization into declaration.
1277 Don't give word syntax to non-word chars.
1278 (ps-run-mode-map): Move initialization into declaration.
1279 (ps-mode-menu-main): Remove auto-indent entry.
1280 (ps-mode-smie-rules): New function.
1281 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1282 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1283 (ps-mode--string-syntax-table): New const.
1284 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1285 New functions.
1286 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1287 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1288
196bfaec
DC
12892014-04-27 Daniel Colascione <dancol@dancol.org>
1290
1291 * term/xterm.el (xterm-paste): Use large finite timeout when
1292 reading event to avoid putting keys in this-command-keys.
1293
5ba339c7
SM
12942014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1297 (perl-syntax-propertize-function): Use it. Extend handling of
1298 here-docs to the unquoted case.
1299
dff4a9f6 13002014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 1301
5ba339c7
SM
1302 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1303 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 1304
dff4a9f6 13052014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
1306
1307 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1308 Fix syntax for @. (Bug#17325)
1309
dff4a9f6 13102014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
1311
1312 * emacs-lisp/cl.el (gv): Require gv early to break eager
1313 macro-expansion cycles.
1314
dff4a9f6 13152014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 1316
05452dc4
SM
1317 * simple.el (region-active-p): Check there's a mark (bug#17324).
1318
0e8a9331
SM
1319 * simple.el (completion-list-mode-map): Use choose-completion for the
1320 mouse binding as well (bug#17302).
1321 (completion-list-mode, completion-setup-function): Adjust docstring and
1322 echo area message accordingly.
1323 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1324 calling convention of choose-completion.
1325 * comint.el (comint-dynamic-list-completions):
1326 * term.el (term-dynamic-list-completions): Accept choose-completion.
1327
c0868451
SM
1328 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1329 &, |, +, - and * can't be a division (bug#17317).
1330
f7e0450a
SM
1331 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1332 features on gnome-terminal (bug#16988).
1333
5e4ab4e4
TTN
13342014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1335
1336 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1337
1338 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1339 the declared object, ignore zero or more parens, not zero or one.
1340
d5031a2a
LL
13412014-04-24 Leo Liu <sdl.web@gmail.com>
1342
1343 * progmodes/xscheme.el (xscheme-expressions-ring)
1344 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1345 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1346 (xscheme-allow-output-p, xscheme-prompt)
1347 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1348
1349 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1350 Comment out unused functions.
1351
118b5a92
SM
13522014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * info.el: Use lexical-binding and cl-lib.
1355 Use defvar-local and setq-local instead of make-local-variable.
1356 (Info-apropos-matches): Avoid add-to-list.
1357 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1358
9b233997
DC
13592014-04-24 Daniel Colascione <dancol@dancol.org>
1360
1361 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1362
ddc13efd
SM
13632014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1366
f2df692c
MH
13672014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1368
1369 * dired.el (dired-insert-set-properties): Do not consider
1370 subdirectory headings and empty lines to be information that
1371 `dired-hide-details-mode' should hide. (Bug#17228)
1372
14828a95
MA
13732014-04-22 Michael Albinus <michael.albinus@gmx.de>
1374
1375 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1376 Remove test messages.
1377 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1378 and `target' twice.
1379
42e91034 13802014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 1381
9c104369
SM
1382 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1383 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1384
622eef68
SM
1385 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1386
42e91034 13872014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 1388
622eef68
SM
1389 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1390 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
1391 the file name. Add test messages for hunting a bug on hydra.
1392 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1393
42e91034 13942014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
1395
1396 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1397 Don't prettify a word within a symbol.
1398
42e91034 13992014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
1400
1401 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1402 possible.
1403
1b0f10d2
DC
14042014-04-22 Daniel Colascione <dancol@dancol.org>
1405
1406 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1407 use defun to define `function-put'.
1408
67c477ae
SM
14092014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1410
4f965793
SM
1411 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1412 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1413 (lisp-mode-variables): Set font-lock-extra-managed-props.
1414
67c477ae
SM
1415 * emacs-lisp/byte-run.el (function-put): New function.
1416 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1417 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1418 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1419 Use them.
1420
66fda794
DC
14212014-04-22 Daniel Colascione <dancol@dancol.org>
1422
67c477ae
SM
1423 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1424 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
1425 `macroexpand-all'.
1426
1427 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1428 Improve docstrings.
1429
c98212f9
DC
1430 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1431 Use lambda function values, not quoted lambdas.
1432 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1433
66fda794 1434 * emacs-lisp/cl-macs.el
c98212f9 1435 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
1436 (cl-struct-slot-value): Conditionally use aref or nth so that the
1437 compiler produces optimal code.
1438
d6f14ca7
SM
14392014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1442 (inline): Don't inline cl--set-elt.
1443 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1444 Define as inlinable instead.
1445 (cl-struct-set-slot-value): Remove.
1446
1447 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1448 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1449 Use setf instead.
1450
44faec17
DC
14512014-04-21 Daniel Colascione <dancol@dancol.org>
1452
1453 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1454 last two parameters after all.
1455 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1456 (cl--compiler-macro-assoc,cl-struct-slot-value)
1457 (cl-struct-set-slot-value): Stop using them.
1458
1459(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
1460
1461 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1462 entry in image-mode-winprops-alist.
1463
2fa1b97d
DC
14642014-04-21 Daniel Colascione <dancol@dancol.org>
1465
9253f7af
SM
1466 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1467 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
1468 (byte-compile-toplevel-file-form): Use it.
1469
2fa1b97d
DC
1470 * emacs-lisp/cl-macs.el:
1471 (cl--loop-let): Properly destructure `while' clauses.
1472
e8a77f24
DC
14732014-04-20 Daniel Colascione <dancol@dancol.org>
1474
1475 * vc/vc.el (vc-root-dir): New public autoloaded function for
1476 generically finding the current VC root.
1477 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 1478 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 1479
89a2e783
DC
14802014-04-20 Daniel Colascione <dancol@dancol.org>
1481
1482 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1483 argument.
1484 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1485 argument in case we're inside a symbol-macrolet.
1486 (cl--do-arglist, cl--compiler-macro-typep)
1487 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1488 environment to `cl--const-expr-val'.
1489 (cl-struct-sequence-type,cl-struct-slot-info)
1490 (cl-struct-slot-offset, cl-struct-slot-value)
1491 (cl-struct-set-slot-value): New functions.
1492
fe36068f
SM
14932014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1496 assignments such as "case=hello" (bug#17297).
1497
ce8c5107
MA
14982014-04-18 Michael Albinus <michael.albinus@gmx.de>
1499
1500 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1501 Do not autoload.
1502 (tramp-file-name-handler, tramp-completion-file-name-handler):
1503 Revert patch from 2014-04-10, it isn't necessary anymore.
1504 (tramp-autoload-file-name-handler)
1505 (tramp-register-autoload-file-name-handlers): New defuns.
1506 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1507 (tramp-register-file-name-handlers): Remove also
1508 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1509 Do not autoload its invocation, but eval it after loading of 'tramp.
1510
1511 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1512
1513 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1514
bfc30790
DC
15152014-04-17 Daniel Colascione <dancol@dancol.org>
1516
1517 Add support for bracketed paste mode; add infrastructure for
1518 managing terminal mode enabling and disabling automatically.
1519
1520 * xt-mouse.el:
1521 (xterm-mouse-mode): Simplify.
1522 (xterm-mouse-tracking-enable-sequence)
1523 (xterm-mouse-tracking-disable-sequence): New constants.
1524 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
1525 (turn-off-xterm-mouse-tracking-on-terminal):
1526 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
1527 parameters instead of random hooks.
1528 (turn-on-xterm-mouse-tracking)
1529 (turn-off-xterm-mouse-tracking): Delete.
1530
1531 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1532 (xterm-paste-ending-sequence): New constant.
1533 (xterm-paste): New command used for bracketed paste support.
1534
1535 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1536 (terminal-init-xterm-bracketed-paste-mode): New function.
1537 (terminal-init-xterm): Call it.
1538 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1539 and tty-mode-reset-strings instead of random hooks.
1540 (xterm-turn-on-modify-other-keys)
1541 (xterm-turn-off-modify-other-keys)
1542 (xterm-remove-modify-other-keys): Delete obsolete functions.
1543
67c477ae
SM
1544 * term/screen.el: Rewrite to just use the xterm code.
1545 Add copyright notice. Mention tmux.
bfc30790 1546
e51c8d91
I
15472014-04-17 Ian D <dunni@gnu.org> (tiny change)
1548
1549 * image-mode.el (image-mode-window-put): Also update the property of
1550 the "default window".
1551 * doc-view.el (doc-view-new-window-function): If no window
1552 exists, move to the last known page.
1553
c76a7a5c
SM
15542014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1557 here-documents (bug#17262).
1558
bf6b4923
EZ
15592014-04-16 Eli Zaretskii <eliz@gnu.org>
1560
c76a7a5c
SM
1561 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1562 Provide doc strings, as required by snarf-documentation.
bf6b4923 1563
290d7ac2 15642014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
1565
1566 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1567 arg of overlays-at. Use `invisible-p'.
1568
1569 * obsolete/lucid.el (extent-at):
1570 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1571 overlays-at.
1572 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1573
290d7ac2 15742014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
1575
1576 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1577 links. (Bug#17217).
1578
290d7ac2 15792014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
1580
1581 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1582 Use mapc to loop over a vector. (Bug#17257).
1583
290d7ac2 15842014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
1585
1586 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1587 patch, there are new problems with file names containing spaces.
1588 Get rid of backticks. (Bug#17238)
1589
290d7ac2 15902014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
1591
1592 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1593 possible bug.
1594
290d7ac2 15952014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
1596
1597 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1598 (blink-cursor-mode): Mention customization variables and the
1599 effect of 'blink-cursor-blinks'.
1600
290d7ac2 16012014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
1602
1603 * simple.el (undo): Prevent insertion of identity mapping into
1604 undo-equiv-table so as undo-only does not inf loop in the presence
1605 of consecutive nils in undo list.
1606
290d7ac2 16072014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
1608
1609 * faces.el (make-face): Deprecate optional argument as it is no
1610 longer needed/used since the conditional X resources handling
1611 has been pushed down to make-face-x-resource-internal itself.
1612 (make-empty-face): Don't pass optional argument to make-face.
1613
5f6b4154
KF
16142014-04-16 Karl Fogel <kfogel@red-bean.com>
1615
1616 * savehist.el (savehist-save): Remove workaround for a read-passwd
1617 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1618 noticing that the shim was still present.
1619
005551fe
SM
16202014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1623
b92583c4
JB
16242014-04-14 Juanma Barranquero <lekktu@gmail.com>
1625
1626 * faces.el (face-set-after-frame-default): Remove unused local variable.
1627
6c2453e0
SM
16282014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1629
f7993853
SM
1630 * progmodes/grep.el: Use lexical-binding.
1631 (grep-expand-template): Pass explicit lexical env to `eval'.
1632 (zrgrep): Let-bind grep-find-template explicitly.
1633
6c2453e0
SM
1634 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1635 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1636
ac387dd1
EZ
16372014-04-12 Eli Zaretskii <eliz@gnu.org>
1638
1639 * international/characters.el <standard-case-table>: Add entries
1640 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 1641 Set category of Coptic characters be 'g' (Greek).
ac387dd1 1642
2e611da6
LL
16432014-04-12 Leo Liu <sdl.web@gmail.com>
1644
e0af4095
GM
1645 * progmodes/octave.el (completion-table-with-cache):
1646 Define if not available.
1647 (octave-goto-function-definition, octave-sync-function-file-names)
1648 (octave-find-definition-default-filename):
1649 Backquote upattern for compatibility.
2e611da6 1650
e0af4095 16512014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
1652
1653 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1654 name twice due to backticks. (Bug#17238)
1655
e0af4095 16562014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
1657
1658 * term/w32-win.el (x-win-suspend-error):
1659 * term/x-win.el (x-win-suspend-error): Sync docs.
1660
7f0f4c25
MD
16612014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1662
f7993853
SM
1663 * faces.el (make-face): Remove deprecated optional argument.
1664 The conditional application of X resources is handled directly by
7f0f4c25
MD
1665 make-face-x-resource-internal since Emacs 24.4.
1666 (make-empty-face): Don't pass optional argument to make-face.
1667
e088b01d
GM
16682014-04-11 Glenn Morris <rgm@gnu.org>
1669
1670 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1671
536aa466 16722014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
1673
1674 Ediff's overlay priorities cause more trouble than they solve.
1675 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1676 (ediff-highest-priority): Remove function (bug#17234).
1677 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1678 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1679 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1680 overlay priorities.
1681
536aa466 16822014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
1683
1684 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1685 entry; use symbol boundaries to avoid mis-matches.
1686
536aa466 16872014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
1688
1689 * net/tramp.el (tramp-file-name-handler)
1690 (tramp-completion-file-name-handler): Avoid recursive loading.
1691
1692 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1693 Quote result also locally.
1694
0d6a1375
SM
16952014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1696
c99ce7d8
SM
1697 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1698 Remove left-over code.
1699
0d6a1375
SM
1700 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1701 Reuse the previous comment's indentation unconditionally if it's on its
1702 own line.
1703
3f63a9f7
DC
17042014-04-09 Daniel Colascione <dancol@dancol.org>
1705
1706 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1707 `no-syntax-crossing' arguments. Forward to `up-list'.
1708 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1709 Implement logic for escaping from strings. Use narrowing to deal
1710 with corner cases.
1711
0b816f15
LL
17122014-04-09 Leo Liu <sdl.web@gmail.com>
1713
1714 * net/rcirc.el (rcirc-connection-info): New variable.
1715 (rcirc-connect): Use it to store connection info.
1716 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1717 for killed process.
1718 (rcirc-cmd-reconnect): New command. (Bug#17045)
1719 (rcirc-mode, set-rcirc-encode-coding-system)
1720 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1721
22683580
DC
17222014-04-09 Daniel Colascione <dancol@dancol.org>
1723
1724 * emacs-lisp/cl-indent.el: Add comment claiming
1725 facility is also good for elisp.
1726 (lisp-indent-find-method): New function.
1727 (common-lisp-indent-function): Recognize cl-loop.
1728 (common-lisp-indent-function-1): Recognize cl constructs; use
1729 `lisp-indent-find-method' instead of `get' directly.
1730 (if): Use else-body style for elisp.
1731
0122b24d
DG
17322014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1733
1734 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1735 Module methods. (Bug#17216)
1736
559836fb 17372014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
1738
1739 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1740 (describe-bindings-internal): Mark obsolete.
1741
6bc76cee
SM
17422014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1745 buffer-file-name, and buffer-file-truename any more.
1746
dc0b0454
LL
17472014-04-08 Leo Liu <sdl.web@gmail.com>
1748
1749 Use lexical-binding and require cl-lib.
1750 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1751 (rcirc-handler-generic, rcirc-fill-paragraph)
1752 (rcirc-format-response-string, rcirc-target-buffer)
1753 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1754 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1755 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1756 (rcirc-markup-timestamp, rcirc-markup-attributes)
1757 (rcirc-markup-my-nick, rcirc-markup-urls)
1758 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1759 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1760 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1761 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1762 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1763 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1764 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1765 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1766 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1767 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1768 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1769 use cl-lib.
1770
190f899a
JT
17712014-04-07 João Távora <joaotavora@gmail.com>
1772
6f287c89
GM
1773 * elec-pair.el (electric-pair--syntax-ppss):
1774 When inside comments parse from comment beginning.
190f899a
JT
1775 (electric-pair--balance-info): Fix typo in comment.
1776 (electric-pair--in-unterminated-string-p): Delete.
1777 (electric-pair--unbalanced-strings-p): New function.
1778 (electric-pair-string-bound-function): New var.
1779 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1780 according to `electric-pair--in-unterminated-string-p'
1781
6f287c89
GM
1782 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1783 Inhibit quote pairing if point-max is inside an unterminated string.
1784 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
1785 (electric-pair--in-unterminated-string-p): New function.
1786
a9c921e6
GM
17872014-04-07 Glenn Morris <rgm@gnu.org>
1788
1789 * shell.el (shell-directory-tracker):
1790 Go back to just ignoring failures. (Bug#17159)
1791
6f287c89 17922014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
1793
1794 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1795 backspace. (bug#16981)
1796 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1797 (electric-pair-backward-delete-char-untabify): Delete.
1798 (electric-pair-mode-map): Bind backspace to a menu item filtering
1799 a new `electric-pair-delete-pair' command.
1800 (electric-pair-delete-pair): New command.
1801
6f287c89
GM
1802 * progmodes/python.el (python-electric-pair-string-delimiter):
1803 Fix triple-quoting electricity. (Bug#17192)
89f20f76 1804
6f287c89
GM
1805 * elec-pair.el (electric-pair-post-self-insert-function):
1806 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 1807 `electric-pair-pairs' were used. syntax to
7aecc2f6 1808 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 1809
6f287c89 18102014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
1811
1812 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1813 "<F>". (Bug#17199)
1814
6f287c89 18152014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
1816
1817 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1818 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1819
6f287c89 18202014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
1821
1822 * help.el (view-lossage): Doc tweak.
1823
6f287c89 18242014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
1825
1826 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1827 only when inhibit-x-resources is nil, and do that earlier in the
1828 function. Doc fix. (Bug#16694)
fdafd487
MD
1829 (face-spec-choose): Accept additional optional argument, whose
1830 value is returned if no matching attributes are found.
1831 (face-spec-recalc): Use the new optional argument when calling
1832 face-spec-choose. (Bug#16378)
f5e4494c
MD
1833 (make-face-x-resource-internal): Do nothing when
1834 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 1835 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
1836 (face-set-after-frame-default): Don't call
1837 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 1838
6f287c89 18392014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 1840
0beb7fb7
SM
1841 * doc-view.el (doc-view-bookmark-jump):
1842 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
1843 buffer is shown in a window. (bug#16090)
1844
6f287c89 18452014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
1846
1847 * international/characters.el (mirroring): Fix last change:
1848 instead of loading uni-mirrored.el explicitly, do that implicitly
1849 by creating the 'mirroring' uniprop table. This avoids announcing
1850 the loading of uni-mirrored.el.
1851
6f287c89 18522014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
1853
1854 * files.el (buffer-stale--default-function)
1855 (buffer-stale-function, revert-buffer--default):
1856 * autorevert.el (auto-revert-buffers): Doc tweaks.
1857
6f287c89 18582014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
1859
1860 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1861
6f287c89 18622014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
1863
1864 * files.el (make-backup-file-name-function)
1865 (make-backup-file-name, make-backup-file-name--default-function)
1866 (make-backup-file-name-1, find-backup-file-name)
1867 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1868 (buffer-stale--default-function, buffer-stale-function)
1869 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1870 (revert-buffer, revert-buffer--default)
1871 (revert-buffer-insert-file-contents--default-function):
1872 Doc fixes related to defaults no longer being nil.
1873 (make-backup-file-name-function): Bump :version.
1874 Restore nil as a valid but deprecated custom type.
1875
6f287c89 18762014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 1877
6f287c89
GM
1878 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1879 Handle $' used as a variable (bug#17174).
66f50b12
SM
1880
1881 * progmodes/perl-mode.el (perl-indent-new-calculate):
1882 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
1883 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1884 modifiers introducing expressions (bug#17116).
66f50b12 1885
7b656e4a
SM
18862014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1889
722237d5
LL
18902014-04-05 Leo Liu <sdl.web@gmail.com>
1891
7b656e4a
SM
1892 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1893 Add define-compilation-mode.
722237d5 1894
5cb0cc90
JT
18952014-04-04 João Távora <joaotavora@gmail.com>
1896
9b017563
JB
1897 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1898 parse from comment beginning.
5cb0cc90
JT
1899 (electric-pair--balance-info): Fix typo in comment.
1900 (electric-pair--in-unterminated-string-p): Delete.
1901 (electric-pair--unbalanced-strings-p): New function.
1902 (electric-pair-string-bound-function): New var.
1903 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1904 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1905
6b31e6b1
SM
19062014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1909 Move declaration before first use.
1910 (reftex-move-to-next-arg): Silence compiler warning.
1911
0de7d982
JK
19122014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1913
6b31e6b1
SM
1914 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1915 Use `window-total-width' instead of `window-width'.
0de7d982 1916
01ae0fbf
DC
19172014-04-03 Daniel Colascione <dancol@dancol.org>
1918
1919 * subr.el (set-transient-map): Remove rms's workaround entirely;
1920 use new `suspicious-object' subr to mark our lambda for closer
1921 scrutiny during gc.
1922
4fd68bf6
RS
19232014-04-02 Richard Stallman <rms@gnu.org>
1924
1925 * subr.el (set-transient-map): Comment out previous change.
1926
c7510f6e
GM
19272014-04-02 Glenn Morris <rgm@gnu.org>
1928
0b908bf2
GM
1929 * menu-bar.el (menu-bar-file-menu):
1930 * vc/ediff.el (ediff-current-file):
1931 Update for revert-buffer-function no longer being nil by default.
1932
c7510f6e
GM
1933 * simple.el (command-execute): Respect nil disabled-command-function.
1934
09aba815 19352014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1936
1937 * simple.el (command-execute): Do not execute the command when it
1938 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1939
09aba815 19402014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1941
1942 * dired-aux.el (dired-compress-file): Don't use string-match-p
1943 because its match data is used afterwards.
1944
09aba815 19452014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1946
1947 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1948 0 like nil.
1949
200c532b
JT
19502014-04-02 João Távora <joaotavora@gmail.com>
1951
6b31e6b1
SM
1952 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1953 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1954 (electric-pair--looking-at-unterminated-string-p):
1955 Delete.
1956 (electric-pair--in-unterminated-string-p): New function.
1957
2395f2b9
DC
19582014-04-01 Daniel Colascione <dancol@dancol.org>
1959
1960 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1961 when trying to complete the prompt.
1962
294b2b09
LL
19632014-03-31 Leo Liu <sdl.web@gmail.com>
1964
6b31e6b1
SM
1965 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1966 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1967 (eldoc-documentation-function-default): New function.
1968 (eldoc-documentation-function): Change value.
1969
4f3a895b
GM
19702014-03-31 Glenn Morris <rgm@gnu.org>
1971
1972 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1973
1db854cc
GM
1974 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1975 (vhdl-compose-components-package, vhdl-compose-configuration):
1976 Abbreviate default-directory (missing from some previous upstream sync).
1977
3c2d4776
RZ
19782014-03-31 Reto Zimmermann <reto@gnu.org>
1979
1980 Sync with upstream vhdl mode v3.35.2.
1981 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1982 (top-level): No longer require assoc.
1983 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1984 New functions. Use throughout to replace aget etc.
1985 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1986 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1987 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1988 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1989 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1990 except `vhdl-compiler'.
1991 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1992 when appropriate.
1993
5c30ab7a
GM
19942014-03-31 Glenn Morris <rgm@gnu.org>
1995
1996 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1997 Revert 2014-03-26 merge goof; go back to using defalias.
1998
1861d5a7
DC
19992014-03-30 Daniel Colascione <dancol@dancol.org>
2000
6b31e6b1
SM
2001 * comint.el (comint-send-input):
2002 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
2003 (Bug#17139).
2004
2005 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2006 on keyboard-quit.
2007
41116c5a
GM
20082014-03-29 Glenn Morris <rgm@gnu.org>
2009
2010 * textmodes/reftex.el: Manage most autoloads automatically.
2011 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2012 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2013 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2014 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2015 * textmodes/reftex-toc.el: Set generated-autoload-file,
2016 and add autoload cookies for reftex.el.
2017 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2018
c3153003
GM
20192014-03-28 Glenn Morris <rgm@gnu.org>
2020
7b207d6d
GM
2021 * cus-start.el (report-emacs-bug-address): Set custom properties.
2022 * mail/emacsbug.el (report-emacs-bug-address):
2023 Variable is now defined in emacs.c.
2024
c3153003
GM
2025 * mail/emacsbug.el (report-emacs-bug):
2026 Include system-configuration-features.
2027
687e0e19
MN
20282014-03-28 Michal Nazarewicz <mina86@mina86.com>
2029
2030 * simple.el (cycle-spacing): Never delete spaces on first run by
2031 default, but do so in a new 'fast mode and if there are already
4f3a895b 2032 N spaces (the previous behavior).
687e0e19
MN
2033 Compare N with its value in previous invocation so that changing
2034 prefix argument restarts `cycle-spacing' sequence.
687e0e19 2035 The idea is that with this change, binding M-SPC to
4f3a895b 2036 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
2037 the binding so long as users do not type M-SPC twice in a raw with
2038 the same prefix argument or lack thereof.
2039
95de732d
GM
20402014-03-28 Glenn Morris <rgm@gnu.org>
2041
2042 * faces.el (term-file-aliases): New variable.
2043 (tty-run-terminal-initialization): Respect term-file-aliases.
2044 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2045 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2046 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2047
6730259f
GM
20482014-03-27 Glenn Morris <rgm@gnu.org>
2049
862a4e4a
GM
2050 * startup.el (inhibit-startup-hooks): Doc tweak.
2051 (normal-top-level): Simplify running of hooks.
2052 For window-setup-hook, respect inhibit-startup-hooks.
2053 (command-line-1): Don't set window-setup-hook to nil.
2054
6730259f
GM
2055 Allow selective autoloading from obsolete/ directory.
2056 * Makefile.in (obsolete-autoloads): New rule.
2057 (autoloads): Run obsolete-autoloads.
2058 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2059 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2060
42ebc34e
DG
20612014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2062
929c0500
SM
2063 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2064 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 2065
42ebc34e
DG
2066 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2067 Don't propertize `?' or `!' as symbol constituent when after
2068 colon. (Bug#17097)
2069
b1c870c9
JB
20702014-03-27 Juanma Barranquero <lekktu@gmail.com>
2071
857ba6ec
JB
2072 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2073 which is no longer needed and causes trouble in GTK builds (bug#17046).
2074
b1c870c9
JB
2075 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2076 Use url-insert-file-contents; package-handle-response no longer exists.
2077
8ab9876a
DC
20782014-03-26 Daniel Colascione <dancol@dancol.org>
2079
2080 * simple.el (process-menu-mode-map): New variable.
2081 (process-menu-delete-process): New command.
2082
196716cf
JB
20832014-03-26 Juanma Barranquero <lekktu@gmail.com>
2084
2085 * emacs-lisp/package.el: Fix bug#16733 (again).
2086 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2087 (url-http-target-url): Remove unused declarations.
2088 (package-handle-response): Remove.
2089 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2090 (package--download-one-archive): Use current-buffer instead of
2091 dynamic binding of `buffer'.
2092 (describe-package-1): Do not decode readme-string.
2093
16adf2e6 20942014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
2095
2096 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2097
2098 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2099 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2100 `remote-file-name-inhibit-cache' to nil in the second pass.
2101 (tramp-find-executable): Do not call "which" on SunOS.
2102 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
2103 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2104 check whether source directory has set the sticky bit.
1f73d6c6 2105
16adf2e6 21062014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
2107
2108 * simple.el (primitive-undo): Only process marker adjustments
2109 validated against their corresponding (TEXT . POS). Issue warning
2110 for lone marker adjustments in undo history. (Bug#16818)
2111 (undo-make-selective-list): Add marker adjustments to selective
2112 undo list based on whether their corresponding (TEXT . POS) is in
2113 the region. Remove variable adjusted-markers, which was unused
2114 and only non nil during undo-make-selective-list.
2115 (undo-elt-in-region): Return nil when passed a marker adjustment
2116 and explain in function doc.
2117
16adf2e6 21182014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
2119
2120 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2121
16adf2e6 21222014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
2123
2124 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2125 Match special global variables without curlies, too.
2126 (ruby-font-lock-keywords): Simplify the matcher for special global
2127 variables. Don't require a non-word character after the variable.
2128 (Bug#17057)
2129
16adf2e6 21302014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
2131
2132 * simple.el (redisplay-highlight-region-function): Increase priority of
2133 overlay to make sure boundaries are visible (bug#15899).
2134
16adf2e6 21352014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 2136
16adf2e6
JB
2137 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2138 (frameset-restore): Compare display strings with equal.
ee79b33f 2139
3ea2c781
JB
2140 * frame.el (make-frame): Don't quote display name in error message,
2141 it is already a string.
2142
16adf2e6 21432014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
2144
2145 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2146 the password.
2147
16adf2e6 21482014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 2149
16adf2e6
JB
2150 * emacs-lisp/package.el (package--add-to-archive-contents):
2151 Include already installed and built-in packages in
2152 `package-archive-contents'.
2153 (package-install): Don't include already installed packages in the
2154 options during interactive invocation. (Bug#16762)
2155 (package-show-package-list): If the buffer is already displayed in
2156 another window, switch to that window.
2157
fb3deac8
RZ
21582014-03-26 Reto Zimmermann <reto@gnu.org>
2159
2160 Sync with upstream vhdl mode v3.35.1.
2161 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2162 (vhdl-compiler-alist): Doc fix.
2163 (vhdl-goto-line): Remove.
2164 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2165 (vhdl-mode) <paragraph-start>: Fix value.
2166 (vhdl-fix-statement-region): Not `for' in wait-statement.
2167 (vhdl-beautify-region): Also (un)tabify.
2168 (vhdl-get-visible-signals):
2169 Scan declarative part of generate statements.
2170 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
2171 (vhdl-expand-abbrev, vhdl-expand-paren):
2172 Revert to using fset again rather than defalias.
fb3deac8
RZ
2173 (vhdl-scan-directory-contents): Tweak.
2174 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2175 (vhdl-compose-components-package):
2176 Replace vhdl-goto-line with forward-line.
2177 (top-level): Tweak speedbar frame selection.
2178 (vhdl-generate-makefile-1): Support for compilers with no
2179 unit-to-file name mapping (create directory with dummy files).
2180
511df08c
WS
21812014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2182
2183 Sync with upstream verilog-mode revision 702457d.
2184 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2185 (create-lockfiles): Declare.
2186 (verilog-read-decls): Fix module header imports, bug709.
2187 Reported by Victor Lau.
2188 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2189 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 2190 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 2191
11ee65af
GM
21922014-03-26 Glenn Morris <rgm@gnu.org>
2193
b4aca021
GM
2194 * obsolete/gulp.el: Move here from emacs-lisp/.
2195
11ee65af
GM
2196 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2197 Remove fallback aliases, since they are always defined now.
2198
1edb4a2e
DC
21992014-03-24 Daniel Colascione <dancol@dancol.org>
2200
2201 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2202 instead of cl-loop search function.
2203
7a31038f
G
22042014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2205
2206 * calendar/parse-time.el (parse-time-iso8601-regexp)
2207 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2208 it more generally.
2209
22102014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2211
2212 * net/dns.el (network-interface-list): Define for XEmacs.
2213
22142014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2215
2216 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2217 the network interfaces changed.
2218 (dns-query): Use it to flush the data.
2219
835af719
JB
22202014-03-23 Juanma Barranquero <lekktu@gmail.com>
2221
2222 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2223
6ddc4422
DC
22242014-03-23 Daniel Colascione <dancol@dancol.org>
2225
2226 Change subword-mode to use `find-word-boundary-function-table' and
2227 replace `capitalized-words-mode'. Also, convert to lexical
2228 binding.
2229
2230 * progmodes/cap-words.el: Delete now-obsolete file.
2231 * progmodes/subword.el: Reimplement using
2232 `find-word-boundary-function-table'.
2233 (subword-mode-map): Hollow out.
2234 (capitalized-words-mode): Define as obsolete alias for
2235 `subword-mode'.
9b017563 2236 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 2237 implementation; call `subword-setup-buffer'.
9b017563 2238 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
2239 unused variable.
2240 (subword-find-word-boundary-function-table): New constant.
2241 (subword-empty-char-table): New constant.
2242 (subword-setup-buffer): New function.
2243 (subword-find-word-boundary): New function.
2244
c6b0fbe7
DC
22452014-03-23 Daniel Colascione <dancol@dancol.org>
2246
2247 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2248 list to look for keyword arguments instead of `memq', fixing
2249 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2250 Please make bootstrap.
2251
5076d275
GM
22522014-03-22 Glenn Morris <rgm@gnu.org>
2253
5dbc3244
GM
2254 * dired.el (dired-read-regexp): Make obsolete.
2255 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2256 (dired-flag-files-regexp):
2257 * dired-aux.el (dired-mark-read-regexp):
2258 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2259
00156f95
GM
2260 * startup.el (fancy-startup-text):
2261 * help.el (describe-gnu-project): Visit online info about GNU project.
2262
f9c81e7b
GM
2263 * help-fns.el (help-fns--interactive-only): New function.
2264 (help-fns-describe-function-functions): Add the above function.
2265 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2266 (next-line, previous-line): Remove hand-written interactive-only
2267 information from doc strings, it is auto-generated now.
2268 * bookmark.el (bookmark-write):
2269 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2270 (epa-mail-import-keys): Mark interactive-only,
2271 and remove hand-written interactive-only information from doc strings.
2272 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2273 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2274 * files.el (not-modified):
2275 * simple.el (mark-whole-buffer): Mark interactive-only.
2276
5076d275
GM
2277 * emacs-lisp/byte-run.el (defun-declarations-alist):
2278 Add interactive-only. Doc tweak.
2279 (macro-declarations-alist): Doc tweak.
2280 * subr.el (declare): Doc tweak (add xref to manual).
2281 * comint.el (comint-run):
2282 * files.el (insert-file-literally, insert-file):
2283 * replace.el (replace-string, replace-regexp):
2284 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2285 (delete-forward-char, goto-line, insert-buffer, next-line)
2286 (previous-line): Set interactive-only via declare.
2287
1197f2e6
DG
22882014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2289
2290 * emacs-lisp/package.el (package-desc): Use the contents of the
2291 quoted form, not its cdr. (Bug#16873)
2292
aac06179
JB
22932014-03-22 Juanma Barranquero <lekktu@gmail.com>
2294
2295 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2296 benefit of doc.c; change parameter profile to match the X function.
2297
3e7bc044
LL
22982014-03-22 Leo Liu <sdl.web@gmail.com>
2299
2300 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2301 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2302
59271b3e
RS
23032014-03-21 Richard Stallman <rms@gnu.org>
2304
8266cd88
RS
2305 * battery.el (battery-linux-sysfs): Search for each field
2306 from the beginning of the buffer.
2307
16ec0742
RS
2308 * subr.el (set-transient-map): Clear out function and value
2309 of the temporary symbol when we're done with it.
2310
59271b3e
RS
2311 * mail/rmailsum.el (rmail-summary-delete-forward):
2312 Optimize case of reaching end and handling count.
2313 (rmail-summary-mark-deleted): Optimize when N is current msg.
2314 Don't create new summary line.
2315 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2316 (rmail-summary-undelete-many): Rewrite for speed.
2317 (rmail-summary-msg-number): New function.
2318
2319 * mail/rmail.el (rmail-delete-message): Update summary.
2320 (rmail-undelete-previous-message): Handle repeat count arg.
2321 (rmail-delete-backward, rmail-delete-forward): Likewise.
2322
0d8ac93e
DC
23232014-03-21 Daniel Colascione <dancol@dancol.org>
2324
2325 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2326 information in bug reports.
2327
1e92a8a3
MA
23282014-03-21 Michael Albinus <michael.albinus@gmx.de>
2329
2330 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2331 and `tramp-copy-env'.
2332
2333 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2334 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2335
78540c42
GM
23362014-03-21 Glenn Morris <rgm@gnu.org>
2337
2338 * electric.el (electric-indent-post-self-insert-function): Add doc.
2339
1fc8f655
DG
23402014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2341
dcf78667
DG
2342 * emacs-lisp/package.el (package-compute-transaction):
2343 Use `version-list-<=' to compare the requirement version against
2344 the version of package already to be installed. Update the error
2345 message. (Bug#16826)
2346
1fc8f655
DG
2347 * progmodes/ruby-mode.el (ruby-smie-rules):
2348 Add indentation rule for ` @ '. (Bug#17050)
2349
dada060d
JB
23502014-03-21 Juanma Barranquero <lekktu@gmail.com>
2351
2352 * align.el (align-regexp): Remove superfluous backslash.
2353
2354 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2355 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2356 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2357 Fix docstring typos.
2358 (ffap-next): Use C-u in docstring.
2359 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2360 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2361 Remove superfluous backslashes.
2362 (ffap-string-at-point): Reflow docstring.
2363
2364 * server.el (server-host): Reflow docstring.
2365 (server-unload-function): Fix docstring typo.
2366 (server-eval-at): Remove superfluous backslash.
2367
2368 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2369 (skeleton-insert): Doc fix.
2370 (skeleton-insert): Reflow docstring.
2371
2372 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2373 (tty-color-approximate, tty-color-by-index, tty-color-values)
2374 (tty-color-desc): Remove superfluous backslashes.
2375
f428101f
GM
23762014-03-21 Glenn Morris <rgm@gnu.org>
2377
26e91130
GM
2378 * cus-start.el (history-length): Bump :version.
2379
aa3a7b51
GM
2380 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2381 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2382 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2383 Don't set `make-backup-files'.
2384
f428101f
GM
2385 * info.el (info--prettify-description): New function,
2386 to give info-finder descriptions consistent case, punctuation.
2387 (Info-finder-find-node): Use it. Sort packages.
2388 Refer to "description" rather than "commentary".
2389
6ce1b56e
JB
23902014-03-21 Juanma Barranquero <lekktu@gmail.com>
2391
2392 * frameset.el (frameset--print-register): New function.
2393 (frameset-to-register): Use it.
2394
b730af26
JB
23952014-03-20 Juanma Barranquero <lekktu@gmail.com>
2396
45393801
JB
2397 * progmodes/hideif.el (hif-string-to-number): New function.
2398 (hif-tokenize): Use it to understand non-decimal floats.
2399
814e26fa
JB
2400 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2401
b730af26
JB
2402 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2403
6f287c89
GM
24042014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * electric.el (electric-newline-and-maybe-indent): New command.
2407 Bind it globally to C-j.
2408 (electric-indent-mode): Don't mess with the global map any more.
2409 Don't drop the post-self-insert-hook is some buffer is still using it
2410 (bug#16770).
2411
2412 * bindings.el (global-map): Remove C-j binding.
2413
2414 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2415 the docstring of functions advised before dumping (bug#16993).
2416
f15ec1ba 24172014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
2418
2419 * ps-print.el (ps-generate-postscript-with-faces):
2420 Explicitly deactivate the mark (bug#16866).
2421 * simple.el (deactivate-mark): Update region highlight.
2422
f88bdc45
JB
24232014-03-19 Juanma Barranquero <lekktu@gmail.com>
2424
2425 * emacs-lisp/package.el (describe-package-1):
2426 Decode commentary (bug#16733).
2427
6b88e570
JB
24282014-03-18 Juanma Barranquero <lekktu@gmail.com>
2429
2430 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2431 modification of the value argument of :set (bug#16755).
2432
ac9b4703
SM
24332014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * simple.el (newline-and-indent): Do autofill (bug#17031).
2436
2b7858ec
DG
24372014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2438
2439 * newcomment.el (comment-normalize-vars): Only add escaping check
2440 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2441 (comment-beginning): Use `narrow-to-region' instead of moving back
2442 one character.
2443 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2444 (comment-start-skip): Update the docstring.
2445
11eff3ae
RS
24462014-03-18 Richard Stallman <rms@gnu.org>
2447
2448 * dired.el (dired-display-file): Force use of other window.
2449
07f44fdb
JB
24502014-03-18 Daniel Colascione <dancol@dancol.org>
2451
2452 * startup.el (tty-handle-args): Remove debug message from 2007.
2453
24542014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
2455
2456 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2457 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2458 (advice--make-1, advice-add, advice-remove):
2459 Remove braindead :advice-pending hack.
2460
61debe4a
GM
24612014-03-17 Glenn Morris <rgm@gnu.org>
2462
2463 * calendar/calendar.el (calendar-generate-month): Apply weekend
2464 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2465
8273986b
MA
24662014-03-17 Michael Albinus <michael.albinus@gmx.de>
2467
2468 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2469 (tramp-call-process): Trace also DESTINATION.
2470
2471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2472 Quote file names when they are local. Remove superfluous trace.
2473
4f8aeb84
DG
24742014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2475
218feefc
DG
2476 * newcomment.el (comment-beginning): If `comment-start-skip'
2477 doesn't match, move back one char and try again. (Bug#16971)
2478
6c187ef5
SM
2479 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2480 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
2481 Set `comment-start-skip' to a simpler value that doesn't try to
2482 check if the semicolon is escaped (this is handled by
2483 `syntax-ppss' now). (Bug#16971)
2484
2485 * progmodes/scheme.el (scheme-mode-variables): Same.
2486
b92631bf
MR
24872014-03-16 Martin Rudalics <rudalics@gmx.at>
2488
2489 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2490 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2491 current (Bug#16816, Bug#17007).
2492 (with-current-buffer-window): New macro doing the same as
2493 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2494 * help.el (help-print-return-message): Warn in doc-string to not
2495 use this in `with-help-window'.
2496 (describe-bindings-internal): Call `describe-buffer-bindings'
2497 from within help buffer. See Juanma's scenario in (Bug#16816).
2498 (with-help-window): Update doc-string.
2499 * dired.el (dired-mark-pop-up):
2500 * files.el (save-buffers-kill-emacs):
2501 * register.el (register-preview): Use `with-current-buffer-window'
2502 instead of `with-temp-buffer-window'.
2503
57348c4d
JB
25042014-03-16 Juanma Barranquero <lekktu@gmail.com>
2505
2506 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2507 Implement inserting into current buffer, documented in their docstrings.
2508 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2509 (rst-section-tree-point, rst-forward-section, rst-indent)
2510 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2511 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2512 (rst-font-lock-handle-adornment-pre-match-form)
2513 (rst-repeat-last-character): Reflow docstrings.
2514 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2515 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2516 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2517 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2518 Fix docstring typos.
2519 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2520 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2521 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2522
fd16b061
JB
25232014-03-15 Juanma Barranquero <lekktu@gmail.com>
2524
a2403e3d
JB
2525 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2526 for compatibility with other ports.
2527 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2528 from the -xrm command line argument, but in the Nextstep port its value
2529 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2530
fd16b061
JB
2531 * progmodes/python.el (defconst, python-syntax-count-quotes)
2532 (python-indent-region, python-indent-shift-right)
2533 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2534 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2535 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2536 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2537 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2538 (python-shell-buffer-substring, python-shell-send-buffer)
2539 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2540 (python-completion-complete-at-point, python-fill-docstring-style)
2541 (python-eldoc-function, python-imenu-format-item-label)
2542 (python-imenu-format-parent-item-label)
2543 (python-imenu-format-parent-item-jump-label)
2544 (python-imenu--build-tree, python-imenu-create-index)
2545 (python-imenu-create-flat-index): Fix docstring typos.
2546 (python-indent-context, python-shell-prompt-regexp, run-python):
2547 Remove superfluous backslashes.
2548 (python-indent-line, python-nav-beginning-of-defun)
2549 (python-shell-get-buffer, python-shell-get-process)
2550 (python-info-current-defun, python-info-current-line-comment-p)
2551 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2552 (python-indent-post-self-insert-function, python-shell-send-file)
2553 (python-shell-completion-get-completions)
2554 (python-shell-completion-complete-or-indent)
2555 (python-eldoc--get-doc-at-point): Reflow docstrings.
2556
e94807f0
GM
25572014-03-14 Glenn Morris <rgm@gnu.org>
2558
88103345
GM
2559 * emacs-lisp/package.el (package-menu-mode-map):
2560 Replace use of obsolete function alias. Tweak menu item text.
2561
f2dd4ba8
GM
2562 * info.el (Info-finder-find-node):
2563 Ignore the `emacs' metapackage. (Bug#10813)
2564
ac0f82ef
GM
2565 * finder.el (finder-list-matches): Include unversioned packages
2566 in the result of a keyword search.
2567
e94807f0
GM
2568 * finder.el (finder--builtins-descriptions): New constant.
2569 (finder-compile-keywords): Use finder--builtins-descriptions.
2570
50d434d1
DG
25712014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2572
2573 * simple.el (blink-matching-paren): Describe the new value,
2574 `jump', enabling the old behavior.
2575 (blink-matching-open): Use that value. (Bug#17008)
2576
56759cf1
GM
25772014-03-14 Glenn Morris <rgm@gnu.org>
2578
459d74ef
GM
2579 * finder.el (finder-no-scan-regexp): Add leim-list.
2580 (finder-compile-keywords):
2581 Don't skip files with same basename. (Bug#14010)
2582 * Makefile.in (setwins_finder): New, excluding leim.
2583 (finder-data): Use setwins_finder.
2584
56759cf1
GM
2585 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2586 (help-function-arglist, help-make-usage): Move from here...
2587 * help.el (help-split-fundoc, help-add-fundoc-usage)
2588 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2589 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2590
7644aa97
JB
25912014-03-14 Juanma Barranquero <lekktu@gmail.com>
2592
2593 * net/socks.el (socks, socks-override-functions)
fd16b061 2594 (socks-find-services-entry):
7644aa97
JB
2595 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2596 (hif-find-ifdef-block):
2597 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2598
2599 * net/tls.el (tls-program): Reflow docstring.
2600
2601 * progmodes/pascal.el (pascal-mode-abbrev-table)
2602 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2603 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2604 (pascal-outline-mode): Fix docstring typos.
2605 (pascal-mode): Let define-derived-mode document mode hook.
2606 (pascal-uncomment-area): Reflow.
2607 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2608
2609 * progmodes/opascal.el (opascal-compound-block-indent)
2610 (opascal-case-label-indent): Fix docstring typos.
2611 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2612
1f44df94
DG
26132014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2614
07f44fdb
JB
2615 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2616 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 2617
0d71dfb3
TW
26182014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2619
2620 * emacs-lisp/package.el (package--prepare-dependencies):
2621 Accept requirements without explicit version (bug#14941).
2622
d27a1a7b
JB
26232014-03-12 Juanma Barranquero <lekktu@gmail.com>
2624
a5765a3d
JB
2625 * register.el (register-separator, copy-to-register): Doc fixes.
2626 (register-preview-default): Remove unnecessary call to concat.
2627
d27a1a7b
JB
2628 * frameset.el (frameset-restore): When checking for a visible frame,
2629 use the action map instead of calling visible-frame-list.
2630
08dfa0b7
JB
26312014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2632
2633 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2634
8960529e
MR
26352014-03-12 Martin Rudalics <rudalics@gmx.at>
2636
2637 * window.el (fit-frame-to-buffer): Get maximum width from
2638 display's width instead of height.
2639
8a51e8e4
GM
26402014-03-12 Glenn Morris <rgm@gnu.org>
2641
46456005
GM
2642 * desktop.el (desktop-restore-frames)
2643 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2644 (desktop-restore-reuses-frames): Doc tweaks.
2645
8a51e8e4
GM
2646 * electric.el (electric-indent-mode): Doc fix.
2647
5983b317
JB
26482014-03-12 Juanma Barranquero <lekktu@gmail.com>
2649
2650 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2651 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2652 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2653 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2654 (cvs-dired-use-hook): Fix docstring typos.
2655 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2656 Doc fixes.
2657
2658 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2659 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2660 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2661 (cvs-execute-single-dir): Fix docstring typos.
2662
2663 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2664 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2665
2666 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2667
2668 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2669 Fix docstring typos.
2670
13c00cf0
JB
26712014-03-12 Juanma Barranquero <lekktu@gmail.com>
2672
2673 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2674 called from jump-to-register after unloading the frameset package.
2675
536a17e3
SM
26762014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2679 (bug#16975). Deactivate the mark before setting it to nil.
2680 (activate-mark): Do nothing if region is already active.
2681
baf8d0ac
JB
26822014-03-11 Juanma Barranquero <lekktu@gmail.com>
2683
2684 * frameset.el (frameset--target-display): Remove definition; declare.
2685 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2686
1ea22560
SM
26872014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2690 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2691 when the advice is pending.
2692 (advice-remove): Remove this marker when not needed any more.
2693
4538c058
JB
26942014-03-11 Juanma Barranquero <lekktu@gmail.com>
2695
2696 * frameset.el: Separate options for reusing frames and cleaning up.
2697 (frameset--reuse-list): Remove definition; declare.
2698 (frameset--action-map): Declare.
2699 (frameset--find-frame-if): Doc fix.
2700 (frameset--restore-frame): Cache frame action.
2701 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2702 how to clean up the frame list after restoring. Remove cleaning
2703 options from REUSE-FRAMES. Change all keyword values to symbols.
2704 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2705
2706 * desktop.el (desktop-restore-forces-onscreen)
2707 (desktop-restore-reuses-frames): Use non-keyword values.
2708 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2709
ba1a5c78
GM
27102014-03-10 Glenn Morris <rgm@gnu.org>
2711
776aa432
GM
2712 * files.el (find-file): Doc fix: update info node name.
2713
ba1a5c78
GM
2714 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2715 Doc fix: remove references to deleted info nodes.
2716
183d706e
MA
27172014-03-10 Michael Albinus <michael.albinus@gmx.de>
2718
2719 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2720 Do not add `nil' to the environment, when there's no remote `locale'.
2721 (tramp-find-inline-encoding): Check, that the remote host has
2722 installed perl, before sending scripts.
2723
6f0f96e7
LL
27242014-03-10 Leo Liu <sdl.web@gmail.com>
2725
536a17e3
SM
2726 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2727 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 2728
ca70fe78
SM
27292014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2732 (bug#14430).
2733
eb67db41
JL
27342014-03-09 Juri Linkov <juri@jurta.org>
2735
2736 * ansi-color.el (ansi-color-names-vector): Copy default colors
2737 from `xterm-standard-colors' that look well on the default white
2738 background (and also on the black background) to avoid illegible
8cf07e5a 2739 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
2740 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2741
e7db5447
JB
27422014-03-08 Juanma Barranquero <lekktu@gmail.com>
2743
2744 * frameset.el (frameset-restore): When no frame is visible, do not
2745 generate a list of frames, just make visible the selected one.
2746
f0a4c8d7
DG
27472014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2748
2749 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2750 it only contains the repository root. (Bug#16897)
2751
e50772e3
MA
27522014-03-07 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2755 only when `remote-file-name-inhibit-cache' is nil.
2756 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2757
cac0a1d6
MR
27582014-03-06 Martin Rudalics <rudalics@gmx.at>
2759
2760 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2761 Fix doc-strings.
2762 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2763 fit-frame-to-buffer variable. Fix doc-string.
2764 (fit-window-to-buffer): Set ONLY argument in call of
2765 fit-frame-to-buffer. Fix doc-string.
2766
fa965cbf
MA
27672014-03-06 Michael Albinus <michael.albinus@gmx.de>
2768
2769 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2770 (tramp-action-password): Clear password cache if needed.
2771 (tramp-read-passwd): Do not clear password cache.
2772
2773 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2774 cache unless it is the first password request.
2775
c94e6ee4
GM
27762014-03-06 Glenn Morris <rgm@gnu.org>
2777
03bc753e
GM
2778 * simple.el (newline): Doc tweak.
2779
c94e6ee4
GM
2780 * emacs-lisp/shadow.el (load-path-shadows-find):
2781 Ignore dir-locals. (Bug#12357)
2782
bd2d43dc
GM
27832014-03-05 Glenn Morris <rgm@gnu.org>
2784
2785 * files.el (interpreter-mode-alist):
2786 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2787
9284000e
JB
27882014-03-05 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * frameset.el (frameset--initial-params): Filter out null entries.
2791
e1a2cb1c
MR
27922014-03-05 Martin Rudalics <rudalics@gmx.at>
2793
27821a89
JB
2794 * window.el (window-min-height, window-min-width):
2795 Rewrite doc-strings.
e1a2cb1c
MR
2796 (window-body-size): Add PIXELWISE argument to make it consistent
2797 with its callees.
2798
6bf67038
JB
27992014-03-05 Juanma Barranquero <lekktu@gmail.com>
2800
2801 * finder.el (finder-mode-map, finder-mode-syntax-table):
2802 Revert part of 2014-02-28 change.
2803
90f04e4c
LI
28042014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2805
2806 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2807 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
2808 (eww-textarea-map): [tab] doesn't work on tty.
2809 Reported by Mario Lang.
6952100d
LI
2810
2811 * net/shr.el (shr-map): Ditto.
90f04e4c 2812
3106d59b
GM
28132014-03-04 Glenn Morris <rgm@gnu.org>
2814
2815 * minibuffer.el (completion-hilit-commonality):
2816 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2817
f604dfdc
JB
28182014-03-04 Juanma Barranquero <lekktu@gmail.com>
2819
2820 * hilit-chg.el (hilit-chg-unload-function): New function.
2821 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2822 (hilit-chg-map-changes): Prefer cardinal number to digit.
2823 (hilit-chg-display-changes): Reflow docstring.
2824 (highlight-changes-rotate-faces): Remove superfluous backslash.
2825
5dc65319
MA
28262014-03-04 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2829 `tramp-send-command-and-check'.
2830
4242d21d
JB
28312014-03-04 Juanma Barranquero <lekktu@gmail.com>
2832
b01fa838
JB
2833 * hexl.el (hexl-address-region, hexl-ascii-region)
2834 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2835 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2836 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2837 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2838 (hexl-mode): Doc fix.
2839 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2840 (hexl-mode-ruler): Fix typos in docstrings.
2841
4242d21d
JB
2842 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2843 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2844 Remove superfluous backslashes.
2845 (strokes-last-stroke, strokes-global-map, strokes-mode):
2846 Reflow docstrings.
2847 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2848 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2849 (strokes-distance-squared, strokes-global-set-stroke)
2850 (strokes-global-set-stroke-string): Doc fixes.
2851 (strokes-help): Fix typos; reflow docstring.
2852
87132570
MR
28532014-03-04 Martin Rudalics <rudalics@gmx.at>
2854
2855 * window.el (window-in-direction): Fix doc-string.
2856
d82e752c
GM
28572014-03-04 Glenn Morris <rgm@gnu.org>
2858
2859 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2860 Explicit error if no grammar.
2861 (smie-config-save): Doc fix. Fix quote typo.
2862
62528af0
SM
28632014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2864
8d4901dc
SM
2865 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2866 electric-indent-mode-hook if we obey electric-indent-mode.
2867 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2868 decide whether we obey electric-indent-mode.
2869 (c-change-set-fl-decl-start, c-extend-after-change-region):
2870 Silence warnings.
2871 (c-electric-indent-mode-hook): Assume we do want to obey
2872 electric-indent-mode.
2873
2874 * electric.el (electric-indent-mode-has-been-called): Remove.
2875 (electric-indent-mode): Fix accordingly.
2876
092c12b2
SM
2877 * files.el (hack-local-variables): Mention file name in warning.
2878
62528af0
SM
2879 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2880
5b87d0d9
MN
28812014-03-04 Michal Nazarewicz <mina86@mina86.com>
2882
20f39add 2883 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2884 * simple.el (delete-forward-char): Mark as interactive-only.
2885
542a3840
JB
28862014-03-03 Juanma Barranquero <lekktu@gmail.com>
2887
f2d2402e
GM
2888 * icomplete.el (icomplete-completions):
2889 Follow-up to 2014-03-01 change.
d11320e5
JB
2890
2891 * icomplete.el: Miscellaneous doc fixes.
2892 Use Icomplete everywhere instead of icomplete for consistency.
2893 (icomplete-max-delay-chars): Fix typo.
2894 (icomplete-mode): Use \[].
2895 (icomplete-tidy, icomplete-exhibit): Reflow.
2896 (icomplete-minibuffer-setup-hook, icomplete-completions):
2897 Remove superfluous backlashes.
2898
2899 * ido.el: Miscellaneous doc fixes.
2900 Use Ido everywhere instead of ido or `ido' for consistency.
2901 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2902 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2903 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2904 (ido-separator): Extract obsolescence info from docstring and declare
2905 with make-obsolete-variable.
2906 (ido-minibuffer-setup-hook): Simplify example.
2907 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2908 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2909 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2910 (ido-everywhere): Reflow docstring.
2911 (ido-toggle-vc): Doc fix.
2912 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2913 of long list of keybindings.
2914
7ebd57e9
GM
29152014-03-03 Glenn Morris <rgm@gnu.org>
2916
2917 * frame.el (display-pixel-height, display-pixel-width)
2918 (display-mm-dimensions-alist, display-mm-height)
2919 (display-mm-width): Doc tweaks.
2920
35e951cd 29212014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2922
2923 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2924 case of undo in region.
2925
b923819c
MR
29262014-03-02 Martin Rudalics <rudalics@gmx.at>
2927
2928 * window.el (fit-window-to-buffer): Fix argument in window-size
2929 call when window is horizontally combined.
2930
b6e443c5
JB
29312014-03-02 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2934 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2935
1850913d
DG
29362014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2937
35e951cd
JB
2938 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2939 Highlight regexp options. (Bug#16914)
1850913d 2940
04b577b6
MR
29412014-03-01 Martin Rudalics <rudalics@gmx.at>
2942
2943 * window.el (window--max-delta-1): Round down when calculating
2944 how many lines/columns we can get from a window.
2945
b829360f
GM
29462014-03-01 Glenn Morris <rgm@gnu.org>
2947
2501c912
GM
2948 * isearch.el (search-invisible): Doc fix.
2949
b829360f
GM
2950 * minibuffer.el (completion-hilit-commonality):
2951 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2952 * comint.el (comint-dynamic-list-completions): Doc fix.
2953 * comint.el (comint-dynamic-list-completions):
2954 * filecache.el (file-cache-minibuffer-complete):
2955 * tempo.el (tempo-display-completions):
2956 * eshell/em-hist.el (eshell-list-history):
2957 Replace use of obsolete argument of display-completion-list.
2958
9a155058
JB
29592014-03-01 Juanma Barranquero <lekktu@gmail.com>
2960
2961 * icomplete.el (icomplete-completions):
2962 Revert back to using "..." when ?… cannot be displayed.
2963
53f6cda8
JB
29642014-02-28 Juanma Barranquero <lekktu@gmail.com>
2965
2966 * finder.el (finder-unload-function): New function.
2967
43977c23
JB
29682014-02-28 Juanma Barranquero <lekktu@gmail.com>
2969
2970 * dframe.el (dframe-detach):
2971 * find-dired.el (find-dired, find-name-dired):
2972 * finder.el (finder-mode-map, finder-mode-syntax-table)
2973 (finder-headmark, finder-select, finder-mouse-select):
2974 Fix docstring typos.
2975
9dda75ad
MR
29762014-02-28 Martin Rudalics <rudalics@gmx.at>
2977
2978 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2979 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2980 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2981 Fix doc-string based on a suggestion by Nicolas Richard
2982 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2983 * help.el (with-help-window): Fix doc-string.
2984
8a73034e
IK
29852014-02-28 Ivan Kanis <ivan@kanis.fr>
2986
b70257b0
GM
2987 * net/shr.el (shr-image-animate): New option.
2988 (shr-put-image): Respect shr-image-animate.
8a73034e 2989
245aa73e
MA
29902014-02-28 Michael Albinus <michael.albinus@gmx.de>
2991
2992 * net/tramp-adb.el (tramp-adb-parse-device-names):
2993 Use `accept-process-output'.
2994 (tramp-adb-handle-file-truename): Cache the localname only.
2995 (tramp-adb-handle-make-directory)
2996 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2997 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2998 modes cannot be changed.
2999
3000 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3001 file properties of symlinks.
3002
48e15d64
PS
30032014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3004
3005 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3006 required/optional fields to match development biblatex. (Bug#16781)
3007
65b77347
AS
30082014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3009
3010 * saveplace.el (toggle-save-place):
3011 Fix argument handling. (Bug#16673)
3012
5e618aba
GM
30132014-02-28 Glenn Morris <rgm@gnu.org>
3014
3015 * minibuffer.el (completions-first-difference)
3016 (completions-common-part, completion-hilit-commonality): Doc fixes.
3017
6deb314e
KB
30182014-02-28 Karl Berry <karl@gnu.org>
3019
3020 * info.el (Info-mode-map): Add H for describe-mode,
3021 to synchronize with standalone Info.
3022
289996f5
EL
30232014-02-28 Emilio C. Lopes <eclig@gmx.net>
3024
3025 * progmodes/sql.el (sql-interactive-mode):
3026 Avoid setting global comint-input-ring-separator. (Bug#16814)
3027
79fc1191
MA
30282014-02-27 Michael Albinus <michael.albinus@gmx.de>
3029
3030 * net/dbus.el (dbus--init-bus): Declare function.
3031 (dbus-path-local, dbus-interface-local): New defconst.
3032 (dbus-init-bus): Use them.
3033 (dbus-return-values-table): Extend doc.
3034 (dbus-handle-bus-disconnect): Extend error message.
3035
298520df
JB
30362014-02-27 Juanma Barranquero <lekktu@gmail.com>
3037
3038 * subr.el (y-or-n-p): Fix double space issue in message.
3039
c22c1614
MA
30402014-02-27 Michael Albinus <michael.albinus@gmx.de>
3041
3042 * net/tramp.el (tramp-call-process): Improve trace message.
3043 (tramp-handle-insert-file-contents): Trace error case.
3044
3045 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3046 <insert-directory>: Use `tramp-handle-insert-directory'.
3047 (tramp-adb-handle-insert-directory): Remove function.
3048 (tramp-adb-send-command-and-check): New defun, replacing
3049 `tramp-adb-command-exit-status'. Change all callees.
3050 (tramp-adb-handle-file-attributes)
3051 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
3052 (tramp-adb-ls-output-name-less-p):
3053 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
3054 (tramp-adb-handle-delete-directory): Flush also file properties of
3055 the truename of directory.
3056 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3057 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3058 (tramp-adb-handle-write-region): Implement APPEND.
3059 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3060 properties correctly.
3061 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3062 variables. Check for connected devices only when needed.
3063
d9263618
GM
30642014-02-27 Glenn Morris <rgm@gnu.org>
3065
ea7826ba
GM
3066 * minibuffer.el (completion-table-dynamic)
3067 (completion-table-with-cache): Doc fixes.
3068
d9263618
GM
3069 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3070 (completing-read-multiple): Doc fixes.
3071
eff3168a
DC
30722014-02-27 Daniel Colascione <dancol@dancol.org>
3073
51f213c3
DC
3074 * minibuffer.el (completion--nth-completion): Fix indentation.
3075
eff3168a
DC
3076 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3077 explicit tramp path is empty.
3078
b77cfcd7
GM
30792014-02-27 Glenn Morris <rgm@gnu.org>
3080
3081 * emacs-lisp/crm.el (completing-read-multiple):
3082 Empower help-enable-auto-load.
3083
9577b569
GM
30842014-02-26 Glenn Morris <rgm@gnu.org>
3085
259887e8
GM
3086 * startup.el (command-line): Don't init the tty in daemon mode.
3087
1d491ef2
GM
3088 Avoid calling tty-setup-hook twice, eg if a term file
3089 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3090 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3091 (tty-create-frame-with-faces): Use it.
3092 * startup.el (command-line): Pass run-hook argument
3093 to tty-run-terminal-initialization.
3094
9577b569
GM
3095 * dired.el (dired-restore-desktop-buffer): Demote errors;
3096 eg in case a glob match fails. (Bug#16884)
3097
40ff7f86
DG
30982014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3099
b2388336
DG
3100 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3101 error from `read-from-string'. (Bug#16850)
3102
40ff7f86
DG
3103 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3104 result of `completing-read' in the interactive form. (Bug#16854)
3105
98bd6b32
GM
31062014-02-25 Glenn Morris <rgm@gnu.org>
3107
f086804c
GM
3108 * image.el (image-animate, image-animate-timeout):
3109 Stop animating images in dead buffers. (Bug#16878)
3110
c107155e
GM
3111 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3112
9577b569
GM
3113 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3114 Doc fixes.
98bd6b32
GM
3115 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3116 * term/sun.el (sun-raw-prefix-hooks):
3117 Use tty-setup-hook instead of term-setup-hook.
3118 (terminal-init-sun): Construct message from bytecomp plist.
3119 * term/wyse50.el (enable-arrow-keys): Doc fix.
3120
9c9e18e8
JB
31212014-02-24 Juanma Barranquero <lekktu@gmail.com>
3122
3123 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3124 Fix docstring typos.
3125
c848881f
MA
31262014-02-24 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3129
0e38ae05
NR
31302014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3131
3132 * minibuffer.el (completion--try-word-completion):
3133 Fix error when completing M-x commands (bug#16808).
3134
8ee4c296
LL
31352014-02-24 Leo Liu <sdl.web@gmail.com>
3136
3137 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3138
7d4bd627
JB
31392014-02-24 Juanma Barranquero <lekktu@gmail.com>
3140
3141 * apropos.el (apropos-print): Avoid formatting error when
3142 apropos-do-all and apropos-compact-layout are both t.
3143
e918e27f
JB
31442014-02-23 Juanma Barranquero <lekktu@gmail.com>
3145
3146 * apropos.el (apropos-property, apropos-all-words-regexp)
3147 (apropos-true-hit, apropos-variable, apropos-print):
3148 Fix docstring typos, and remove obsolete comment.
3149
85c01f80
MA
31502014-02-23 Michael Albinus <michael.albinus@gmx.de>
3151
3152 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3153 Preserve trailing "/". (Bug#16851)
3154
62f95022
DG
31552014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3156
3157 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3158 after `=>' (bug#16811).
dfdb365c
DG
3159 (ruby-smie-rules): Handle the inconsistent second element of the
3160 list returned by `smie-indent--parent'.
3161 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3162 method call.
62f95022 3163
025f2c81
JB
31642014-02-23 Juanma Barranquero <lekktu@gmail.com>
3165
3166 * elec-pair.el (electric-pair-text-syntax-table)
3167 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3168 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3169 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3170 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3171
123c84f9
GM
31722014-02-22 Glenn Morris <rgm@gnu.org>
3173
612c3e46
GM
3174 * imenu.el (imenu--generic-function): Doc fix.
3175
123c84f9
GM
3176 * register.el (frame-configuration-to-register): Make obsolete.
3177
e59fa9ad
JB
31782014-02-22 Juanma Barranquero <lekktu@gmail.com>
3179
3180 * desktop.el (desktop-save-buffer-p): Do not fail when
3181 desktop-files-not-to-save is nil. Return t for true result
3182 as the doc says.
3183
4e652634
DC
31842014-02-22 Daniel Colascione <dancol@dancol.org>
3185
27821a89 3186 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
3187 Check that attribute values are strings, avoiding the construction
3188 of invalid dbus messages.
4e652634 3189
f35affb6
JB
31902014-02-21 Juanma Barranquero <lekktu@gmail.com>
3191
3192 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3193 defun-declarations-alist.
3194
3d136b1b
SM
31952014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3198 (bug#16829).
3199
612ddfc0
JB
32002014-02-21 Juanma Barranquero <lekktu@gmail.com>
3201
3202 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3203 (whitespace-newline, whitespace-trailing, whitespace-line)
3204 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3205 (whitespace-space-after-tab): Fix typo in docstrings.
3206
c8481b1b
DG
32072014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3208
cb8f50a7
DG
3209 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3210
c8481b1b
DG
3211 * electric.el (electric-indent-functions-without-reindent):
3212 Add `yaml-indent-line'.
3213
bed5126f
JB
32142014-02-21 Juanma Barranquero <lekktu@gmail.com>
3215
34b71457
JB
3216 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3217 It has done nothing for years; should be removed after the release.
3218
bed5126f
JB
3219 * simple.el (choose-completion): Fix docstring typo.
3220 (read-quoted-char-radix): Remove unneeded * in docstring.
3221 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3222 Don't escape parentheses unnecessarily in docstrings.
3223
8dd3e94f
MR
32242014-02-21 Martin Rudalics <rudalics@gmx.at>
3225
3226 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
3227 * window.el (window--dump-window, window--dump-frame):
3228 New functions.
3229 (window--min-size-1): Account for window dividers.
3230 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
3231 sum of the window components has been calculated.
3232 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3233 nil make sure at least one text line and two text columns remain
3234 fully visible.
3235 (window-resize): Signal an error when window-resize-apply fails.
3236 (window--resize-child-windows): Fix calculation of by how many
3237 pixels a window can still be shrunk via window-new-normal.
3238 (adjust-window-trailing-edge): Call window--resizable with
3239 correct TRAIL argument.
3240
2ed94e04
MR
3241 (with-temp-buffer-window): Don't evaluate BODY within
3242 with-current-buffer (Bug#16816).
3243
0e5324c4
MA
32442014-02-21 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * net/tramp.el (tramp-check-cached-permissions):
3247 Call `file-attributes' with `suffix' being a symbol but a string.
3248
48198420
DC
32492014-02-21 Daniel Colascione <dancol@dancol.org>
3250
3251 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3252 (dbus-init-bus): New function: call into dbus-init-bus-1
3253 and installs a handler for the disconnect signal.
3254 (dbus-call-method): Rewrite to look for result in cons.
3255 (dbus-call-method-handler): Store result in cons.
3256 (dbus-check-event): Recognize events with nil sender as valid.
3257 (dbus-handle-bus-disconnect): New function. React to bus
3258 disconnection signal by synthesizing dbus error for each
3259 pending synchronous or asynchronous call.
3260 (dbus-notice-synchronous-call-errors): New function.
3261 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3262 is true, not all the time.
3263
99e15133
JB
32642014-02-21 Juanma Barranquero <lekktu@gmail.com>
3265
e48983a6
JB
3266 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3267 Remove obsolescence declarations, these variables do not exist anymore.
3268
fdcfd745
JB
3269 * savehist.el (savehist-save-minibuffer-history)
3270 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3271 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3272 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3273 mostly, refer to "Savehist mode" when talking about the mode,
3274 and not the function.
3275
99e15133
JB
3276 * saveplace.el (save-place): Remove redundant info in docstring.
3277 (save-place-forget-unreadable-files, toggle-save-place)
3278 (save-place-forget-unreadable-files, save-place-dired-hook):
3279 Fix typos and remove unneeded backslashes.
3280
f5bee33b
MA
32812014-02-20 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3284 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3285
3286 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 3287 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
3288 (tramp-gvfs-handle-insert-directory): Remove function.
3289
3290 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3291 Call `tramp-handle-insert-directory'.
3292
ee0761ca
JB
32932014-02-20 Juanma Barranquero <lekktu@gmail.com>
3294
3295 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3296 before the start of buffer/region (bug#16799).
3297
4d49cc65
GM
32982014-02-20 Glenn Morris <rgm@gnu.org>
3299
3300 * isearch.el (search-invisible): Doc fix.
3301
eee0d650
TK
33022014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3303
3304 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3305 (bug#16657).
3306
94e5e202
JB
33072014-02-19 Juanma Barranquero <lekktu@gmail.com>
3308
3309 * frameset.el (frameset-restore): Delay removing an old frame's
3310 duplicate id until the new frame has been correctly created.
3311
50bfdd5d
MA
33122014-02-19 Michael Albinus <michael.albinus@gmx.de>
3313
3314 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3315 (tramp-check-cached-permissions): Call `file-attributes' if the
3316 cache is empty.
3317
3318 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 3319 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
3320
3321 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 3322 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
3323 (tramp-gvfs-maybe-open-connection): Set always connection
3324 properties, even if target is mounted already.
3325
3326 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3327 Set tramp-autoload cookie.
3328 (tramp-get-remote-touch): New defun.
3329 (tramp-sh-handle-set-file-times): Use it.
3330 (tramp-sh-handle-directory-files-and-attributes):
3331 Use `tramp-handle-directory-files-and-attributes' if neither stat
3332 nor perl are available on the remote host.
3333
3334 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3335 "/". Write long listing only when "l" belongs to the switches.
3336
3337 * net/trampver.el: Update release number.
3338
f097a3d2
JB
33392014-02-19 Juanma Barranquero <lekktu@gmail.com>
3340
3341 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3342
8e009b78
MR
33432014-02-19 Martin Rudalics <rudalics@gmx.at>
3344
3345 * window.el (window-state-put): Allow WINDOW to refer to an
3346 internal window (Bug#16793).
3347
95160c90
GM
33482014-02-19 Glenn Morris <rgm@gnu.org>
3349
3350 * textmodes/remember.el: Move provide statement to end.
3351 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3352 (remember-notes): Doc fixes.
3353
b28df58c
SM
33542014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * delsel.el (delete-char): Restore incorrectly erased property
3357 (bug#16795).
3358
7108e1c0
JB
33592014-02-18 Juanma Barranquero <lekktu@gmail.com>
3360
3361 * frameset.el (frameset--restore-frame): When a frame is being reused
3362 and its root window is not alive, delete all the frame's windows before
3363 restoring the window state. This works around the issue in bug#16793.
3364
c863b6ad
GM
33652014-02-18 Glenn Morris <rgm@gnu.org>
3366
a73fae1f
GM
3367 * textmodes/remember.el (remember-data-directory)
3368 (remember-directory-file-name-format, remember-store-in-files)
3369 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3370 (remember-notes-save-and-bury-buffer)
3371 (remember-notes--kill-buffer-query): Doc fixes.
3372
c863b6ad
GM
3373 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3374
29238d28
AM
33752014-02-17 Alan Mackenzie <acm@muc.de>
3376
3377 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 3378 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 3379 to electric-indent-{,local-}-mode.
b28df58c
SM
3380 (c-basic-common-init): Set electric-indent-inhibit.
3381 Initialise c-electric-flag from electric-indent-mode.
29238d28 3382 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 3383 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
3384
3385 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 3386 hit, toggle electric-indent-local-mode.
29238d28 3387
b28df58c
SM
3388 * electric.el (electric-indent-mode-has-been-called):
3389 New variable.
29238d28 3390
c6463340
JB
33912014-02-17 Juanma Barranquero <lekktu@gmail.com>
3392
3393 * frameset.el (frameset-cfg-id): New function.
3394 (frameset--reuse-frame, frameset-restore): Use it.
3395 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3396
94912b88
SM
33972014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * ido.el (ido-file-internal): Remove unused var `d'.
3400 Use \` for to match BoS. Fit within 80n columns.
3401
26ea164c
DC
34022014-02-17 Daniel Colascione <dancol@dancol.org>
3403
3404 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3405 dbus-call-method check for completion using a busy-wait loop with
3406 gradual backoff.
3407
589d1988 34082014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
3409
3410 Sync with Tramp 2.2.9.
3411
3412 * net/trampver.el: Update release number.
3413
17d1b51b
DG
34142014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3415
3416 * ido.el (ido-file-internal): Don't add the name of an existing
3417 directory twice. (Bug#16747)
3418
5bcad689
GM
34192014-02-16 Glenn Morris <rgm@gnu.org>
3420
3421 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3422 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3423
34242014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
3425
3426 * progmodes/sql.el: Version 3.4
3427 (sql-oracle-options): New default value ("-L").
94912b88 3428 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 3429 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 3430 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
3431 (sql-login-delay): New variable.
3432 (sql-product-interactive): Use it.
3433
285f1858
JB
34342014-02-15 Juanma Barranquero <lekktu@gmail.com>
3435
3436 * frameset.el (frameset--jump-to-register): Check that buffer is live
3437 (bug#16749).
3438
5d645ea4
GM
34392014-02-15 Glenn Morris <rgm@gnu.org>
3440
3441 * info.el (info-initialize): Revert 2014-01-10 change.
3442
48c4f9b1
GM
34432014-02-14 Glenn Morris <rgm@gnu.org>
3444
b8630261
GM
3445 * replace.el (map-query-replace-regexp)
3446 (read-regexp-defaults-function, read-regexp): Doc fixes.
3447
b2bf2a25
GM
3448 * dired.el (dired-read-regexp):
3449 * faces.el (list-faces-display):
3450 * misearch.el (multi-isearch-read-matching-buffers)
3451 (multi-isearch-read-matching-files):
3452 * play/cookie1.el (cookie-apropos):
3453 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3454
48c4f9b1
GM
3455 * textmodes/remember.el (remember): Use frameset-to-register
3456 rather than frame-configuration-to-register.
3457
2804e0bd
JB
34582014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3459
3460 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3461 incorrect keybinding.
3462
0b87142f
DC
34632014-02-13 Daniel Colascione <dancol@dancol.org>
3464
3465 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3466 when adding overlays so that line numbers from compiler match line
3467 numbers we use.
3468
47a73eb0
GM
34692014-02-13 Glenn Morris <rgm@gnu.org>
3470
8abcfd51
GM
3471 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3472
47a73eb0
GM
3473 * jit-lock.el (jit-lock-mode): Doc fix.
3474
c9b6b262
JB
34752014-02-13 Juanma Barranquero <lekktu@gmail.com>
3476
3477 * apropos.el (apropos-read-pattern): When the user passes an empty
3478 string, give a more helpful error message than "Wrong type
3479 argument: stringp, nil".
3480
eb4c6947
SM
34812014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3484
0dab5068
GM
34852014-02-13 Glenn Morris <rgm@gnu.org>
3486
3487 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3488
59075dcf
SM
34892014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3492 shift-select commands.
3493
5af9fbad
DG
34942014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3495
3496 * progmodes/js.el (js-indent-line): Don't widen.
3497 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3498
a215930c
GM
34992014-02-12 Glenn Morris <rgm@gnu.org>
3500
a8cb4247
GM
3501 * icomplete.el (icomplete): Add info-link to defgroup.
3502 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3503 (icomplete-minibuffer-map, icomplete-mode)
3504 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3505
a215930c
GM
3506 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3507 (package-menu-filter): Rename from package-menu-filter-interactive.
3508 Doc fix.
3509
26c5ecd9
JB
35102014-02-11 Juanma Barranquero <lekktu@gmail.com>
3511
3512 * frameset.el (frameset--jump-to-register): Select the required
3513 window and buffer before restoring position (bug#16696).
3514
fcd58a02
LI
35152014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3516
3517 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3518
bacb3380
GM
35192014-02-10 Glenn Morris <rgm@gnu.org>
3520
3521 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3522
881329dc
EZ
35232014-02-10 Eli Zaretskii <eliz@gnu.org>
3524
02328db9
EZ
3525 * w32-common-fns.el (x-get-selection): Doc fix.
3526 * select.el (x-get-selection): Doc fix. (Bug#15109)
3527
881329dc
EZ
3528 * face-remap.el (face-remap-add-relative)
3529 (face-remap-remove-relative, face-remap-reset-base)
3530 (face-remap-set-base): Call force-mode-line-update to redisplay
3531 the current buffer due to potential change in faces. (Bug#16709)
3532
c7db4c06
MA
35332014-02-10 Michael Albinus <michael.albinus@gmx.de>
3534
3535 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3536 script more robustly.
3537
6abe4589
LI
35382014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3539
7602b5c3
LI
3540 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3541
e3692ee0
LI
3542 * simple.el (choose-completion): Doc fix (bug#14160).
3543
41015524
LI
3544 * subr.el (event-start): Say what a nil EVENT value means.
3545
87c79dcb
LI
3546 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3547 (bug#14197).
3548
3ab49e2c
LI
3549 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3550
f3c60241
LI
3551 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3552
3bd1d8a8
LI
3553 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3554
6abe4589
LI
3555 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3556 predicate function (bug#15455).
3557
a11463de
DG
35582014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3559
3560 * ielm.el (inferior-emacs-lisp-mode): Instead of
3561 `comment-use-global-state', set `comment-use-syntax'.
3562
2ab0ad85
GM
35632014-02-10 Glenn Morris <rgm@gnu.org>
3564
3565 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3566
411141fb
AM
35672014-02-09 Alan Mackenzie <acm@muc.de>
3568
3569 Fix c-invalidate-state-cache on narrowed buffers.
3570 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3571 Widen when setting and clearing the CPP delimiter properties.
3572
d6d5fdf8
LI
35732014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3574
92c70367
LI
3575 * help.el (describe-bindings): Doc fix (bug#9888).
3576
468ef484
LI
3577 * files.el (save-buffer): Use ARG as the parameter name for
3578 consistency (bug#10346).
7e34193f 3579 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 3580
fc2b1ffa 3581 * cus-edit.el (customize-apropos): Fix error string.
382fd368 3582 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 3583 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 3584
790aceec
LI
3585 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3586
a54a7552 3587 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 3588 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 3589
dd163123
LI
3590 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3591 meaning of the parameter (bug#12282).
3592
9e108fe6
LI
3593 * files.el (find-file-noselect): Clarify prompt when changing
3594 readedness (bug#13261).
5a836f58
LI
3595 (locate-file): Suffixes aren't returned, so don't say that they
3596 are (bug#12674).
2356b316 3597 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 3598
20dda930
LI
3599 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3600 before we actually start to delete things (bug#16331).
3601
d6d5fdf8
LI
3602 * subr.el (event-start): Doc fix (bug#14228).
3603 (event-end): Ditto.
3604
2abd71e5
GM
36052014-02-09 Glenn Morris <rgm@gnu.org>
3606
3607 * emacs-lisp/warnings.el (lwarn):
3608 Empower help-enable-auto-load. (Bug#15940)
3609
c1b5900b
AS
36102014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3611
3612 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3613 (Bug#16690)
3614
429b93bd
MA
36152014-02-08 Michael Albinus <michael.albinus@gmx.de>
3616
3617 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3618 Insert output at end of buffer. (Bug#16120)
3619
b772a699
LI
36202014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3621
18c6aa8c
LI
3622 * simple.el (choose-completion-string-functions): Document new
3623 calling convention (bug#14153).
54dd147a 3624 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 3625
dce8463b
LI
3626 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3627
b772a699 3628 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 3629 (find-grep-dired): Doc fix (bug#14288).
b772a699 3630
2423c8d5
JL
36312014-02-08 Juri Linkov <juri@jurta.org>
3632
3633 * isearch.el (isearch-quote-char): Check character validity
3634 like in `quoted-insert' (bug#16677).
3635
518f26c2
LI
36362014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3637
893cc908
LI
3638 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3639
9165ffc0
LI
3640 * isearch.el (isearch-hide-immediately): Doc clarification
3641 (bug#14723).
3642
6ef4f3ce
LI
3643 * simple.el (line-move): Document utility function used many
3644 places in the Emacs sources (bug#14843).
3645
be58a238 3646 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 3647 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 3648 (dired-up-directory): Doc fix (bug#14848).
be58a238 3649
dd7aafbb
LI
3650 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3651
15cb9968
LI
3652 * files.el (file-relative-name): Doc fix (bug#15159).
3653
9788effd
LI
3654 * fringe.el (fringe-styles): Doc fix (bug#15239).
3655
c96411bd
LI
3656 * isearch.el (isearch-filter-predicate): Documentation typo fix
3657 (bug#15474).
3658
ea838c36
LI
3659 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3660
0d8a4ae7
LI
3661 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3662
f7a17bb3
LI
3663 * replace.el (replace-match-maybe-edit): Doc clarification
3664 (bug#15632).
3665
1bde5c3b
LI
3666 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3667
518f26c2
LI
3668 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3669
dd8e49fd
GM
36702014-02-08 Glenn Morris <rgm@gnu.org>
3671
3672 * help-fns.el (describe-variable):
3673 Check {file,dir}-local-variables-alist, and buffer-file-name,
3674 in the correct buffer.
3675
7e088b29
IL
36762014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3677
3678 * help-fns.el (describe-variable): Fix the case where
3679 a value is directory-local with no dir-locals file. (Bug#16635)
3680
41a4a82f
GM
36812014-02-08 Glenn Morris <rgm@gnu.org>
3682
3683 * abbrev.el (edit-abbrevs-mode):
3684 Derive from fundamental-mode. (Bug#16682)
3685
e255a703
JB
36862014-02-07 Juanma Barranquero <lekktu@gmail.com>
3687
3688 * simple.el (quoted-insert): Check character validity (bug#16677).
3689
c99cf5ee
JL
36902014-02-07 Juri Linkov <juri@jurta.org>
3691
3692 * desktop.el (desktop-read): Claim the lock when the owner is not
3693 the current process. (Bug#16157)
3694
7d7a68d8
JL
36952014-02-07 Juri Linkov <juri@jurta.org>
3696
3697 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3698 to "\\` ". (Bug#16651)
3699
2b777cd9
JL
37002014-02-07 Juri Linkov <juri@jurta.org>
3701
3702 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3703 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3704 (desktop-auto-save-cancel-timer): New function with some code from
3705 `desktop-auto-save-set-timer'.
3706 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3707 Instead of setting `desktop-save-mode' to nil, call
3708 `desktop-save-mode' with arg 0. (Bug#16630)
3709
60eabbb9
GM
37102014-02-07 Glenn Morris <rgm@gnu.org>
3711
99cf3859
GM
3712 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3713 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3714 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3715
2b568bc9
GM
3716 * obsolete/iswitchb.el: Move to obsolete/.
3717 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3718 since obsolete/ is not scanned for autoloads.
3719 * emacs-lisp/authors.el (authors-valid-file-names):
3720 Add iswitchb.el.
3721
60eabbb9
GM
3722 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3723 Disable now non-functional find-file-hook.
3724
629de968
MA
37252014-02-06 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3728 instead of ";" in order to avoid additional prompts. Let heredoc
3729 scripts read from tty. (Bug#16582)
3730 (tramp-send-command): No special handling of heredocs, it isn't
3731 necessary anymore.
3732
29127376
SM
37332014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3736 with a space (bug#16664). Limit the symbols considered to the ones
3737 that are bound or fbound (bug#16646).
3738
79b6e0a9
GM
37392014-02-06 Glenn Morris <rgm@gnu.org>
3740
3741 * epa.el (epa-mail-aliases): Doc fix.
3742
a333e4d2
DG
37432014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3744
29127376
SM
3745 * emacs-lisp/lisp.el (lisp-completion-at-point):
3746 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
3747 (bug#16604).
3748
3749 * minibuffer.el (completion-table-merge): New function.
3750
9a83b32b
MA
37512014-02-05 Michael Albinus <michael.albinus@gmx.de>
3752
3753 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3754 (tramp-sh-handle-set-file-acl)
3755 (tramp-sh-handle-start-file-process)
3756 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3757 (tramp-find-executable, tramp-send-command): Use it.
3758
451ea3e6
GM
37592014-02-05 Glenn Morris <rgm@gnu.org>
3760
9a83b32b 3761 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 3762
dd27d13b
FEG
37632014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3764
35e951cd 3765 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
3766 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3767
08e41897
AL
37682014-02-04 Anders Lindgren <andlind@gmail.com>
3769
3770 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3771 the names (bug#16620).
3772
764ec9e5
MR
37732014-02-03 Martin Rudalics <rudalics@gmx.at>
3774
08e41897
AL
3775 * faces.el (window-divider): New default value. Rewrite doc-string.
3776 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 3777
6da8227c
DG
37782014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3781 `protected' and `public' can also be called without arguments.
3782
6a6b8e40
GM
37832014-02-03 Glenn Morris <rgm@gnu.org>
3784
7bcbca40
GM
3785 * register.el (window-configuration-to-register)
3786 (frame-configuration-to-register): Unadvertise unused argument.
3787 * frameset.el (frameset-to-register): Remove unused argument.
3788
719d965d 3789 * frameset.el (frameset-to-register):
6a6b8e40
GM
3790 * kmacro.el (kmacro-to-register):
3791 * register.el (increment-register):
3792 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3793 (calc-append-to-register, calc-prepend-to-register):
3794 * play/gametree.el (gametree-layout-to-register)
3795 (gametree-apply-register-layout):
3796 * textmodes/picture.el (picture-clear-rectangle-to-register)
3797 (picture-yank-rectangle-from-register):
3798 * vc/emerge.el (emerge-combine-versions-register):
3799 Use register-read-with-preview to read registers.
3800
5dca7759
JT
38012014-02-03 João Távora <joaotavora@gmail.com>
3802
3803 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3804 when at beginning of (possibly narrowed) buffer.
3805
709085b9
DC
38062014-02-02 Daniel Colascione <dancol@dancol.org>
3807
c295fc18 3808 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 3809 Also try to display local help from just before point.
709085b9 3810
99f7b0a6
AM
38112014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3812
3813 c-parse-state. Don't "append-lower-brace-pair" in certain
3814 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3815 recognised as a comment.
3816
3817 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3818 as well as normal comment starter.
3819 (c-parse-state-get-strategy): Extra return possibility
3820 'back-and-forward.
3821 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3822 return value list to indicate replacement of a brace-pair cons
3823 with its car.
3824 (c-parse-state-1): With 'back-and-forward, only call
3825 c-append-lower-brace-pair-to state-cache when cons-separated.
3826
f0a10576
JD
38272014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3828
3829 * term/ns-win.el (ns-suspend-error): New function.
3830 (ns-initialize-window-system): Add ns-suspend-error to
3831 suspend-hook (Bug#16612).
3832
b8d552c2
DC
38332014-02-02 Daniel Colascione <dancol@dancol.org>
3834
35e951cd
JB
3835 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3836 Make loading cc-mode silent.
b8d552c2 3837
f2b7d123
DC
38382014-02-02 Daniel Colascione <dancol@dancol.org>
3839
35e951cd
JB
3840 * comint.el (comint-prompt-read-only): Change doc to suggest
3841 remap keybinding.
f2b7d123 3842
4472a196
GM
38432014-02-02 Glenn Morris <rgm@gnu.org>
3844
3845 * register.el (register-read-with-preview, point-to-register)
3846 (window-configuration-to-register, frame-configuration-to-register)
3847 (jump-to-register, number-to-register, view-register, insert-register)
3848 (copy-to-register, append-to-register, prepend-to-register)
3849 (copy-rectangle-to-register): Doc fixes.
3850
70e5a261
SM
38512014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3854 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3855 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3856 * help-fns.el (describe-function-1): Use it.
3857
7c324762
GM
38582014-02-02 Glenn Morris <rgm@gnu.org>
3859
3860 * register.el (register-preview-default): New function,
3861 split from register-preview.
3862 (register-preview-function): Rename from register-preview-functions,
3863 make it not a hook.
3864 (register-preview): Use register-preview-function.
3865 (register-read-with-preview): Error on non-character event. (Bug#16595)
3866
a09beb3d
DG
38672014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3868
3869 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3870 `:' before binary operators (bug#16609). Don't check for `:'
3871 before `[' and `(', or their syntax status. A percent literal
3872 can't end with either.
68e004e0
DG
3873 (ruby-font-lock-keywords): For built-ins that require arguments,
3874 check that they're followed by something that looks like argument
3875 (bug#16610).
a09beb3d 3876
ed4d2875
LI
38772014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3878
3879 * subr.el (butlast): Document what an omitted N means (bug#13437).
3880 (nbutlast): Ditto.
3881
dba6e3ec
LI
38822014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3883
3884 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3885 depth shallower (bug#16587).
cc477daa
LI
3886 (shr-tag-svg): Respect `shr-inhibit-images'.
3887 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3888
e2a67bd0
DG
38892014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3890
3891 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3892 (ruby-smie-grammar): Make "." right-associative. Make its priority
3893 lower than the ternary and all binary operators.
3894 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3895 parent, or the first "." parent at indentation.
3896 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3897 (Bug#16593)
3898
bd21bf41
JL
38992014-01-31 Juri Linkov <juri@jurta.org>
3900
3901 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3902 from `make-hash-table'.
3903
3904 * textmodes/ispell.el (ispell-init-process): Change message format
3905 to be consistent with other messages.
3906
b7e615b9
GM
39072014-01-31 Glenn Morris <rgm@gnu.org>
3908
a69ecd19
GM
3909 * delsel.el (delete-selection-mode): Doc fix.
3910
9997d7e3
GM
3911 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3912 (trace-function-background): Doc fixes.
3913
fbb764b8
GM
3914 * ido.el (ido-use-virtual-buffers): Doc fix.
3915 Reset :version, since the default value has not changed.
3916
da942af1
GM
3917 * register.el (register-preview-delay, register-read-with-preview):
3918 Doc fixes.
3919
b7e615b9
GM
3920 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3921 do not mess with mail-buffer position (fixes 2009-11-03 change).
3922 * progmodes/cc-mode.el (c-submit-bug-report):
3923 Check auto-fill-mode is bound. (Bug#16592)
3924
0a25002d
DH
39252014-01-31 Darren Hoo <darren.hoo@gmail.com>
3926
3927 * startup.el (fancy-splash-image-file): New function,
3928 split from fancy-splash-head.
3929 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3930 so that we are both using the same image. (Bug#16574)
3931
ad78f432
GM
39322014-01-30 Glenn Morris <rgm@gnu.org>
3933
6bbc0c84
GM
3934 * simple.el (eval-expression): Doc fix.
3935
ad78f432
GM
3936 * hexl.el (hexl-mode-hook):
3937 * ielm.el (ielm-mode-hook):
3938 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3939 (lisp-interaction-mode-hook):
20f39add 3940 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3941 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3942
7b2f049c
SM
39432014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3946 is a symbol (bug#16584).
3947
0c633f13
GM
39482014-01-30 Glenn Morris <rgm@gnu.org>
3949
3950 * help.el (help-for-help-internal): Add "P" to text.
3951
5e61c1ef
GM
39522014-01-29 Glenn Morris <rgm@gnu.org>
3953
3954 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3955
1dcb169c
MR
39562014-01-28 Martin Rudalics <rudalics@gmx.at>
3957
3958 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3959 height constraints.
3960
a9128931
LL
39612014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3962
3963 * progmodes/hideif.el: Extend to full CPP expression syntax.
3964 (hif-token-alist): Add missing tokens.
3965 (hif-token-regexp): Add support for float/octal/hex immediates.
3966 (hif-string-literal-regexp): New const.
3967 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3968 (hif-exprlist): New function.
3969 (hif-parse-if-exp): Use it.
3970 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3971 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3972 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3973 (hif-logxor, hif-comma): New functions.
3974
a22359a7
GM
39752014-01-28 Glenn Morris <rgm@gnu.org>
3976
793ffe81
GM
3977 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3978
e3bd7eed
GM
3979 * indent.el (tab-stop-list): Doc fix. Add :version.
3980
a22359a7
GM
3981 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3982 (cvs-append-to-ignore): Add compatibility alias.
3983
52695556 39842014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3985
bac524e0
GM
3986 * dired.el (dired-hide-details-mode): Don't autoload it,
3987 since it cannot be used outside Dired buffers anyway.
3988
52695556 3989 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3990
52695556
GM
3991 * dired.el (dired-hide-details-hide-symlink-targets)
3992 (dired-hide-details-hide-information-lines)
3993 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3994
3995 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3996 * strokes.el (strokes-file): Doc fix. Bump :version.
3997 (strokes-help): Doc fix.
3998 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3999 * emulation/viper.el (viper): Doc fix for custom group.
4000 (top-level): Remove oh-so-no-longer-relevant text about vip.
4001 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4002
4003 * ido.el (ido-save-directory-list-file):
4004 * saveplace.el (save-place-file):
4005 * calendar/timeclock.el (timeclock-file):
4006 * net/quickurl.el (quickurl-url-file):
4007 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4008 * progmodes/idlwave.el (idlwave-config-directory):
4009 * textmodes/remember.el (remember-data-file):
4010 Bump :version.
4011
169d6004
GM
40122014-01-26 Glenn Morris <rgm@gnu.org>
4013
de6a923b
GM
4014 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4015 Doc fix. Make obsolete.
4016 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4017
169d6004
GM
4018 * sort.el (delete-duplicate-lines): Doc fix.
4019
ed85dee6
RS
40202014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4021
4022 * progmodes/ada-mode.el (ada):
4023 * woman.el (woman): Link to info manual and Commentary section.
4024
4025 * progmodes/flymake.el (flymake):
4026 * nxml/nxml-mode.el (nxml):
4027 * net/eww.el (eww):
4028 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4029 * htmlfontify.el (htmlfontify):
4030 * ses.el (ses):
4031 * epa.el (epa):
4032 * ido.el (ido): Link to info manual.
4033
e0c67e1d
LL
40342014-01-25 Leo Liu <sdl.web@gmail.com>
4035
4036 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4037
35408b1a
AS
40382014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4039
4040 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4041 (bug#16537).
4042
76c3fa95
JB
40432014-01-24 Juanma Barranquero <lekktu@gmail.com>
4044
f77c7a99
JB
4045 * net/eww.el (eww-download-callback):
4046 Fix reference to eww-download-directory.
4047
76c3fa95
JB
4048 * emacs-lisp/bytecomp.el (byte-compile-file):
4049 Remove unused local variable `file-name'.
4050
1e548e40
GM
40512014-01-24 Glenn Morris <rgm@gnu.org>
4052
03f3b318
GM
4053 * woman.el (woman-default-faces, woman-monochrome-faces):
4054 Fix obsolescence specification.
4055
1e548e40
GM
4056 * subr.el (with-demoted-errors): Doc fix.
4057
d4f0427b
SM
40582014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4061 (cl--macroexp-fboundp): New function.
4062 (cl--make-type-test): Use it.
4063
1670e27f
GM
40642014-01-23 Glenn Morris <rgm@gnu.org>
4065
4066 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4067 * simple.el (eval-expression): Doc fixes.
4068
80efa207
GM
40692014-01-22 Glenn Morris <rgm@gnu.org>
4070
4071 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4072
29afcbab
SM
40732014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * emacs-lisp/package.el: Write files silently.
4076 (package-autoload-ensure-default-file, package--write-file-no-coding)
4077 (package-generate-description-file, package--download-one-archive)
4078 (package-install-from-archive): Tell `write-region' to stay quiet.
4079 (package-menu-mode, package-menu--print-info): Omit the Archive column
4080 if there's only one archive.
4081 (package-all-keywords, package--has-keyword-p): Remove dead code.
4082
2a5bce4f
GM
40832014-01-22 Glenn Morris <rgm@gnu.org>
4084
edace89f
GM
4085 * version.el (emacs-bzr-version-bzr): Fix typo.
4086
2a5bce4f
GM
4087 * version.el (emacs-repository-get-version):
4088 Check either .bzr or .git, but not both.
4089 Make the git case actually use the DIR argument, and return nil
4090 rather than the empty string.
983664c0 4091 Avoid error if .git exists but the git executable is not found.
2a5bce4f 4092
6cb4da45
MR
40932014-01-22 Martin Rudalics <rudalics@gmx.at>
4094
4095 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
4096 * window.el (window-total-size, window-size): New argument ROUND.
4097 (window--min-delta-1, window-min-delta, window--max-delta-1):
4098 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
4099 columns a window can shrink (Bug#16430).
4100 (fit-window-to-buffer): Simplify code.
4101 * term.el (term-window-width): Call window-body-width again.
4102
cc0f2ece
GM
41032014-01-22 Glenn Morris <rgm@gnu.org>
4104
7b997b14
GM
4105 * image.el (image-format-suffixes): Doc fix.
4106
44e76f9d
GM
4107 * international/quail.el (quail-define-package): Doc fix.
4108
35e951cd 4109 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 4110 (authors-renamed-files-alist): Additions.
7bfc1caa 4111
85a5f61f
GM
4112 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4113 reverts 2014-01-09 change. (Bug#16422)
4114
cc0f2ece
GM
4115 * calc/calc-embed.el (thing-at-point-looking-at):
4116 * emacs-lisp/map-ynp.el (x-popup-dialog):
4117 * obsolete/lmenu.el (x-popup-dialog):
4118 * emacs-lisp/package.el (url-recreate-url):
4119 * mail/mailclient.el (clipboard-kill-ring-save):
4120 * subr.el (x-popup-dialog): Update declaration.
4121 * mail/rmail.el (rmail-mime-message-p):
4122 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4123
00d2a6bb
DC
41242014-01-21 Daniel Colascione <dancol@dancol.org>
4125
4126 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4127 Correctly detect when we're inside an arithmetic expansion form
4128 containing nested parenthesis.
c295fc18 4129 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
4130 to detect cases where we shouldn't expand "<<" to a heredoc
4131 skeleton.
4132
dd9d2e9d
SM
41332014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4136 (eldoc--message-command-p): New function.
4137 (eldoc-display-message-p): Use it.
4138 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4139 message is not automatically erased for us.
4140 (eldoc-print-current-symbol-info): Erase previous message, if any.
4141
e7d807ca
TH
41422014-01-21 Tassilo Horn <tsdh@gnu.org>
4143
4ff0a0e5
TH
4144 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4145 specify it's an interactive function.
4146
dd9d2e9d
SM
4147 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4148 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
4149 citations with optional arguments.
4150
87503791
LL
41512014-01-21 Leo Liu <sdl.web@gmail.com>
4152
4153 * simple.el (read--expression): Don't enable eldoc-mode.
4154
6cc750ee
SM
41552014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4156
4157 * simple.el (move-beginning-of-line): Make sure we don't move forward
4158 (bug#16497).
4159
71f16bda
JL
41602014-01-20 Juri Linkov <juri@jurta.org>
4161
4162 * saveplace.el (toggle-save-place, save-place-to-alist)
4163 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4164 'dired-mode) before checking for dired-directory. (Bug#16477)
4165
3c5a4839
JL
41662014-01-20 Juri Linkov <juri@jurta.org>
4167
4168 * indent.el (indent-line-to): Use backward-to-indentation
4169 instead of back-to-indentation. (Bug#16461)
4170
f952002e
PE
41712014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4172
4173 Revert some of the CANNOT_DUMP fix (Bug#16494).
4174 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4175 but fixing this can wait until after the next release.
4176 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4177
93675500
MA
41782014-01-19 Michael Albinus <michael.albinus@gmx.de>
4179
4180 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4181 Use `password-word-equivalents'.
4182 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4183 to t. (Bug#5664, Bug#13124)
4184
e3af763f
AM
41852014-01-19 Alan Mackenzie <acm@muc.de>
4186
4187 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4188 points.
4189 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 4190 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
4191 * progmodes/cc-mode.el (c-before-change, c-after-change)
4192 (c-font-lock-fontify-region): Bind it here.
4193
4ff6d92d
MR
41942014-01-19 Martin Rudalics <rudalics@gmx.at>
4195
4196 * term.el (term-window-width): Call window-text-width instead of
4197 window-width (Bug#16470).
4198
9a685cf6
PE
41992014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4200
4201 * simple.el (password-word-equivalents): Remove duplicates.
4202 Sort, to make this easier next time.
4203 Downcase. Omit ": " after "jelszó".
4204
5aa78c2d
JD
42052014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4206
4207 * term/common-win.el (saved-region-selection): Defvar it.
4208 (x-select-text): Set saved-region-selection (Bug#16382).
4209
cabb250c
GM
42102014-01-18 Glenn Morris <rgm@gnu.org>
4211
4212 * emacs-lisp/authors.el (authors-aliases)
4213 (authors-renamed-files-alist): Add some entries.
4214
a1340440
MA
42152014-01-17 Michael Albinus <michael.albinus@gmx.de>
4216
93675500
MA
4217 * net/tramp.el (tramp-password-prompt-regexp):
4218 Use `password-word-equivalents' if available.
a1340440
MA
4219 (tramp-action-password, tramp-process-one-action)
4220 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4221
681ce5d2
CY
42222014-01-17 Chong Yidong <cyd@gnu.org>
4223
4224 * simple.el (password-word-equivalents): New defcustom.
4225 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4226 to 24.4.
4227 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4228 to t. (Bug#13124)
4229
fb3d479c
DG
42302014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4231
4232 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
4233 (ruby-align-to-stmt-keywords): Change the default value.
4234 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
4235 choices.
4236 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4237 keywords, check against the value of `ruby-alignable-keywords'
4238 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4239
0d613483
GM
42402014-01-17 Glenn Morris <rgm@gnu.org>
4241
fc23fe2d
GM
4242 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4243
0d613483 4244 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 4245 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
4246 (authors-ignored-files): Add some entries, remove others.
4247 (authors-ambiguous-files, authors-valid-file-names):
4248 Add some entries.
4249 (authors-renamed-files-alist): Add, remove, and adjust entries.
4250 (authors-renamed-files-regexps): Add some entries.
4251 Remove some very broad ones. Make some entries `lax'.
4252 (authors-lax-changelogs): New constant.
4253 (authors-disambiguate-file-name): Treat top-level specially.
4254 (authors-lax-changelog-p): New function.
4255 (authors-canonical-file-name): Check file as written against
4256 authors-valid-file-names. Do not special-case etc/.
4257 Handle `lax' logs and authors-renamed-files-regexps elements.
4258
2dbf4ffd
DG
42592014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4260
4261 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
4262 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4263 callers.
2dbf4ffd 4264
87b2a7f2
SM
42652014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4268 Assume we're already in the proper buffer.
4269 Inspired by Anders Lindgren <andlind@gmail.com>.
4270 (follow-post-command-hook): Call it from the right buffer.
4271 (follow-comint-scroll-to-bottom): Adjust call.
4272 (follow-all-followers): Use get-buffer-window-list.
4273
93acfb0e
DC
42742014-01-15 Daniel Colascione <dancol@dancol.org>
4275
4276 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4277 `buffer-file-name' in interactive-form so that we don't leave
4278 pathless file names in `file-name-history'.
4279
ccc6b208
JL
42802014-01-15 Juri Linkov <juri@jurta.org>
4281
4282 * indent.el (indent-rigidly): Set deactivate-mark to nil
4283 in transient indentation mode. (Bug#16438)
4284
5c92e00d
DG
42852014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4286
4287 * emacs-lisp/package.el (package-desc-keywords): New function
4288 (Bug#16222).
4289 (describe-package-1, package-all-keywords)
4290 (package--has-keyword-p): Use it.
4291
dac69660
NR
42922014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4293
4294 * simple.el (define-alternatives): When creating the
4295 COMMAND-alternatives variable, assign COMMAND as its definition
4296 name so that `describe-variable' can relocate it.
4297
8b63edf8
ML
42982014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4299
4300 * font-lock.el (font-lock-keywords): Fix typo in docstring
4301 (bug#16307).
4302
c6a0b8eb
AM
43032014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4304
4305 * ispell.el (ispell-region): Reset `in-comment' for new line
4306 instead of wrongly reset `add-coment' (bug#13577).
4307
02bf443d
DU
43082014-01-14 Daiki Ueno <ueno@gnu.org>
4309
4310 * epa-file.el (epa-file-write-region): Encode the region according
4311 to `buffer-file-format'. Problem reported at:
4312 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4313
fd7fde15
SM
43142014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4317 so it applies in the right buffer (bug#16410).
4318
c176054f
DC
43192014-01-13 Daniel Colascione <dancol@dancol.org>
4320
4321 * textmodes/rst.el (rst-define-key): Provide deprecated
4322 keybindings through named functions instead of anonymous ones so
4323 that "??" doesn't appear in describe-mode output.
4324
e3f33e5d
BG
43252014-01-13 Bastien Guerry <bzg@gnu.org>
4326
4327 * simple.el (define-alternatives): Call the selected command
4328 interactively. When setting `COMMAND--implementation' for the
4329 first time, tell the user how to chose another implementation.
4330 Enhance the docstring.
4331
c055d654
SM
43322014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4335 (log-edit--match-first-line): New function.
4336 (log-edit-font-lock-keywords): Use it.
4337 (log-edit-mode): Make jit-lock-defer-multiline work.
4338
d791cc3b
BG
43392014-01-13 Bastien Guerry <bzg@gnu.org>
4340
4341 * rect.el (rectangle-mark-mode): When the region is not active,
4342 display a message saying that the mark as been set and that
4343 rectangle mode is in use.
4344 (rectangle--highlight-for-redisplay): Only put an overlay with a
4345 visible vertical bar when (display-graphic-p) is non-nil.
4346 This partially fixes Bug#16403.
4347
3c0c4562
JL
43482014-01-13 Juri Linkov <juri@jurta.org>
4349
4350 * info.el (Info-find-file): Go to DIR before displaying the error
4351 about a nonexistent file if no previous Info file is visited.
4352 Use `user-error' instead of `error' for "Info file %s does not exist".
4353 (Info-find-node-2): In case of a nonexistent node in unwind forms
4354 go to the Top node if there is no previous node to revert to.
4355 (Bug#16405)
4356
25a700d0
MR
43572014-01-13 Martin Rudalics <rudalics@gmx.at>
4358
4359 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
4360 * window.el (fit-frame-to-buffer): Fix doc-string.
4361 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
4362 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4363 when avoiding that frame goes partially off-screen.
4364 (fit-window-to-buffer): Respect window-min-height/-width
4365 (Bug#14096).
4366
6ae948d8
SM
43672014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4370 after an empty line.
4371
6137cb82
SM
43722014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4373
4374 * net/shr.el (shr-render-region): Autoload.
4375
e6344e17
XF
43762014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4377
4378 * net/eww.el (eww-download-directory): Rename from
4379 `eww-download-path' (Bug#16419).
4380
3b922c70
LL
43812014-01-12 Leo Liu <sdl.web@gmail.com>
4382
4383 * dired-x.el (dired-mode-map): Fix last change.
4384
4385 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4386
4fa51741
PE
43872014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4388
4389 Spelling fixes.
4390 * emacs-lisp/generic.el (generic--normalize-comments):
4391 Rename from generic--normalise-comments. All uses changed.
35e951cd 4392 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
4393 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4394 (bubbles--neighborhood-available)
4395 (bubbles--update-neighborhood-score):
4396 Rename from names with 'neighbourhood'. All uses changed.
4397
9b335362
LL
43982014-01-12 Leo Liu <sdl.web@gmail.com>
4399
4400 Re-implement the feature of showing eldoc info after editing.
4401 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4402 (eldoc-edit-message-commands): New function.
4403 (eldoc-print-after-edit): New variable.
4404 (eldoc-pre-command-refresh-echo-area): Emit message only by
4405 eldoc-message-commands.
4406 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4407 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 4408 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 4409 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 4410
e2a095b1
GM
44112014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4412 Eric S. Raymond <esr@thyrsus.com>
9685190b 4413
841a6d0c 4414 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 4415 function works correctly in either a Bazaar or Git repo.
0abf4134 4416
e2a095b1
GM
44172014-01-11 Eric S. Raymond <esr@thyrsus.com>
4418
6137cb82
SM
4419 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4420 Goes with removal of the joke manpages from /etc.
9685190b 4421
c295fc18 44222014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 4423
6137cb82
SM
4424 * mail/rmail.el (rmail-get-coding-system):
4425 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 4426
d2f16e93
GM
44272014-01-10 Glenn Morris <rgm@gnu.org>
4428
4429 * emacs-lisp/authors.el (authors-fixed-entries):
4430 Update for files that no longer exist.
4431
7e03bb32
ER
44322014-01-10 Eric S. Raymond <esr@thyrsus.com>
4433
4434 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 4435 24.3 (Tested).
7e03bb32 4436
dd806710
BB
44372014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4438
4439 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4440 and Podfile.
4441
ed6ec139
EZ
44422014-01-10 Eli Zaretskii <eliz@gnu.org>
4443
4444 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4445
cc33cac9
CY
44462014-01-10 Chong Yidong <cyd@gnu.org>
4447
6137cb82 4448 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 4449
d9d836b5
AL
44502014-01-10 Anders Lindgren <andlind@gmail.com>
4451
4452 * follow.el (follow-cache-command-list): Include right-char and
4453 left-char.
4454
06827ec8
PE
44552014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4456
4457 Spelling fixes.
4458 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4459 * woman.el (woman-mark-horizontal-position):
4460 Rename from woman-mark-horizonal-position. Use changed.
4461
458dbf5e
GM
44622014-01-10 Glenn Morris <rgm@gnu.org>
4463
dad6fae7
GM
4464 * info.el (info-initialize): If running uninstalled, ensure our
4465 own info files are always found first, even if INFOPATH is set.
4466
458dbf5e
GM
4467 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4468
05e0afce
DE
44692014-01-09 David Engster <deng@randomsample.de>
4470
4471 * emacs-lisp/eieio-custom.el:
4472 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4473 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4474 * emacs-lisp/eieio.el: Regenerate autoloads.
4475
f29778b3
ER
44762014-01-09 Eric S. Raymond <esr@thyrsus.com>
4477
4478 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 4479 following renames. (Bug#8756)
f29778b3 4480
684d44ef
SM
44812014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4482
4483 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4484 (bug#16382).
4485 (activate-mark): Add `no-tmm' argument.
4486 (set-mark, push-mark-command): Use it instead of running
4487 activate-mark-hook by hand.
4488
9475054f
ER
44892014-01-08 Eric S. Raymond <esr@thyrsus.com>
4490
4491 In preparation for the move to git, sanitize out some
4492 Bazaar-specific names.
4493
38942b9c
GM
4494 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4495
9475054f 4496 * version.el (emacs-bzr-version): Name changed to
689c9ca5 4497 emacs-repository-version. Obsolete-variable alias made.
9475054f 4498 * loadup.el: Follow through on this name change.
a12bf61e 4499 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
4500 assumption about the version control system in use.
4501
0f918d96 45022014-01-08 David Engster <deng@randomsample.de>
abb82152 4503
684d44ef
SM
4504 * help-fns.el (help-fns-describe-function-functions):
4505 New variable to call functions for augmenting help buffers.
abb82152
DE
4506 (describe-function-1): Remove explicit calls to
4507 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
4508 `help-fns--obsolete'. Put them in above new variable instead, and
4509 call them through `run-hook-with-args'.
4510 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4511 `eieio-describe-class'. Not meant for interactive use anymore,
4512 but to augment existing help buffers. Remove optional second
684d44ef
SM
4513 argument. Create proper button for file location.
4514 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
4515 possible.
4516 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4517 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
4518 (describe-method, describe-generic, eieio-describe-method):
4519 Remove aliases.
0f918d96
DE
4520 (eieio-help-constructor, eieio-help-generic): Rename from
4521 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4522 Rewrite to use `insert' in the current buffer and use proper help
4523 buttons.
4524 (eieio-help-find-method-definition)
4525 (eieio-help-find-class-definition): Also accept symbols as
4526 arguments.
4527 (eieio-help-mode-augmentation-maybee): Remove.
4528 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
4529 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4530 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 4531
136b74c5
PE
45322014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4533
4534 Spelling fixes.
4535 * language/china-util.el (hz-ascii-designation):
4536 Rename from hz-ascii-designnation.
4537 (hz-ascii-designation): Rename from hz-ascii-designnation.
4538 All uses changed.
4539
ec6c7de2
SM
45402014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4543 package-alist.
4544
d6262c7c
BG
45452014-01-08 Bastien Guerry <bzg@gnu.org>
4546
4b9e6087
GM
4547 * emacs-lisp/package.el (package-delete):
4548 Correctly delete the package from package-alist.
d6262c7c 4549
0a3eec32
DU
45502014-01-08 Daiki Ueno <ueno@gnu.org>
4551
4552 * emacs-lisp/package.el (url-recreate-url): Declare.
4553 (url-http-target-url): Declare.
4b9e6087 4554 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
4555 (package--check-signature): Don't re-signal errors from
4556 package--with-work-buffer. Suggested by Stefan Monnier.
4557
68f0bb97
BG
45582014-01-07 Bastien Guerry <bzg@gnu.org>
4559
4560 * minibuffer.el (completion--try-word-completion): When both a
4561 hyphen and a space are possible candidates for the character
4562 following a word, display both candidates. (Bug#15980)
4563
7e1899d7
MR
45642014-01-07 Martin Rudalics <rudalics@gmx.at>
4565
4566 * window.el (balance-windows-2): While rounding don't give a
c295fc18 4567 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 4568
0030ec15
GM
45692014-01-07 Glenn Morris <rgm@gnu.org>
4570
4571 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4572 (menu-bar-help-menu): Use view-external-packages instead.
4573
2b6b4f20
BG
45742014-01-07 Bastien Guerry <bzg@gnu.org>
4575
4576 * emacs-lisp/package.el (package-delete): Also delete the package
4577 name from `package-alist', not its description only.
4578
e9be0a13
GM
45792014-01-07 Glenn Morris <rgm@gnu.org>
4580
4581 * help.el (view-external-packages):
4582 * menu-bar.el (menu-bar-help-extra-packages):
4583 Visit efaq.info rather than etc/MORE.STUFF.
4584
e4f74da9
JL
45852014-01-07 Juri Linkov <juri@jurta.org>
4586
4587 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4588 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4589
4590 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4591 that shadows RET. (Bug#16342)
4592
de7ce2d1
CY
45932014-01-07 Chong Yidong <cyd@gnu.org>
4594
4595 * isearch.el (isearch-yank-char, isearch-yank-word)
4596 (isearch-yank-line): Doc fix.
4597
6bdd9204
SM
45982014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4601 * emacs-lisp/elint.el (elint-find-builtins):
4602 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4603 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4604 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4605 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4606 * apropos.el (apropos-safe-documentation):
4607 * subr.el (symbol-file): Remove redundant fboundp.
4608 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4609
daccca97
BG
46102014-01-06 Bastien Guerry <bzg@gnu.org>
4611
4612 * hl-line.el (global-hl-line-overlay): Make a local variable.
4613 (global-hl-line-overlays): New variable to store all overlays.
4614 (global-hl-line-mode): Don't delete overlays from the current
4615 buffer when `global-hl-line-sticky-flag' is non-nil.
4616 (global-hl-line-highlight): Add new overlays to
4617 `global-hl-line-overlays'.
4618 (global-hl-line-unhighlight-all): New function to delete all
4619 overlays when turning off `global-hl-line-mode'.
4620 This fixes Bug#16183.
4621
ec00f20f
SM
46222014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * subr.el (set-transient-map): Fix nested case and docstring.
4625
a0031f97
TH
46262014-01-06 Tassilo Horn <tsdh@gnu.org>
4627
4628 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4629 `Texinfo' entry.
4630
bf6a77f3
DC
46312014-01-06 Daniel Colascione <dancol@dancol.org>
4632
4633 Fix defun navigation in vc log view.
4634
4635 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4636 like `beginning-of-defun'.
c295fc18 4637 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
4638 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4639 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 4640 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 4641 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 4642
d5081c1e
PE
46432014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4644
4645 Spelling fixes.
4646 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4647 * emacs-lisp/debug.el (cancel-debug-on-entry):
4648 * epg.el (epg-error-to-string):
4649 * files.el (recover-file):
4650 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4651 * mail/emacsbug.el (report-emacs-bug-hook):
4652 * mail/sendmail.el (mail-recover):
4653 * ses.el (ses-yank-resize):
4654 * term/ns-win.el (ns-print-buffer):
4655 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4656 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4657 All uses changed.
4658 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4659
53f6b148
LL
46602014-01-06 Leo Liu <sdl.web@gmail.com>
4661
4662 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 4663 to avoid shadowing global key. (Bug#16354)
53f6b148 4664
b82ace2f
DC
46652014-01-06 Daniel Colascione <dancol@dancol.org>
4666
4667 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4668 rst-mode.
4669
3669b636
MR
46702014-01-05 Martin Rudalics <rudalics@gmx.at>
4671
4672 * window.el (balance-windows): Add mising t to fix Bug#16351.
4673
1a29adc2
LMI
46742014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4675
4676 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4677 (bug#16285).
3d95a0f4
LMI
4678 (shr-insert): If we have a word that's longer than `shr-width',
4679 break after it anyway. Otherwise we'll do no breaking once we get
4680 such a long word.
1a29adc2 4681
f4018140
KN
46822014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4683
3fcfc4ee 4684 * net/eww.el (eww): Support single/double quote for search.
c295fc18 4685 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
4686 (eww-history-quit): Delete and use quit-window.
4687 (eww-history-kill): Delete, because it doesn't work well and
4688 not necessary.
4689 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 4690
4e619754
PE
46912014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4692
73dbf960
PE
4693 Fix misspelling of 'chinese' in rx (Bug#16237).
4694 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4695 chinese-two-byte.
4696
4e619754
PE
4697 Change subword regexps back to vars (Bug#16296).
4698 * progmodes/subword.el (subword-forward-regexp)
4699 (subword-backward-regexp): Change these back to variables.
4700
e18b70fc
SM
47012014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4704 syntax-begin-function (bug#16247).
4705
0d53f628
CY
47062014-01-03 Chong Yidong <cyd@gnu.org>
4707
4708 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4709 (advice--docstring): Delete variable.
4710 (advice--make-1): Leave the docstring empty.
4711 (advice-add): Use function-documentation for advised docstring.
4712
4713 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4714 Ignore function-documentation property when getting documentation.
4715 (ad-activate-advised-definition): Use function-documentation
4716 generate the docstring.
4717 (ad-make-advised-definition): Don't call
4718 ad-make-advised-definition-docstring.
4719 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4720 Delete functions.
4721
4722 * progmodes/sql.el (sql-help): Use function-documentation instead
4723 of dynamic-docstring-function property. No need to autoload now.
4724 (sql--help-docstring): New variable.
4725 (sql--make-help-docstring): Use it.
4726
6f547583
SM
47272014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4728
6ef9aed8
SM
4729 * ielm.el (ielm-tab): Retarget.
4730 (ielm-map): Use ielm-tab for tab.
4731 (ielm-complete-filename): Use comint-filename-completion.
4732 (ielm-complete-symbol): Remove.
4733 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4734 remove ielm-tab from completion-at-point-functions (bug#16224).
4735
6f547583
SM
4736 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4737 Beware signals raised by predicates (bug#16201).
4738
a574edbe
RS
47392014-01-02 Richard Stallman <rms@gnu.org>
4740
e831604d
RS
4741 * dired-aux.el (dired-do-print): Handle printer-name.
4742
6f547583
SM
4743 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4744 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
4745 (rmail-epa-decrypt): Turn off mime processing.
4746
3fcfc4ee 4747 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
4748 Add parens in message-id.
4749
4750 * mail/rmail.el (rmail-get-coding-function): Variable.
4751 (rmail-get-coding-system): Use it.
4752
04311a16
KH
47532013-12-31 Eli Zaretskii <eliz@gnu.org>
4754
4755 * international/mule-conf.el: Unify the charset indian-is13194.
4756 (indian-is13194): Specify unify-map.
4757
c8d89778
LL
47582013-12-31 Leo Liu <sdl.web@gmail.com>
4759
4760 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4761
e63ace37
DC
47622013-12-30 Daniel Colascione <dancol@dancol.org>
4763
9e0bf19a
DC
4764 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4765 of printing a useless when we resume from sleep.
4766
e63ace37 4767 * progmodes/sh-script.el
c295fc18 4768 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
4769 in indentation code. (Bug#16233)
4770
e9d6c46a
JT
47712013-12-28 João Távora <joaotavora@gmail.com>
4772
6f547583
SM
4773 * elec-pair.el (electric-pair-post-self-insert-function):
4774 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 4775
bf7bea5d
EZ
47762013-12-28 Eli Zaretskii <eliz@gnu.org>
4777
4778 * frame.el (window-system-for-display): Don't allow to create a
4779 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4780
8449dd1f
GM
47812013-12-28 Glenn Morris <rgm@gnu.org>
4782
9c5a5c77
GM
4783 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4784 Update callers.
4785
4786 * apropos.el (apropos-match-face):
4787 * calculator.el (calculator-displayer):
4788 * dabbrev.el (dabbrev-search-these-buffers-only):
4789 * face-remap.el (buffer-face-mode-face):
4790 * simple.el (yank-handled-properties):
4791 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4792 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4793 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4794 (hashcash-double-spend-database):
4795 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4796 (ruby-deep-indent-paren-style):
4797 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4798 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4799 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4800 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4801 Specify custom types.
4802
bb098075
GM
4803 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4804 * bookmark.el (bookmark-bmenu-use-header-line):
4805 * doc-view.el (doc-view-scale-internally):
4806 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4807 * register.el (register-preview-delay):
4808 * net/shr.el (shr-bullet):
4809 * progmodes/cfengine.el (cfengine-cf-promises)
4810 (cfengine-parameters-indent):
4811 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4812 * textmodes/reftex-vars.el (reftex-label-regexps):
4813 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4814
9c61f806
GM
4815 * net/tls.el (tls-certtool-program): Fix default value.
4816
4817 * desktop.el (desktop-restore-in-current-display):
4818 * newcomment.el (comment-empty-lines):
4819 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4820 (idlwave-pad-keyword):
4821 * progmodes/tcl.el (tcl-tab-always-indent):
4822 * textmodes/reftex-vars.el (reftex-index-default-tag):
4823 * elec-pair.el (electric-pair-skip-whitespace):
4824 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4825
8449dd1f
GM
4826 * emacs-lisp/authors.el (authors-ignored-files)
4827 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4828
fdadeb49
JC
48292013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4830
72140a0f
GM
4831 * shell.el (shell-dynamic-complete-command): Doc fix.
4832 (shell--command-completion-data): Shell completion now matches
4833 executable filenames from the current buffer's directory, on
da5ecfa9 4834 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 4835
e572a7d8
LI
48362013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4837
4838 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4839
7514d3f8
SM
48402013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4841
a4151f3b
SM
4842 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4843 (bug#16251).
4844
7514d3f8
SM
4845 * electric.el: Move all electric-pair-* to elec-pair.el.
4846 * elec-pair.el: New file, split from electric.el.
4847
ac5758d1
LI
48482013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4849
4850 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4851 indentation level is larger than the width, because that will
4852 infloop.
4853 (shr-insert): Fill repeatedly long texts, so that Japanese is
4854 formatted correctly (bug#16263).
24a6b65e
LI
4855 (shr-find-fill-point): Off by one error in comparison with the
4856 indentation.
ac5758d1 4857
7514d3f8 48582013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
4859
4860 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 4861 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
4862 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4863 if that keeps or improves their balance in buffers.
4864 (electric-pair-delete-adjacent-pairs): Delete the pair when
4865 backspacing over adjacent matched delimiters.
4866 (electric-pair-open-extra-newline): Open extra newline when
4867 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
4868 (electric--sort-post-self-insertion-hook):
4869 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
4870 minor-modes are activated.
4871 * simple.el (newline-and-indent): Call newline with interactive
4872 set to t.
4873 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
4874 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4875 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4876 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
4877 electric-pair-open-newline-between-pairs to nil.
4878
fbcc63a3
FEG
48792013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4880
4881 * progmodes/python.el: Use lexical-binding.
4882 (python-nav-beginning-of-defun): Stop searching ASAP.
4883
ed78d16c
XF
48842013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4885
4886 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4887 Fix interactive spec. Doc fix. (Bug#15754)
4888
38b2c142
KY
48892013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4890
4891 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4892 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4893 Fix edebug spec (bug#16184).
4894
3c856c14
LI
48952013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4896
83fa295c 4897 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4898 (shr-insert): Don't infloop if we can't find a good place to break
4899 the line (bug#16256).
3c856c14 4900
01379221
FEG
49012013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4902
35e951cd 4903 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4904 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4905 python-nav-lisp-forward-sexp-safe.
4906 (python-nav--forward-sexp): New argument SAFE allows switching
4907 forward sexp movement behavior for parens.
4908 (python-nav-forward-sexp): Throw errors on unterminated parens
4909 (Bug#16191).
4910 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4911 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4912 (python-shell-buffer-substring):
4913 Use `python-nav-forward-sexp-safe'.
01379221 4914
99e4926f
LI
49152013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4916
4917 * net/shr.el (shr-find-fill-point): Don't break lines before a
4918 quotation mark.
c6c20584
LI
4919 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4920 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4921 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4922
fec0e828
KN
49232013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4924
4925 * net/eww.el (eww-form-textarea): Use a different face for
4926 textareas than text input since they have different keymaps
4927 (bug#16142).
4928
89c868ad
FEG
49292013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4930
7514d3f8
SM
4931 * progmodes/python.el (python-nav-beginning-of-statement):
4932 Speed up (Bug#15295).
89c868ad 4933
eeef121a
LI
49342013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4935
4936 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4937 the window configuration.
4938
121ea65f
EZ
49392013-12-24 Eli Zaretskii <eliz@gnu.org>
4940
4941 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4942 we run on MS-Windows or MS-DOS.
4943
18cee9ec
MR
49442013-12-24 Martin Rudalics <rudalics@gmx.at>
4945
4946 * window.el (balance-windows-area): Call window-size instead of
4947 window-height and window-width. Bug#16241.
4948
58f2b9a5
LI
49492013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4950
4951 * net/eww.el (eww-bookmark-quit): Remove.
4952 (eww-bookmark-browse): Restore the window configuration when you
4953 choose a bookmark (bug#16144).
4954
d64b6308
DC
49552013-12-24 Daniel Colascione <dancol@dancol.org>
4956
4957 * icomplete.el: Remove redundant :group arguments to `defcustom'
4958 throughout.
4959 (icomplete-show-matches-on-no-input): New customizable variable.
4960 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4961 we have something to show.
7514d3f8 4962 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4963
0da54898
DC
49642013-12-23 Daniel Colascione <dancol@dancol.org>
4965
4966 * icomplete.el: Move `provide' to end of file.
4967
b90aa4f4
TZ
49682013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4969
4970 * net/gnutls.el (gnutls-verify-error): Add version tag.
4971
8cd22a08
CY
49722013-12-23 Chong Yidong <cyd@gnu.org>
4973
4974 * subr.el (set-transient-map): Rename from
4975 set-temporary-overlay-map. Doc fix.
4976
4977 * face-remap.el (text-scale-adjust):
4978 * indent.el (indent-rigidly):
4979 * kmacro.el (kmacro-call-macro):
4980 * minibuffer.el (minibuffer-force-complete):
4981 * repeat.el (repeat):
4982 * simple.el (universal-argument--mode):
4983 * calendar/todo-mode.el (todo-insert-item--next-param):
4984 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4985
7510b021
CY
4986 * indent.el (indent-rigidly): Use substitute-command-keys.
4987
72140a0f 49882013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4989
4990 * net/eww.el (eww-tag-select): Add text-property to jump to next
4991 select field.
e9dc713d 4992 (eww): Add non-supported ftp error.
56890ecd 4993
1f87a56c
DG
49942013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4995
4996 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4997 comments. Handle electric indent after typing `?' and `!'.
4998
dca38cf9
CY
49992013-12-22 Chong Yidong <cyd@gnu.org>
5000
5001 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
5002 applicable to a frame, fall back on the defface spec.
5003 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 5004
f2351498
DG
50052013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5006
5007 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5008 after `{'. We need it after block openers, and it doesn't seem
5009 to hurt after hash openers.
5010
6cddebc1
DG
50112013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5012
5013 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5014 extracted from `ruby-smie-rules'.
5015 (ruby--electric-indent-chars): New variable.
5016 (ruby--electric-indent-p): New function.
5017 (ruby-mode): Use `electric-indent-functions' instead of
5018 `electric-indent-chars'.
5019
65a1da00
DG
50202013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5021
5022 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5023 docstring.
5024 (ruby-smie-rules): Indent plus one level after `=>'.
5025
b51ad4cf
RS
50262013-12-21 Richard Stallman <rms@gnu.org>
5027
5028 * simple.el (newline): Doc fix.
5029
72140a0f 50302013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 5031
e9dc713d 5032 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
5033 (eww-history-browse, eww-history-quit, eww-history-kill)
5034 (eww-history-mode-map, eww-history-mode): New command and
5035 functions to list browser histories.
e9dc713d
JB
5036 (eww-form-text): Support text form with disabled
5037 and readonly attributes.
5038 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 5039
5e1901c1
RS
50402013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5041
5042 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5043 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5044 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5045 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5046 Use `user-error'.
5047 (eww-bookmark-mode-map): Add menu.
5048 (eww-render, eww-mode): Use `setq-local'.
5049 (eww-tool-bar-map): New variable.
5050 (eww-mode): Set `tool-bar-map'.
5051 (eww-view-source): Check for `html-mode' with `fboundp'.
5052
073d5cfd
LMI
50532013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5054
5055 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5056 elements with text inside. Also remove debugging.
5057
41cf3d11
JD
50582013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5059
5060 * cus-start.el (all): Add ns-use-srgb-colorspace.
5061
aac2b673
CY
50622013-12-21 Chong Yidong <cyd@gnu.org>
5063
5064 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5065 undefined. Thus, theme settings for undefined faces do not take
5066 effect until the faces are defined with defface, the same as with
5067 theme variables.
5068
5069 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5070 (face-spec-reset-face): Don't assign extra properties in temacs.
5071 (face-spec-recalc): Apply X resources too.
5072
bacb0e77
CY
50732013-12-21 Chong Yidong <cyd@gnu.org>
5074
5075 * faces.el (face-spec-set):
5076 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5077 * custom.el (defface): Doc fixes (Bug#16203).
5078
77221051
CY
5079 * indent.el (indent-rigidly-map): Add docstring, and move commands
5080 into named functions.
5081 (indent-rigidly-left, indent-rigidly-right)
5082 (indent-rigidly-left-to-tab-stop)
5083 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5084 indentation direction based on bidi direction, and accumulate
5085 sequential commands in a single undo boundary.
5086 (indent-rigidly--pop-undo): New utility function.
5087
e0eb0550
JB
50882013-12-20 Juanma Barranquero <lekktu@gmail.com>
5089
5090 * faces.el (read-face-name): Require crm.el when using crm-separator.
5091
3282bd2e
DC
50922013-12-20 Daniel Colascione <dancol@dancol.org>
5093
5094 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5095 so that we don't reflow comments into the shebang line.
5096
1d42e5b6
JL
50972013-12-20 Juri Linkov <juri@jurta.org>
5098
5099 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5100 a position when `dired-directory' is non-nil. Check integer
5101 positions with `integerp'.
5102 (toggle-save-place, save-places-to-alist): Add check for
5103 `dired-directory'.
5104 (save-place-find-file-hook): Check integer positions with
5105 `integerp'.
5106 (save-place-dired-hook): Use `dired-goto-file' when
5107 `dired-filename' is found in the assoc list. Check integer
5108 positions with `integerp'.
5109 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5110
5111 * dired.el (dired-initial-position-hook): Rename back from
5112 `dired-initial-point-hook'.
5113 (dired-initial-position): Rename `dired-initial-point-hook' to
5114 `dired-initial-position-hook'.
5115 (dired-file-name-at-point): Doc fix. (Bug#15329)
5116
24da7273
JL
51172013-12-20 Juri Linkov <juri@jurta.org>
5118
5119 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5120 (read-regexp-suggestions): New function.
5121 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5122 Use `read-regexp-suggestions'. Add non-empty default to history
5123 for empty input.
5124 (occur-read-regexp-defaults-function): Remove function.
5125 (occur-read-primary-args): Use `regexp-history-last' instead of
5126 `occur-read-regexp-defaults-function'.
5127
5128 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5129 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5130 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5131 `hi-lock-read-regexp-defaults-function'. Doc fix.
5132 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5133 with `find-tag-default-as-symbol-regexp'. Doc fix.
5134 (hi-lock-read-regexp-defaults): Remove function.
5135 (hi-lock-regexp-okay): Add check for null.
5136
5137 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5138 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5139
5140 * subr.el (find-tag-default-as-symbol-regexp): New function.
5141 (find-tag-default-as-regexp): Move symbol regexp formatting to
5142 `find-tag-default-as-symbol-regexp'.
5143
137f57c8
S
51442013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5145
5146 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5147 (Bug#14179)
5148
f3a66082
SB
51492013-12-20 Stephen Berman <stephen.berman@gmx.net>
5150
5151 * calendar/todo-mode.el: New implementation of item insertion
5152 commands and key bindings.
5153 (todo-key-prompt): New face.
5154 (todo-insert-item): New command.
5155 (todo-insert-item--parameters): New defconst, replacing defvar
5156 todo-insertion-commands-args-genlist.
5157 (todo-insert-item--param-key-alist): New defconst, replacing
5158 defvar todo-insertion-commands-arg-key-list.
5159 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5160 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5161 (todo-insert-item--next-param): New functions.
5162 (todo-insert-item--args, todo-insert-item--argleft)
5163 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5164 New variables.
5165 (todo-key-bindings-t): Change binding of "i" from
5166 todo-insertion-map to todo-insert-item.
5167 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5168 (todo-insertion-command-name, todo-insertion-commands-names)
5169 (todo-define-insertion-command, todo-insertion-commands)
5170 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5171
2f99433b
SB
51722013-12-20 Stephen Berman <stephen.berman@gmx.net>
5173
5174 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5175 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5176 eval-when-compile.
5177 (todo-move-category): Allow choosing a non-existing todo file to
5178 move the category to, and create that file.
5179 (todo-default-priority): New user option.
5180 (todo-set-item-priority): Use it.
5181 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5182 (desktop-restore-file-buffer): Declare.
5183 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5184 (todo-modes-set-2): Locally set desktop-save-buffer to
5185 todo-desktop-save-buffer.
5186 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5187 (auto-mode-alist): Add autoload cookie.
5188
131e4695
BB
51892013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5190
5191 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5192 helpers.el was a poor choice of name.
3cbfb935
BB
5193 (string-remove-prefix): New function.
5194 (string-remove-suffix): New function.
131e4695 5195
c44de18d
MR
51962013-12-20 Martin Rudalics <rudalics@gmx.at>
5197
5198 Fix assignment for new window total sizes.
5199 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
5200 (window--pixel-to-total-1, window--pixel-to-total):
5201 Fix calculation of new total sizes.
c44de18d 5202
ca65efcc
VS
52032013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5204
5205 * comint.el (comint-output-filter): Fix rear-nonsticky property
5206 placement (Bug#16010).
5207
a9574eb7
CY
52082013-12-20 Chong Yidong <cyd@gnu.org>
5209
5210 * faces.el (read-color): Minor fix for completion function.
5211
b520f210
DG
52122013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5213
e0eb0550
JB
5214 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5215 New option. (Bug#16182)
b520f210
DG
5216 (ruby-smie--indent-to-stmt-p): Use it.
5217 (ruby-smie-rules): Revert the logic in the handling of `when'.
5218 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5219 (ruby-deep-arglist, ruby-deep-indent-paren)
5220 (ruby-deep-indent-paren-style): Update docstrings to note that the
5221 vars don't have any effect with SMIE.
5222
26b75b45
JB
52232013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5224
5225 * calc/calc.el (calc-enter, calc-pop): Use the variable
5226 `calc-context-sensitive-enter'.
5227
cf91cee7
LMI
52282013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5229
5230 * net/shr.el (shr-insert): Protect against infloops in degenerate
5231 tables.
5232
51d971b4
RS
52332013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5234
5235 * progmodes/octave.el (octave): Add link to manual and octave
5236 homepage.
5237 (octave-mode-menu): Link to octave-mode manual.
5238
8c2e462a
LL
52392013-12-20 Leo Liu <sdl.web@gmail.com>
5240
5241 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5242 insertion using skeleton-end-newline. (Bug#16138)
5243
501158bc
JL
52442013-12-20 Juri Linkov <juri@jurta.org>
5245
5246 * replace.el (occur-engine): Use `add-face-text-property'
5247 to add the face property to matches and titles. (Bug#14645)
5248
5249 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5250 the palette of other hi-lock colors.
5251 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5252
50ab1da6
JL
52532013-12-19 Juri Linkov <juri@jurta.org>
5254
5255 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5256 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5257 (minibuffer-history-symbol): Move variable declaration closer to
5258 its usage.
5259
5260 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5261 (Bug#14785)
5262
3d6e95e7
JL
52632013-12-19 Juri Linkov <juri@jurta.org>
5264
5265 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5266 New function.
5267 (log-edit-hook): Add it to :options. (Bug#16170)
5268
b41594fd
JL
52692013-12-19 Juri Linkov <juri@jurta.org>
5270
5271 * simple.el (eval-expression-print-format): Don't check for
5272 command names and the last command. Always display additional
5273 formats of the integer result in the echo area, and insert them
5274 to the current buffer only with a zero prefix arg.
5275 Display character when char-displayable-p is non-nil.
5276 (eval-expression): With a zero prefix arg, set `print-length' and
5277 `print-level' to nil, and insert the integer values from
5278 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5279
5280 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5281 `eval-last-sexp-arg-internal'. Doc fix.
5282 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5283 `eval-last-sexp-print-value'. Doc fix.
5284 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5285 Set `print-length' and `print-level' to nil when arg is zero.
5286 (eval-last-sexp): Doc fix.
5287 (eval-defun-2): Print the integer values from
5288 `eval-expression-print-format' at the end.
5289
5290 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5291 values from `eval-expression-print-format' at the end.
5292
5293 * ielm.el (ielm-eval-input): Print the integer
5294 values from `eval-expression-print-format' at the end.
5295
8f2be364
TZ
52962013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5297
5298 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5299 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5300
2230a6e3
SM
53012013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5304 (hl-line-highlight, global-hl-line-highlight): Use it.
5305 (hl-line-overlay): Use defvar-local.
5306
1269a680
JD
53072013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5308
5309 * term/ns-win.el: Require dnd.
5310 (global-map): Remove drag items.
5311 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
5312 (ns-set-background-at-mouse):
5313 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5314 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5315 New functions.
1269a680 5316
049638ad
GM
53172013-12-19 Glenn Morris <rgm@gnu.org>
5318
5319 * emacs-lisp/ert.el (ert-select-tests):
5320 Fix string/symbol mixup. (Bug#16121)
5321
ce41edb4
DG
53222013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5323
5324 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5325 keywords to their parent.
5326
7e1549c9
DG
53272013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5328
5329 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5330 first arg to be a string (fixed dead code), or an operator symbol.
5331 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5332 operator symbols.
5333 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5334 did nothing. Don't respond to `(:after ".")', it will be called
5335 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5336 change anything. Only return indentation for binary operators
5337 when they are hanging. De-dent opening paren when its parent is
5338 `.', otherwise it looks bad when the dot is not at bol or eol
5339 (bug#16182).
5340
3ee4cd64
JL
53412013-12-19 Juri Linkov <juri@jurta.org>
5342
5343 * replace.el (query-replace-read-args): Split a non-negative arg
5344 and a negative arg into separate elements.
5345 (query-replace, query-replace-regexp, replace-string)
5346 (replace-regexp): Add arg `backward'. Doc fix.
5347 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5348 move point to the beginning of the match.
5349 (replace-search, replace-highlight): Use new arg `backward'
5350 to set the value of `isearch-forward'.
5351 (perform-replace): Add arg `backward' and use it to perform
5352 replacement backward. (Bug#14979)
5353
5354 * isearch.el (isearch-query-replace): Use a negative prefix arg
5355 to call `perform-replace' with a non-nil arg `backward'.
5356
0cda6b7b
JL
53572013-12-18 Juri Linkov <juri@jurta.org>
5358
5359 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5360 to the default list. Move `log-edit-show-files' to the end.
5361 Add more available functions to options.
5362 (log-edit): Move default specific settings to
5363 `log-edit-insert-message-template'. Don't move point.
5364 (log-edit-insert-message-template): New function.
5365 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5366 (Bug#16170)
5367
b216f0a6
JL
53682013-12-18 Juri Linkov <juri@jurta.org>
5369
5370 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5371 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5372
1d1c55dc
LL
53732013-12-18 Leo Liu <sdl.web@gmail.com>
5374
e9dc713d
JB
5375 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5376 (Bug#16186)
1d1c55dc 5377
64e4c76e
EZ
53782013-12-18 Eli Zaretskii <eliz@gnu.org>
5379
5380 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5381 formats for displaying file sizes when the -s switch is given.
5382 Instead, compute a separate format for displaying the size in
5383 blocks, which is displayed in addition to the "regular" size.
5384 When -h is given in addition to -s, produce size in blocks in
5385 human-readable form as well. (Bug#16179)
5386
b2984e39
TH
53872013-12-18 Tassilo Horn <tsdh@gnu.org>
5388
2230a6e3
SM
5389 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5390 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 5391
50ff2e06
CY
53922013-12-18 Chong Yidong <cyd@gnu.org>
5393
0081bc84
CY
5394 * cus-edit.el (custom-magic-alist): Fix "themed" description
5395 (Bug#14348).
5396
a7ee9424
CY
5397 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5398 is non-nil, do not create a new entry in the symbol's theme-value
5399 or theme-face property; update theme-settings only (Bug#14664).
18874304 5400 (custom-available-themes): Doc fix.
a7ee9424 5401
8f942537
CY
5402 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5403 (Bug#15674).
5404
50ff2e06
CY
5405 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5406
83c60f60
KI
54072013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5408
5409 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5410 (Bug#13914).
5411
e0eb0550 54122013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
5413
5414 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5415
1f41ee56
GM
54162013-12-18 Glenn Morris <rgm@gnu.org>
5417
5418 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 5419 * cus-start.el (load-prefer-newer): New option.
1f41ee56 5420
e82134b1
LW
54212013-12-18 Le Wang <l26wang@gmail.com>
5422
2230a6e3
SM
5423 * comint.el (comint-previous-matching-input-from-input):
5424 Retain point (Bug#13404).
e82134b1 5425
33f5d4c1
CY
54262013-12-18 Chong Yidong <cyd@gnu.org>
5427
5428 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5429
ccc9f6dc
GM
54302013-12-18 Glenn Morris <rgm@gnu.org>
5431
5432 * mail/emacsbug.el (report-emacs-bug):
5433 Only mention enable-multibyte-characters if non-standard.
5434
33dd8e95
JL
54352013-12-17 Juri Linkov <juri@jurta.org>
5436
5437 * arc-mode.el (archive-extract-by-file): Check if directory exists
5438 before deletion to not show irrelevant errors if it doesn't exist.
5439
7a409b30
JL
54402013-12-17 Juri Linkov <juri@jurta.org>
5441
5442 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5443 (Bug#14751)
5444
5445 * net/eww.el (browse-web): Add alias to `eww'.
5446 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5447 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5448
5449 * net/browse-url.el (browse-url-browser-function): Move `eww'
5450 closer to similar functions.
5451
5452 * startup.el (fancy-startup-screen, fancy-about-screen):
5453 Set browse-url-browser-function to eww-browse-url locally.
5454 (Bug#14751)
5455
2d6b6005
SM
54562013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * window.el (window--pixel-to-total): Remove unused `mini' var.
5459 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5460 (split-window): Remove unused `new' var.
5461 (window--display-buffer): Remove unused `frame' and `delta' vars.
5462 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5463 and display-width'.
5464
cf2b7efc
MR
54652013-12-17 Martin Rudalics <rudalics@gmx.at>
5466
5467 * dired.el (dired-mark-pop-up):
5468 * register.el (register-preview): Don't bind
5469 split-height-threshold here since it's now done in
5470 display-buffer-below-selected.
5471
ed3af8a7 54722013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5473
5474 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5475 xterm-rgb-convert-to-16bit.
5476 (rxvt-register-default-colors): Standardize with
5477 xterm-register-default-colors (Bug#14078).
5478
76da3455
DK
54792013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5480
5481 * simple.el (kill-region): Pass mark first, then point, so that
5482 kill-append works right (Bug#12819).
5483 (copy-region-as-kill, kill-ring-save): Likewise.
5484
2b84d763
LL
54852013-12-17 Leo Liu <sdl.web@gmail.com>
5486
5487 * net/rcirc.el (rcirc-add-face):
5488 * eshell/em-prompt.el (eshell-emit-prompt):
5489 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5490 (Bug#16167)
5491
e2f6a0bc
CY
54922013-12-17 Chong Yidong <cyd@gnu.org>
5493
5494 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5495 Suggested by Xue Fuqiao.
5496
35b249a6
DG
54972013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5498
5499 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5500
e9145444
SM
55012013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * net/shr.el (shr-insert-document): Remove unused var
5504 `shr-preliminary-table-render'.
5505 (shr-rescale-image): Remove unused arg `force'.
5506 (shr-put-image): Update calls accordingly.
5507 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5508
5556c0ce
DG
55092013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5510
5511 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5512 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5513 :close-all, to see which indentation method to use (Bug#16116).
5514 (smie-rules-function): Document the method :close-all.
5515
11bade0a
LMI
55162013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5517
1c4b1e61
LMI
5518 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5519
11bade0a
LMI
5520 * net/eww.el (eww-display-html): If we can't find the anchor we're
5521 looking for, then go to point-min.
5522
8fb8c4f3
PE
55232013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5524
5525 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5526 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5527 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5528 Expand dir too, in case it's relative.
5529
6c8e0ae6
JL
55302013-12-16 Juri Linkov <juri@jurta.org>
5531
5532 * desktop.el (desktop-auto-save-timeout): Change default to
5533 `auto-save-timeout'. Doc fix.
5534 (desktop-save): Skip the timestamp in desktop-saved-frameset
5535 when checking for auto-save changes.
5536 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5537 `desktop-auto-save' is called repeatedly by the idle timer.
5538 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5539 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5540 (Bug#15331)
5541
2178e858
JL
55422013-12-16 Juri Linkov <juri@jurta.org>
5543
5544 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5545 (Bug#16035)
5546 (isearch-pre-command-hook): Check `this-command' for symbolp.
5547
39cb42c6
SM
55482013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5551
5b9b750a
TZ
55522013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5553
5554 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5555 (cfengine3--current-function): Bring in the current-function
5556 functionality from `cfengine3--current-word'.
5557 (cfengine3-completion-function): Bring in the
5558 bounds-of-current-word functionality from
5559 `cfengine3--current-word'.
5560
d144ef06
MR
55612013-12-16 Martin Rudalics <rudalics@gmx.at>
5562
39cb42c6
SM
5563 * window.el (display-buffer-below-selected):
5564 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 5565
a8bbe298
LL
55662013-12-16 Leo Liu <sdl.web@gmail.com>
5567
5568 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5569 Remove NOMSG arg and all uses changed.
5570
2013a2f9
SM
55712013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5572
5573 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5574 (cua--deactivate-rectangle): Don't deactivate the mark.
5575 (cua-set-rectangle-mark): Don't set mark-active since
5576 cua--activate-rectangle already does it for us.
5577 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5578 non-rectangular region.
5579
5580 * emulation/cua-base.el (cua-repeat-replace-region):
5581 Use with-current-buffer.
5582
5583 * net/gnutls.el: Use cl-lib.
5584 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5585
5ae811dd
TZ
55862013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5587
5588 * emacs-lisp/package.el (package-built-in-p): Support both
5589 built-in and the package.el converted package descriptions.
5590 (package-show-package-list): Allow keywords.
5591 (package-keyword-button-action): Use it instead of
5592 `finder-list-matches'.
5593 (package-menu-filter-interactive): Interactive filtering (by
5594 keyword) function.
5595 (package-menu--generate): Support keywords and change keymappings
5596 and headers when they are given.
5597 (package--has-keyword-p): Helper function.
5598 (package-menu--refresh): Use it.
5599 (package--mapc): Helper function.
5600 (package-all-keywords): Use it.
5601 (package-menu-mode-map): Set up menu items and keybindings to
5602 provide a filtering UI.
5603
31b4827e
TZ
56042013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5605
5606 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5607 the behavior when a certificate fails validation. Defaults to
5608 old behavior: never abort, just warn.
5609 (gnutls-negotiate): Use it.
5610
f93cc74f
MR
56112013-12-14 Martin Rudalics <rudalics@gmx.at>
5612
5613 * window.el (display-buffer-below-selected): Never split window
5614 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5615
f77d7d17
TW
56162013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5617
5618 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5619 (package-buffer-info): Use it (bug#15108).
aa2bddd7 5620
7514d3f8
SM
56212013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5622
aa2bddd7 5623 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 5624 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 5625
276bc333
DG
56262013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5627
5628 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5629 open-paren tokens when preceded by a open-paren, too.
5630 (ruby-smie-rules): Handle virtual indentation after open-paren
5631 tokens specially. If there is code between it and eol, return the
5632 column where is starts (Bug#16118).
5633
d43957f3
TZ
56342013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5635
a5c1ac0c 5636 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 5637 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
5638 (cfengine3--current-word): Fix parameters.
5639 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
5640 (cfengine3-completion-function, cfengine3--current-function):
5641 Use `assq' for symbols.
d43957f3
TZ
5642 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5643
06a4f110
GM
56442013-12-13 Glenn Morris <rgm@gnu.org>
5645
5646 * loadup.el (load-path): Warn if site-load or site-init changes it.
5647 No more need to reset it when bootstrapping.
5648
978a5fda
TZ
56492013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5650
5651 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5652 locations for cf-promises.
5653 (cfengine-mode-syntax-functions-regex): New caching variable.
5654 (cfengine3-fallback-syntax): Fallback syntax for cases where
5655 cf-promises doesn't run.
5656 (cfengine3--current-word): Reimplement using
5657 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
5658 (cfengine3-completion-function, cfengine3--current-function):
5659 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
5660 (cfengine3-clear-syntax-cache): New function.
5661 (cfengine3-make-syntax-cache): Simplify and create
5662 `cfengine-mode-syntax-functions-regex' on demand.
5663 (cfengine3-format-function-docstring): Don't call
5664 `cfengine3-make-syntax-cache' explicitly.
5665
71e6691e
MR
56662013-12-13 Martin Rudalics <rudalics@gmx.at>
5667
5668 Fix windmove-find-other-window broken after pixelwise resizing
5669 (Bug#16017).
5670 * windmove.el (windmove-other-window-loc): Revert change from
5671 2013-12-04.
5672 (windmove-find-other-window): Call window-in-direction.
5673 * window.el (window-in-direction): New arguments SIGN, WRAP and
5674 MINI to emulate original windmove-find-other-window behavior.
5675
84c73ba0
DG
56762013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5677
5678 * simple.el (blink-matching--overlay): New variable.
5679 (blink-matching-open): Instead of moving point, highlight the
5680 matching paren with an overlay
5681 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5682
5683 * faces.el (paren-showing-faces, show-paren-match)
5684 (show-paren-mismatch): Move from paren.el.
5685
b9e20952
LL
56862013-12-13 Leo Liu <sdl.web@gmail.com>
5687
5688 * indent.el (indent-region): Disable progress reporter in
5689 minibuffer. (Bug#16108)
5690
5691 * bindings.el (visual-order-cursor-movement): Fix version.
5692
ce030451
FEG
56932013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5694
5695 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5696 Also match after beginning of line.
5697 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 5698 files. Thanks to Russell Sim. (Bug#15378)
ce030451 5699
4a9c6865
JL
57002013-12-13 Juri Linkov <juri@jurta.org>
5701
5702 * simple.el <Keypad support>: Remove key bindings duplicated
5703 with bindings.el. (Bug#14397)
5704
2bc170c3
JL
57052013-12-13 Juri Linkov <juri@jurta.org>
5706
5707 * comint.el (comint-mode-map): Replace `delete-char' with
5708 `delete-forward-char'. (Bug#16109)
5709
bc9222c9
FEG
57102013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5711
aa2bddd7 5712 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 5713 Fix de-denters cornercase. (Bug#15731)
bc9222c9 5714
cb3a1380
SM
57152013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5718 (advice--make): Pay attention to `depth'.
5719 (advice--make-1): Don't autoload commands eagerly.
5720 * emacs-lisp/elp.el (elp-instrument-function):
5721 * emacs-lisp/trace.el (trace-function-internal):
5722 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5723
5724 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5725
01633a17
EZ
57262013-12-12 Eli Zaretskii <eliz@gnu.org>
5727
5728 * term/w32-win.el (w32-handle-dropped-file):
5729 * startup.el (normal-top-level):
5730 * net/browse-url.el (browse-url-file-url):
5731 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5732 decode file names using 'utf-8' rather than
5733 file-name-coding-system.
5734
09faee72
FEG
57352013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5736
5737 * progmodes/python.el (python-indent-context)
5738 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 5739 behavior for comment blocks. (Bug#15916)
09faee72 5740
f4f84024 57412013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 5742
cb3a1380
SM
5743 * progmodes/python.el (python-indent-calculate-indentation):
5744 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
5745 operators when they are just string constituents. (Bug#15812)
5746
d5ccb7be
JL
57472013-12-12 Juri Linkov <juri@jurta.org>
5748
5749 * uniquify.el (uniquify-buffer-name-style): Change default to
5750 `post-forward-angle-brackets'.
5751
5752 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5753 `uniquify'. Change default to `post-forward-angle-brackets'.
5754
7b3f5679
GM
57552013-12-11 Glenn Morris <rgm@gnu.org>
5756
5757 * emacs-lisp/package.el (finder-list-matches):
5758 Autoload rather than falsely declaring.
5759
f4fe8fdd
TZ
57602013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5761
5762 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5763 (eww-mode-map): Use them.
5764
3c29190f
MR
57652013-12-11 Martin Rudalics <rudalics@gmx.at>
5766
5767 * window.el (display-buffer-in-side-window): Fix doc-string
5768 (Bug#16115).
5769
0cd616a2
JB
57702013-12-11 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * vc/vc-git.el: Silence byte-compiler warnings.
5773 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5774 (log-edit-set-header): Declare.
5775
3ef8e0d1
EZ
57762013-12-11 Eli Zaretskii <eliz@gnu.org>
5777
5778 * Makefile.in (custom-deps, finder-data): Run output file names
5779 through unmsys--file-name. (Bug#16099)
5780
afdadaf7
SM
57812013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5782
7ae3ae39 5783 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 5784 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 5785
5b4f37ab
SM
5786 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5787 instead of deleting the selection "by hand" (bug#16098).
5788 Rely on insert-for-yank to yank rectangles.
5789 (cua-highlight-region-shift-only): Mark obsolete.
5790 (cua-mode): Don't enable/disable transient-mark-mode,
5791 shift-select-mode (cua-mode works both with and without them), and
5792 pc-selection-mode (obsolete).
5793 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5794 (cua--deactivate-rectangle): Deactivate it.
5795
4b72c12b
SM
5796 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5797 (delete-selection-helper): Make sure yank starts at the top of the
5798 deleted region.
5799 (minibuffer-keyboard-quit): Use region-active-p.
5800
e82af72d
SM
5801 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5802
afdadaf7
SM
5803 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5804 to `delete' (bug#16109).
5805
ed4bc201
RS
58062013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5807
5808 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5809 info manual and show keybindings and set `:group' keyword.
5810
bb8097b9
JL
58112013-12-11 Juri Linkov <juri@jurta.org>
5812
5813 * delsel.el (delete-active-region): Let-bind `this-command'
5814 to prevent `kill-region' from changing its original value.
5815 (delete-selection-helper): Handle `overwrite-mode' for the type
5816 `kill' exactly the same way as for the type `t'.
5817 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5818 Support more commands. (Bug#13312)
5819
c1916ff5
JL
58202013-12-11 Juri Linkov <juri@jurta.org>
5821
5822 * bindings.el: Map kp keys to non-kp keys systematically
5823 with basic modifiers control, meta and shift. (Bug#14397)
5824
7514d3f8 58252013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
5826
5827 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5828 "Close browser" menu items. Fix wrong function of "List
5829 bookmarks".
5830
4cc51eaf
JL
58312013-12-11 Juri Linkov <juri@jurta.org>
5832
5833 * misearch.el (multi-isearch-buffers): Set the value of
5834 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5835 arg of isearch-forward to t.
5836 (multi-isearch-buffers-regexp): Set the value of
5837 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5838 arg of isearch-forward-regexp to t.
5839 (multi-isearch-files): Set the value of
5840 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5841 arg of isearch-forward to t.
5842 (multi-isearch-files-regexp): Set the value of
c295fc18 5843 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
5844 arg of isearch-forward-regexp to t. (Bug#16035)
5845
5846 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5847 arg of isearch-forward to t.
5848 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5849 arg of isearch-forward-regexp to t.
5850 (dired-isearch-filter-filenames): Remove unnecessary check for
5851 `dired-isearch-filenames'.
5852
5853 * comint.el (comint-history-isearch-backward):
5854 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5855 (comint-history-isearch-backward-regexp):
5856 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5857
ceac12b7
EZ
58582013-12-10 Eli Zaretskii <eliz@gnu.org>
5859
5860 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5861 unmsys--file-name. (Bug#16099)
5862
5a565782
TZ
58632013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5864
cb3a1380
SM
5865 * emacs-lisp/package.el (package-keyword-button-action):
5866 Remove finder.el require dependency.
5a565782 5867
a81fc7ba
TZ
58682013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5869
5870 * emacs-lisp/package.el: Require finder.el.
5871 (describe-package-1): Add keyword buttons.
5872 (package-make-button): New convenience function.
5873 (package-keyword-button-action): Keyword button action using
e0eb0550 5874 `finder-list-matches'.
a81fc7ba 5875
6aaca951
EZ
58762013-12-09 Eli Zaretskii <eliz@gnu.org>
5877
5878 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5879 last commit.
5880
a1099a91
MA
58812013-12-09 Michael Albinus <michael.albinus@gmx.de>
5882
5883 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5884 symlinked files.
5885
8212d9c0
DG
58862013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5887
5888 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5889 after the end of a percent literal.
5890
8f48d131
CD
58912013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5892
cb3a1380
SM
5893 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5894 Handle caret-delimited strings (Bug#16079).
8f48d131 5895
ff8c9764
DG
58962013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5897
cb3a1380
SM
5898 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5899 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5900 `ruby-parse-partial' (Bug#16078).
5901
d64643b4
LL
59022013-12-09 Leo Liu <sdl.web@gmail.com>
5903
5904 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5905
47e59c66
DG
59062013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5907
5908 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5909 (js-switch-indent-offset): New option.
5910 (js--proper-indentation): Use it. And handle the case when
5911 "default" is actually a key in an object literal.
5912 (js--same-line): New function.
5913 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5914 (js--indent-in-array-comp, js--array-comp-indentation):
5915 New functions.
47e59c66
DG
5916 (js--proper-indentation): Use them, to handle array comprehension
5917 continuations.
5918
974ebc9c
LL
59192013-12-08 Leo Liu <sdl.web@gmail.com>
5920
5921 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5922 (flymake-make-overlay): Remove arg MOUSE-FACE.
5923 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5924
27262e39
SM
59252013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5926
5927 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5928 New function.
5929 (redisplay-highlight-region-function): Use it.
5930
5931 * emulation/cua-base.el (cua--explicit-region-start)
5932 (cua--last-region-shifted): Remove.
5933 (cua--deactivate): Use deactivate-mark.
5934 (cua--pre-command-handler-1): Don't handle shift-selection.
5935 (cua--post-command-handler-1): Don't change transient-mark-mode.
5936 (cua--select-keymaps): Use region-active-p rather than
5937 cua--explicit-region-start or cua--last-region-shifted.
5938 (cua-mode): Enable shift-select-mode.
5939
6407822c
LL
59402013-12-08 Leo Liu <sdl.web@gmail.com>
5941
27262e39
SM
5942 * progmodes/flymake.el (flymake-popup-current-error-menu):
5943 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5944 (flymake-posn-at-point-as-event, flymake-popup-menu)
5945 (flymake-make-emacs-menu): Remove. (Bug#16077)
5946
00a2b823
SM
59472013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5948
02033d49
SM
5949 * rect.el (rectangle-mark-mode): Activate mark even if
5950 transient-mark-mode is off (bug#16066).
5951 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5952 is > mark and at bolp.
5953
6f8dfccf
SM
5954 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5955 (region-extract-function): Use it.
5956 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5957 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5958 Delete functions.
5959 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5960 kill-ring-save, kill-region, delete-char, delete-forward-char.
5961 Ignore self-insert-iso.
5962
5963 * emulation/cua-gmrk.el (cua--init-global-mark):
5964 Ignore `self-insert-iso'.
5965
5966 * emulation/cua-base.el (cua--prefix-copy-handler)
5967 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5968 checking cua--rectangle.
5969 (cua-delete-region): Use region-extract-function.
5970 (cua-replace-region): Delete function.
5971 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5972 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5973 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5974 (cua--init-keymaps): Don't remap delete-selection commands.
5975 (cua-mode): Use delete-selection-mode instead of rolling our own
5976 (bug#16085).
5977
5978 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5979 Obey region-extract-function.
5980
00a2b823
SM
5981 Make registers and delete-selection-mode work on rectangles.
5982 * register.el (describe-register-1): Don't modify the register's value.
5983 (copy-to-register): Obey region-extract-function.
5984 * delsel.el (delete-active-region): Obey region-extract-function.
5985
a92fa5f1
LL
59862013-12-08 Leo Liu <sdl.web@gmail.com>
5987
5988 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5989 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5990 (flymake-compilation-prevents-syntax-check)
5991 (flymake-start-syntax-check-on-newline)
5992 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5993 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5994 (flymake-xml-program, flymake-master-file-dirs)
5995 (flymake-master-file-count-limit)
5996 (flymake-allowed-file-name-masks): Relocate.
5997 (flymake-makehash, flymake-float-time)
5998 (flymake-replace-regexp-in-string, flymake-split-string)
5999 (flymake-get-temp-dir): Remove.
6000 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6001 (flymake-current-row, flymake-selected-frame)
6002 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6003 related functions. (Bug#16077)
6004
73c8ceea
BB
60052013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6006
6007 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6008
faec28d9
TH
60092013-12-07 Tassilo Horn <tsdh@gnu.org>
6010
6011 * help-fns.el (describe-function-1): Use new advice-* functions
6012 rather than old ad-* functions. Fix function type description and
6013 source links for advised functions and subrs.
6014
e330b646
LMI
60152013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6016
00a2b823 6017 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 6018
4803595d
MA
60192013-12-06 Michael Albinus <michael.albinus@gmx.de>
6020
6021 * progmodes/compile.el (compilation-start):
6022 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6023
6024 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6025 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6026
fa834a93
DG
60272013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6028
00a2b823
SM
6029 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6030 Touch up the last change.
fa834a93 6031
b2856a6f
LL
60322013-12-06 Leo Liu <sdl.web@gmail.com>
6033
6034 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6035 (inferior-octave-startup): Always use "octave> " for prompt.
6036 (octave-goto-function-definition)
6037 (octave-sync-function-file-names)
6038 (octave-find-definition-default-filename): Remove redundant backquotes.
6039
af67e79a
DG
60402013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6041
6042 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6043 syntax for `?'.
6044 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6045 where appropriate already.
6046 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6047 end of method names (Bug#15874).
6048
bf093209
JL
60492013-12-06 Juri Linkov <juri@jurta.org>
6050
6051 * isearch.el (isearch--saved-overriding-local-map):
6052 New internal variable.
6053 (isearch-mode): Set it to the initial value of
6054 `overriding-terminal-local-map'.
6055 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6056 with `isearch--saved-overriding-local-map'. (Bug#16035)
6057
16588fad
DG
60582013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6059
00a2b823
SM
6060 * progmodes/octave.el (inferior-octave-completion-table):
6061 Turn back into function, use `completion-table-with-cache'
16588fad
DG
6062 (Bug#11906). Update all references.
6063
6064 * minibuffer.el (completion-table-with-cache): New function.
6065
bf4906d7
CD
60662013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6067
6068 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6069
ff69c18f
TZ
60702013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6071
6072 * net/eww.el (eww-current-source): New variable to store page
6073 source.
6074 (eww-display-html, eww-mode, eww-save-history)
6075 (eww-restore-history): Use it.
6076 (eww-view-source): New command to view page source.
6077 Opportunistically uses `html-mode' to highlight the buffer.
6078 (eww-mode-map): Install it.
6079
b85eff45
MA
60802013-12-05 Michael Albinus <michael.albinus@gmx.de>
6081
6082 * net/dbus.el (dbus-unregister-service)
6083 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6084 Fix docstring.
6085 (dbus-unregister-service): Skip :serial entries in
6086 `dbus-registered-objects-table'.
6087 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6088
39eb0899
TZ
60892013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6090
6091 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6092 around keywords with extra `split-string' argument.
6093
456760a5
MR
60942013-12-04 Martin Rudalics <rudalics@gmx.at>
6095
6096 * windmove.el (windmove-other-window-loc): Handle navigation
6097 between windows (excluding the minibuffer window - Bug#16017).
6098
81961e4c
MA
60992013-12-04 Michael Albinus <michael.albinus@gmx.de>
6100
6101 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6102 in D-Bus type syntax.
6103 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6104 preserve unibyte strings. (Bug#16048)
6105
8497f938
SM
61062013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6109 Call force-mode-line-update is the proper buffer (bug#16042).
6110
dda61916
DG
61112013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6112
6113 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6114 `log-edit-remember-comment', make argument optional. Adjust all
6115 callers.
6116 (log-edit-mode): Add `log-edit-remember-comment' to
6117 `kill-buffer-hook' locally.
6118 (log-edit-kill-buffer): Don't remember comment explicitly since
6119 the buffer is killed anyway.
6120
c085e5b9
JL
61212013-12-04 Juri Linkov <juri@jurta.org>
6122
6123 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6124 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6125
e0eb0550 61262013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
6127
6128 * notifications.el (notifications-close-notification): Call the
81961e4c 6129 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 6130
39fa32d6
KY
61312013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6132
6133 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6134
9139632a
JL
61352013-12-03 Juri Linkov <juri@jurta.org>
6136
6137 * progmodes/compile.el (compilation-start): Rename window alist
6138 entry `no-display-ok' to `allow-no-window'.
6139
6140 * simple.el (shell-command): Add window alist entry
6141 `allow-no-window' to `display-buffer'.
6142 (async-shell-command): Doc fix.
6143
6144 * window.el (display-buffer-no-window): New action function.
6145 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6146
0f457a37
DG
61472013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6148
6149 * vc/log-edit.el (log-edit-set-header): Extract from
6150 `log-edit-toggle-header'.
6151 (log-edit-extract-headers): Separate the summary, when extracted
6152 from header, from the rest of the message with an empty line.
6153
6154 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6155 line, if present, to the Summary header.
6156
0962f376
SM
61572013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6160 in current-buffer (bug#16029).
6161
f345395c
HE
61622013-12-02 Helmut Eller <eller.helmut@gmail.com>
6163
6164 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6165 (debugger-mode-map): Bind it.
6166 (debugger--backtrace-base): New function.
6167 (debugger-eval-expression): Use it.
6168 (debugger-frame-number): Skip local vars when present.
6169 (debugger--locals-visible-p, debugger--insert-locals)
6170 (debugger--show-locals, debugger--hide-locals): New functions.
6171
a8a15d9d
MA
61722013-12-02 Michael Albinus <michael.albinus@gmx.de>
6173
6174 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6175 "LC_ALL".
6176 (tramp-get-remote-locale): New defun.
6177 (tramp-open-connection-setup-interactive-shell): Use it.
6178
0518b057
LL
61792013-12-02 Leo Liu <sdl.web@gmail.com>
6180
6181 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6182
6183 * progmodes/sh-script.el (sh-shell-process):
6184 * progmodes/octave.el (inferior-octave-process-live-p):
6185 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6186 (gdb-inferior-io-sentinel):
6187 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6188
3adc9c6d
DG
61892013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6190
6191 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6192 `save-selected-window' to `log-edit-hide-buf'. This makes
6193 `log-edit-show-files' idempotent.
6194 (log-edit-show-files): Mark the new window as dedicated.
6195
47e8b74e
DG
61962013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6197
6198 * vc/log-edit.el (log-edit-mode-map): Add binding for
6199 `log-edit-kill-biffer'.
6200 (log-edit-hide-buf): Add a FIXME comment.
6201 (log-edit-add-new-comment): New function, extracted from
6202 `log-edit-done'.
6203 (log-edit-done, log-edit-add-to-changelog): Use it.
6204 (log-edit-kill-buffer): New command.
6205
1f6e1bb0
LMI
62062013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6207
6208 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6209 instead of killing the buffer.
6210
fb651d15
SM
62112013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6214
8feacce0
RS
62152013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6216
fb651d15 6217 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 6218 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
6219 (eww-form-checkbox, eww-toggle-checkbox):
6220 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6221
e0eb0550 6222 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 6223 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 6224 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
6225 no :src tag was specified.
6226
fb651d15 6227 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
6228 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6229 Use \\` to match beginning of string instead of ^.
6230 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 6231 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 6232
177948a5
RS
6233 * net/shr.el (shr-tag-video): Display content for video if no
6234 poster is available.
eb2dd24d 6235 (shr-tag-audio): Add support for <audio> tag.
177948a5 6236
e0eb0550 6237 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
6238 (eww-process-text-input): Treat input types in
6239 `eww-text-input-types' as text.
6240
8feacce0
RS
6241 * net/shr.el (shr-tag-table): Fix comment typo.
6242
513562a1
LMI
62432013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6244
6245 * net/eww.el (eww-follow-link): New command to avoid reloading
6246 pages when we follow #target links (bug#15243).
de8a5633 6247 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 6248
9dd99753
KN
62492013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6250
6251 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6252 forms.
6253
3e9876de
LMI
62542013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6255
6256 * net/eww.el (eww-restore-history): Update the window title after
6257 moving in the history.
ab6dea82 6258 (eww-current-dom): New variable used to save the current DOM.
3e9876de 6259
52789f7f
DG
62602013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6261
6262 * vc/log-edit.el (log-edit-mode-map): Add binding for
6263 `log-edit-beginning-of-line'.
6264 (log-edit-setup-add-author): New user option.
6265 (log-edit-beginning-of-line): New command.
6266 (log-edit): Move major mode call above the contents setup so that
6267 the local variable values are already applied.
6268 (log-edit): Only insert "Author: " when
6269 `log-edit-setup-add-author' is non-nil.
6270 (log-edit): When SETUP is non-nil, position point after ": "
6271 instead of point-min.
6272
2e6710c3
GM
62732013-12-01 Glenn Morris <rgm@gnu.org>
6274
6275 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6276
fadec31f
EZ
62772013-11-30 Eli Zaretskii <eliz@gnu.org>
6278
6279 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 6280 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
6281 visible. (Bug#16014)
6282
10634b40 62832013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
6284
6285 Support resizing frames and windows pixelwise.
6286 * cus-start.el (frame-resize-pixelwise)
6287 (window-resize-pixelwise): New entries.
6288 * emacs-lisp/debug.el (debug): Use window-total-height instead
6289 of window-total-size.
6290 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
6291 * help.el (describe-bindings-internal): Use help-buffer as
6292 argument for with-help-window.
880e6158
MR
6293 (temp-buffer-max-width): New option.
6294 (resize-temp-buffer-window, help-window-setup)
6295 (with-help-window): Rewrite.
6296 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6297 dragging dividers.
6298 * window.el (frame-char-size, window-min-pixel-height)
6299 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6300 (window-min-pixel-width, window-safe-min-pixel-size)
6301 (window-combination-p, window-safe-min-size)
6302 (window-resizable-p, window--size-to-pixel)
6303 (window--pixel-to-size, window--resize-apply-p): New functions.
6304 (window-safe-min-height): Fix doc-string.
6305 (window-size, window-min-size, window--min-size-1)
6306 (window-sizable, window-sizable-p, window--min-delta-1)
6307 (window-min-delta, window--max-delta-1, window-max-delta)
6308 (window--resizable, window--resizable-p, window-resizable)
6309 (window-full-height-p, window-full-width-p, window-at-side-p)
6310 (window--in-direction-2, window-in-direction)
6311 (window--resize-reset-1, window--resize-mini-window)
6312 (window-resize, window-resize-no-error)
6313 (window--resize-child-windows-normal)
6314 (window--resize-child-windows, window--resize-siblings)
6315 (window--resize-this-window, window--resize-root-window)
6316 (window--resize-root-window-vertically)
6317 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6318 (maximize-window, minimize-window, delete-window)
6319 (quit-restore-window, window-split-min-size, split-window)
6320 (balance-windows-2, balance-windows)
6321 (balance-windows-area-adjust, balance-windows-area)
6322 (window--state-get-1, window-state-get, window--state-put-1)
6323 (window--state-put-2, window-state-put)
fb651d15
SM
6324 (display-buffer-record-window, window--display-buffer):
6325 Make functions handle pixelwise sizing of windows.
880e6158 6326 (display-buffer--action-function-custom-type)
fb651d15
SM
6327 (display-buffer-fallback-action):
6328 Add display-buffer-in-previous-window.
880e6158
MR
6329 (display-buffer-use-some-window): Resize window to height it had
6330 before.
6331 (fit-window-to-buffer-horizontally): New option.
6332 (fit-frame-to-buffer): Describe new values.
6333 (fit-frame-to-buffer-bottom-margin): Replace with
6334 fit-frame-to-buffer-margins.
6335 (window--sanitize-margin): New function.
6336 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6337 using window-text-pixel-size.
6338
f9b697dd
GM
63392013-11-30 Glenn Morris <rgm@gnu.org>
6340
3e2fb4db
GM
6341 * emacs-lisp/bytecomp.el (byte-compile-form):
6342 Make the `interactive-only' warning like the `obsolete' one.
6343 * comint.el (comint-run):
6344 * files.el (insert-file-literally, insert-file):
6345 * replace.el (replace-string, replace-regexp):
6346 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6347 (goto-line, insert-buffer, next-line, previous-line):
6348 Tweak `interactive-only' spec.
6349
f9b697dd
GM
6350 Stop keeping (most) generated cedet grammar files in the repository.
6351 * Makefile.in (semantic): New.
6352 (compile-main): Depend on semantic.
6353
da048127
SM
63542013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6355
7784b779
SM
6356 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6357 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6358
4e36a6a6
SM
6359 * uniquify.el (uniquify-buffer-name-style): Change default.
6360
6361 * loadup.el: Preload "uniquify".
6362
e0ba1308
SM
6363 * time.el (display-time-update): Update all mode lines (bug#15999).
6364
da048127
SM
6365 * electric.el (electric-indent-mode): Enable by default.
6366 * loadup.el: Preload "electric".
6367
015b3b3e
BB
63682013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6369
6370 * emacs-lisp/helpers.el (string-empty-p): New function.
6371 (string-blank-p): New function.
6372
7efb806d
AP
63732013-11-29 Andreas Politz <politza@hochschule-trier.de>
6374
6375 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6376 (Bug#14029).
6377
c8f0efc2
AP
63782013-11-29 Andreas Politz <politza@fh-trier.de>
6379 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6380 allow non-lambda lists as functions.
6381 (imenu--in-alist): Don't recurse into non-subalists.
6382 (imenu): Don't pass function itself as an argument (Bug#14029).
6383
bd15d9d1
SM
63842013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * progmodes/python.el (python-mode-map): Remove binding for ":".
6387 (python-indent-electric-colon): Remove command.
6388 (python-indent-post-self-insert-function): Integrate the previous code
6389 of python-indent-electric-colon. Make it conditional on
6390 electric-indent-mode.
6391 (python-mode): Add ?: to electric-indent-chars.
6392 Move python-indent-post-self-insert-function to the end of
6393 post-self-insert-hook.
6394
1b10adb6
SM
63952013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6396
655ab9a3
SM
6397 * doc-view.el (doc-view-goto-page): Update mode-line.
6398
1b10adb6
SM
6399 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6400
7e3bf78c
GM
64012013-11-27 Glenn Morris <rgm@gnu.org>
6402
6403 * international/charprop.el, international/uni-bidi.el:
6404 * international/uni-category.el, international/uni-combining.el:
6405 * international/uni-comment.el, international/uni-decimal.el:
6406 * international/uni-decomposition.el, international/uni-digit.el:
6407 * international/uni-lowercase.el, international/uni-mirrored.el:
6408 * international/uni-name.el, international/uni-numeric.el:
6409 * international/uni-old-name.el, international/uni-titlecase.el:
6410 * international/uni-uppercase.el:
6411 Remove generated files from VCS repository.
6412
fb6a5d68
EZ
64132013-11-27 Eli Zaretskii <eliz@gnu.org>
6414
6415 * filenotify.el (file-notify-add-watch): Don't special-case
6416 w32notify when computing the directory to watch.
6417
cb6c95a3
GM
64182013-11-27 Glenn Morris <rgm@gnu.org>
6419
20372d0c
GM
6420 Make bootstrap without generated uni-*.el files possible again.
6421 * loadup.el: Update command-line-args checking for unidata-gen.
6422 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6423 * composite.el, international/characters.el:
6424 Handle unicode tables being undefined.
6425
52d6635f 6426 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
6427 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6428 (compile-main): Depend on leim rule.
6429 (leim): New rule.
6430 * loadup.el: Move leim-list.el to leim/ subdirectory.
6431 * startup.el (normal-top-level): No more leim directory.
6432 * international/ja-dic-cnv.el (skkdic-convert):
6433 Disable version-control and autoloads in output files.
6434 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6435 Disable version-control and autoloads in output files.
6436 * leim/quail: Move here from ../leim.
6437 * leim/quail/hangul.el (hangul-input-method-activate):
6438 Add autoload cookie.
6439 (generated-autoload-load-name): Set file-local value.
6440 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6441 (generated-autoload-load-name): Set file-local value.
6442
7514d3f8 64432013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 6444
e0eb0550 6445 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 6446 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 6447 (eww-quit): Ask confirmation before quitting eww.
e47112ee 6448
0e2c793f
EZ
64492013-11-26 Eli Zaretskii <eliz@gnu.org>
6450
6451 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6452 reading output from Diff on MS-Windows and MS-DOS.
6453
447bdcb8
BB
64542013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6455
6456 * emacs-lisp/helpers.el (string-reverse): New function.
6457
5fbf6856
MA
64582013-11-26 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6461 names on MS Windows, like "/[::1]:".
6462
6463 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6464 SWITCHES.
6465
624780f0
GM
64662013-11-26 Glenn Morris <rgm@gnu.org>
6467
0bf3f0fa
GM
6468 * progmodes/python.el (python-indent-guess-indent-offset):
6469 Avoid corner-case error. (Bug#15975)
6470
624780f0
GM
6471 Preload leim-list.el. (Bug#4789)
6472 * loadup.el: Load leim-list.el when found.
6473 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6474
4301875e 64752013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
6476
6477 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6478
4301875e
BB
6479 * emacs-lisp/helpers.el (string-join): New function.
6480
1633a815 64812013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
6482
6483 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6484 Mark as obsolete and replace it with a symbol property.
6485 (byte-compile-form): Use new 'interactive-only property.
6486 * comint.el, files.el, replace.el, simple.el:
6487 Apply new 'interactive-only properly.
6488
00139435
MR
64892013-11-25 Martin Rudalics <rudalics@gmx.at>
6490
6491 * window.el (display-buffer-at-bottom): Make sure that
6492 split-window-sensibly creates the new window on bottom
6493 (Bug#15961).
6494
5f5b128d
DK
64952013-11-23 David Kastrup <dak@gnu.org>
6496
6497 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6498 on the conflict markers when available.
6499 (smerge--get-marker): New function.
6500 (smerge-end-re, smerge-base-re): Add subgroup.
6501
623891e5
SM
65022013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * frame.el (handle-focus-in, handle-focus-out): Add missing
6505 interactive spec.
6506
05ca27d8
MA
65072013-11-25 Michael Albinus <michael.albinus@gmx.de>
6508
6509 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6510 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6511
511fa0d3
SM
65122013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6513
e82ad66c
SM
6514 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6515 (gomoku--last-pos): New var.
6516 (gomoku--intangible-chars): New const.
6517 (gomoku--intangible): New function.
6518 (gomoku-mode): Use it. Derive from special-mode.
6519 (gomoku-move-up): Adjust line count.
6520 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6521 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6522 Simplify accordingly.
6523
511fa0d3
SM
6524 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6525 Remove blink-cursor code.
6526 (blink-cursor-timer-function, blink-cursor-suspend):
6527 Don't special-case GUIs.
6528 (blink-cursor-mode): Use focus-in/out-hook.
6529
6f20dd03
DG
65302013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6531
6532 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6533 work when annotation is invisible (Bug#13886).
6534
431dec31 65352013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
6536
6537 * json.el (json-alist-p): Only return non-nil if the alist has
6538 simple keys (Bug#13518).
6539
431dec31 65402013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
6541
6542 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6543 when control-statement is the first statement in a buffer (Bug#15956).
6544
ee4f0261
DG
65452013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6546
6547 * imenu.el (imenu-generic-skip-comments-and-strings):
6548 New option (Bug#15560).
6549 (imenu--generic-function): Use it.
6550
c484f866
JS
65512013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6552
e9dc713d
JB
6553 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6554 (Bug#13898)
c484f866 6555
41ce6f70
BB
65562013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6557
b55aea38
BB
6558 * emacs-lisp/helpers.el: Add some string helpers.
6559 (string-trim-left): Removes leading whitespace.
6560 (string-trim-right): Removes trailing whitespace.
6561 (string-trim): Removes leading and trailing whitespace.
6562
41ce6f70
BB
6563 * subr.el (string-suffix-p): New function.
6564
3cfb6af3
GM
65652013-11-23 Glenn Morris <rgm@gnu.org>
6566
6567 * progmodes/python.el (python-shell-send-file):
6568 Add option to delete file when done. (Bug#15647)
6569 (python-shell-send-string, python-shell-send-region): Use it.
6570
c27924b7
IS
65712013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6572
e1b01c7f
IS
6573 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6574 to set buffer-read-only to t, never to nil. (Bug#15938)
6575
c27924b7
IS
6576 * textmodes/tex-mode.el (latex-noindent-environments):
6577 Add safe-local-variable property. (Bug#15936)
6578
17e0445b
GM
65792013-11-23 Glenn Morris <rgm@gnu.org>
6580
92f78ea3
GM
6581 * textmodes/enriched.el (enriched-mode): Doc fix.
6582 * emacs-lisp/authors.el (authors-renamed-files-alist):
6583 Add enriched.doc -> enriched.txt.
6584
17e0445b
GM
6585 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6586
965bb23a
LL
65872013-11-22 Leo Liu <sdl.web@gmail.com>
6588
6589 * progmodes/octave.el (inferior-octave-startup): Spit out error
6590 message.
6591
d19ffd64
BB
65922013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6593
6594 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6595 Improve docstring.
15ba2182
BB
6596 Add :version.
6597 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 6598
7a7567d2
LL
65992013-11-22 Leo Liu <sdl.web@gmail.com>
6600
6601 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6602 (Bug#15076)
8c09f64b
LL
6603 (octave-help-mode): Adapt to change to help-mode-finish to use
6604 derived-mode-p on 2013-09-17.
6605 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 6606 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 6607
724bc265
LL
66082013-11-22 Leo Liu <sdl.web@gmail.com>
6609
6610 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6611 (inferior-octave-startup, inferior-octave-check-process)
6612 (inferior-octave-track-window-width-change)
6613 (octave-completion-at-point, octave-eldoc-function): Use it.
6614 (octave-kill-process): Provide confirmation. (Bug#10564)
6615
38637cca
LL
66162013-11-21 Leo Liu <sdl.web@gmail.com>
6617
511fa0d3
SM
6618 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6619 Fix obsolete variable comment-use-global-state.
38637cca 6620
06e752b4
RS
66212013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6622
511fa0d3
SM
6623 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6624 Add `octave-source-file'.
06e752b4
RS
6625 (octave-source-file): New function. (Bug#15935)
6626
7514d3f8 66272013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
6628
6629 * net/eww.el (eww-local-regex): New variable.
6630 (eww): Use it to detect localhost and similar.
6631
b6ffa04a
LL
66322013-11-21 Leo Liu <sdl.web@gmail.com>
6633
6634 Add completion for command `ag'.
2021a200
LL
6635 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6636 (pcomplete/ag): New function.
e9dc713d 6637 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 6638
d1a6bccc
SM
66392013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6642 (bug#14646).
6643 (make-obsolete): Remove interactive spec.
6644
2df10228
GM
66452013-11-21 Glenn Morris <rgm@gnu.org>
6646
6647 * startup.el (command-line-1): Use path-separator with -L.
6648
86fd16b6
TZ
66492013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6650
6651 * emacs-lisp/package.el (describe-package-1): Add package archive
6652 to shown fields.
6653
0449d6cd 66542013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
6655
6656 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6657 Change default to "# encoding: %s" to differentiate it from the
6658 default Ruby encoding comment template.
6659
dc7e8c17 66602013-11-20 era eriksson <era+emacsbugs@iki.fi>
6661
6662 * ses.el (ses-mode): Doc fix. (Bug#14748)
6663
f0cfa5fe
LL
66642013-11-20 Leo Liu <sdl.web@gmail.com>
6665
6666 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6667
826dc7b6
DN
66682013-11-19 Dan Nicolaescu <dann@gnu.org>
6669
6670 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6671 when rebase or bisect are in progress.
6672
a6e3a5d5
XF
66732013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6674
6675 * filenotify.el (file-notify-add-watch): Doc fix.
6676
f130cb76
LL
66772013-11-19 Leo Liu <sdl.web@gmail.com>
6678
e0855d7d
LL
6679 * obsolete/rcompile.el: Mark obsolete.
6680
f130cb76 6681 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
6682 (compilation-goto-locus, compilation-find-file):
6683 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
6684 (Bug#13594)
6685
6686 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
6687 new parameter no-display-ok. Return either a window or nil
6688 but never a non-window value.
f130cb76 6689
1f35d401
SM
66902013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6691
25158c76
SM
6692 * electric.el (electric-indent-mode-map): Remove.
6693 (electric-indent-mode): Change the global-map instead (bug#15915).
6694
6695 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6696 Use add-function.
1f35d401 6697
9bc67baa
SM
66982013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6699
986545b5
SM
6700 * emacs-lisp/nadvice.el (remove-function): Align with
6701 add-function's behavior.
6702
9bc67baa
SM
6703 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6704 (gdb--string-regexp): New constant.
6705 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6706 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6707 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6708 submatch 1.
6709 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6710 Adjust use accordingly.
6711 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6712
56cd894e
AS
67132013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6714
6715 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6716 interpolation curlies (Bug#15914).
6717
014690de
JB
67182013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6719
6720 * calc/calc.el (calc-context-sensitive-enter): New variable.
6721 (calc-enter): Use `calc-context-sensitive-enter'.
6722
7e26a6c3
TZ
67232013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6724
6725 * progmodes/cfengine.el: Version bump.
6726 (cfengine-cf-promises): New defcustom to locate cf-promises.
6727 (cfengine3-vartypes): Add new "data" type.
6728 (cfengine3--current-word): New function to get current name-like
6729 word or its bounds.
6730 (cfengine3--current-function): New function to look up a CFEngine
6731 function's definition.
6732 (cfengine3-format-function-docstring): New function.
6733 (cfengine3-make-syntax-cache): New function.
6734 (cfengine3-documentation-function): New function: ElDoc glue.
6735 (cfengine3-completion-function): New function: completion glue.
6736 (cfengine3-mode): Set `compile-command',
6737 `eldoc-documentation-function', and add to
6738 `completion-at-point-functions'.
6739
355204dd
MA
67402013-11-16 Michael Albinus <michael.albinus@gmx.de>
6741
6742 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6743 `tramp-current-connection'.
6744
43cebc23
DG
67452013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6746
6747 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6748 nil/self/true/false with "end of symbol".
6749
a3fed6ff
BB
67502013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6751
6752 * subr.el (version-regexp-alist): Fix a typo.
6753
e675b3e4
MA
67542013-11-15 Michael Albinus <michael.albinus@gmx.de>
6755
6756 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6757 "en_US.utf8" and "LC_CTYPE" to "".
6758 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6759 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6760
a1f03e89
LL
67612013-11-15 Leo Liu <sdl.web@gmail.com>
6762
6763 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6764
5d9d9451
SM
67652013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6766
58362662
CS
6767 * progmodes/gud.el (ctl-x-map):
6768 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
6769 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6770
6c1bf086
BB
67712013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6772
0d5363c4
BB
6773 * subr.el (version-regexp-alist):
6774 Recognize hg, svn and darcs versions as snapshot versions.
6775
4e9fc48c
BB
6776 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6777 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6778 (ruby--encoding-comment-required-p): Extract from
6779 `ruby-mode-set-encoding'.
6780 (ruby-mode-set-encoding): Add the ability to always insert an
6781 utf-8 encoding comment. Fix and simplify coding comment update
6782 logic.
6c1bf086 6783
2f7e72f8
MA
67842013-11-14 Michael Albinus <michael.albinus@gmx.de>
6785
6786 * net/tramp-gvfs.el (top): Run init code only when
6787 `tramp-gvfs-enabled' is not nil.
6788 (tramp-gvfs-enabled): Check also :system bus.
6789
0f137a73
SM
67902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 Sync with upstream verilog-mode revision 78e66ba.
6793 * progmodes/verilog-mode.el (verilog-end-of-defun)
6794 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6795 (verilog-get-end-of-defun): Remove unused argument.
6796 (verilog-comment-depth): Remove unused local `e'.
6797 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6798 Don't pass arg to verilog-get-end-of-defun.
6799
1c276bdd
GM
68002013-11-14 Glenn Morris <rgm@gnu.org>
6801
6802 * obsolete/assoc.el (aget): Prefix dynamic variable.
6803
6804 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6805
ff6ec81d
SM
68062013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * widget.el, hfy-cmap.el: Remove bogus package version number.
6809
75f777b6
GM
68102013-11-13 Glenn Morris <rgm@gnu.org>
6811
1d43dba1
GM
6812 * replace.el (replace-eval-replacement):
6813 Try to give more helpful error message. (Bug#15836)
6814
ff4b7bd5
GM
6815 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6816 (archive-7z-update): Avoid custom type mismatches.
6817
75f777b6
GM
6818 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6819
11151a06
MA
68202013-11-13 Michael Albinus <michael.albinus@gmx.de>
6821
e675b3e4 6822 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
6823 address can be empty.
6824
6825 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6826 Accept nil SWITCHES.
6827 (tramp-gvfs-handle-write-region): Implement APPEND.
6828
7b08f97e
DG
68292013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6830
6831 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
6832 binary "|" operator and closing block args delimiter.
6833 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
6834 (ruby-smie--implicit-semi-p): Not after "|" operator.
6835 (ruby-smie--closing-pipe-p): New function.
6836 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6837 (ruby-smie-rules): Indent after "|".
6838
f201cf3a
GM
68392013-11-12 Glenn Morris <rgm@gnu.org>
6840
6841 * ps-print.el (ps-face-attribute-list):
6842 Handle anonymous faces. (Bug#15827)
6843
e6f759f9
MR
68442013-11-12 Martin Rudalics <rudalics@gmx.at>
6845
6846 * window.el (display-buffer-other-frame): Fix doc-string.
6847 (Bug#15868)
6848
ecda65d4
SM
68492013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6852
7ce8fcc3
MA
68532013-11-11 Michael Albinus <michael.albinus@gmx.de>
6854
6855 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6856 (tramp-sh-handle-file-local-copy): Don't write a message when
6857 saving temporary files.
6858
6859 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6860 both directories are remote.
6861 (tramp-smb-handle-directory-files): Do not return double entries.
6862 Do not expand full file names.
6863 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6864 (tramp-smb-handle-write-region): Implement APPEND.
6865 (tramp-smb-get-stat-capability): Fix a stupid bug.
6866
7818df11
SM
68672013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6870
608c2085
NT
68712013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6872
6873 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6874 throwing error over malformed let/let* (bug#15814).
6875
122a7e46
SM
68762013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * iswitchb.el (iswitchb-mode): Mark obsolete.
6879
766284d9
GM
68802013-11-11 Glenn Morris <rgm@gnu.org>
6881
6882 * international/uni-bidi.el, international/uni-category.el:
6883 * international/uni-name.el, international/uni-numeric.el:
6884 Regenerate for Unicode 6.3.0.
6885
7072a4e9
MA
68862013-11-10 Michael Albinus <michael.albinus@gmx.de>
6887
6888 * net/tramp.el (tramp-methods):
6889 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6890 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6891
c9df215b
AS
68922013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6893
608c2085
NT
6894 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6895 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6896
fa47d796
DG
68972013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6898
6899 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6900 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6901 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6902 (ispell-complete-word): Call `ispell-lookup-words' with the value
6903 independent of `ispell-look-p'.
6904
1629a329
DG
69052013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6906
6907 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6908 Not after "||".
6909 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6910 their parent.
6911
ad16897c
SM
69122013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6915 (ruby-font-lock-keywords): Use backquote.
6916
ffa2df72
DG
69172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6918
6919 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6920 (ruby-smie--backward-token): Only consider full-string matches.
6921
5b97b4c0
JD
69222013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6923
6924 * faces.el (describe-face): Add distant-foreground.
6925
71731c03
BB
69262013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6927
4e9fc48c
BB
6928 * progmodes/ruby-mode.el: Improve encoding comment handling.
6929 (ruby-encoding-magic-comment-style): New option.
6930 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6931 (ruby--insert-coding-comment, ruby--detect-encoding):
6932 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6933 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6934 to control the style of the auto-inserted encoding comment.
71731c03 6935
da3b328d
DG
69362013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6937
ad16897c
SM
6938 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6939 Use `smie-backward-sexp' with token argument.
da3b328d 6940
1606c2d3
MA
69412013-11-08 Michael Albinus <michael.albinus@gmx.de>
6942
6943 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6944 Remove instrumentation code.
6945
b0f4c320
GM
69462013-11-08 Glenn Morris <rgm@gnu.org>
6947
6948 * progmodes/autoconf.el (autoconf-mode):
6949 Tweak comment-start-skip. (Bug#15822)
6950
43668fb1
SM
69512013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6954 at bobp (bug#15826).
6955 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6956
daddb3fd
DH
69572013-11-08 Darren Hoo <darren.hoo@gmail.com>
6958
6959 * man.el (Man-start-calling): New macro, extracted from
6960 Man-getpage-in-background.
6961 (Man-getpage-in-background): Use it.
6962 (Man-update-manpage): New command.
6963 (Man-mode-map): Bind it.
6964
1f923923
DG
69652013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6966
6967 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6968 of "and", "or", "&&" and "||".
6969 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6970 argument. Prohibit opening curly brace because it could only be a
6971 block opener in that position.
daddb3fd
DH
6972 (ruby-smie--forward-token, ruby-smie--backward-token):
6973 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6974 arguments.
6975 (ruby-smie--indent-to-stmt): New function, seeks the end of
6976 previous statement or beginning of buffer.
6977 (ruby-smie-rules): Use it.
6978 (ruby-smie-rules): Check if there's a ":" before a curly block
6979 opener candidate; if there is, it's a hash.
6980
3220d527
SM
69812013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6984 (cl--block-wrapper): Fix last accidental change.
6985
1eb1f9e0
MA
69862013-11-07 Michael Albinus <michael.albinus@gmx.de>
6987
6988 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6989 Instrument, in order to hunt failure on hydra.
6990
e6e4db3c
NT
69912013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6992
6993 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6994 malformed bindings form (bug#15814).
6995
b420ccfc
DG
69962013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6997
6998 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6999 "." compared to " @ ". This incidentally fixes some indentation
7000 examples with "do".
e6e4db3c 7001 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
7002 (ruby-smie-grammar): New tokens: "and" and "or".
7003 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7004 Exclude "and" and "or". Remove "do" in order to work around token
7005 priorities.
7006 (ruby-smie-rules): Add all infix tokens. Handle the case of
7007 beginning-of-buffer.
b420ccfc 7008
6b4ac03e
GM
70092013-11-06 Glenn Morris <rgm@gnu.org>
7010
7011 * Makefile.in (setwins_almost, setwins_for_subdirs):
7012 Avoid accidental matches.
7013
5ca114d1
SM
70142013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * menu-bar.el (popup-menu): Use key-binding.
7017
f72552bd
EZ
70182013-11-06 Eli Zaretskii <eliz@gnu.org>
7019
7020 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7021 menus, support also the menus produced by minor modes.
7022 (Bug#15817)
7023
5d5c701e
LL
70242013-11-06 Leo Liu <sdl.web@gmail.com>
7025
7026 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 7027 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 7028
0a8b75e2
GM
70292013-11-06 Glenn Morris <rgm@gnu.org>
7030
7031 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
7032 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7033 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 7034
a35287ea
SM
70352013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7036
feca4e2d
SM
7037 * electric.el (electric-indent-just-newline): New command.
7038 (electric-indent-mode-map): New keymap.
7039 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7040 Re-add :group which weren't redundant.
7041
a35287ea
SM
7042 * electric.el (electric-indent-local-mode): New minor mode.
7043 (electric-indent-functions-without-reindent): New var.
7044 (electric-indent-post-self-insert-function): Use it.
7045 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7046
375761b2
EZ
70472013-11-05 Eli Zaretskii <eliz@gnu.org>
7048
9a6ad735
EZ
7049 * international/quail.el (quail-help): Be more explicit about the
7050 meaning of the labels shown on the keys. (Bug#15800)
7051
375761b2
EZ
7052 * startup.el (normal-top-level): Load the subdirs.el files before
7053 setting the locale environment. (Bug#15805)
7054
520a6e4a
SM
70552013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7056
0acfafef
SM
7057 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7058 via arguments so as to get the right ones (bug#15418).
7059
520a6e4a
SM
7060 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7061
15826261
MA
70622013-11-05 Michael Albinus <michael.albinus@gmx.de>
7063
7064 Fix problems found while writing a test suite.
7065
7066 * net/tramp-compat.el (tramp-compat-load): New defun.
7067 * net/tramp.el (tramp-handle-load): Use it.
7068
7069 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7070 "(numberp ok-if-already-exists)" correctly.
7071
d35f31a4
XF
70722013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7073
7074 * international/characters.el (glyphless-char-display-control):
7075 Add usage note.
7076
ae93bc74
BB
70772013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7078
520a6e4a
SM
7079 * progmodes/python.el (python-mode):
7080 * progmodes/scheme.el (scheme-mode):
7081 * progmodes/prolog.el (prolog-mode):
7082 * progmodes/ruby-mode.el (ruby-mode):
7083 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7084 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 7085
0ade65b5
SM
70862013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7087
a0d5f7a4
SM
7088 * rect.el (rectangle--highlight-for-redisplay):
7089 * emacs-lisp/smie.el (smie--next-indent-change):
7090 Use buffer-chars-modified-tick.
7091
c93f3f5c
SM
7092 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7093
0ade65b5
SM
7094 * electric.el (electric-indent-post-self-insert-function):
7095 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7096
ef9dd188
HE
70972013-11-04 Helmut Eller <eller.helmut@gmail.com>
7098
7099 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7100
306e7308
NT
71012013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7102
7103 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7104 (bug#15786).
7105
e5afbcac
SM
71062013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7107
1d01ad41
SM
7108 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7109
e5afbcac
SM
7110 * progmodes/python.el: Fix up last change.
7111 (python-shell--save-temp-file): New function.
7112 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7113 `string' comes from the current buffer.
7114 (python-shell-send-string-no-output): Remove `msg' arg.
7115 (python--use-fake-loc): New var.
7116 (python-shell-buffer-substring): Obey it. Try to compensate for the
7117 extra coding line added by python-shell--save-temp-file.
7118 (python-shell-send-region): Use python-shell--save-temp-file and
7119 python-shell-send-file directly. Add `nomain' argument.
7120 (python-shell-send-buffer): Use python-shell-send-region.
7121 (python-electric-pair-string-delimiter): New function.
7122 (python-mode): Use it.
7123
d0065ff1
EZ
71242013-11-04 Eli Zaretskii <eliz@gnu.org>
7125
7126 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7127 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7128 environment and decoding all of the default-directory's to here
7129 from command-line.
7130 (command-line): Decode also argv[0].
7131
7132 * loadup.el: Error out if default-directory is a multibyte string
7133 when we are dumping.
7134
7135 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7136
7397c587
TZ
71372013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7138
7139 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
7140 (package-menu--print-info, package-menu--archive-predicate):
7141 Add Archive column to package list.
7397c587 7142
b27cc9fc
MA
71432013-11-04 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Fix problems found while writing a test suite.
7146
7147 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7148 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7149 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7150 to nil when running original file name handler. Otherwise,
7151 there are problems with constructs like "$$FOO".
7152
7153 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7154 for `localname'.
7155
d8c4f18a
BB
71562013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7157
7b530552
BB
7158 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7159
7160 * subr.el (version<, version<=, version=):
7161 Update docstrings with information for snapshot versions.
7162
d8c4f18a
BB
7163 * helpers.el: New library for misc helper functions.
7164 (hash-table-keys): New function returning a list of hash keys.
7165 (hash-table-values): New function returning a list of hash values.
7166
dca01b09
DG
71672013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7168
7169 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7170 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7171
0a749fa0
MN
71722013-11-04 Michal Nazarewicz <mina86@mina86.com>
7173
7174 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7175 checking whether point is after a 1-letter word.
7176
71772013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
7178
7179 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7180 Don't infloop when expanding region over `multiline' syntax-type that
7181 begins a line (bug#15778).
7182
4aca7145
SM
71832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7186 Make it into a proper minor mode.
9b017563 7187 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
7188 (rectangle-mark-mode-map): New keymap.
7189 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7190
a0833f62
GM
71912013-11-04 Glenn Morris <rgm@gnu.org>
7192
7193 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7194
e61845c1
SM
71952013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7198 (ruby-smie-rules): Use smie-rule-parent instead.
7199
7200 * emacs-lisp/smie.el (smie-rule-parent): Always call
7201 smie-indent-virtual rather than only for hanging tokens.
7202 (smie--next-indent-change): New helper command.
7203
62942f89
GM
72042013-11-03 Glenn Morris <rgm@gnu.org>
7205
7206 * Makefile.in (abs_srcdir): Remove.
7207 (emacs): Unset EMACSLOADPATH.
7208
b0b9e592
GM
72092013-11-02 Glenn Morris <rgm@gnu.org>
7210
18ba6a33 7211 * Makefile.in (EMACS): Use a relative filename.
8061810d 7212 (abs_top_builddir): Remove.
18ba6a33
GM
7213 (custom-deps, finder-data, autoloads): Use --chdir.
7214
6a8b929e
GM
7215 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7216
c617f3d0
GM
7217 Use relative filenames in TAGS files.
7218 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7219 (lisptagsfiles4, TAGS): Use relative file names.
7220 (TAGS-LISP): Remove.
7221 (maintainer-clean): No more TAGS-LISP file.
7222
b0b9e592
GM
7223 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7224 (lisptagsfiles4): Use absolute filenames again.
7225 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7226 Remove all *loaddefs files, not just the first. Remove esh-groups.
7227 (maintainer-clean): Delete TAGS, TAGS-LISP.
7228
d1c0ea6a
BB
72292013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7230
e61845c1
SM
7231 * emacs-lisp/package.el (package-version-join):
7232 Recognize snapshot versions.
d1c0ea6a 7233
684d71c6
BB
72342013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7235
7236 * subr.el (version-regexp-alist): Add support for snapshot versions.
7237
3d42b968
DG
72382013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7239
e61845c1
SM
7240 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7241 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
7242 skip over our direct parent if it's an assignment token..
7243 (ruby-smie-rules): Use it.
7244
7ffd3721
DG
72452013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7246
8449dd1f 7247 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
7248 unconditionally. Remove now unnecessary forward declarations.
7249 Remove XEmacs-specific setup.
7250 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7251 (ruby-font-lock-syntactic-keywords)
7252 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7253 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7254 (ruby-here-doc-end-syntax): Remove.
7255 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7256 defined as function.
7257
a3996a2e
BB
72582013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7259
7260 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7261
6f9260e8
BB
72622013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7263
7264 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7265 table and abbrev table, `define-derived-mode' does that for us
7266 anyway.
7267
6014de84
GM
72682013-11-01 Glenn Morris <rgm@gnu.org>
7269
7270 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7271 files is atomic for some time, so no parallel compilation issues).
7272
3c334c14
JD
72732013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7274
7275 * faces.el (face-x-resources): Add :distant-foreground.
7276 (region): Use :distant-foreground for gtk and ns.
7277
9bc236c8
TH
72782013-11-01 Tassilo Horn <tsdh@gnu.org>
7279
5246583b 7280 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
7281 BibTeX.
7282 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7283 (reftex-locate-bibliography-files): Us it.
7284
d14c81ee
CB
72852013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7286
0e7690de
CB
7287 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7288 allow comments in pbm files.
7289
d14c81ee
CB
7290 * term/w32-win.el (dynamic-library-alist): Support newer versions
7291 of libjpeg starting with v7: look only for the DLL from the
7292 version against which Emacs was built.
ac1bf374 7293 Support versions of libpng beyond 1.4.x.
019c8218 7294 Support libtiff v4.x.
d14c81ee 7295
983d0df5
BB
72962013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7297
7298 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7299 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7300 Add property :safe.
7301 (ruby-deep-arglist): Add property :type.
7302
47f58d85
GM
73032013-10-31 Glenn Morris <rgm@gnu.org>
7304
7305 * Makefile.in (custom-deps, finder-data): No need to setq the target
7306 variables, we are in the right directory and the defaults work fine.
7307
4f85b479
GM
73082013-10-30 Glenn Morris <rgm@gnu.org>
7309
ca7dd4cd
GM
7310 * Makefile.in (autoloads): Do not use abs_lisp.
7311
4f85b479
GM
7312 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7313 `newline' does not respect `standard-output', so use `princ'.
7314
cf59e41c
AA
73152013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7316
7317 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7318 * buff-menu.el (Buffer-menu--unmark): New function.
7319 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7320
74cf04fb
GM
73212013-10-30 Glenn Morris <rgm@gnu.org>
7322
b040b60e
GM
7323 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7324
f53d3815
GM
7325 * emacs-lisp/package.el (lm-homepage): Declare.
7326
5413d873
GM
7327 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7328 Fix doc typos.
7329
cecedb36
GM
7330 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7331
74cf04fb
GM
7332 * Makefile.in (finder-data, autoloads, update-subdirs)
7333 (compile-main, compile-clean, compile-always, bootstrap-clean):
7334 Check return value of cd.
7335 (compile-calc): Remove.
7336
195ee2f0
SM
73372013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7338
ae4002ce
SM
7339 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7340
7341 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7342 (byte-compile-and-folded): New function.
7343 (=, <, >, <=, >=): Use it.
7344
7345 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7346 (path-separator, null-device, buffer-file-coding-system)
7347 (lpr-headers-switches): Check system-type before modifying them.
7348 (find-buffer-file-type-coding-system): Mark obsolete.
7349 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7350 find-file-not-found-set-buffer-file-coding-system.
35e951cd 7351 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 7352 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 7353 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
7354 (w32-direct-print-region-helper, w32-direct-print-region-function)
7355 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7356 * startup.el (normal-top-level-add-subdirs-to-load-path):
7357 * ps-print.el (ps-print-region-function):
7358 * lpr.el (print-region-function): Use new name.
7359
53b39e89
SM
7360 * subr.el (custom-declare-variable-early): Remove function.
7361 (custom-declare-variable-list): Remove var.
7362 (error, user-error): Remove `while' loop.
7363 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7364 (user-emacs-directory-warning, locate-user-emacs-file):
7365 Move to files.el.
7366 * simple.el (read-quoted-char-radix, read-quoted-char):
7367 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7368 Move from subr.el.
7369 * custom.el (custom-declare-variable-list): Don't process
7370 custom-declare-variable-list.
7371
195ee2f0
SM
7372 * progmodes/python.el (python-shell-get-buffer): New function.
7373 (python-shell-get-process): Use it.
7374 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7375 Python which encoding was used. Don't split-string since we only care
7376 about the first line. Return the temp-file, if applicable.
7377 (python-shell-send-region): Tell compile.el how to turn locations in
7378 the temp-file into locations in the source buffer.
7379
7e3561ee
SM
73802013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7381
4c9797cb
SM
7382 * subr.el (undefined): Add missing behavior from the C code for
7383 unbound keys.
7384
3472b6c6
SM
7385 * rect.el: Use lexical-binding. Add new rectangular region support.
7386 (rectangle-mark): New command.
7387 (rectangle--region): New var.
7388 (deactivate-mark-hook): Reset rectangle--region.
7389 (rectangle--extract-region, rectangle--insert-for-yank)
7390 (rectangle--highlight-for-redisplay)
7391 (rectangle--unhighlight-for-redisplay): New functions.
7392 (region-extract-function, redisplay-unhighlight-region-function)
7393 (redisplay-highlight-region-function): Use them to handle
7394 rectangular region.
7395 * simple.el (region-extract-function): New var.
7396 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7397 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7398 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7399 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7400 (redisplay-unhighlight-region-function)
7401 (redisplay-highlight-region-function): New vars.
7402 (redisplay--update-region-highlight): New function.
7403 (pre-redisplay-function): Use it.
7404 (exchange-point-and-mark): Don't deactivate the mark before
7405 reactivate-it anyway.
7406 * comint.el (comint-kill-region): Remove yank-handler argument.
7407 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7408 (delete-char): Remove property, since it's now part of their
7409 default behavior.
7410 (self-insert-iso): Remove property since this command doesn't exist.
7411
7e3561ee
SM
7412 * emacs-lisp/package.el (package--download-one-archive)
7413 (describe-package-1): Don't query the user about final newline.
7414
b9bef71f
DC
74152013-10-29 Daniel Colascione <dancol@dancol.org>
7416
7417 * net/tramp.el (tramp-methods): Document new functionality.
7418 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7419 tramp-hostname-checker if method provides one instead of scanning
7420 argument list for "%h" to decide hostname acceptability.
7421
4efc33f0
MA
74222013-10-28 Michael Albinus <michael.albinus@gmx.de>
7423
7424 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7425 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7426 Handle COPY-CONTENTS. (Bug#15737)
7427
ed42a877
DU
74282013-10-28 Daiki Ueno <ueno@gnu.org>
7429
9b017563 7430 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 7431 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 7432
18c9f8a2
XF
74332013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7434
35e951cd 7435 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 7436
b1e8e010
AM
74372013-10-27 Alan Mackenzie <acm@muc.de>
7438
7439 Indent statements in macros following "##" correctly.
7e3561ee
SM
7440 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7441 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 7442
73d40d1e 74432013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
7444
7445 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7446
c8c605ac
DG
74472013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7448
7449 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7450 after `=' is probably a new expression.
7451
ca7e59d4
RS
74522013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7453
7454 * man.el (man-imenu-title): New option.
7455 (Man-mode-map): Add menu. (Bug#15722)
7456 (Man-mode): Add imenu to menu.
7457
bae91342
DG
74582013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7459
7460 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7461 specific in what the first arg can be: a non-keyword word,
7462 string/regexp/percent literal opener, opening paren, or unary
7463 operator followed directly by word.
7464
eb89dc14
SM
74652013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7468 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7469 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7470 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7471 Remove vars, they do not apply any more.
7472 (prolog-mode-abbrev-table): Remove redundant declaration.
7473 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7474 (prolog-use-smie): Remove.
7475 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7476 supported by prolog-electric-if-then-else-flag.
7477 (prolog-mode-variables, prolog-menu): Use setq-local.
7478 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7479 Remove binding to `Backspace' since this key doesn't exist anyway.
7480 Remove bindings for electric self-inserting keys.
7481 (prog-mode): Assume it's defined.
7482 (prolog-post-self-insert): New function.
7483 (prolog-mode): Use it.
7484 (prolog-indent-line, prolog-indent-level)
7485 (prolog-find-indent-of-matching-paren)
7486 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7487 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7488 (prolog-goto-next-paren, prolog-in-string-or-comment)
7489 (prolog-tokenize, prolog-inside-mline-comment)
7490 (prolog-find-start-of-mline-comment): Remove functions.
7491 (prolog-find-unmatched-paren, prolog-clause-end)
7492 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7493 (prolog-electric--if-then-else): Rename from
7494 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7495 (prolog-tokenize-searchkey): Remove const.
7496 (prolog-clause-info): Use forward-sexp.
7497 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7498 (prolog-electric-if-then-else): Remove commands.
7499 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7500 for use in post-self-insert-hook.
7501 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7502 for use in post-self-insert-hook.
7503 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7504 for use in post-self-insert-hook.
7505 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7506 adapt it for use in post-self-insert-hook.
7507
3dab0a83
MA
75082013-10-25 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * emacs-lisp/ert.el (ert-run-tests-interactively):
7511 Use `completing-read'. (Bug#9756)
7512
fbfd0e1d
EZ
75132013-10-25 Eli Zaretskii <eliz@gnu.org>
7514
7515 * simple.el (line-move): Call line-move-1 instead of
7516 line-move-visual when the current window hscroll is zero, but
7517 temporary-goal-column indicates we will need to hscroll as result
7518 of the movement. (Bug#15712)
7519
963ce636
DG
75202013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7521
7522 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
7523 capitalization. Use :visible instead of :active.
7524 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
7525 commands that are used with SMIE.
7526 (ruby-do-end-to-brace): Insert space after `{'.
7527
a0be396a
JA
75282013-10-25 John Anthony <john@jo.hnanthony.com>
7529
f73754c9
JA
7530 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7531
7532 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 7533
f5bf77df
GM
75342013-10-25 Glenn Morris <rgm@gnu.org>
7535
7536 * vc/vc.el (vc-print-log): Don't use a working revision unless
7537 one was explicitly specified. (Bug#15322)
7538
37241f62
SM
75392013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * subr.el (add-to-list): Preserve return value in compiler-macro
7542 (bug#15692).
7543
6408a65d
RS
75442013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7545
7546 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7547 result. Ask user to retry using '-all' flag. (Bug#15701)
7548
71e3276b
SM
75492013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * emacs-lisp/smie.el: New smie-config system.
7552 (smie-config): New defcustom.
7553 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7554 (smie-config-guess, smie-config-save): New commands.
7555 (smie-config--mode-local, smie-config--buffer-local)
7556 (smie-config--trace, smie-config--modefuns): New vars.
7557 (smie-config--advice, smie-config--mode-hook)
7558 (smie-config--setter, smie-config-local, smie-config--get-trace)
7559 (smie-config--guess-value, smie-config--guess): New functions.
7560 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7561 text properties. Treat "string fence" syntax like string syntax.
7562
7563 * progmodes/sh-script.el (sh-use-smie): Change default.
7564 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7565 (sh-var-value): Simplify by CSE.
7566 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7567 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7568 is used.
7569 (sh-guess-basic-offset): Use cl-incf.
7570 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7571
60db713e
HE
75722013-10-24 Helmut Eller <eller.helmut@gmail.com>
7573
7574 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7575 (bug#15699).
7576
8b251df6
GM
75772013-10-24 Glenn Morris <rgm@gnu.org>
7578
7579 * Makefile.in (abs_top_srcdir): Remove.
7580 (update-subdirs): Use relative path to update-subdirs.
7581
6be0e22b
EZ
75822013-10-24 Eli Zaretskii <eliz@gnu.org>
7583
7584 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7585 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
7586 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7587 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 7588
50b5b857
MA
75892013-10-24 Michael Albinus <michael.albinus@gmx.de>
7590
7591 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7592 (ert-test-skipped): New error.
7593 (ert-skip, ert-stats-skipped): New defuns.
7594 (ert--skip-unless): New macro.
7595 (ert-test-skipped): New struct.
7596 (ert--run-test-debugger, ert-test-result-type-p)
7597 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7598 (ert--stats-set-test-and-result, ert-char-for-test-result)
7599 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 7600 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 7601 Handle skipped tests. (Bug#9803)
50b5b857 7602
6f317c2f
GM
76032013-10-24 Glenn Morris <rgm@gnu.org>
7604
e43817c1
GM
7605 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7606
6f317c2f
GM
7607 * Makefile.in (abs_top_srcdir): New, set by configure.
7608 (update-subdirs): Correct build-aux location.
7609
369bbf71
DG
76102013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7611
8297b2cf
DG
7612 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7613 value, whether we could auto-deduce `backend', or not.
7614
369bbf71
DG
7615 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7616 with parameters" example. Simplify the "is it block or is it
7617 hash" check, but also make it more thorough.
7618
d5f1282f
MF
76192013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7620
7621 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7622
bc4aaa31
SM
76232013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7624
03d44565
SM
7625 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7626 { if it is hanging.
7627
bc4aaa31
SM
7628 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7629 :before ";".
7630
f493ff19
JB
76312013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7632
7633 * progmodes/compile.el (compilation-directory-matcher)
7634 (compilation-page-delimiter):
7635 Support GNU Make-4.0 directory quoting. (Bug#15678)
7636
c744a3b9
LL
76372013-10-23 Leo Liu <sdl.web@gmail.com>
7638
7639 * ido.el (ido-tidy): Handle read-only text.
7640
b8e3b0a9
GM
76412013-10-23 Glenn Morris <rgm@gnu.org>
7642
7643 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7644 (emacs, compile, compile-always):
7645 Quote entities that might contain whitespace.
7646 (custom-deps, finder-data, autoloads): Use abs_lisp.
7647 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7648 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7649 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7650
ee4282cd
DG
76512013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7652
bc4aaa31
SM
7653 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7654 Use `following-char'.
7790a270 7655
ee4282cd 76562013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
7657
7658 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7659 * progmodes/ruby-mode.el (ruby-smie-rules):
7660 Remove corresponding workaround. Fix indentation rule of ";" so it
7661 also applies when ";" is the parent.
7662
d40a46d7
XF
76632013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7664
7665 * frame.el (display-screens, display-pixel-height)
7666 (display-pixel-width, display-mm-width, display-backing-store)
7667 (display-save-under, display-planes, display-color-cells)
7790a270
SM
7668 (display-visual-class, display-monitor-attributes-list):
7669 Mention the optional ‘display’ argument in doc strings.
d40a46d7 7670
a0f143c9
MG
76712013-10-22 Michael Gauland <mikelygee@amuri.net>
7672
7673 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7674 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7675
18cacc39
DG
76762013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7677
7678 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7679 TODO. Add "." after " @ ".
7680 (ruby-smie--at-dot-call): New function. Checks if point at method
7681 call with explicit target.
7682 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7683 to the method name tokens when it precedes them.
7684 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7685 (ruby-smie-rules): Add rule for indentation before and after "."
7686 token.
7687
df74c4be
SM
76882013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7689
c6dab55f
SM
7690 * textmodes/remember.el (remember-diary-extract-entries):
7691 Avoid add-to-list.
7692
df74c4be
SM
7693 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7694 an instruction.
7695
8c1ae481
DG
76962013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7697
e9dc713d
JB
7698 * progmodes/ruby-mode.el (ruby-smie-grammar):
7699 Add (almost) all infix operators.
cfef16c0
DG
7700 (ruby-smie--implicit-semi-p): Add new operator chars.
7701
8c1ae481
DG
7702 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7703 `smie-down-list'.
7704 (ruby-smie--args-separator-p): Check that there's no newline
7705 between method call and its arguments.
7706
87756ca9
AM
77072013-10-20 Alan Mackenzie <acm@muc.de>
7708
7709 Allow comma separated lists after Java "implements".
7710
df74c4be
SM
7711 * progmodes/cc-engine.el (c-backward-over-enum-header):
7712 Parse commas.
87756ca9
AM
7713 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7714 from a "disallowed" list in enum fontification.
7715
c25f8957
JB
77162013-10-20 Johan Bockgård <bojohan@gnu.org>
7717
df74c4be 7718 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 7719
c25f8957
JB
7720 * progmodes/verilog-mode.el (verilog-mode): Don't set
7721 comment-indent-function globally.
7722
aca5fcdc
JD
77232013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7724
5f161884
JD
7725 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7726 Move Info menu item creation to ns-win.el.
7727
7728 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7729 in menu bar.
7730
a6c4680a 7731 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
7732
7733 * term/ns-win.el (ns-initialize-window-system): ... to here.
7734
914b7f98
SM
77352013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * simple.el (newline): Only run post-self-insert-hook when
7738 called interactively.
7739
846ffe77
JB
77402013-10-19 Johan Bockgård <bojohan@gnu.org>
7741
7742 * icomplete.el (icomplete-with-completion-tables): Add :version.
7743
033f22dd
AM
77442013-10-19 Alan Mackenzie <acm@muc.de>
7745
7746 Fix fontification bugs with constructors and const.
7747
7748 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7749 CASE 2) Remove the check for the absence of a suffix construct
7750 after a function declaration with only types (no identifiers) in
7751 the parentheses. Also, accept a function declaration with just a
7752 type inside the parentheses, if this type can be positively
7753 recognised as such, or if a prefix keyword like "explicit" nails
7754 down the construct as a declaration.
7755
58ce0cfc
EZ
77562013-10-19 Eli Zaretskii <eliz@gnu.org>
7757
7758 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7759 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7760 the problem whereby selecting a menu item that leads to a
7761 minibuffer prompt moves the cursor out of the minibuffer window,
7762 making it hard to type at the prompt. Suggested by Stefan Monnier
7763 <monnier@iro.umontreal.ca>.
7764
50e28e7d
JD
77652013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7766
7767 * menu-bar.el: Don't make Services menu.
7768
7deed4bf
RS
77692013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7770
7771 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7772 (ffap-alist): Use ffap-c++-mode for c++-mode.
7773 (ffap-c++-path): New variable.
7774 (ffap-c++-mode): New function.
7775
7bcb455b
JVJ
77762013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7777
7778 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7779
f0ff1cd5
MA
77802013-10-18 Michael Albinus <michael.albinus@gmx.de>
7781
7782 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7783 introduced on 2013-09-08, which results in an infinite loop
7784 requesting a password.
7785
d64da4b7
GM
77862013-10-18 Glenn Morris <rgm@gnu.org>
7787
7788 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7789
ea89ff08
WS
77902013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7791
7792 Sync with upstream verilog-mode revision 1a6ecec7.
7793 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7794 (verilog-mode-release-date): Remove.
7795 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7796 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7797 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7798 (verilog-auto-tieoff-ignore-regexp)
7799 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7800 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7801 (verilog-signals-with, verilog-dir-cache-preserving)
7802 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7803 Doc fixes.
7804 (verilog-case-fold): New option, to control case folding in
7805 regexp searches, bug597.
7806 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7807 (verilog-string-match-fold, verilog-in-paren-count)
7808 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7809 (verilog-at-close-struct-p): New functions.
7810 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 7811 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
7812 (verilog-leap-to-case-head): Handle "unique0" case.
7813 (verilog-in-constraint-re): New constant.
7814 (verilog-keywords, verilog-type-font-keywords):
7815 Add some SystemVerilog 1800-2012 keywords.
7816 (verilog-label-be): Remove unimplemented argument, bug669.
7817 (verilog-batch-execute-func): When batch expanding clear
7818 create-lockfiles to prevent spurious user locks when a file ends
7819 up not changing.
7820 (verilog-calculate-indent, verilog-calc-1)
7821 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7822 (verilog-do-indent): Fix indentation of nested constraints
7823 and structures.
7824 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7825 (verilog-auto-inst-param): Use verilog-string-match-fold.
7826 (verilog-read-inst-module-matcher):
7827 Fix AUTOINST on gate primitives with #1.
7828 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7829 Reads all user-defined typed variables.
7830 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7831 (verilog-signals-matching-regexp)
7832 (verilog-signals-not-matching-regexp, verilog-auto):
7833 Respect verilog-case-fold.
7834 (verilog-diff-report): Fix line count.
7835 (verilog-auto-assign-modport): Remove unused local `modi'.
7836 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7837 better handle multidimensional arrays.
7838 Fix packed array ports misadding bit index in AUTOINST, bug637.
7839 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7840 to not double-declare existing outputs and inputs, respectively.
7841 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7842 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7843 (verilog-sk-uvm-component): New skeleton.
7844 (verilog-submit-bug-report): Add verilog-case-fold,
7845 remove verilog-mode-release-date.
7846
ef566920
BR
78472013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7848
a12bf61e 7849 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
7850 as before.
7851
29df8a0b
RT
78522013-10-18 Reuben Thomas <rrt@sc3d.org>
7853
e0eb0550 7854 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
7855 remember buffers (bug#13566).
7856
04a19a79
DC
78572013-10-18 Daniel Colascione <dancol@dancol.org>
7858
7859 When evaluating forms in ielm, direct standard output to ielm
7860 buffer. Add new ielm-return-for-effect command. Remove trailing
7861 whitespace throughout.
7862
7863 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7864 (ielm-return-for-effect): New command.
7865 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
7866 (ielm-eval-input): Accept optional `for-effect' parameter.
7867 Bind `standard-output' to stream we create using
04a19a79
DC
7868 `ielm-standard-output-impl'. Suppress printing result when
7869 `for-effect'.
7870 (ielm-standard-output-impl): New function.
7871 (inferior-emacs-lisp-mode): Explain new features in documentation.
7872
4c1f03ef
MA
78732013-10-17 Michael Albinus <michael.albinus@gmx.de>
7874
7875 Code cleanup.
7876
7877 * net/tramp.el (tramp-debug-message): Do not check for connection
7878 buffer.
7879 (tramp-message): Use "vector" connection property.
7880
7881 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7882 (tramp-equal-remote, tramp-eshell-directory-change)
7883 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7884 (tramp-adb-handle-rename-file)
7885 * net/tramp-cmds.el (tramp-list-remote-buffers)
7886 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7887 * net/tramp-compat.el (tramp-compat-process-running-p)
7888 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7889 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7890 (tramp-gvfs-handle-rename-file)
7891 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7892 (tramp-set-file-uid-gid)
7893 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7894 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7895 of `file-remote-p'.
7896
7897 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7898 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7899 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7900 (tramp-gw-open-network-stream): Suppress unrelated traces.
7901
7902 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7903 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7904 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7905 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7906 connection property.
7907
7908 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7909 persistency file.
4c1f03ef
MA
7910
7911 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7912 Refactor common code. Improve debug message.
7913 (tramp-maybe-open-connection)
7914 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7915 connection buffer too early.
7916
7917 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7918 from `tramp-smb-actions-with-acl'.
7919 (tramp-smb-actions-set-acl): New defconst.
7920 (tramp-smb-handle-copy-directory)
7921 (tramp-smb-action-get-acl): New defun, renamed from
7922 `tramp-smb-action-with-acl'.
7923 (tramp-smb-action-set-acl): New defun.
7924 (tramp-smb-handle-set-file-acl): Rewrite.
7925
642eb8b6
GM
79262013-10-17 Glenn Morris <rgm@gnu.org>
7927
7928 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7929
85527ff3
SM
79302013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7931
921c1d62
SM
7932 * skeleton.el (skeleton-newline): Remove.
7933 (skeleton-internal-1): Use (insert "\n") instead.
7934
e333fb10
SM
7935 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7936 let-bindings.
7937
85527ff3
SM
7938 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7939 forward-sexp-function while we redo its job (bug#15613).
7940
c8722a97
JB
79412013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7942
7943 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7944 represented by lists.
7945
7a550bbb
GM
79462013-10-16 Glenn Morris <rgm@gnu.org>
7947
7948 * tmm.el (tmm--history): New dynamic variable.
7949 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7950
f19da8ad
MA
79512013-10-16 Michael Albinus <michael.albinus@gmx.de>
7952
7953 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7954 (tramp-smb-errors): Add error messages.
7955 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7956 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7957 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7958 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7959 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7960 (tramp-smb-get-stat-capability): Fix tests.
7961
a24b9961
DK
79622013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7963
7964 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7965 (bug#15580).
7966
62ad85e6
GM
79672013-10-16 Glenn Morris <rgm@gnu.org>
7968
0283d6b0
GM
7969 * ansi-color.el (ansi-color-drop-regexp):
7970 Add 1J, 1K, 2K. (Bug#15617)
7971
012e2f9f
GM
7972 * files.el (hack-local-variables--warned-lexical): New.
7973 (hack-local-variables):
7974 Warn about misplaced lexical-binding. (Bug#15616)
7975
62ad85e6
GM
7976 * net/eww.el (eww-render): Always set eww-current-url,
7977 and update header line. (Bug#15622)
7978 (eww-display-html): ... Rather than just doing it here.
7979
6456c0ea
EZ
79802013-10-15 Eli Zaretskii <eliz@gnu.org>
7981
7982 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7983 menu navigations commands.
7984
c2de5588
DK
79852013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7986
7987 * progmodes/subword.el (subword-capitalize): Be careful when
7988 the search for [[:alpha:]] fails (bug#15580).
7989
ccd4a783
EZ
79902013-10-14 Eli Zaretskii <eliz@gnu.org>
7991
7992 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7993 to commands that scroll the menu.
7994
1eda1d8d
DG
79952013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7996
c2de5588
DK
7997 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7998 Handle methods ending with `?' and `!'.
1eda1d8d 7999
e70181b8
AM
80002013-10-14 Akinori MUSHA <knu@iDaemons.org>
8001
8002 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8003 `japanese-cp932' to `cp932' to fix the problem where saving a
8004 source file written in Shift_JIS twice would end up having
8005 `coding: japanese-cp932' which Ruby could not recognize.
8006 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8007 in `ruby-encoding-map'.
8008 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8009 doesn't need to be explicitly declared in magic comment.
8010 (ruby-encoding-map): Add type declaration for better customize UI.
8011
9148ee92
GM
80122013-10-13 Glenn Morris <rgm@gnu.org>
8013
a5d38e34
GM
8014 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8015 Occur buffers are read-only. http://bugs.debian.org/720775
8016
9148ee92
GM
8017 * emacs-lisp/authors.el (authors-fixed-entries):
8018 Comment out old alpha stuff.
8019
a9ba094b
DG
80202013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8021
8022 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8023 to `after-save-hook' instead of `before-save-hook'.
8024 (ruby-mode-set-encoding): Use the value of coding system used to
8025 write the file. Call `basic-save-buffer-1' after modifying the
8026 buffer.
8027
7a068717
AM
80282013-10-13 Alan Mackenzie <acm@muc.de>
8029
8030 Fix indentation/fontification of Java enum with
8031 "implements"/generic.
8032
c2de5588
DK
8033 * progmodes/cc-engine.el (c-backward-over-enum-header):
8034 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
8035 (c-inside-bracelist-p): Uses new function above.
8036 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8037 function above.
8038 (c-font-lock-enum-tail): Uses new function above.
8039
85b64f02
KH
80402013-10-13 Kenichi Handa <handa@gnu.org>
8041
8042 * international/mule-cmds.el (select-safe-coding-system): Remove a
8043 superfluous condition in chekcing whether a coding system is safe
8044 or not.
8045
fc7f501b
OK
80462013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8047
8048 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8049
fdcb2049
AP
80502013-10-13 Andreas Politz <politza@hochschule-trier.de>
8051
8052 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8053
8c106d17
GM
80542013-10-13 Glenn Morris <rgm@gnu.org>
8055
feab892d
GM
8056 * menu-bar.el (menu-bar-update-buffers):
8057 Unify Buffers menu prompt string. (Bug#15576)
8058
b22d0686
GM
8059 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8060
8c106d17
GM
8061 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8062 Add some entries.
8063 (authors-fixed-entries): Use accented form of name.
8064
1b12c797
SM
80652013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8066
650fa7bf 8067 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 8068 method calls (bug#15594).
650fa7bf
SM
8069 (ruby-smie--args-separator-p): New function.
8070 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8071 recognize paren-free method calls.
8072
1b12c797
SM
8073 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8074 internals of universal-argument.
8075
029619c8
EZ
80762013-10-11 Eli Zaretskii <eliz@gnu.org>
8077
8078 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
8079 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8080 dropped menu on second mouse click on the menu bar.
029619c8 8081
dd070019
SM
80822013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8083
8084 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8085 (explicit-shell-file-name): Declare.
8086 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8087 (sh-completion-at-point-function): New function.
8088 (sh-mode): Use it.
8089 (sh-smie--keyword-p): Remove unused argument.
8090 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8091 vars.
8092 (sh-set-shell): Always setup SMIE, even if we use the
8093 old indentation code.
8094
0922b826
DG
80952013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8096
b68e2926
DG
8097 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8098 cases of ? and =.
8099 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8100 predicate would return nil are almost non-existent.
8101 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8102
0922b826
DG
8103 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8104 cache also after commands that modify the buffer but don't move
8105 point.
8106
ee041f2d
SM
81072013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * env.el (substitute-env-in-file-name): New function.
8110 (substitute-env-vars): Extend the meaning of the optional arg.
8111
a5dab159
EZ
81122013-10-10 Eli Zaretskii <eliz@gnu.org>
8113
8114 * term/w32-win.el (dynamic-library-alist): Define separate lists
8115 of GIF DLLs for versions before and after 5.0.0 of giflib.
8116 (Bug#15531)
8117
0449d6cd 81182013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
8119
8120 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8121 not locked, use last revision and current source as
8122 defaults. (Bug#15569)
8123
2f6e161e
MY
81242013-10-10 Masatake YAMATO <yamato@redhat.com>
8125
8126 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8127 menu-bar is hidden.
8128
6c8413fc
MR
81292013-10-10 Martin Rudalics <rudalics@gmx.at>
8130
8131 * window.el (pop-to-buffer-same-window): Fix doc-string.
8132 (Bug#15492)
8133
20832de0
SM
81342013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8135
8136 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8137
c6e8ae77
AC
81382013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8139
8140 * calendar/icalendar.el (icalendar-import-file):
8141 Fix interactive spec. (Bug#15482)
8142
9db13baf
GM
81432013-10-10 Glenn Morris <rgm@gnu.org>
8144
9271e90e
GM
8145 * desktop.el (desktop-save): Default to saving in .emacs.d,
8146 since PWD is no longer in desktop-path by default. (Bug#15319)
8147
9db13baf
GM
8148 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8149 now that text mode has a menu with the same entry.
8150 (menu-bar-text-mode-auto-fill): Remove now unused func.
8151 * textmodes/text-mode.el (text-mode-map):
8152 Use auto-fill help text from menu-bar.el.
8153
a0be396a 81542013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
8155
8156 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8157
2edcd3c7
JL
81582013-10-09 Juri Linkov <juri@jurta.org>
8159
8160 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8161 instead of this-command-keys. Add universal-argument-more and
8162 universal-argument-minus to the list of prefix commands. (Bug#15568)
8163
574411d0
GM
81642013-10-09 Glenn Morris <rgm@gnu.org>
8165
14afa541
GM
8166 * vc/vc-svn.el (vc-svn-create-repo):
8167 Expand paths in file://... url. (Bug#15446)
8168
574411d0
GM
8169 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8170 Add some entries.
8171 (authors): Remove unused local variables.
8172
79804536
SM
81732013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * profiler.el: Create a more coherent calltree from partial backtraces.
8176 (profiler-format): Hide the tail with `invisible' so that C-s can still
8177 find the hidden elements.
8178 (profiler-calltree-depth): Don't recurse so enthusiastically.
8179 (profiler-function-equal): New hash-table-test.
8180 (profiler-calltree-build-unified): New function.
8181 (profiler-calltree-build): Use it.
8182 (profiler-report-make-name-part): Indent the calltree less.
8183 (profiler-report-mode): Add visibility specs for profiler-format.
8184 (profiler-report-expand-entry, profiler-report-toggle-entry):
8185 Expand the whole subtree when provided with a prefix arg.
8186
238150c8
DG
81872013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8188
8189 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8190 iuwu-mod token.
8191 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8192 hanging iuwu-mod token.
8193 (ruby-smie--forward-token): Do not include a dot after a token in
8194 that token.
8195 (ruby-smie--backward-token): Likewise.
8196
b0949cc4
JL
81972013-10-08 Juri Linkov <juri@jurta.org>
8198
8199 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8200 to isearch-other-control-char.
8201 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8202 and isearch-post-command-hook to post-command-hook.
8203 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8204 and isearch-post-command-hook from post-command-hook.
8205 (isearch-unread-key-sequence)
8206 (isearch-reread-key-sequence-naturally)
8207 (isearch-lookup-scroll-key, isearch-other-control-char)
8208 (isearch-other-meta-char): Remove functions.
8209 (isearch-pre-command-hook, isearch-post-command-hook):
8210 New functions based on isearch-other-meta-char rewritten
8211 relying on the new behavior of overriding-terminal-local-map
8212 that does not replace the local keymaps any more. (Bug#15200)
8213
4ed77415
EZ
82142013-10-08 Eli Zaretskii <eliz@gnu.org>
8215
8216 Support menus on text-mode terminals.
8217 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8218 functionality.
8219
8220 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8221
c2de5588
DK
8222 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8223 Move here from mouse.el.
4ed77415
EZ
8224 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8225 and arrow keys.
8226 (tty-menu-navigation-map): New map for TTY menu navigation.
8227
8228 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8229
8230 * frame.el (display-mouse-p): Report text-mode mouse as available
8231 on w32.
8232 (display-popup-menus-p): Report availability if mouse is
8233 available; don't condition on window-system.
8234
8235 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8236 (tty-menu-selected-face): New faces.
8237
b7d5bd82
TL
82382013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8239
06286513
SM
8240 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8241 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8242 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8243 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8244 New constants.
8245 (lisp-mode-variables): New `elisp' argument.
8246 (emacs-lisp-mode): Use it.
8247 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8248 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8249
b7d5bd82
TL
8250 * indent.el: Use lexical-binding.
8251 (indent-region): Add progress reporter.
8252 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8253 last step.
8254 (indent--next-tab-stop): New function to implement this behavior.
8255 (tab-to-tab-stop, move-to-tab-stop): Use it.
8256
82572013-10-08 Teemu Likonen <tlikonen@iki.fi>
8258
8259 * indent.el (indent-rigidly--current-indentation): New function.
8260 (indent-rigidly-map): New var.
8261 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8262
5ea75d23
BG
82632013-10-08 Bastien Guerry <bzg@gnu.org>
8264
f2726fa2 8265 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 8266
cc5da1ec
SM
82672013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8ffa1a0b
SM
8269 * progmodes/perl-mode.el: Use lexical-binding.
8270 Remove redundant :group args.
8271 (perl-nochange): Change default to be closer to other major modes's
8272 standard behavior.
8273 (perl-indent-line): Don't consider text on current line as a
8274 valid beginning of function from which to indent.
8275
f2223371
SM
8276 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8277 with more than one argument (bug#15538).
8278
44256060
SM
8279 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8280
cc5da1ec
SM
8281 * vc/pcvs.el: Use lexical-binding.
8282 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8283 environment of `eval'.
8284 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8285 than a list of expressions. Adjust callers.
8286 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8287
0ea1599d
DG
82882013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8289
8290 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 8291 case of the dot in a chained method call being on the following line.
0ea1599d 8292
da3e5ebb
SM
82932013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8294
2abb4e65
SM
8295 * electric.el (electric-indent-inhibit): New var.
8296 (electric-indent-post-self-insert-function): Use it.
8297 * progmodes/python.el (python-mode): Set it.
8298
d2e0e795
SM
8299 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8300 open braces.
8301
8302 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8303
bdc6b4c8
SM
8304 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8305 (css-mode): Use electric-indent-chars.
8306
da3e5ebb
SM
8307 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8308 (font-lock-beg, font-lock-end): Move before first use.
8309 (nxml-mode): Use syntax-propertize-function.
8310 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8311 (nxml-extend-after-change-region): Remove.
8312 * nxml/xmltok.el: Use lexical-binding.
8313 (xmltok-save): Use `declare'.
8314 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8315 * nxml/nxml-util.el: Use lexical-binding.
8316 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8317 Use `declare'.
8318 * nxml/nxml-ns.el: Use lexical-binding.
8319 (nxml-ns-save): Use `declare'.
8320 (nxml-ns-prefixes-for): Avoid add-to-list.
8321 * nxml/rng-match.el: Use lexical-binding.
8322 (rng--ipattern): Use cl-defstruct.
8323 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8324 (rng-cons-group-after, rng-subst-group-after)
8325 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8326 Use closures instead of `(lambda...).
8327
f8f91d5d
MA
83282013-10-07 Michael Albinus <michael.albinus@gmx.de>
8329
8330 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8331 of BEG and END.
8332
da3e5ebb
SM
8333 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8334 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
8335 (tramp-gvfs-handle-insert-file-contents): Remove function.
8336
da3e5ebb
SM
8337 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8338 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
8339
8340 * net/trampver.el: Update release number.
8341
7ccae3b1
SM
83422013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8343
55ca2c0d
SM
8344 * progmodes/compile.el (compilation-parse-errors):
8345 Use compilation--put-prop.
8346 (compilation--ensure-parse): Check compilation-multiline.
8347
731fc3ae
SM
8348 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8349
da3e5ebb
SM
8350 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8351 lexical-binding.
a5833280 8352
2e7ba2c2
SM
8353 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8354
7ccae3b1
SM
8355 * progmodes/ruby-mode.el: Fix recently added tests.
8356 (ruby-smie-grammar): Add - and +.
8357 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8358 (ruby-smie--backward-id): New functions.
8359 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8360 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8361 any more.
8362
85698d63
LL
83632013-10-07 Leo Liu <sdl.web@gmail.com>
8364
8365 * register.el (register-preview-delay)
8366 (register-preview-functions): New variables.
8367 (register-read-with-preview, register-preview)
8368 (register-describe-oneline): New functions.
8369 (point-to-register, window-configuration-to-register)
8370 (frame-configuration-to-register, jump-to-register)
8371 (number-to-register, view-register, insert-register)
8372 (copy-to-register, append-to-register, prepend-to-register)
8373 (copy-rectangle-to-register): Use register-read-with-preview to
8374 read register. (Bug#15525)
8375
3986af6c
DS
83762013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8377
8378 * net/network-stream.el (network-stream-open-starttls): Don't add
8379 --insecure if it's already present, because that gnutls-cli
8380 rejects getting that parameter twice.
8381
5cd9cda9
DG
83822013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8383
8384 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8385 keyword, too.
8386
da9ea6d9
DG
83872013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8388
8389 * newcomment.el (comment-use-global-state): Change default value
8390 to t, mark obsolete (Bug#15251).
8391 (comment-beginning): In addition to `comment-to-syntax', check the
8392 value of `comment-use-global-state'.
8393
34d1a133
SM
83942013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8397 (ruby-comment-column): Follow the global default, by default.
8398 (ruby-smie-grammar): Add assignment syntax.
8399 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8400 open-paren, a comma, or a \.
8401 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8402 and line continuations.
8403 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8404 followed by implicit semi-colons. Add rule for string concatenation
8405 and for indentation at BOB.
27821a89 8406 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
8407
8408 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8409 calling next-sexp, since next-token may have skipped chars which
8410 next-sexp doesn't know should be skipped!
8411
6f6ab820
LL
84122013-10-05 Leo Liu <sdl.web@gmail.com>
8413
34d1a133
SM
8414 * progmodes/octave.el (octave-send-region):
8415 Call compilation-forget-errors.
6f6ab820 8416
34ca0f4c
XF
84172013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8418
8419 * vc/vc-svn.el (vc-svn-find-admin-dir):
8420 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8421 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8422 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8423 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8424
a27c1b72
SM
84252013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8428
258ab3bc
SM
84292013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * subr.el (read-passwd): Hide chars even when called within a context
8432 where after-change-functions is disabled (bug#15501).
8433 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8434 until we removed ourself from overriding-terminal-local-map.
8435
939fb29c
LL
84362013-10-04 Leo Liu <sdl.web@gmail.com>
8437
258ab3bc
SM
8438 * progmodes/octave.el (inferior-octave-mode):
8439 Call compilation-forget-errors.
939fb29c 8440
63bd7f35
XF
84412013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8442
8443 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8444
9e6229fa
MA
84452013-10-04 Michael Albinus <michael.albinus@gmx.de>
8446
8447 * net/secrets.el (secrets-create-collection): Add optional
8448 argument ALIAS. Use proper Label keyword. Append ALIAS as
8449 dbus-call-method argument. (Bug#15516)
8450
1dab32a3
LL
84512013-10-04 Leo Liu <sdl.web@gmail.com>
8452
8453 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8454 (inferior-octave-compilation-font-lock-keywords): New variables.
8455 (compilation-error-regexp-alist)
8456 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8457 (inferior-octave-mode): Use compilation-shell-minor-mode.
8458
6cad7ba3
JS
84592013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8460
8461 * minibuffer.el (completion--replace): Be careful that `end' might be
8462 a marker.
8463
acbadd00
DU
84642013-10-03 Daiki Ueno <ueno@gnu.org>
8465
8466 Add support for package signature checking.
8467 * emacs-lisp/package.el (url-http-file-exists-p)
8468 (epg-make-context, epg-context-set-home-directory)
8469 (epg-verify-string, epg-context-result-for)
8470 (epg-signature-status, epg-signature-to-string)
8471 (epg-check-configuration, epg-configuration)
8472 (epg-import-keys-from-file): Declare.
8473 (package-check-signature): New user option.
8474 (package-unsigned-archives): New user option.
8475 (package-desc): Add `signed' field.
8476 (package-load-descriptor): Set `signed' field if .signed file exists.
8477 (package--archive-file-exists-p): New function.
8478 (package--check-signature): New function.
8479 (package-install-from-archive): Check package signature.
8480 (package--download-one-archive): Check archive signature.
8481 (package-delete): Remove .signed file.
8482 (package-import-keyring): New command.
8483 (package-refresh-contents): Import default keyring.
8484 (package-desc-status): Add "unsigned" status.
8485 (describe-package-1, package-menu--print-info)
8486 (package-menu-mark-delete, package-menu--find-upgrades)
8487 (package-menu--status-predicate): Support "unsigned" status.
8488
adf2aa61
SM
84892013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8492 the new compilation scheme using the new byte-codes.
8493
8494 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8495 (byte-pophandler): New byte codes.
8496 (byte-goto-ops): Adjust accordingly.
8497 (byte-compile--use-old-handlers): New var.
8498 (byte-compile-catch): Use new byte codes depending on
8499 byte-compile--use-old-handlers.
8500 (byte-compile-condition-case--old): Rename from
8501 byte-compile-condition-case.
8502 (byte-compile-condition-case--new): New function.
8503 (byte-compile-condition-case): New function that dispatches depending
8504 on byte-compile--use-old-handlers.
8505 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8506 when we can.
8507
8508 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8509 Optimize under `condition-case' and `catch' if
8510 byte-compile--use-old-handlers is nil.
8511 (disassemble-offset): Handle new bytecodes.
8512
328a8179
SM
85132013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * subr.el (error): Use `declare'.
8516 (decode-char, encode-char): Use advertised-calling-convention instead
8517 of the docstring to discourage use of the `restriction' arg.
8518
15a1e936
DU
85192013-10-03 Daiki Ueno <ueno@gnu.org>
8520
8521 * epg.el (epg-verify-file): Add a comment saying that it does not
8522 notify verification error as a return value nor a signal.
8523 (epg-verify-string): Ditto.
8524
376f862a
KR
85252013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8526
8527 * progmodes/compile.el (compilation-start): Try globbing the arg to
8528 `cd' (bug#15417).
8529
a2f93a5f
MA
85302013-10-02 Michael Albinus <michael.albinus@gmx.de>
8531
8532 Sync with Tramp 2.2.8.
8533
8534 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8535 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8536 * net/trampver.el: Update release number.
8537
0daa0804
JD
85382013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8539
8540 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8541 and default-process-coding-system for darwin only.
8542
abd1ae34
SM
85432013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8546
be4e325d
MH
85472013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8548
8549 * vc/vc-git.el (vc-git-grep): Disable pager.
8550
e9155c4a
DG
85512013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8552
494e898b
DG
8553 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8554 Use :url instead of :homepage, as per
8555 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8556
e9155c4a
DG
8557 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8558 non-nil, use `syntax-ppss' (Bug#15251).
8559
481a8e0f
RS
85602013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8561
be4e325d
MH
8562 * progmodes/octave.el (inferior-octave-startup-file):
8563 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 8564
056453c6
DG
85652013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8566
be4e325d
MH
8567 * emacs-lisp/package.el (package-desc-from-define):
8568 Accept additional arguments as plist, convert them to an alist and store
8569 them in the `extras' slot.
056453c6
DG
8570 (package-generate-description-file): Convert extras alist back to
8571 plist and append to the `define-package' form arguments.
8572 (package--alist-to-plist): New function.
8573 (package--ac-desc): Add `extras' slot.
8574 (package--add-to-archive-contents): Check if the archive-contents
8575 vector is long enough, and if it is, pass its `extras' slot value
8576 to `package-desc-create'.
8577 (package-buffer-info): Call `lm-homepage', pass the returned value
8578 to `package-desc-from-define'.
8579 (describe-package-1): Render the homepage button (Bug#13291).
8580
be4e325d
MH
8581 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8582 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 8583
832966e5
JD
85842013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8585
8586 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8587 and default-process-coding-system to utf-8-unix (Bug#15402).
8588
6cfe977d
XF
85892013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8590
8591 * subr.el (looking-back): Do not recommend using looking-back.
8592
38de11bd
AM
85932013-09-28 Alan Mackenzie <acm@muc.de>
8594
8595 Fix indentation/fontification of Java enum with "implements".
8596
8597 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8598 regexp which matches "implements", etc., in Java.
8599 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8600 specifier clauses coming after "enum".
8601 * progmodes/cc-fonts.el (c-font-lock-declarations)
8602 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8603 after "enum".
8604
1610938f
JD
86052013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8606
8607 * faces.el (region): Change ns_selection_color to
8608 ns_selection_fg_color, add ns_selection_bg_color.
8609
e090f499
LL
86102013-09-28 Leo Liu <sdl.web@gmail.com>
8611
4d2e94d1
LL
8612 * progmodes/octave.el (inferior-octave-completion-table)
8613 (inferior-octave-completion-at-point): Minor tweaks.
8614
e090f499
LL
8615 * textmodes/ispell.el (ispell-lookup-words): Rename from
8616 lookup-words. (Bug#15460)
8617 (lookup-words): Obsolete.
8618 (ispell-complete-word, ispell-command-loop): All uses changed.
8619
7e138a62
RS
86202013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8621
a12bf61e 8622 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
8623 (octave-mode-menu): Add octave-send-buffer.
8624 (octave-send-buffer): New function.
8625
5af5ed08
RS
86262013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8627
a12bf61e 8628 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
8629 octave-lookfor.
8630 (octave-mode-menu): Add octave-lookfor.
8631 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8632 octave-lookfor.
8633 (octave-lookfor): New function.
8634
3b7b2692
SM
86352013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8636
35e951cd 8637 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
8638 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8639 its convention.
8640 (cl--loop-set-iterator-function): New function.
8641 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8642 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8643 Bind `it' with `let' instead of substituting it with `cl-subst'.
8644 (cl--unused-var-p): New function.
8645 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8646 Eliminate some unused variable warnings (bug#15326).
8647
529fb53f
TH
86482013-09-27 Tassilo Horn <tsdh@gnu.org>
8649
8650 * doc-view.el (doc-view-scale-reset): Rename from
8651 `doc-view-reset-zoom-level'.
8652 (doc-view-scale-adjust): New command.
8653 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8654 `doc-view-scale-adjust'.
8655
0550c95a
TH
86562013-09-26 Tassilo Horn <tsdh@gnu.org>
8657
8658 * doc-view.el (doc-view-reset-zoom-level): New command.
8659 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8660 zoom commands (bug#15466).
8661
6950f152
KH
86622013-09-26 Kenichi Handa <handa@gnu.org>
8663
8664 * international/quail.el (quail-help): Make it not a command.
8665
39587580
LL
86662013-09-26 Leo Liu <sdl.web@gmail.com>
8667
8668 * minibuffer.el (completion-all-sorted-completions): Make args
8669 optional as they are.
8670
00578659
DC
86712013-09-25 Daniel Colascione <dancol@dancol.org>
8672
8673 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8674 specs are and that they're not evaluated.
8675
0c173878
SS
86762013-09-24 Sam Steingold <sds@gnu.org>
8677
8678 * midnight.el (clean-buffer-list-kill-regexps)
8679 (clean-buffer-list-kill-buffer-names): Update for the new Man
8680 buffer naming which includes the object name.
8681
84998447
SM
86822013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8685 (eshell-parse-command, eshell-parse-pipeline): Use it since
8686 eshell-separate-commands requires a dynamic scoped var.
8687 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8688
33215353
LL
86892013-09-23 Leo Liu <sdl.web@gmail.com>
8690
8691 * autoinsert.el (auto-insert-alist): Make the value of
8692 lexical-binding match its file setting.
8693
57b16162
JB
86942013-09-23 Juanma Barranquero <lekktu@gmail.com>
8695
c8af4e67
JB
8696 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8697
57b16162
JB
8698 * autoarg.el (autoarg-kp-digit-argument):
8699 * electric.el (Electric-command-loop):
8700 * kmacro.el (kmacro-step-edit-insert):
8701 Do not set universal-argument-num-events.
8702
7186ba60
LL
87032013-09-22 Leo Liu <sdl.web@gmail.com>
8704
8705 * files.el (interpreter-mode-alist): Add octave.
8706
ece15004
AM
87072013-09-21 Alan Mackenzie <acm@muc.de>
8708
8709 C++: fontify identifier in declaration following "public:" correctly.
8710 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8711 to match "public", etc.
8712 (c-decl-prefix-re): Add ":" into the C++ value.
8713 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8714 bit. Add a check for a ":" preceded by "public", etc.
8715
75d83e22
EZ
87162013-09-21 Eli Zaretskii <eliz@gnu.org>
8717
8718 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8719 recognized by GDB 7.5 and later.
8720
d052d3bd
XF
87212013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8722
8723 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8724
31dca772
R
87252013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * subr.el (internal--call-interactively): New const.
8728 (called-interactively-p): Use it (bug#3984).
8729
98ccf24e
XF
87302013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8731
8732 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
8733 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8734 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 8735
c39cc7d1
SM
87362013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8739 (eshell-ls-orig-insert-directory): Remove.
8740 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8741 (eshell-ls-use-in-dired): Use advice-add/remove.
8742 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8743 Add `orig-fun' arg for use in :around advice.
8744 Make it check (redundantly) eshell-ls-use-in-dired.
8745
9a0289a2
GM
87462013-09-19 Glenn Morris <rgm@gnu.org>
8747
a2c501b8
GM
8748 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8749
c440407a
GM
8750 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8751
9a0289a2
GM
8752 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8753
85e05915
MA
87542013-09-19 Michael Albinus <michael.albinus@gmx.de>
8755
8756 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8757 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8758 (tramp-get-remote-python): New defuns.
8759 (tramp-get-remote-uid-with-perl)
8760 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8761 contributed by yary <not.com@gmail.com> (tiny change).
8762 (tramp-get-remote-uid-with-python)
8763 (tramp-get-remote-gid-with-python): New defuns. Python code
8764 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8765 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8766
ce503312
GM
87672013-09-19 Glenn Morris <rgm@gnu.org>
8768
f7544773
GM
8769 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8770
72fd2877
GM
8771 * eshell/em-unix.el (eshell-remove-entries):
8772 Rename argument to avoid name-clash with global `top-level'.
8773
336b5a56
GM
8774 * eshell/esh-proc.el (eshell-kill-process-function):
8775 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8776 (eshell-reset-after-proc): Remove unused arg `proc'.
8777
57a3a53d
GM
8778 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8779 (directory-files-and-attributes): Mark unused arg.
8780
3261d4af
GM
8781 * eshell/em-unix.el (eshell-remove-entries):
8782 Remove unused arg `path'. Update callers.
8783
8e51b5d0
GM
8784 * eshell/em-hist.el (eshell-hist-parse-arguments):
8785 Remove unused arg `silent'. Update callers.
8786
ce503312
GM
8787 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8788 Fix (f)boundp mix-up.
8789
8790 * eshell/em-smart.el (eshell-smart-scroll-window)
8791 (eshell-disable-after-change):
336b5a56 8792 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 8793
ee3ce8a7
AM
87942013-09-18 Alan Mackenzie <acm@muc.de>
8795
8796 Fix fontification of type when followed by "const".
8797 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8798 "known" types from fontification.
8799
ec9177ba
GM
88002013-09-18 Glenn Morris <rgm@gnu.org>
8801
7bb3e768
GM
8802 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8803 (chart-face-list): Drop Emacsen without display-color-p.
8804
5148da15
GM
8805 * net/eww.el (libxml-parse-html-region): Declare.
8806 (eww-display-html): Explicit error if no libxml2 support.
8807
2f68e157
GM
8808 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8809
9019d095
GM
8810 * image.el (image-type-from-buffer, image-multi-frame-p):
8811 Remove --without-x warning/error.
67645389 8812
5f30349b 8813 * mouse.el (mouse-yank-primary):
45069b2e 8814 * term.el (term-mouse-paste):
5f30349b
GM
8815 Reorder to silence --without-x compilation.
8816
cd8edbbe
GM
8817 * mpc.el (doc-view-mode): Silence --without-x compilation.
8818
8a78544e
GM
8819 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8820 Silence --without-x compilation.
8821
12679bfd
GM
8822 * progmodes/gud.el (gud-find-file, gud-mode):
8823 Silence --without-x compilation.
8824 (tooltip-mode): Declare.
30810a05 8825
f0047cb9
GM
8826 * wdired.el (dired-backup-overwrite): Remove declaration.
8827 (wdired-mode-map): Add doc string.
8828
e740f9d2
GM
8829 * custom.el (x-get-resource): Declare.
8830
92d77c89
GM
8831 * eshell/em-glob.el (ange-cache):
8832 * eshell/em-unix.el (ange-cache): Declare.
8833
76e69577
GM
8834 * faces.el (x-display-list, x-open-connection, x-get-resource):
8835 Declare.
7e58af4b
GM
8836
8837 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8838 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8839 Declare.
76e69577 8840
4bd4c0af 8841 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 8842
ffb82dbd
GM
8843 * net/gnutls.el (gnutls-log-level): Declare.
8844
986ed135
GM
8845 * net/shr.el (image-size, image-animate): Declare.
8846
e740f9d2
GM
8847 * simple.el (font-info): Declare.
8848
d2f3e9f8
GM
8849 * subr.el (x-popup-dialog): Declare.
8850
047a1a4c
GM
8851 * term/common-win.el (x-select-enable-primary)
8852 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8853 Declare.
8854
f4a1d572
GM
8855 * term/ns-win.el (x-handle-args): Declare.
8856
e843de77
GM
8857 * term/x-win.el (x-select-enable-clipboard): Declare.
8858
5fa89513
GM
8859 * term/w32-win.el (create-default-fontset): Declare.
8860
38702b5b
GM
8861 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8862 Declare.
8863
e740f9d2
GM
8864 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8865 (fit-frame-to-buffer): Explicit error if --without-x.
8866 (mouse-autoselect-window-select): Silence compiler.
8867
49a053fc
GM
8868 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8869
8870 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8871 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8872 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 8873 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
8874 Remove unused local variables.
8875
8876 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8877
ec9177ba
GM
8878 * textmodes/two-column.el: Make 2C-split work for --without-x.
8879 (scroll-bar-columns): Autoload.
8880 (top-level): Require fringe when compiling.
8881
9f25cb77
LL
88822013-09-18 Leo Liu <sdl.web@gmail.com>
8883
8884 * subr.el (add-hook): Robustify to handle closure as well.
8885
2b42da98
GM
88862013-09-17 Glenn Morris <rgm@gnu.org>
8887
8888 * simple.el (messages-buffer-mode-map): Unbind "g".
8889
e8b66a6a
SM
88902013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8891
9c0ad4f7
SM
8892 * help-mode.el (help-mode-finish): Use derived-mode-p.
8893 Remove obsolete highlighting.
8894
7a806dfb
SM
8895 * play/life.el (life-mode): Use define-derived-mode. Derive from
8896 special-mode.
8897 (life): Let-bind inhibit-read-only.
8898 (life-setup): Avoid `setq'. Use `life-mode'.
8899
96dbf5a8
SM
8900 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8901 which should not be needed any more.
8902 (package-menu-refresh, package-menu-describe-package): Use user-error.
8903
e8b66a6a
SM
8904 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8905 (eshell-post-rewrite-command-hook): Make obsolete.
8906 (eshell-parse-command): Simplify.
8907 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8908 (eshell--cmd): Declare.
8909 (eshell-parse-pipeline): Remove unused var `final-p'.
8910 Pass a dynvar to eshell-post-rewrite-command-hook.
8911 Implement the new eshell-post-rewrite-command-function.
8912 (eshell-invoke-directly): Remove unused arg `input'.
8913 * eshell/esh-io.el (eshell-io-initialize):
8914 Use eshell-post-rewrite-command-function (bug#15399).
8915 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8916 adjust to new calling convention.
8917 (eshell-create-handles): Rename args to avoid clashing with dynvar
8918 `standard-output'.
8919
90582f05
GM
89202013-09-17 Glenn Morris <rgm@gnu.org>
8921
8922 * simple.el (messages-buffer-mode): New major mode.
8923 (messages-buffer): New function.
8924 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8925 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8926 (ert-run-test): Use `messages-buffer' function.
90582f05 8927 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8928 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8929 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8930
39eb0cb5 89312013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8932
8933 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8934
1d42e5b6 8935 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8936
70568a90
SM
89372013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8938
504a0381
SM
8939 * icomplete.el (icomplete-in-buffer): New var.
8940 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8941 vars and replace them with functions.
8942 (icomplete-minibuffer-setup): Adjust accordingly.
8943 (icomplete--completion-table, icomplete--completion-predicate)
8944 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8945 New functions.
8946 (icomplete-forward-completions, icomplete-backward-completions)
8947 (icomplete-simple-completing-p, icomplete-exhibit)
8948 (icomplete-completions): Use them.
8949 (icomplete--in-region-buffer): New var.
8950 (icomplete--in-region-setup): New function.
8951 (icomplete-mode): Use it.
8952
70568a90
SM
8953 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8954 (bug#15379).
8955 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8956 return args and options.
8957 (eshell-eval-using-options): Use the new return value of
8958 eshell--do-opts to set the options's vars in their scope.
8959 (eshell--set-option): Rename from eshell-set-option.
8960 Add arg `opt-vals'.
8961 (eshell--process-option): Rename from eshell-process-option.
8962 Add arg `opt-vals'.
8963 (eshell--process-args): Use an `opt-vals' alist to store the options's
8964 values during their processing and return them additionally to the
8965 remaining args.
8966
578c21bc
DG
89672013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8968
8969 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8970 continuation character an operator, as far as indentation is
8971 concerned (Bug#15369).
8972
c089653d
MR
89732013-09-15 Martin Rudalics <rudalics@gmx.at>
8974
8975 * window.el (window--state-put-2): Don't process buffer state
8976 when buffer doesn't exist any more (Bug#15382).
8977
1e53bb4b
GM
89782013-09-15 Glenn Morris <rgm@gnu.org>
8979
30753242
GM
8980 * eshell/em-unix.el (eshell/rm):
8981 Make -f ignore missing files. (Bug#15373)
8982
1e53bb4b
GM
8983 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8984 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8985 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8986
0d8863b3
GM
89872013-09-14 Glenn Morris <rgm@gnu.org>
8988
8989 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8990
d3fc6549
GM
89912013-09-13 Glenn Morris <rgm@gnu.org>
8992
8993 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8994 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8995
fcd42c11
DA
89962013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8997
8998 * frame.el (x-focus-frame): Mark as declared in frame.c.
8999
7830899f
SM
90002013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * ls-lisp.el: Use advice-add.
9003 (original-insert-directory): Remove.
9004 (ls-lisp--insert-directory): Rename from insert-directory; add
9005 `orig-fun' argument.
9006 (insert-directory): Advise.
9007
84387cd2
EZ
90082013-09-13 Eli Zaretskii <eliz@gnu.org>
9009
9010 * term.el (term-emulate-terminal): Decode the command string
9011 before passing it to term-command-hook. (Bug#15337)
9012
35ffc6ba
GM
90132013-09-13 Glenn Morris <rgm@gnu.org>
9014
5c3f9bcc
GM
9015 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9016
2ada368a
GM
9017 * eshell/esh-ext.el (eshell-search-path): Declare.
9018
fcef2e13
GM
9019 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9020 Otherwise an error occurs if eshell-dirs module not loaded.
9021
35ffc6ba
GM
9022 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9023
35c3d36e
MA
90242013-09-13 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9027 `tramp-check-proper-host'. Check for a valid method name.
9028
9029 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9030 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9031 * net/tramp-sh.el (tramp-maybe-open-connection):
9032 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9033
9034 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9035 also for hash values.
9036
ae5e4c48
SM
90372013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9038
379add74
SM
9039 * term/ns-win.el (parameters): Don't declare as dynamic.
9040 (before-make-frame-hook): Don't add ineffective function.
9041
ae5e4c48
SM
9042 * eshell/*.el: Use lexical-binding (bug#15231).
9043
b5623270
KH
90442013-09-12 Kenichi Handa <handa@gnu.org>
9045
ae5e4c48 9046 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 9047
30213927
GM
90482013-09-12 Glenn Morris <rgm@gnu.org>
9049
be94d713 9050 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 9051 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 9052
44915370
GM
9053 * subr.el (do-after-load-evaluation): Also give compiler warnings
9054 when obsolete files are used (except by obsolete files).
9055
a6ae021f
GM
9056 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9057 in the status output, assume `filename' is the first. (Bug#15322)
9058
40e64f0c
GM
9059 * vc/vc.el (vc-deduce-fileset): Doc fix.
9060
16d9f896
GM
9061 * calc/calc-help.el (Info-goto-node):
9062 * progmodes/cperl-mode.el (Info-find-node):
9063 * vc/ediff.el (Info-goto-node): Update declarations.
9064
dea01c6e
GM
9065 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9066
759880bf 9067 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
9068 (vc-bzr-pull): Require vc-dispatcher.
9069 * vc/vc-git.el (vc-compilation-mode): Declare.
9070 (vc-git-pull): Require vc-dispatcher.
9071
08d66420
GM
9072 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9073
30b626e9
GM
9074 * progmodes/octave.el (help-button-action): Declare.
9075
8c05cb10
GM
9076 * shell.el (shell-directory-tracker): Output error as a message
9077 rather than just returning it as a string.
9078 (shell-process-pushd): Remove useless use of message.
9079
30213927
GM
9080 * dframe.el (dframe-timer-fn):
9081 * files.el (dir-locals-read-from-file):
9082 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9083 (mpc-format):
9084 * reveal.el (reveal-post-command):
9085 * saveplace.el (load-save-place-alist-from-file):
9086 * shell.el (shell-resync-dirs):
9087 * w32-common-fns.el (x-get-selection-value):
9088 * emacs-lisp/copyright.el (copyright-find-copyright):
9089 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9090 * emulation/tpu-edt.el (tpu-copy-keyfile):
9091 * play/bubbles.el (bubbles--mark-neighbourhood):
9092 * progmodes/executable.el
9093 (executable-make-buffer-file-executable-if-script-p):
9094 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9095
d3b049e6
SM
90962013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9097
170266d0
SM
9098 Cleanup Eshell to rely less on dynamic scoping.
9099 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9100 last-value, and ext-command here. Bind `args' closer to `body'.
9101 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9102 (eshell--args): Declare new dynamic var.
9103 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9104 last-value, and ext-command. Pass `args' to `body'.
9105 (eshell-process-args): Bind eshell--args.
9106 (eshell-set-option): Use eshell--args.
9107 * eshell/eshell.el (eshell): Use derived-mode-p.
9108 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9109 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9110 (eshell-glob-function): Declare.
9111 * eshell/esh-util.el: Require cl-lib.
9112 (eshell-read-hosts-file): Avoid add-to-list.
9113 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9114 `err'.
9115 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9116 Declare.
9117 (eshell/diff): Remove unused var `err'.
9118 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9119 `killflag'.
9120 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9121 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9122 first use.
9123 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9124 Move declaration before first use.
9125 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
9126 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9127 rely on cl-return.
9128
56834f3b
GM
91292013-09-12 Glenn Morris <rgm@gnu.org>
9130
9131 * term/ns-win.el (global-map): Remove binding for ispell-next,
9132 deleted 1999-05-29. (Bug#15357)
9133
5c91a2b8
GM
91342013-09-11 Glenn Morris <rgm@gnu.org>
9135
da712f22
GM
9136 * echistory.el (electric-command-history): Remove call to deleted func.
9137
512e4cdc
GM
9138 * play/landmark.el (landmark-mode): Fix typos.
9139
d3506ca5
GM
9140 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9141 Check cvs-sort-ignore-file is bound.
9142
5c91a2b8
GM
9143 * savehist.el: No need for cl when compiling on Emacs.
9144
feeff482
SM
91452013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9146
656bd483
SM
9147 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9148 (bug#15338).
d3b049e6
SM
9149 (eshell-self-insert-command, eshell-send-invisible):
9150 Remove unused argument.
656bd483
SM
9151 (eshell-handle-control-codes): Remove unused var `orig'.
9152 Avoid delete-backward-char.
9153
feeff482
SM
9154 * files.el (set-auto-mode): Simplify a bit further.
9155
2a08047a
GM
91562013-09-11 Glenn Morris <rgm@gnu.org>
9157
9158 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9159 (set-auto-mode): Don't regexp-quote elements.
9160 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9161 * progmodes/cc-mode.el (interpreter-mode-alist):
9162 * progmodes/ruby-mode.el (interpreter-mode-alist):
9163 Revert previous change.
9164
34675540
SM
91652013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9166
1b3b87df
SM
9167 * play/snake.el (snake-mode):
9168 * play/mpuz.el (mpuz-mode):
9169 * play/landmark.el (lm-mode):
9170 * play/blackbox.el (blackbox-mode):
9171 * play/5x5.el (5x5-mode):
9172 * obsolete/options.el (Edit-options-mode):
9173 * net/quickurl.el (quickurl-list-mode):
9174 * net/newst-treeview.el (newsticker-treeview-mode):
9175 * mail/rmailsum.el (rmail-summary-mode):
9176 * mail/mspools.el (mspools-mode):
9177 * locate.el (locate-mode):
9178 * ibuffer.el (ibuffer-mode):
9179 * emulation/ws-mode.el (wordstar-mode):
9180 * emacs-lisp/debug.el (debugger-mode):
9181 * array.el (array-mode):
9182 * net/eudc.el (eudc-mode): Use define-derived-mode.
9183 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9184 Move initialization into declaration.
9185 (mairix-searches-mode): Use define-derived-mode.
9186 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9187 (eudc-edit-hotlist): Use dolist.
9188 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9189 (Man-mode): Use define-derived-mode.
9190 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9191 (Info-edit-mode): Use define-derived-mode.
9192 (Info-cease-edit): Use Info-mode.
9193 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9194 into declaration.
9195 (eshell-mode): Use define-derived-mode.
9196 * chistory.el (command-history-mode-map): Rename from
9197 command-history-map.
9198 (command-history-mode): Use define-derived-mode.
da712f22 9199 (Command-history-setup): Remove function.
1b3b87df
SM
9200 * calc/calc.el (calc-trail-mode-map): New var.
9201 (calc-trail-mode): Use define-derived-mode.
9202 (calc-trail-buffer): Set calc-main-buffer manually.
9203 * bookmark.el (bookmark-insert-annotation): New function.
9204 (bookmark-edit-annotation): Use it.
9205 (bookmark-edit-annotation-mode): Make it a proper major mode.
9206 (bookmark-send-edited-annotation): Use derived-mode-p.
9207 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9208 closer to its ideal place. Use \' to match EOS.
9209
34675540
SM
9210 * profiler.el (profiler-calltree-find): Use function-equal.
9211
6a5c15d9
GM
92122013-09-10 Glenn Morris <rgm@gnu.org>
9213
1af4c220
GM
9214 * files.el (interpreter-mode-alist): Convert to regexps.
9215 (set-auto-mode): Adapt for this. (Bug#15306)
9216 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9217 Comment out unused variable.
9218 * progmodes/cc-mode.el (interpreter-mode-alist):
9219 * progmodes/python.el (interpreter-mode-alist):
9220 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9221 * progmodes/sh-script.el (sh-set-shell):
9222 No longer use interpreter-mode-alist to get list of shells.
9223
6a5c15d9
GM
9224 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9225
8c27f5ff
SM
92262013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9227
02ef6c1a 9228 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 9229 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
9230 Bind switch-frame explicitly. Replace universal-argument-minus with
9231 a conditional binding.
9232 (universal-argument-num-events, saved-overriding-map): Remove.
9233 (restore-overriding-map): Remove.
9234 (universal-argument--mode): Rename from save&set-overriding-map,
9235 and rewrite.
9236 (universal-argument, universal-argument-more, negative-argument)
9237 (digit-argument): Adjust accordingly.
9238 (universal-argument-minus): Remove.
9239 (universal-argument-other-key): Remove.
9240
8c27f5ff
SM
9241 * subr.el (with-demoted-errors): Add `format' argument.
9242
6480194c
MA
92432013-09-10 Michael Albinus <michael.albinus@gmx.de>
9244
9245 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9246 `tramp-cleanup-connection'.
9247
9248 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9249 parameters KEEP-DEBUG and KEEP-PASSWORD.
9250
9251 * net/tramp.el (tramp-file-name-handler):
9252 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9253 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9254 (tramp-maybe-open-connection):
8c27f5ff
SM
9255 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9256 Use `tramp-cleanup-connection'.
6480194c 9257
8c27f5ff
SM
9258 * net/tramp-sh.el (tramp-maybe-open-connection):
9259 Catch 'uname-changed inside the progress reporter.
6480194c 9260
e5e916d8
GM
92612013-09-10 Glenn Morris <rgm@gnu.org>
9262
9a2c9b47
GM
9263 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9264
e5e916d8
GM
9265 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9266 returns "alternate access method" in mode (eg "-rw-r--r--.").
9267
144e38fe
GM
92682013-09-08 Glenn Morris <rgm@gnu.org>
9269
9270 * saveplace.el (load-save-place-alist-from-file):
9271 Demote errors. (Bug#15305)
9272
af9ff9e8
MA
92732013-09-08 Michael Albinus <michael.albinus@gmx.de>
9274
9275 Improve compatibility with older Emacsen, and XEmacs.
9276
9277 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9278 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
9279 (with-tramp-progress-reporter): Do not let-bind `result'.
9280 This yields to scoping errors in XEmacs.
af9ff9e8
MA
9281 (tramp-handle-make-auto-save-file-name): New function, moved from
9282 tramp-sh.el.
9283
9284 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9285 for `make-auto-save-file-name'.
8c27f5ff
SM
9286 (tramp-adb--gnu-switches-to-ash):
9287 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9288
9289 * net/tramp-cache.el (tramp-cache-print): Call
9290 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9291
9292 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9293 bound. It isn't for XEmacs.
9294
8c27f5ff
SM
9295 * net/tramp-compat.el (tramp-compat-copy-file):
9296 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
9297 (tramp-compat-replace-regexp-in-string): New defun.
9298
9299 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9300 for `make-auto-save-file-name'.
9301 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9302 `copy-file'.
9303 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9304 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9305 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9306
8c27f5ff
SM
9307 * net/tramp-gw.el (tramp-gw-open-network-stream):
9308 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 9309
8c27f5ff
SM
9310 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9311 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
9312 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9313 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
9314 (tramp-sh-file-inotifywait-process-filter):
9315 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9316 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9317
9318 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9319 for `make-auto-save-file-name'.
8c27f5ff
SM
9320 (tramp-smb-handle-copy-directory):
9321 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9322 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9323 (tramp-smb-handle-copy-file): Improve error message.
9324 (tramp-smb-handle-rename-file): Rename directly only in case
9325 `newname' does not exist yet. This is a restriction of smbclient.
9326 (tramp-smb-maybe-open-connection): Rerun the function only when
9327 `auth-sources' is non-nil.
9328
0ca754d0
KH
93292013-09-08 Kenichi Handa <handa@gnu.org>
9330
e0eb0550 9331 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
9332 more characters.
9333
e8dd0787
AM
93342013-09-07 Alan Mackenzie <acm@muc.de>
9335
9336 Correctly fontify Java class constructors.
9337 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9338 in Java Mode.
9339 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
9340 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9341 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
9342 "typeless" declaration there.
9343
f2f248e7
RW
93442013-09-07 Roland Winkler <winkler@gnu.org>
9345
9346 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9347 field subtitle for entry type book.
9348
67982e2b
SM
93492013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * minibuffer.el: Make minibuffer-complete call completion-in-region
9352 rather than other way around.
9353 (completion--some, completion-pcm--find-all-completions):
9354 Don't delay signals when debugging.
9355 (minibuffer-completion-contents): Beware fields within the
9356 minibuffer contents.
9357 (completion-all-sorted-completions): Use defvar-local.
9358 (completion--do-completion, completion--cache-all-sorted-completions)
9359 (completion-all-sorted-completions, minibuffer-force-complete):
9360 Add args `beg' and `end'.
9361 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9362 (minibuffer-complete): Use completion-in-region.
9363 (completion-complete-and-exit): New fun, extracted from
9364 minibuffer-complete-and-exit.
9365 (minibuffer-complete-and-exit): Use it.
9366 (completion--complete-and-exit): Rename from
9367 minibuffer--complete-and-exit.
9368 (completion-in-region--single-word): New function, extracted from
9369 minibuffer-complete-word.
9370 (minibuffer-complete-word): Use it.
9371 (display-completion-list): Make `common-substring' argument obsolete.
9372 (completion--in-region): Call completion--in-region-1 instead of
9373 minibuffer-complete.
9374 (completion-help-at-point): Pass boundaries to
9375 minibuffer-completion-help as args rather than via an overlay.
9376 (completion-pcm--string->pattern): Use `any-delim'.
9377 (completion-pcm--optimize-pattern): New function.
9378 (completion-pcm--pattern->regex): Handle `any-delim'.
9379 * icomplete.el (icomplete-forward-completions)
9380 (icomplete-backward-completions, icomplete-completions):
9381 Adjust calls to completion-all-sorted-completions and
9382 completion--cache-all-sorted-completions.
9383 (icomplete-with-completion-tables): Default to t.
9384 * emacs-lisp/crm.el (crm--current-element): Rename from
9385 crm--select-current-element. Don't put an overlay but return the
9386 boundaries instead.
9387 (crm--completion-command): Take two new args to bind to the boundaries.
9388 (crm-completion-help): Adjust accordingly.
9389 (crm-complete): Use completion-in-region.
9390 (crm-complete-word): Use completion-in-region--single-word.
9391 (crm-complete-and-exit): Use completion-complete-and-exit.
9392
e17d94a5
SM
93932013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9396 than dynamically.
9397
96727100
JL
93982013-09-06 Juri Linkov <juri@jurta.org>
9399
9400 * info.el (Info-display-images-node): When image file doesn't exist
9401 display text version of the image if it's provided in the Info file.
9402 Otherwise, display the location of missing image from SRC attribute.
9403 Add help-echo text property from ALT attribute. (Bug#15279)
9404
86cf7329
SM
94052013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9408 (edit-abbrevs-mode): Use define-derived-mode.
9409
9410 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9411 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9412 that it's defined.
9413 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9414 Use define-derived-mode.
9415
9416 * epg.el (epg-start-encrypt): Minor CSE simplification.
9417
816244a2
WX
94182013-09-06 William Xu <william.xwl@gmail.com>
9419
9420 * arc-mode.el: Add support for 7za (bug#15264).
9421 (archive-7z-program): New var.
9422 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9423 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9424 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9425
1486fa31
MA
94262013-09-06 Michael Albinus <michael.albinus@gmx.de>
9427
9428 Remove URL syntax.
9429
9430 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9431 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9432 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9433 (tramp-postfix-host-format, tramp-file-name-regexp)
9434 (tramp-completion-file-name-regexp)
9435 (tramp-completion-dissect-file-name)
9436 (tramp-handle-substitute-in-file-name): Remove 'url case.
9437 (tramp-file-name-regexp-url)
9438 (tramp-completion-file-name-regexp-url): Remove constants.
9439
39785324
GM
94402013-09-06 Glenn Morris <rgm@gnu.org>
9441
9442 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9443
1f896cb7
DG
94442013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9445
9446 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9447 keywords" below "here-doc beginnings" (Bug#15270).
9448
c0458e0b
SM
94492013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * subr.el (pop): Use `car-safe'.
9452 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9453 to detect unused `pop' return value.
9454
9455 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9456 var `block-regexp'.
9457 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9458 (python-fill-string): Remove unused var `marker'.
9459 (python-skeleton-add-menu-items): Remove unused var `items'.
9460
9461 * international/mule-cmds.el: Require CL.
9462 (find-coding-systems-for-charsets): Avoid add-to-list.
9463 (sanitize-coding-system-list): New function, extracted from
9464 select-safe-coding-system-interactively.
9465 (select-safe-coding-system-interactively): Use it.
9466 (read-input-method-name): Accept symbols for `default'.
9467
9468 * emacs-lisp/advice.el (defadvice): Add indent rule.
9469
6c42fc3e
DH
94702013-09-05 Daniel Hackney <dan@haxney.org>
9471
9472 * dired-x.el:
9473 * net/ange-ftp.el:
9474 * net/browse-url.el:
9475 * net/dbus.el:
9476 * net/eudc.el:
9477 * net/eudcb-ldap.el:
9478 * net/eww.el:
9479 * net/imap.el:
9480 * printing.el:
9481 * vc/ediff-diff.el:
9482 * vc/ediff-init.el:
9483 * vc/ediff-merg.el:
9484 * vc/ediff-mult.el:
9485 * vc/ediff-util.el:
9486 * vc/ediff-wind.el:
9487 * vc/ediff.el:
9488 * vc/emerge.el:
9489 * vc/pcvs.el:
9490 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9491 byte compiler. Remove some unused let-bound variables.
9492
4c528aab
SM
94932013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9494
9495 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9496 a "ref-cell", since it gets better optimized (bug#14883).
9497
bd15c390
GM
94982013-09-05 Glenn Morris <rgm@gnu.org>
9499
9500 * progmodes/cc-awk.el (c-forward-sws): Declare.
9501
1c3ac2e5
GM
95022013-09-04 Glenn Morris <rgm@gnu.org>
9503
9504 * generic-x.el [rul-generic-mode]: Require cc-mode.
9505 (c++-mode-syntax-table): Declare.
9506 (rul-generic-mode-syntax-table): Init in the defvar.
9507
52b1cc79
SM
95082013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9509
c828af56
SM
9510 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9511 (vc-do-command, vc-set-async-update):
9512 * vc/vc-mtn.el (vc-mtn-dir-status):
9513 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9514 (vc-hg-pull, vc-hg-merge-branch):
9515 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9516 (vc-git-merge-branch):
9517 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9518 (vc-cvs-dir-status-files):
9519 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9520 (vc-bzr-dir-status-files):
9521 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9522 * vc/vc-annotate.el: Use lexical-binding.
9523 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9524 (vc-sentinel-movepoint): Declare.
9525 (vc-annotate): Don't use `goto-line'.
9526 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9527 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9528 (vc-sentinel-movepoint): Declare.
9529 * vc/vc-svn.el: Use lexical-binding.
9530 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9531 * vc/vc-sccs.el:
9532 * vc/vc-rcs.el: Use lexical-binding.
9533
abae272c
SM
9534 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9535 `deleted'. Don't drop errors silently.
9536
52b1cc79
SM
9537 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9538
63191d9f
XF
95392013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9540
9541 * vc/vc.el (vc-ignore): Rewrite.
9542 (vc-default-ignore): New function.
9543 (vc-default-ignore-completion-table): Use find-ignore-file.
9544
9545 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9546 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9547 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9548 Remove. Most code moved to vc.el.
9549
9d3f707c
SM
95502013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9551
abae272c 9552 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
9553 * net/tramp-smb.el (tramp-smb-get-file-entries):
9554 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9555 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9556
fde38d49
SM
9557 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9558 Update call to it.
9559 (eww-change-select): Remove unused var `properties'.
9560 (eww-make-unique-file-name): Remove unused var `base'.
9561
9562 * finder.el (finder-compile-keywords): Don't mess with windows.
9563
84032db7
SM
9564 * calculator.el (calculator-funcall): Fix typo in last change.
9565
724f5e41
SM
9566 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9567
14b511d4
SM
9568 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9569 <pkg>-autoloads.el file stop us.
9570
9d3f707c 9571 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 9572 warnings, and factor out common code.
9d3f707c 9573
88527bc0
DG
95742013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9575
9576 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9577 two-character operators and whether the character preceding them
9578 changes their meaning (Bug#15208).
9579
96edb677
FEG
95802013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9581
9582 Format code sent to Python shell for robustness.
9d3f707c
SM
9583 * progmodes/python.el (python-shell-buffer-substring):
9584 New function.
96edb677
FEG
9585 (python-shell-send-region, python-shell-send-buffer): Use it.
9586
95beaef3
MA
95872013-09-02 Michael Albinus <michael.albinus@gmx.de>
9588
9589 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9590 * net/tramp.el (tramp-user-error): ... here.
9591 (tramp-find-method, tramp-check-proper-host)
9592 (tramp-dissect-file-name, tramp-debug-message)
9593 (tramp-handle-shell-command):
9594 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9595 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9596
9597 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9598
f167c27b
MR
95992013-09-02 Martin Rudalics <rudalics@gmx.at>
9600
9601 * avoid.el (mouse-avoidance-point-position)
9602 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9603 returns nil.
9604
cd16c5f1
FEG
96052013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9606
9607 * progmodes/python.el (python-shell-completion-get-completions):
9608 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 9609 (python-nav-if-name-main): New command.
cd16c5f1 9610
e73c3a0d
GM
96112013-09-01 Glenn Morris <rgm@gnu.org>
9612
f8ccce03
GM
9613 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9614 Avoid leading space in $wins. Otherwise the sed command used by
9615 eg compile-main ends up containing "/*.el". (Bug#15170)
9616
e73c3a0d
GM
9617 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9618
415f808e
GM
96192013-08-30 Glenn Morris <rgm@gnu.org>
9620
9621 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9622 Fix is-this-a-directory logic. (Bug#15220)
9623
f069bba8
SM
96242013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9625
112798c1
SM
9626 * textmodes/css-mode.el: Use SMIE.
9627 (css-smie-grammar): New var.
9628 (css-smie--forward-token, css-smie--backward-token)
9629 (css-smie-rules): New functions.
9630 (css-mode): Use them.
9631 (css-navigation-syntax-table): Remove var.
9632 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9633 (css-indent-calculate, css-indent-line): Remove functions.
9634
9635 Misc changes to reduce use of `(lambda...); and other cleanups.
9636 * cus-edit.el: Use lexical-binding.
9637 (customize-push-and-save, customize-apropos)
9638 (custom-buffer-create-internal): Use closures.
9639 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9640 * progmodes/ada-xref.el: Use setq.
9641 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9642 * dframe.el: Use lexical-binding.
9643 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9644 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9645 * descr-text.el: Use lexical-binding.
9646 (describe-text-widget, describe-text-sexp, describe-property-list):
9647 Use closures.
9648 * comint.el (comint-history-isearch-push-state): Use a closure.
9649 * calculator.el: Use lexical-binding.
9650 (calculator-number-to-string): Make it work with lexical-binding.
9651 (calculator-funcall): Same and use cl-letf.
9652
2da4c3ab
SM
9653 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9654 (lisp--company-doc-string, lisp--company-location): New functions.
9655 (lisp-completion-at-point): Use them to improve Company support.
9656
f069bba8
SM
9657 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9658 params of lambda expressions.
9659 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9660 (ruby-smie--opening-pipe-p): New function.
9661 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9662 symbols and matched |...| for formal params.
9663 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9664 from being treated as hanging. Handle "rescue".
9665
6758b6a8
GM
96662013-08-29 Glenn Morris <rgm@gnu.org>
9667
9668 * progmodes/cc-engine.el (c-pull-open-brace):
9669 Move definition before use.
9670
e8dfd197
SM
96712013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9674 are immutable. Don't use `unsafe' any more.
9675 (cl--defsubst-expand): Don't substitute at the same time as keeping
9676 a residual unused let-binding. Don't use `unsafe' any more.
9677
cc585c96
GM
96782013-08-29 Glenn Morris <rgm@gnu.org>
9679
ba579ea6
GM
9680 * calendar/cal-china.el (calendar-chinese-year-cache):
9681 Recenter on 2015.
9682
8201a87e
GM
9683 * nxml/nxml-util.el (nxml-debug-clear-inside):
9684 Use cl-loop rather than loop.
9685
6ee877c7
GM
9686 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9687
cc585c96
GM
9688 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9689
27be8d39
GM
96902013-08-28 Glenn Morris <rgm@gnu.org>
9691
397440a1
GM
9692 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9693
2bb762d4
GM
9694 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9695
27be8d39
GM
9696 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9697
2d69b99e
SM
96982013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9699
f663baa7
SM
9700 * simple.el (repeat-complex-command--called-interactively-skip):
9701 New function.
9702 (repeat-complex-command): Use it (bug#14136).
9703
dd4f8b74
SM
9704 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9705 (c-define-abbrev-table): Add `doc' argument.
9706 (c-mode-abbrev-table, c++-mode-abbrev-table)
9707 (objc-mode-abbrev-table, java-mode-abbrev-table)
9708 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9709 (awk-mode-abbrev-table): Use it.
9710 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9711 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9712 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9713 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9714 Move initialization into the declaration; and remove any
9715 autoload cookie.
9716
b58969f7
SM
9717 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9718 and dynamic let binding.
9719
4021d6a6
SM
9720 * vc/smerge-mode.el: Remove redundant :group args.
9721
2d69b99e
SM
9722 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9723 to load-path.
9724
274919fd
JL
97252013-08-28 Juri Linkov <juri@jurta.org>
9726
9727 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9728 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9729 (isearch-other-meta-char): Handle an undefined shifted printing
9730 character by downshifting it. (Bug#15200)
9731
121f8c95
JL
97322013-08-28 Juri Linkov <juri@jurta.org>
9733
9734 * isearch.el (isearch-search): Change regexp error message for
9735 non-regexp searches. (Bug#15166)
9736
50b13cde
PE
97372013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9738
9739 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9740 for portability to hosts where /bin/sh has problems.
9741
95888bca
SM
97422013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9743
9744 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9745
bbe558f1
JL
97462013-08-27 Juri Linkov <juri@jurta.org>
9747
9748 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9749 in the keyboard macro. (Bug#15126)
9750
26f98a7d
JL
97512013-08-27 Juri Linkov <juri@jurta.org>
9752
9753 * isearch.el (isearch-quote-char): Comment out converting unibyte
9754 to multibyte, thus syncing with its `quoted-insert' counterpart.
9755 (Bug#15166)
9756
7c97d35e
MR
97572013-08-27 Martin Rudalics <rudalics@gmx.at>
9758
9759 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
9760 argument in call of get-largest-window (Bug#15185).
9761 Reported by Stephen Leake.
7c97d35e 9762
a0b5606e 97632013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
9764
9765 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9766
9e89d835
SM
97672013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9770 from a matcher-function unless there's no more matches (bug#15161).
9771
78fc2530
MA
97722013-08-26 Michael Albinus <michael.albinus@gmx.de>
9773
9774 * minibuffer.el: Revert change from 2013-08-20.
9775
9776 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9777 with text property `tramp-default', if appropriate.
9778 (tramp-check-proper-host): New defun.
9779 (tramp-dissect-file-name): Do not check hostname. Revert change
9780 of 2013-03-18.
9781 (tramp-backtrace): Make VEC-OR-PROC optional.
9782
9783 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9784 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9785 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
9786 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9787 Apply `tramp-check-proper-host'.
78fc2530 9788
edca97cd
TH
97892013-08-26 Tassilo Horn <tsdh@gnu.org>
9790
9791 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9792 lambda expression in order to have `describe-variable' display it.
9793
df54bcbd
MA
97942013-08-26 Michael Albinus <michael.albinus@gmx.de>
9795
9796 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9797 BUF can be optional. (Bug#15186)
9798
eed99101
XF
97992013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9800
9801 * progmodes/flymake.el (flymake-get-real-file-name-function):
9802 Fix broken customization. (Bug#15184)
9803
b5eb9035
AM
98042013-08-25 Alan Mackenzie <acm@muc.de>
9805
8a51e842
AM
9806 Improve indentation of bracelists defined by macros (without "=").
9807
9808 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9809 expansion begins with "{", regard it as bracelist when it doesn't
9810 contain a ";".
9811
869455d4
AM
9812 Parse C++ inher-intro when there's a template split over 2 lines.
9813
9814 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9815 rigorously the search for "class" etc. followed by ":".
9816
9817 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9818 random languages a regexp which never matches rather than nil.
9819
b5eb9035
AM
9820 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9821
9822 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9823 (c-awk-regexp-one-line-possibly-open-char-list-re)
9824 (c-awk-one-line-possibly-open-regexp-re)
9825 (c-awk-one-line-non-syn-ws*-re): Remove.
9826 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9827 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9828 (c-awk-space*-unclosed-regexp-/-re): New constants.
9829 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9830 aren't regexp delimiters.
9831
9832 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9833 handling for a rare situation in AWK Mode involving unterminated
9834 strings/regexps.
9835
61611d54
GM
98362013-08-23 Glenn Morris <rgm@gnu.org>
9837
2d85dc34
GM
9838 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9839
cb8d2612
GM
9840 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9841
bb35f42f
GM
9842 * files.el (create-file-buffer): If the result would begin with
9843 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 9844
b9808e77
SM
98452013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9846
e3a66363
SM
9847 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9848 text-properties (bug#15155).
9849
b9808e77
SM
9850 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9851 exist any more.
9852 (calc-keypad-redraw): Remove unused var `pad'.
9853 (calc-keypad-press): Remove unused var `menu'.
9854
7fd5f65e
MR
98552013-08-23 Martin Rudalics <rudalics@gmx.at>
9856
b9808e77
SM
9857 * window.el (display-buffer-pop-up-frame):
9858 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
9859 use it as the new frame's buffer (Bug#15133).
9860
8352b530
SM
98612013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * calendar/timeclock.el: Minor cleanups.
9864 (timeclock-ask-before-exiting, timeclock-use-display-time):
9865 Use `symbol'.
9866 (timeclock-modeline-display): Define as alias before the
9867 actual definition.
9868 (timeclock-mode-line-display): Use define-minor-mode.
9869 (timeclock-day-list-template): Make it a function, add an argument.
9870 (timeclock-day-list-required, timeclock-day-list-length)
9871 (timeclock-day-list-debt, timeclock-day-list-span)
9872 (timeclock-day-list-break): Adjust calls accordingly.
9873
9f7b1925
SM
98742013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9877 Use read--expression so that completion works again.
9878
6e50e983
SS
98792013-08-21 Sam Steingold <sds@gnu.org>
9880
9881 Add rudimentary inferior shell interaction
9882 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9883 (sh-set-shell): Reset it.
9f7b1925
SM
9884 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9885 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9886
dbb0d350
SM
98872013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * align.el: Use lexical-binding.
9890 (align-region): Simplify accordingly.
9891
c88586a9
MA
98922013-08-20 Michael Albinus <michael.albinus@gmx.de>
9893
9894 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9895
9896 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9897 `non-essential' up.
9898
f95527c8
MA
98992013-08-17 Michael Albinus <michael.albinus@gmx.de>
9900
9901 * net/tramp.el:
9902 * net/tramp-adb.el:
9903 * net/tramp-cmds.el:
9904 * net/tramp-ftp.el:
9905 * net/tramp-gvfs.el:
9906 * net/tramp-gw.el:
9907 * net/tramp-sh.el: Don't wrap external variable declarations by
9908 `eval-when-compile'.
9909
4b5fe4ee
LMI
99102013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9911
9912 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9913 now that Emacs supports ImageMagick animations.
9914
13c366c9
MA
99152013-08-16 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9918 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9919
3dfc5cd6
MR
99202013-08-16 Martin Rudalics <rudalics@gmx.at>
9921
9922 * window.el (mouse-autoselect-window-select): Do autoselect when
9923 mouse pointer is on margin.
9924
4bbb4381
WP
99252013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9926
9927 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9928
3a2ddc2d
GM
99292013-08-16 Glenn Morris <rgm@gnu.org>
9930
e8bedf5a
GM
9931 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9932 Handle "Remote Directory" response of some clients. (Bug#15058)
9933
58c4682f
GM
9934 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9935 Tweak warning. (Bug#14926)
9936
57953f49
GM
9937 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9938 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9939
3a2ddc2d
GM
9940 * image-mode.el (image-mode-map): Add menu items to reverse,
9941 increase, decrease, reset animation speed.
9942 (image--set-speed, image-increase-speed, image-decrease-speed)
9943 (image-reverse-speed, image-reset-speed): New functions.
9944 (image-mode-map): Add bindings for speed commands.
9945
9946 * image.el (image-animate-get-speed, image-animate-set-speed):
9947 New functions.
9948 (image-animate-timeout): Respect image :speed property.
9949
10fa0ed3
SM
99502013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9953 previous line (bug#15101).
9954 (debugger-eval-expression, debugger-record-expression):
9955 Use read--expression (bug#15102).
9956
5d89d9d2
MA
99572013-08-15 Michael Albinus <michael.albinus@gmx.de>
9958
9959 Remove byte compiler warnings, visible when compiling with
9960 `byte-compile-force-lexical-warnings' set to t.
9961
9962 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9963 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9964 (tramp-handle-unhandled-file-name-directory)
9965 (tramp-handle-file-notify-add-watch, tramp-action-login)
9966 (tramp-action-succeed, tramp-action-permission-denied)
9967 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9968 arguments with "_".
9969
9970 * net/tramp-adb.el (tramp-adb-parse-device-names)
9971 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9972 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9973 (tramp-adb-handle-file-truename): Remove unused arguments.
9974
9975 * net/tramp-cache.el (tramp-flush-directory-property)
9976 (tramp-flush-connection-property, tramp-list-connections)
9977 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9978
10fa0ed3
SM
9979 * net/tramp-compat.el (tramp-compat-make-temp-file):
9980 Rename FILENAME to F.
5d89d9d2
MA
9981
9982 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9983 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9984 (tramp-zeroconf-parse-workstation-device-names)
9985 (tramp-zeroconf-parse-webdav-device-names)
9986 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9987
9988 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9989 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9990
9991 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9992 arguments.
9993 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9994 (tramp-sh-handle-insert-file-contents-literally)
9995 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9996 with "_".
9997 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9998 Remove unused variables.
9999
10000 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10001 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10002 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10003
10004 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10005 Make them a defconst.
10006 (tramp-uuencode-region): Remove unused variable.
10007
62f33bae
JB
100082013-08-14 Juanma Barranquero <lekktu@gmail.com>
10009
10010 * frameset.el (frameset--prop-setter): New function.
10011 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
10012 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10013 parameter was already set in FILTERED. Doc fix.
10014 (frameset--record-minibuffer-relationships): Allow saving a
10015 minibufferless frame without its corresponding minibuffer frame.
10016 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10017 frame, if the frame id matches.
10018 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10019 frames before orphaned ones.
10020 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 10021
c660a885
MR
100222013-08-14 Martin Rudalics <rudalics@gmx.at>
10023
10024 * window.el (window-make-atom): Don't overwrite parameter
10025 already present.
10026 (display-buffer-in-atom-window): Handle special case where we
10027 split an already atomic window.
10028 (window--major-non-side-window, display-buffer-in-side-window)
10029 (window--side-check): Ignore minibuffer window when walking
10030 window tree.
10031 (window-deletable-p): Return 'frame only if no other frame uses
10032 our minibuffer window.
10033 (record-window-buffer): Run buffer-list-update-hook.
10034 (split-window): Make sure window--check-frame won't destroy an
10035 existing atomic window in case the new window gets nested
10036 inside.
10037 (display-buffer-at-bottom): Ignore minibuffer window when
10038 walking window tree. Don't split a side window.
10039 (pop-to-buffer): Don't set-buffer here, the select-window call
10040 should do that.
10041 (mouse-autoselect-window-select): Autoselect only if we are in the
10042 text portion of the window.
10043
8259030d
LMI
100442013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10045
21c58ae2
LMI
10046 * net/shr.el (shr-parse-image-data): New function to grab both the
10047 data itself and the Content-Type.
10048 (shr-put-image): Use it.
10049
10050 * net/eww.el (eww-display-image): Ditto.
10051
8259030d
LMI
10052 * image.el (image-content-type-suffixes): New variable.
10053
ad756449
FEG
100542013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10055
10056 * progmodes/python.el (python-imenu--build-tree)
10057 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10058
f73f4ce6
XF
100592013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10060
10061 * simple.el (backward-word): Mention the optional argument.
10062
1f585e65
SM
100632013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * frameset.el (frameset--make): Rename constructor from make-frameset.
10066 (frameset-p, frameset-valid-p): Don't autoload.
10067 (frameset-valid-p): Use normal accessors.
10068
af1c6c84
GM
100692013-08-13 Glenn Morris <rgm@gnu.org>
10070
55e47f95
GM
10071 * progmodes/compile.el (compile-command): Tweak example in doc.
10072 * obsolete/scribe.el (scribe-mode):
10073 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10074
f0024d8c
GM
10075 * mail/feedmail.el (feedmail-confirm-outgoing)
10076 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10077
10078 * cus-start.el (truncate-partial-width-windows): Fix type.
10079
10080 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10081
af1c6c84
GM
10082 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10083
5514cc4c
SM
100842013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * emacs-lisp/timer.el (timer--time-setter): New function.
10087 (timer--time): Use it as gv-setter.
10088
10089 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10090 setter is not a symbol.
10091
7997a2f1
GJ
100922013-08-12 Grégoire Jadi <daimrod@gmail.com>
10093
10094 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10095 if sending fails. This makes debugging easier.
10096
01f1a9ab
JB
100972013-08-12 Juanma Barranquero <lekktu@gmail.com>
10098
10099 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10100 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10101 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10102
594a4307
EZ
101032013-08-12 Eli Zaretskii <eliz@gnu.org>
10104
10105 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10106
7a22490f 101072013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
10108
10109 * format.el (format-annotate-function):
10110 Handle read-only text properties in the source. (Bug#14887)
10111
3e41a054
LMI
101122013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10113
5514cc4c
SM
10114 * net/eww.el (eww-display-html): Ignore coding system errors.
10115 One web site uses "utf-8lias" as the coding system.
3e41a054 10116
7ec326db
JB
101172013-08-11 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10120
5660113b
JB
101212013-08-10 Juanma Barranquero <lekktu@gmail.com>
10122
9a4ebc74
JB
10123 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10124 (tutorial--detailed-help): Remove unused local variables.
10125 (tutorial--save-tutorial-to): Use ignore-errors.
10126 (help-with-tutorial): Use looking-at-p.
10127
10128 * view.el (view-buffer-other-window, view-buffer-other-frame):
10129 Mark unused arguments.
10130
10131 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10132 (woman-select-symbol-fonts, woman, woman-find-file)
10133 (woman-insert-file-contents, woman-non-underline-faces):
10134 Use string-match-p.
10135 (woman1-unquote): Move declaration.
10136
10137 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10138 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10139 argument. Remove unused local variable.
10140 (xml-parse-elem-type): Use string-match-p.
10141 (xml-substitute-numeric-entities): Use ignore-errors.
10142
45fdb482
JB
10143 * calculator.el (calculator): Mark unused argument.
10144 (calculator-paste, calculator-quit, calculator-integer-p):
10145 Use ignore-errors.
10146 (calculator-string-to-number, calculator-decimal, calculator-exp)
10147 (calculator-op-or-exp): Use string-match-p.
10148
10149 * dired.el (dired-buffer-more-recently-used-p): Declare.
10150 (dired-insert-set-properties, dired-insert-old-subdirs):
10151 Use ignore-errors.
10152
10153 * dired-aux.el (dired-compress): Use ignore-errors.
10154 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10155 (dired-do-async-shell-command, dired-do-shell-command)
10156 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10157 (dired-insert-subdir-validate): Use string-match-p.
10158 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10159 (dired-add-entry): Use string-match-p, looking-at-p.
10160 (dired-insert-subdir-newpos): Remove unused local variable.
10161
10162 * filenotify.el (file-notify-callback): Remove unused local variable.
10163
10164 * filesets.el (filesets-error): Mark unused argument.
10165 (filesets-which-command-p, filesets-filter-dir-names)
10166 (filesets-directory-files, filesets-get-external-viewer)
10167 (filesets-ingroup-get-data): Use string-match-p.
10168
10169 * find-file.el (ff-other-file-name, ff-other-file-name)
10170 (ff-find-the-other-file, ff-cc-hh-converter):
10171 Remove unused local variables.
10172 (ff-get-file-name): Use string-match-p.
10173 (ff-all-dirs-under): Use ignore-errors.
10174
10175 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10176 (follow-select-if-visible): Remove unused local variable.
10177
10178 * forms.el (read-file-filter): Move declaration.
10179 (forms--make-format, forms--make-parser, forms-insert-record):
10180 Quote function with #'.
10181 (forms--update): Use string-match-p. Quote function with #'.
10182
10183 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10184 (help-make-xrefs): Use looking-at-p.
10185 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10186
10187 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10188 (ibuffer-confirm-operation-on): Use string-match-p.
10189
10190 * msb.el (msb-item-handler, msb-dired-item-handler):
10191 Mark unused arguments.
10192
10193 * ses.el (ses-decode-cell-symbol)
10194 (ses-kill-override): Remove unused local variable.
10195 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10196 (ses-load): Use ignore-errors, looking-at-p.
10197 (ses-jump-safe): Use ignore-errors.
10198 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10199
10200 * tabify.el (untabify, tabify): Mark unused arguments.
10201
10202 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10203 Mark unused argument.
10204 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10205 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10206
c880af52
JB
10207 * emacs-lisp/timer.el (timer--time): Define setter with
10208 gv-define-setter to avoid deprecation warning.
10209
5660113b 10210 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 10211 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
10212 (cmpl-statistics-block): Remove (body was commented out).
10213 All callers changed.
10214 (add-completions-from-buffer, load-completions-from-file):
10215 Remove unused variables.
10216
156aab80
JB
102172013-08-09 Juanma Barranquero <lekktu@gmail.com>
10218
5c5dee78
JB
10219 * filecache.el (file-cache-delete-file-list):
10220 Print message only when told so.
10221 (file-cache-files-matching): Use #' in mapconcat argument.
10222
156aab80
JB
10223 * ffap.el (ffap-url-at-point): Fix reference to variable
10224 thing-at-point-default-mail-uri-scheme.
10225
ad9dcd70
SM
102262013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10227
54bd972f
SM
10228 * subr.el (define-error): New function.
10229 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10230 error-file-not-found and define with define-error.
10231 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10232 and define with define-error.
10233 * userlock.el (file-locked, file-supersession):
10234 * simple.el (mark-inactive):
10235 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10236 * progmodes/ada-mode.el (ada-mode-errors):
10237 * play/life.el (life-extinct):
10238 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10239 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10240 * nxml/rng-util.el (rng-error):
10241 * nxml/rng-uri.el (rng-uri-error):
10242 * nxml/rng-match.el (rng-compile-error):
10243 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10244 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10245 * nxml/nxml-rap.el (nxml-scan-error):
10246 * nxml/nxml-outln.el (nxml-outline-error):
10247 * net/soap-client.el (soap-error):
10248 * net/gnutls.el (gnutls-error):
10249 * net/ange-ftp.el (ftp-error):
10250 * mpc.el (mpc-proc-error):
10251 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10252 (json-number-format, json-string-escape, json-string-format)
10253 (json-key-format, json-object-format):
10254 * jka-compr.el (compression-error):
10255 * international/quail.el (quail-error):
10256 * international/kkc.el (kkc-error):
10257 * emacs-lisp/ert.el (ert-test-failed):
10258 * calc/calc.el (calc-error, inexact-result, math-overflow)
10259 (math-underflow):
10260 * bookmark.el (bookmark-error-no-filename):
10261 * epg.el (epg-error): Define with define-error.
10262
0ea9e53a
SM
10263 * time.el (display-time-event-handler)
10264 (display-time-next-load-average): Don't call sit-for since it seems
10265 unnecessary (bug#15045).
10266
b0429158
SM
10267 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10268 Use #' instead of ' to quote functions.
10269 (checkdoc-output-mode): Use setq-local.
10270 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10271 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10272 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10273 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10274 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10275 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10276 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10277 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10278
ad9dcd70
SM
10279 * ido.el (ido-completion-help): Fix up compiler warning.
10280
77187e6f
JB
102812013-08-09 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * frameset.el (frameset-p): Add autoload cookie.
10284 (frameset--jump-to-register): New function, based on code moved from
10285 register.el.
10286 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10287
10288 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10289 (frameset-restore, frameset-save, frameset-session-filter-alist):
10290 Remove declarations.
10291 (register-alist): Doc fix.
10292 (frameset-to-register): Move to frameset.el.
10293 (jump-to-register, describe-register-1): Remove frameset-specific code.
10294
9d3aa82c
JB
102952013-08-08 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * allout-widgets.el (allout-widgets-pre-command-business)
10298 (allout-widgets-post-command-business)
10299 (allout-widgets-after-change-handler)
10300 (allout-decorate-item-and-context, allout-set-boundary-marker)
10301 (allout-body-modification-handler)
10302 (allout-graphics-modification-handler): Mark ignored arguments.
10303 (allout-widgets-post-command-business)
10304 (allout-widgets-exposure-change-processor)
10305 (allout-widgets-exposure-undo-processor)
10306 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10307 (allout-parse-item-at-point, allout-decorate-item-guides)
10308 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10309 * allout.el (epa-passphrase-callback-function): Declare.
10310 (allout-overlay-insert-in-front-handler)
10311 (allout-overlay-interior-modification-handler)
10312 (allout-isearch-end-handler, allout-chart-siblings)
10313 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10314 (allout-yank-processing, allout-process-exposed)
10315 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 10316 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
10317 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10318 (lisp-indent-defform): Mark ignored arguments.
10319 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10320 (calculate-lisp-indent): Remove unused variables.
10321 * international/characters.el (indian-2-column, arabic-2-column)
10322 (tibetan): Mark ignored arguments.
10323 (use-cjk-char-width-table): Mark ignored arguments.
10324 Remove unused variables.
10325 * international/fontset.el (build-default-fontset-data)
10326 (x-compose-font-name, create-fontset-from-fontset-spec):
10327 Mark ignored arguments.
10328 (fontset-plain-name): Remove unused variables.
10329 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10330 (keyboard-coding-system): Mark ignored arguments.
10331 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10332 * help.el (resize-temp-buffer-window):
10333 * window.el (display-buffer-in-major-side-window)
10334 (display-buffer-in-side-window, display-buffer-in-previous-window):
10335 Remove unused variables.
10336 * isearch.el (isearch-forward-symbol):
10337 * version.el (emacs-bzr-version-bzr):
10338 * international/mule-cmds.el (current-language-environment):
10339 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10340 (x-handle-display):
10341 * term/pc-win.el (x-list-fonts, x-display-planes)
10342 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10343 (x-server-version, x-display-screens, x-display-mm-height)
10344 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10345 (x-selection-owner-p, x-own-selection-internal)
10346 (x-disown-selection-internal, x-get-selection-internal)
10347 (msdos-initialize-window-system):
10348 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10349 * term/x-win.el (x-handle-no-bitmap-icon):
10350 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10351 (vc-default-find-file-hook, vc-default-extra-menu):
10352 Mark ignored arguments.
10353
0ca3f70e
SM
103542013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10357 break-condition in the context of the debugged code (bug#12685).
10358
74c5d24c
CS
103592013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10360
10361 * comint.el:
10362 Do not use an overlay to highlight the last prompt. (Bug#14744)
10363 (comint-mode): Make comint-last-prompt buffer local.
10364 (comint-last-prompt): New variable.
10365 (comint-last-prompt-overlay): Remove. Superseded by
10366 comint-last-prompt.
0ca3f70e
SM
10367 (comint-snapshot-last-prompt, comint-output-filter):
10368 Use comint-last-prompt.
74c5d24c 10369
c03c02ee
JB
103702013-08-08 Juanma Barranquero <lekktu@gmail.com>
10371
a3738d20 10372 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
10373 (frameset-save): Check validity of the resulting frameset.
10374
04263d23
XF
103752013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10376
10377 * ido.el (ido-record-command): Add doc string.
10378
76c5e5ab
JB
103792013-08-08 Juanma Barranquero <lekktu@gmail.com>
10380
10381 * frameset.el (frameset): Do not disable creation of the default
10382 frameset-p predicate. Doc fix.
10383 (frameset-valid-p): New function, copied from the old predicate-p.
10384 Add additional checks.
10385 (frameset-restore): Check with frameset-valid-p.
10386 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10387 (frameset-name, frameset-description, frameset-properties)
10388 (frameset-states): Add docstring.
f9dbf1cb
JB
10389 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10390 (frameset-filter-alist): Doc fixes.
76c5e5ab 10391
bd0c3c0b
JB
103922013-08-08 Juanma Barranquero <lekktu@gmail.com>
10393
10394 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10395
c735544c
SM
103962013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10397
10398 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10399 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10400 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10401 (byte-compile-normal-call): Remove obsolescence check.
10402
2805a651
JB
104032013-08-08 Juanma Barranquero <lekktu@gmail.com>
10404
3677ffeb
JB
10405 * frameset.el (frameset-restore): Doc fix.
10406
2805a651
JB
10407 * register.el (frameset-frame-id, frameset-frame-with-id)
10408 (frameset-p, frameset-restore, frameset-save): Declare.
10409 (register-alist): Document framesets.
10410 (frameset-session-filter-alist): Declare.
10411 (frameset-to-register): New function.
10412 (jump-to-register): Implement jumping to framesets. Doc fix.
10413 (describe-register-1): Describe framesets.
10414
10415 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10416
a912c016
JB
104172013-08-07 Juanma Barranquero <lekktu@gmail.com>
10418
10419 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10420 Use lexical-binding.
10421
10422 * frameset.el (frameset): Use type vector, not list (incompatible
10423 change). Do not declare a new constructor, use the default one.
10424 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10425 `name' and `description', respectively, and add read-only slot
10426 `timestamp'. Doc fixes.
10427 (frameset-copy, frameset-persistent-filter-alist)
10428 (frameset-filter-alist, frameset-switch-to-gui-p)
10429 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10430 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10431 (frameset-filter-iconified, frameset-keep-original-display-p):
10432 Doc fixes.
10433 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10434 Rename from frameset-filter-(save|restore)-param. All callers changed.
10435 Doc fix.
10436 (frameset-p): Adapt to change to vector and be more thorough.
10437 Change arg name to OBJECT. Doc fix.
10438 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10439 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10440 All callers changed.
10441 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10442 All callers changed.
10443 (frameset--record-minibuffer-relationships): Rename from
10444 frameset--process-minibuffer-frames. All callers changed.
10445 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10446 Use new default constructor (again). Doc fix.
c295fc18 10447 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
10448 All callers changed.
10449 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10450 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10451 Doc fix.
10452 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10453 PARAMETERS and WINDOW-STATE, respectively.
10454 (frameset-restore): Add new keyword argument PREDICATE.
10455 Reset frameset--target-display to nil. Doc fix.
10456
bb41480a
SM
104572013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10458
f001e98e
SM
10459 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10460 (bat-mode): Use it.
10461 (bat-mode-syntax-table): Mark \n as end-of-comment.
10462 (bat-font-lock-keywords): Remove comment rule.
10463
7679edb1
SM
10464 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10465 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10466
bb41480a
SM
10467 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10468 (byte-compile-callargs-warn): Use `push'.
10469 (byte-compile-arglist-warn): Ignore higher-order "calls".
10470 (byte-compile-file-form-autoload): Use `pcase'.
10471 (byte-compile-function-form): If quoting a symbol, check that it exists.
10472
cdc1ebb9
EZ
104732013-08-07 Eli Zaretskii <eliz@gnu.org>
10474
10475 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10476 and add a few popular commands found in batch files.
10477 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10478 (dos-mode): Doc fixes.
10479
312b1740
SM
104802013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10483 (dos-mode): Use setq-local. Add space after "rem".
10484 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10485 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10486
400a3178
AM
104872013-08-07 Arni Magnusson <arnima@hafro.is>
10488
10489 * progmodes/dos.el: New file.
10490 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10491 dos-mode.
10492
3b5c03d3
GM
104932013-08-06 Glenn Morris <rgm@gnu.org>
10494
10495 * calendar/calendar.el: Add new faces, and day-header-array.
10496 (calendar-weekday-header, calendar-weekend-header)
10497 (calendar-month-header): New faces.
10498 (calendar-day-header-construct): New function.
10499 (calendar-day-header-width): Also :set calendar-day-header-array.
10500 (calendar-american-month-header, calendar-european-month-header)
10501 (calendar-iso-month-header): Use calendar- faces.
10502 (calendar-generate-month):
10503 Use calendar-day-header-array for day headers; apply faces to them.
10504 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10505 (calendar-abbrev-construct): Add optional maxlen argument.
10506 (calendar-day-name-array): Doc fix.
10507 (calendar-day-name-array, calendar-abbrev-length)
10508 (calendar-day-abbrev-array):
10509 Also :set calendar-day-header-array, and maybe redraw.
10510 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 10511 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
10512 (calendar-day-name): Add option to use header array.
10513
ec6a2d7a
LMI
105142013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10515
10516 * net/shr.el (shr-render-td): Remove debugging.
10517 (shr-render-td): Make width computation consistent by defaulting
10518 all zero-width columns to 10 characters. This may not be optimal,
10519 but it's at least consistent.
2122cb6d
LMI
10520 (shr-make-table-1): Redo last change to fix the real problem in
10521 colspan handling.
ec6a2d7a 10522
ed4fd9c5
DA
105232013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10524
0ca3f70e
SM
10525 * files.el (cache-long-line-scans):
10526 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 10527
64e22afe
JB
105282013-08-06 Juanma Barranquero <lekktu@gmail.com>
10529
024b38fc
JB
10530 * frameset.el (frameset, frameset-filter-alist)
10531 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10532 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10533 (frameset-compute-pos): Rename from frameset--compute-pos,
10534 and add docstring.
10535 (frameset-move-onscreen): Use frameset-compute-pos.
10536 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10537
64e22afe
JB
10538 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10539 Fix typos in docstrings.
10540
c8c2aca8
DA
105412013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10542
10543 * frame.el (get-other-frame): Tiny cleanup.
10544
1d237bba
JB
105452013-08-06 Juanma Barranquero <lekktu@gmail.com>
10546
8951efef
JB
10547 * vc/vc.el (vc-default-ignore-completion-table):
10548 Silence byte-compiler warning.
10549
307764cc 10550 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 10551 slot, which can indeed be nil.
307764cc
JB
10552 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10553 Move entry for `left' from persistent to live filter alist.
10554 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10555 Doc fixes.
10556 (frameset-filter-params): When restoring a frame, copy items added to
10557 `filtered', to avoid unwittingly modifying the original parameters.
10558 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10559 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10560
1d237bba
JB
10561 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10562 to use looking-at-p instead of looking-at. (Bug#15028)
10563
dc6c0eda
SM
105642013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 Revert introduction of isearch-filter-predicates (bug#14714).
10567 Rely on add-function instead.
10568 * isearch.el (isearch-filter-predicates): Rename it back to
10569 isearch-filter-predicate.
10570 (isearch-message-prefix): Use advice-function-mapc and advice
10571 properties to get the isearch-message-prefix.
10572 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10573 instead of run-hook-with-args-until-failure.
10574 (isearch-filter-visible): Not obsolete any more.
10575 * loadup.el: Preload nadvice.
10576 * replace.el (perform-replace): Revert to funcall
10577 instead of run-hook-with-args-until-failure.
10578 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10579 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10580 dired-isearch-filenames-toggle; make it into a proper minor mode.
10581 Use add/remove-function.
10582 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10583 Call the minor-mode rather than add/remove-hook.
10584 (dired-isearch-filter-filenames):
10585 Remove isearch-message-prefix property.
10586 * info.el (Info--search-loop): New function, extracted from Info-search.
10587 Funcall isearch-filter-predicate instead of
10588 run-hook-with-args-until-failure isearch-filter-predicates.
10589 (Info-search): Use it.
10590 (Info-mode): Use isearch-filter-predicate instead of
10591 isearch-filter-predicates.
10592
290d5b58
DA
105932013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10594
10595 Do not call to `selected-window' where it is assumed by default.
10596 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10597 `window-hscroll', `window-width', `window-height', `window-buffer',
10598 `window-frame', `window-start', `window-point', `next-window'
10599 and `window-display-table'.
10600 * abbrev.el (abbrev--default-expand):
10601 * bs.el (bs--show-with-configuration):
10602 * buff-menu.el (Buffer-menu-mouse-select):
10603 * calc/calc.el (calc):
10604 * calendar/calendar.el (calendar-generate-window):
10605 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10606 (diary-make-entry):
10607 * comint.el (send-invisible, comint-dynamic-complete-filename)
10608 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10609 * completion.el (complete):
10610 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10611 * disp-table.el (describe-current-display-table):
10612 * doc-view.el (doc-view-insert-image):
10613 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10614 * ehelp.el (with-electric-help):
10615 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10616 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10617 * emacs-lisp/helper.el (Helper-help-scroller):
10618 * emulation/cua-base.el (cua--post-command-handler-1):
10619 * eshell/esh-mode.el (eshell-output-filter):
10620 * ffap.el (ffap-gnus-wrapper):
10621 * help-macro.el (make-help-screen):
10622 * hilit-chg.el (highlight-compare-buffers):
10623 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10624 * hl-line.el (global-hl-line-highlight):
10625 * icomplete.el (icomplete-simple-completing-p):
10626 * isearch.el (isearch-done):
10627 * jit-lock.el (jit-lock-stealth-fontify):
10628 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 10629 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
10630 * mpc.el (mpc-tagbrowser, mpc):
10631 * net/rcirc.el (rcirc-any-buffer):
10632 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10633 * play/landmark.el (landmark-max-width, landmark-max-height):
10634 * play/zone.el (zone):
10635 * progmodes/compile.el (compilation-goto-locus):
10636 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10637 * progmodes/etags.el (find-tag-other-window):
10638 * progmodes/fortran.el (fortran-column-ruler):
10639 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10640 * progmodes/verilog-mode.el (verilog-point-text):
10641 * reposition.el (reposition-window):
10642 * rot13.el (toggle-rot13-mode):
10643 * server.el (server-switch-buffer):
10644 * shell.el (shell-dynamic-complete-command)
10645 (shell-dynamic-complete-environment-variable):
10646 * simple.el (insert-buffer, set-selective-display)
10647 (delete-completion-window):
10648 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10649 (speedbar-recenter):
10650 * startup.el (fancy-splash-head):
10651 * textmodes/ispell.el (ispell-command-loop):
10652 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10653 * tutorial.el (help-with-tutorial):
10654 * vc/add-log.el (add-change-log-entry):
10655 * vc/compare-w.el (compare-windows):
10656 * vc/ediff-help.el (ediff-indent-help-message):
10657 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10658 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10659 (ediff-setup-control-frame):
10660 * vc/emerge.el (emerge-position-region):
10661 * vc/pcvs-util.el (cvs-bury-buffer):
10662 * window.el (walk-windows, mouse-autoselect-window-select):
10663 * winner.el (winner-set-conf, winner-undo): Related users changed.
10664
38276e01
JB
106652013-08-05 Juanma Barranquero <lekktu@gmail.com>
10666
10667 * frameset.el (frameset--set-id): Doc fix.
10668 (frameset-frame-id, frameset-frame-id-equal-p)
10669 (frameset-locate-frame-id): New functions.
10670 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10671 (frameset-restore): Use them.
10672
12b4c0ea
DA
106732013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10674
10675 Do not call to `selected-frame' where it is assumed by default.
10676 Affected functions are `raise-frame', `redraw-frame',
10677 `frame-first-window', `frame-terminal' and `delete-frame'.
10678 * calendar/appt.el (appt-disp-window):
10679 * epg.el (epg-wait-for-completion):
10680 * follow.el (follow-delete-other-windows-and-split)
10681 (follow-avoid-tail-recenter):
10682 * international/mule.el (set-terminal-coding-system):
10683 * mail/rmail.el (rmail-mail-return):
10684 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10685 * progmodes/f90.el (f90-add-imenu-menu):
10686 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10687 * server.el (server-switch-buffer):
10688 * simple.el (delete-completion-window):
10689 * talk.el (talk):
10690 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10691 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10692 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10693 * vc/ediff.el (ediff-documentation): Related users changed.
10694 * frame.el (selected-terminal): Remove the leftover.
10695
17f25e76
GM
106962013-08-05 Glenn Morris <rgm@gnu.org>
10697
10698 * calendar/calendar.el (calendar-generate-month):
10699 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
10700 (calendar-generate-month, calendar-font-lock-keywords):
10701 Fix for calendar-day-header-width > length of any day name.
17f25e76 10702
063233c3
JB
107032013-08-05 Juanma Barranquero <lekktu@gmail.com>
10704
10705 * desktop.el (desktop-clear): Use new name of sort predicate.
10706
10707 * frameset.el (frameset): Add docstring. Move :version property to its
10708 own `version' slot.
10709 (frameset-copy): Rename from copy-frameset.
10710 (frameset-p): Check more thoroughly.
10711 (frameset-prop): Do not check for :version, which is no longer a prop.
10712 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10713 Use new :never value instead of t.
10714 (frameset-filter-alist): Expand and clarify docstring.
10715 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10716 (frameset-filter-minibuffer, frameset-filter-save-param)
10717 (frameset-filter-restore-param, frameset-filter-iconified):
10718 Add pointer to docstring of frameset-filter-alist.
10719 (frameset-filter-params): Rename filter values to be more meaningful:
10720 :never instead of t, and reverse the meanings of :save and :restore.
10721 (frameset--process-minibuffer-frames): Clarify error message.
10722 (frameset-save): Avoid unnecessary and confusing call to framep.
10723 Use new BOA constructor for framesets.
10724 (frameset--reuse-list): Doc fix.
10725 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10726 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10727 (frameset-minibufferless-first-p): Doc fix.
10728 Rename from frameset-sort-frames-for-deletion.
10729 (frameset-restore): Doc fixes. Use new function names.
10730 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10731
d5671a82
JB
107322013-08-04 Juanma Barranquero <lekktu@gmail.com>
10733
10734 * desktop.el (desktop-restore-forces-onscreen)
10735 (desktop-restore-reuses-frames): Document :keyword constant values.
10736 (desktop-filter-parameters-alist): Remove, now identical to
10737 frameset-filter-alist.
10738 (desktop--filter-tty*): Remove, moved to frameset.el.
10739 (desktop-save-frameset, desktop-restore-frameset):
10740 Do not pass :filters argument.
10741
10742 * frameset.el (frameset-live-filter-alist)
10743 (frameset-persistent-filter-alist): New variables.
10744 (frameset-filter-alist): Use them. Add autoload cookie.
10745 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10746 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10747 `frameset--id' (it's supposed to be internal to frameset.el).
10748 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10749 (frameset--initial-params): New function.
10750 (frameset--get-frame): Use it. Doc fix.
10751 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10752 Accept :all, not 'all.
10753 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10754 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10755 with fbound symbols. Fix frame id matching, and remove matching ids if
10756 the frame being restored is deleted. Obey :delete.
10757
671d5c16
SM
107582013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10759
10760 * subr.el (macrop): New function.
10761 (text-clone--maintaining): New var.
10762 (text-clone--maintain): Rename from text-clone-maintain. Use it
10763 instead of inhibit-modification-hooks.
10764
10765 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10766 a proxy, so as handle autoloads and redefinitions of the target.
10767 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10768
10769 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10770 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10771 (pcase--mutually-exclusive-p): New function.
10772 (pcase--split-consp): Use it.
10773 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10774 mutually exclusive with the current predicate.
10775
10776 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10777 (edebug-macrop): Remove. Use `macrop' instead.
10778 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10779 (ad-macro-p):
10780 * eshell/esh-cmd.el (eshell-macrop):
10781 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10782
1d44e9dc
SM
107832013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10786 (advice-mapc): New function, using it.
10787 (advice-function-member-p): New function.
10788 (advice--normalize): Store the cdr in advice--saved-rewrite since
10789 that's the part that will be changed.
10790 (advice--symbol-function): New function.
10791 (advice-remove): Handle removal before the function is defined.
10792 Adjust to new advice--saved-rewrite.
10793 (advice-member-p): Use advice-function-member-p and
10794 advice--symbol-function.
10795
5414a283
JB
107962013-08-04 Juanma Barranquero <lekktu@gmail.com>
10797
51d30f2c
JB
10798 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10799 (frameset-filter-minibuffer): Doc fix.
10800 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
10801 (frameset--set-id, frameset--process-minibuffer-frames)
10802 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10803 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 10804
5414a283
JB
10805 * desktop.el (desktop-clear): Only delete frames when called
10806 interactively and desktop-restore-frames is non-nil. Doc fix.
10807 (desktop-read): Set desktop-saved-frameset to nil.
10808
ab419665
XF
108092013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10810
10811 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 10812 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
10813 (vc--add-line, vc--remove-regexp): New functions.
10814
10815 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10816 (vc-svn-ignore-completion-table): New function.
10817
10818 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 10819 (vc-hg-ignore-completion-table)
ab419665
XF
10820 (vc-hg-find-ignore-file): New functions.
10821
10822 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 10823 (vc-git-ignore-completion-table)
ab419665
XF
10824 (vc-git-find-ignore-file): New functions.
10825
10826 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10827
10828 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 10829 (vc-bzr-ignore-completion-table)
ab419665
XF
10830 (vc-bzr-find-ignore-file): New functions.
10831
2613dea2
JB
108322013-08-03 Juanma Barranquero <lekktu@gmail.com>
10833
10834 * frameset.el (frameset-prop): New function and setter.
10835 (frameset-save): Do not modify frame list passed by the caller.
10836
9c959872
SM
108372013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10838
10839 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10840
a104f656
SM
108412013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10842
70122acf
SM
10843 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10844 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10845
a104f656
SM
10846 * custom.el (custom-initialize-default, custom-initialize-set)
10847 (custom-initialize-reset, custom-initialize-changed): Affect the
10848 toplevel-default-value (bug#6275, bug#14586).
10849 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10850 for bug#6275.
10851
f078d570
JB
108522013-08-02 Juanma Barranquero <lekktu@gmail.com>
10853
185e3b5a
JB
10854 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10855 Add cl-def* expressions.
10856
f078d570
JB
10857 * frameset.el (frameset-filter-params): Fix order of arguments.
10858
9421876d
JB
108592013-08-02 Juanma Barranquero <lekktu@gmail.com>
10860
10861 Move code related to saving frames to frameset.el.
10862 * desktop.el: Require frameset.
10863 (desktop-restore-frames): Doc fix.
10864 (desktop-restore-reuses-frames): Rename from
10865 desktop-restoring-reuses-frames.
10866 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10867 (desktop-clear): Clear frames too.
10868 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10869 (desktop--filter-tty*, desktop-save, desktop-read):
10870 Use frameset functions.
10871 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10872 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10873 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10874 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10875 (desktop--process-minibuffer-frames, desktop-save-frames)
10876 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10877 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10878 (desktop--sort-states, desktop-restoring-frames-p)
10879 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10880 (desktop-restoring-frameset-p, desktop-restore-frameset)
10881 (desktop--check-dont-save, desktop-save-frameset): New functions.
10882 (desktop--app-id): New constant.
10883 (desktop-first-buffer, desktop-buffer-ok-count)
10884 (desktop-buffer-fail-count): Move before first use.
10885 * frameset.el: New file.
10886
76dc5996
SM
108872013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * files.el: Use lexical-binding.
10890 (dir-locals-read-from-file): Remove unused `err' variable.
10891 (hack-dir-local-variables--warned-coding): New var.
10892 (hack-dir-local-variables): Use it to avoid repeated warnings.
10893 (make-backup-file-name--default-function): New function.
10894 (make-backup-file-name-function): Use it as default.
10895 (buffer-stale--default-function): New function.
10896 (buffer-stale-function): Use it as default.
10897 (revert-buffer-insert-file-contents--default-function): New function.
10898 (revert-buffer-insert-file-contents-function): Use it as default.
10899 (insert-directory): Avoid add-to-list.
10900
10901 * autorevert.el (auto-revert-handler): Simplify.
10902 Use buffer-stale--default-function.
10903
06d36e2b
TH
109042013-08-01 Tassilo Horn <tsdh@gnu.org>
10905
5f648ab4
TH
10906 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10907
06d36e2b
TH
10908 * whitespace.el (whitespace-ensure-local-variables): New function.
10909 (whitespace-cleanup-region): Call it.
10910 (whitespace-turn-on): Call it.
10911
a43dc424
MA
109122013-08-01 Michael Albinus <michael.albinus@gmx.de>
10913
10914 Complete file name handlers.
10915
10916 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10917 (tramp-handle-verify-visited-file-modtime)
10918 (tramp-handle-file-notify-rm-watch): New functions.
10919 (tramp-call-process): Do not bind `default-directory'.
10920
44e18199
JB
10921 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10922 Order alphabetically.
afe1e4c8
GM
10923 <access-file, add-name-to-file, dired-call-process>:
10924 <dired-compress-file, file-acl, file-notify-rm-watch>:
10925 <file-ownership-preserved-p, file-selinux-context>:
10926 <make-directory-internal, make-symbolic-link, set-file-acl>:
10927 <set-file-selinux-context, set-visited-file-modtime>:
10928 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10929 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10930
10931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10932 <file-notify-add-watch, file-notify-rm-watch>:
10933 <set-file-times, set-visited-file-modtime>:
10934 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10935 (with-tramp-gvfs-error-message)
10936 (tramp-gvfs-handle-set-visited-file-modtime)
10937 (tramp-gvfs-fuse-file-name): Remove.
10938 (tramp-gvfs-handle-file-notify-add-watch)
10939 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10940 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10941
44e18199
JB
10942 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10943 Order alphabetically.
afe1e4c8
GM
10944 <file-notify-rm-watch>: Use default Tramp handler.
10945 <executable-find>: Remove private handler.
a43dc424
MA
10946 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10947 `default-directory'.
10948 (tramp-sh-handle-executable-find)
10949 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10950 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10951 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10952 Do not use `format' in `tramp-message'.
10953
10954 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10955 <file-notify-rm-watch, set-visited-file-modtime>:
10956 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10957 (tramp-smb-call-winexe): Do not bind `default-directory'.
10958
7188b515
XF
109592013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10960
10961 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10962
2412ee1a
DG
109632013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10964
10965 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10966 use it.
10967 (log-view-diff-changeset): Same.
10968 (log-view-diff-common): Call backend command `previous-revision'
10969 to find out the previous revision, in both cases. Swap the
10970 variables `to' and `fr', so that `fr' usually refers to the
10971 earlier revision (Bug#14989).
10972
5002a754
KRC
109732013-07-31 Kan-Ru Chen <kanru@kanru.info>
10974
10975 * ibuf-ext.el (ibuffer-filter-by-filename):
10976 Make it work with dired buffers too.
10977
44e18199 109782013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10979
10980 * emacs-lisp/re-builder.el (reb-color-display-p):
10981 * files.el (save-buffers-kill-terminal):
10982 * net/browse-url.el (browse-url):
10983 * server.el (server-save-buffers-kill-terminal):
10984 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10985 Prefer nil to selected-frame for the first arg of frame-parameter.
10986
aeca3fbb
XF
109872013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10988
10989 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10990
158bc55c
SB
109912013-07-30 Stephen Berman <stephen.berman@gmx.net>
10992
10993 * minibuffer.el (completion--twq-all): Try and preserve each
10994 completion's case choice (bug#14907).
10995
d50fceab
LMI
109962013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10997
ac38e731
LMI
10998 * net/network-stream.el (open-network-stream): Mention the new
10999 :nogreeting parameter.
11000 (network-stream-open-starttls): Use the :nogreeting parameter
11001 (bug#14938).
11002
1211de50
LMI
11003 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11004
997798bf
LMI
11005 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11006 more natural than popping.
11007
d50fceab 11008 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 11009 (shr-urlify): Highlight under mouse.
d50fceab 11010
5c09de04
XF
110112013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11012
207d1d04
XF
11013 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11014
11015 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11016
5c09de04
XF
11017 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11018 buffer for output.
11019
3cd51eaa
XF
11020 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11021 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 11022
44e18199 11023 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 11024 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
11025
11026 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11027
11028 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11029 buffer for output.
11030
35a89bdd
EZ
110312013-07-29 Eli Zaretskii <eliz@gnu.org>
11032
11033 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11034 initial frame is minibuffer-less. (Bug#14841)
11035
78822e94
MA
110362013-07-29 Michael Albinus <michael.albinus@gmx.de>
11037
11038 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11039 option.
11040
11041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11042 (tramp-maybe-open-connection): Use it.
11043
9503c190
JB
110442013-07-28 Juanma Barranquero <lekktu@gmail.com>
11045
11046 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11047 minimal set of parameters passed when creating a frame, because
11048 the minibuffer status of a frame cannot be changed later.
11049
d5a845b4
SB
110502013-07-28 Stephen Berman <stephen.berman@gmx.net>
11051
11052 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11053 replace-regexp-in-string and inadvertent omissions in previous change.
11054 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 11055 name of filtered items buffer.
d5a845b4 11056
ddeffb17
JB
110572013-07-28 Juanma Barranquero <lekktu@gmail.com>
11058
11059 * desktop.el: Optionally force offscreen frames back onscreen.
11060 (desktop-restoring-reuses-frames): New option.
11061 (desktop--compute-pos, desktop--move-onscreen): New functions.
11062 (desktop--make-frame): Use desktop--move-onscreen.
11063
f5950f7a
AM
110642013-07-27 Alan Mackenzie <acm@muc.de>
11065
11066 Fontify a Java generic method as a function.
11067 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11068 value to t.
11069
ae43b66a
SB
110702013-07-27 Stephen Berman <stephen.berman@gmx.net>
11071
11072 * calendar/todo-mode.el: Add command to rename todo files.
11073 (todo-rename-file): New command.
11074 (todo-key-bindings-t): Add key binding for it. Change the
11075 bindings of todo-filter-regexp-items(-multifile) to use `x'
11076 instead of `r', since the latter is better suited to the new
11077 renaming command.
11078
5ab78d3d
AM
110792013-07-27 Alan Mackenzie <acm@muc.de>
11080
11081 Make Java try-with-resources statement parse properly.
11082 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11083 (c-block-stmt-1-2-key): New language constants/variables.
11084 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11085 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11086 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 11087 with c-block-stmt-1-2-key.
5ab78d3d 11088
d85c4d50
JB
110892013-07-27 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * desktop.el (desktop--make-frame): Apply most frame parameters after
11092 creating the frame to force (partially or totally) offscreen frames to
11093 be restored as such.
11094
e4c467f9
XF
110952013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11096
11097 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 11098 (Bug#14948)
e4c467f9 11099
7ced0d04
SM
111002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11103 `base' arg of backtrace-frame.
11104
fec92060
EZ
111052013-07-26 Eli Zaretskii <eliz@gnu.org>
11106
11107 * simple.el (list-processes): Doc fix.
11108
d58d31fb
JB
111092013-07-26 Juanma Barranquero <lekktu@gmail.com>
11110
11111 * desktop.el (desktop--select-frame):
d85c4d50 11112 Try harder to reuse existing frames.
d58d31fb 11113
53ff3e77
SM
111142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11117 (edebug-eval): Use backtrace-eval.
11118 (edebug--display, edebug--recursive-edit): Don't let-bind the
11119 edebug-outer-* vars that keep track of variables we locally let-bind.
11120 (edebug-outside-excursion): Don't restore outside values of locally
11121 let-bound vars.
11122 (edebug--display): Use user-error.
11123 (cl-lexical-debug, cl-debug-env): Remove.
11124
045f7a53
JB
111252013-07-26 Juanma Barranquero <lekktu@gmail.com>
11126
11127 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11128 are restored to be sure that they are visible before deleting any
11129 remaining ones.
11130
59070b32
MM
111312013-07-26 Matthias Meulien <orontee@gmail.com>
11132
742a3501
XF
11133 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11134 vc-print-root-log. (Bug#14948)
59070b32 11135
b1fb3596
RS
111362013-07-26 Richard Stallman <rms@gnu.org>
11137
11138 Add aliases for encrypting mail.
11139 * epa.el (epa-mail-aliases): New option.
11140 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11141 Bind inhibit-read-only so read-only text doesn't ruin everything.
11142 (epa-mail-default-recipients): New subroutine broken out.
11143 Handle epa-mail-aliases.
11144
56ea7291
SM
111452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 Add support for lexical variables to the debugger's `e' command.
11148 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11149 vars, except for debugger-outer-match-data.
11150 (debugger-frame-number): Move check for "on a function call" from
11151 callers into it. Add `skip-base' argument.
11152 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11153 (debugger-env-macro): Only reset the state stored in non-variables,
11154 i.e. current-buffer and match-data.
11155 (debugger-eval-expression): Rewrite using backtrace-eval.
11156 * subr.el (internal--called-interactively-p--get-frame): Remove.
11157 (called-interactively-p):
11158 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11159 `base' arg of backtrace-frame instead.
11160
15ac32d5
GM
111612013-07-26 Glenn Morris <rgm@gnu.org>
11162
8358a09d
GM
11163 * align.el (align-regexp): Doc fix. (Bug#14857)
11164 (align-region): Explicit error if subexpression missing/does not match.
11165
15ac32d5
GM
11166 * simple.el (global-visual-line-mode):
11167 Do not duplicate the mode lighter. (Bug#14858)
11168
f47ad11b
MR
111692013-07-25 Martin Rudalics <rudalics@gmx.at>
11170
11171 * window.el (display-buffer): In display-buffer bind
11172 split-window-keep-point to t, bug#14829.
11173
02530987
JB
111742013-07-25 Juanma Barranquero <lekktu@gmail.com>
11175
11176 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11177 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11178 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11179 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11180 Change accordingly.
f63ebeb5
JB
11181 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11182 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 11183
6ccb9cab 111842013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 11185
6ccb9cab 11186 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 11187
cb3a56d2
JB
111882013-07-25 Juanma Barranquero <lekktu@gmail.com>
11189
11190 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11191 parameter to modify-frame-parameters if the value has not changed;
11192 this is a workaround for bug#14949.
11193 (desktop--make-frame): On cl-delete-if call, check parameter name,
11194 not full parameter.
11195
7aa7fff0
XF
111962013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11197
11198 * vc/vc.el (vc-ignore): New function.
11199
11200 * vc/vc-svn.el (vc-svn-ignore): New function.
11201
11202 * vc/vc-hg.el (vc-hg-ignore): New function.
11203
11204 * vc/vc-git.el (vc-git-ignore): New function.
11205
11206 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11207 (vc-dir-ignore): New function.
11208
11209 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 11210 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
11211
11212 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11213
11214 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11215
889acc5c
JB
112162013-07-24 Juanma Barranquero <lekktu@gmail.com>
11217
11218 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11219 (desktop-restore-frames): Warn when deleting an existing frame failed.
11220
86c40970
GM
112212013-07-24 Glenn Morris <rgm@gnu.org>
11222
11223 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11224
d5d3c58a
MA
112252013-07-24 Michael Albinus <michael.albinus@gmx.de>
11226
11227 * filenotify.el (file-notify-supported-p):
11228 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11229 Remove functions.
11230
35e951cd 11231 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
11232 (auto-revert-notify-add-watch):
11233 * net/tramp.el (tramp-file-name-for-operation):
11234 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11236 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11237 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11238 Remove `file-notify-supported-p' entry.
11239
d100084b
GM
112402013-07-24 Glenn Morris <rgm@gnu.org>
11241
11242 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 11243 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 11244
ac93e56b
SM
112452013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11246
249eea30
SM
11247 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11248 checked with memq (bug#14935).
11249
ac93e56b
SM
11250 * files.el (revert-buffer-function): Use a non-nil default.
11251 (revert-buffer-preserve-modes): Declare var to
11252 provide access to the `preserve-modes' argument.
11253 (revert-buffer): Let-bind it.
11254 (revert-buffer--default): New function, extracted from revert-buffer.
11255
2cdeb903
SM
112562013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * lpr.el: Signal print errors more prominently.
11259 (print-region-function): Don't default to nil.
11260 (lpr-print-region): New function, extracted from print-region-1.
11261 Check lpr's return value and signal an error in case of problem.
11262 (print-region-1): Use it.
11263 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11264 versions instead.
11265 (ps-printer-name): Default to nil.
11266 (ps-printer-name-option): Default to lpr-printer-switch.
11267 (ps-print-region-function): Don't default to nil.
11268 (ps-postscript-code-directory): Simplify default.
11269 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11270 (ps-string-list, ps-eval-switch, ps-flatten-list)
11271 (ps-flatten-list-1): Remove.
11272 (ps-multibyte-buffer): Avoid setq.
11273 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11274 (print-region-function, ps-print-region-function): Don't set them here.
11275
73600831
XF
112762013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11277
35e951cd
JB
11278 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11279 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11280 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
11281 (ido-decorations): Doc fix.
11282
73600831
XF
11283 * ansi-color.el: Fix old URL.
11284
3d012865
MM
112852013-07-23 Michael R. Mauger <michael@mauger.com>
11286
e903c210 11287 * progmodes/sql.el: Version 3.3
3d012865
MM
11288 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11289 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11290 (sql-interactive-remove-continuation-prompt): Rewrite, use
11291 functions above. Fix continuation prompt and complete output line
11292 handling.
11293 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11294 redirected output buffer.
11295 (sql-mode): Restore deleted code (Bug#13591).
11296
da77a2e2
JB
112972013-07-23 Juanma Barranquero <lekktu@gmail.com>
11298
11299 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11300
80ff0c71
MA
113012013-07-23 Michael Albinus <michael.albinus@gmx.de>
11302
11303 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11304
11305 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11306 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11307 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11308
b61d71e4
JB
113092013-07-23 Juanma Barranquero <lekktu@gmail.com>
11310
11311 * desktop.el (desktop-clear): Simplify; remove useless checks
11312 against invalid buffer names.
11313 (desktop-list*): Use cl-list*.
11314 (desktop-buffer-info, desktop-create-buffer): Simplify.
11315
c3512092
LL
113162013-07-23 Leo Liu <sdl.web@gmail.com>
11317
11318 * bookmark.el (bookmark-make-record): Restore NAME as a default
11319 value. (Bug#14933)
11320
0ac26976
SM
113212013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11322
7d22ce18
SM
11323 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11324 extracted from autoload--insert-text.
11325 (autoload--insert-text): Remove.
11326 (autoload--print-cookie-text): New function, extracted from
11327 autoload--insert-cookie-text.
11328 (autoload--insert-cookie-text): Remove.
11329 (autoload-generate-file-autoloads): Adjust calls accordingly.
11330
9b2607e8
SM
11331 * winner.el (winner-hook-installed-p): Remove.
11332 (winner-mode): Simplify accordingly.
11333
c43a8618
SM
11334 * subr.el (add-to-list): Fix compiler-macro when `append' is
11335 not constant. Don't use `cl-member' for the base case.
11336
0ac26976
SM
11337 * progmodes/subword.el: Fix boundary case (bug#13758).
11338 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11339 own group.
11340 (subword-backward-regexp): Make it a constant.
11341 (subword-forward-internal): Don't treat a trailing capital as the
11342 beginning of a word.
11343
6874724a
AR
113442013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11345
11346 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11347 global value of tabulated-list-revert-hook (bug#14930).
11348
70f1b5e8
JB
113492013-07-22 Juanma Barranquero <lekktu@gmail.com>
11350
a1c80d9d
JB
11351 * desktop.el: Require 'cl-lib.
11352 (desktop-before-saving-frames-functions): New hook.
11353 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11354 for frames being saved. Rename from desktop--save-minibuffer-frames.
11355 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
11356 Do not save frames with non-nil `desktop-dont-save' parameter.
11357 Filter out deleted frames.
a1c80d9d
JB
11358 (desktop--find-frame): Use cl-find-if.
11359 (desktop--select-frame): Use cl-(first|second|third) to access values
11360 of desktop-mini.
11361 (desktop--make-frame): Use cl-delete-if.
11362 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11363 (desktop-restore-frames): Use cl-(first|second|third) to access values
11364 of desktop-mini. Look for visible frame at the end, not while
11365 restoring frames.
11366
70f1b5e8
JB
11367 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11368 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11369 Use string-match-p, looking-at-p (bug#14927).
11370
728dc3cc
JB
113712013-07-21 Juanma Barranquero <lekktu@gmail.com>
11372
56bc453c
JB
11373 * desktop.el (desktop-saved-frame-states):
11374 Rename from desktop--saved-states; all users changed.
11375 (desktop-save-frames): Rename from desktop--save-frames.
11376 Do not save state to desktop file.
11377 (desktop-save): Save desktop-saved-frame-states to desktop file
11378 and reset to nil.
11379 (desktop-restoring-frames-p): New function.
11380 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11381 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11382 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11383
728dc3cc
JB
11384 * desktop.el: Correctly restore iconified frames.
11385 (desktop--filter-iconified-position): New function.
11386 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11387
862f1c9c
GM
113882013-07-20 Glenn Morris <rgm@gnu.org>
11389
c4074c9f
GM
11390 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11391 Let `message' do the formatting.
11392 (def-gdb-preempt-display-buffer): Add explicit format.
11393
d828e5f9
GM
11394 * image-dired.el (image-dired-track-original-file):
11395 Use with-current-buffer.
11396 (image-dired-track-thumbnail): Use with-current-buffer.
11397 Avoid changing point of wrong window.
11398
862f1c9c
GM
11399 * image-dired.el (image-dired-track-original-file):
11400 Avoid changing point of wrong window. (Bug#14909)
11401
f0398ec1 114022013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
11403
11404 * progmodes/gdb-mi.el (gdb-done-or-error):
11405 Guard against "%" in gdb output. (Bug#14127)
11406
1451928f
AS
114072013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11408
763a086d
JB
11409 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11410 (Bug#14826)
f7a03897 11411
1451928f
AS
11412 * international/mule.el (coding-system-iso-2022-flags): Fix last
11413 change.
11414
99107004
KH
114152013-07-20 Kenichi Handa <handa@gnu.org>
11416
763a086d
JB
11417 * international/mule.el (coding-system-iso-2022-flags):
11418 Add `8-bit-level-4'. (Bug#8522)
99107004 11419
48494e06
LMI
114202013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11421
8ba8eec5
LMI
11422 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11423 (bug#14815).
11424
dfbc66e3
LMI
11425 * net/eww.el (eww-process-text-input): Allow inputting when the
11426 point is at the start of the line, as the properties aren't
11427 front-sticky.
11428
48494e06
LMI
11429 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11430 degenerate widths.
11431
77c92cb9
RS
114322013-07-19 Richard Stallman <rms@gnu.org>
11433
aec7da77
RS
11434 * epa.el (epa-popup-info-window): Doc fix.
11435
77c92cb9
RS
11436 * subr.el (split-string): New arg TRIM.
11437
945c5bb1
JB
114382013-07-18 Juanma Barranquero <lekktu@gmail.com>
11439
11440 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11441 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11442
e06ec67f
MA
114432013-07-18 Michael Albinus <michael.albinus@gmx.de>
11444
c7064f05 11445 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
11446 `file-notify-support'. Do not autoload. Adapt all uses.
11447 (file-notify-supported-p): New defun.
11448
c7064f05
JB
11449 * autorevert.el (auto-revert-use-notify):
11450 Use `file-notify-supported-p' instead of `file-notify-support'.
11451 Adapt docstring.
e06ec67f
MA
11452 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11453
11454 * net/tramp.el (tramp-file-name-for-operation):
11455 Add `file-notify-supported-p'.
11456
11457 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11458 New defun.
11459 (tramp-sh-file-name-handler-alist): Add it as handler for
11460 `file-notify-supported-p '.
11461
11462 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11463 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11464 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11465 Add `ignore' as handler for `file-notify-*' functions.
11466
5dc8a629
EZ
114672013-07-17 Eli Zaretskii <eliz@gnu.org>
11468
11469 * simple.el (line-move-partial, line-move): Don't start vscroll or
11470 scroll-up if the current line is not taller than the window.
11471 (Bug#14881)
11472
77aea2fb
DG
114732013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11474
11475 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11476 highlight question marks in the method names as strings.
ac72c08d
DG
11477 (ruby-block-beg-keywords): Inline.
11478 (ruby-font-lock-keyword-beg-re): Extract from
11479 `ruby-font-lock-keywords'.
77aea2fb 11480
18c26d81
JD
114812013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11482
11483 * frame.el (blink-cursor-blinks): New defcustom.
11484 (blink-cursor-blinks-done): New defvar.
11485 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11486 (blink-cursor-timer-function): Check if number of blinks has been
11487 done on X and NS.
11488 (blink-cursor-suspend, blink-cursor-check): New defuns.
11489
da48522e
GM
114902013-07-15 Glenn Morris <rgm@gnu.org>
11491
11492 * edmacro.el (edmacro-format-keys): Fix previous change.
11493
0463c1ef
PE
114942013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11495
11496 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11497 The hack didn't work outside English locales anyway.
11498
b43f6451
JB
114992013-07-15 Juanma Barranquero <lekktu@gmail.com>
11500
11501 * simple.el (define-alternatives): Rename from alternatives-define,
11502 per RMS' suggestion.
11503
b958c0ad
JB
115042013-07-14 Juanma Barranquero <lekktu@gmail.com>
11505
11506 * desktop.el (desktop-restore-frames): Change default to t.
11507 (desktop-restore-in-current-display): Now offer more options.
11508 (desktop-restoring-reuses-frames): New customization option.
11509 (desktop--saved-states): Doc fix.
11510 (desktop-filter-parameters-alist): New variable, renamed and expanded
11511 from desktop--excluded-frame-parameters.
11512 (desktop--target-display): New variable.
11513 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11514 (desktop--filter-tty*, desktop--filter-*-color)
11515 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11516 (desktop--filter-save-desktop-parm)
11517 (desktop-restore-in-original-display-p): New functions.
11518 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11519 (desktop--save-minibuffer-frames): New function, inspired by a similar
11520 function from Martin Rudalics.
11521 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11522 (desktop--restore-in-this-display-p): Remove.
11523 (desktop--find-frame): Rename from desktop--find-frame-in-display
11524 and add predicate argument.
11525 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11526 (desktop--reuse-list): New variable.
11527 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11528 New functions.
11529 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11530
f6dd8b36
MA
115312013-07-14 Michael Albinus <michael.albinus@gmx.de>
11532
11533 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11534
2ce3c565
DG
115352013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11536
763a086d
JB
11537 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11538 Highlight conversion methods on Kernel.
2ce3c565 11539
2cdb7698
AM
115402013-07-13 Alan Mackenzie <acm@muc.de>
11541
11542 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11543 and comment it out. This out-commenting enables certain C++
11544 declarations to be parsed correctly.
11545
1a67b811
EZ
115462013-07-13 Eli Zaretskii <eliz@gnu.org>
11547
1b796d6b
EZ
11548 * international/mule.el (define-coding-system): Doc fix.
11549
1a67b811
EZ
11550 * simple.el (default-font-height): Don't call font-info if the
11551 frame's default font didn't change since the frame was created.
11552 (Bug#14838)
11553
58fbe886
LL
115542013-07-13 Leo Liu <sdl.web@gmail.com>
11555
11556 * ido.el (ido-read-file-name): Guard against non-symbol value.
11557
1f0480d4
FEG
115582013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11559
11560 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11561 in nested defuns.
11562
97ead0e5
LL
115632013-07-13 Leo Liu <sdl.web@gmail.com>
11564
11565 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11566 ido-set-matches call. (Bug#6852)
11567
0880a952
DG
115682013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11569
35e951cd 11570 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
11571 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11572 Ruby 2.0.
11573 (ruby-font-lock-keywords): Distinguish calls to functions with
11574 module-like names from module references. Highlight character
11575 literals.
11576
a7d8babb
SDJ
115772013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11578
11579 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 11580 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 11581
acfcc8c5
JB
115822013-07-12 Juanma Barranquero <lekktu@gmail.com>
11583
11584 * desktop.el (desktop--v2s): Remove unused local variable.
11585 (desktop-save-buffer): Make defvar-local; adjust docstring.
11586 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11587 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11588
051f2775
AS
115892013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11590
11591 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11592
f24e7572
GM
115932013-07-12 Eli Zaretskii <eliz@gnu.org>
11594
11595 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11596 (Bug#14842)
11597
539a920c
GM
115982013-07-12 Glenn Morris <rgm@gnu.org>
11599
11600 * doc-view.el: Require cl-lib at runtime too.
11601 (doc-view-remove-if): Remove.
11602 (doc-view-search-next-match, doc-view-search-previous-match):
11603 Use cl-remove-if.
11604
11605 * edmacro.el: Require cl-lib at runtime too.
11606 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11607 (edmacro-mismatch, edmacro-subseq): Remove.
11608
11609 * shadowfile.el: Require cl-lib.
11610 (shadow-remove-if): Remove.
11611 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11612 Use cl-remove-if.
11613
11614 * wid-edit.el: Require cl-lib.
11615 (widget-choose): Use cl-remove-if.
11616 (widget-remove-if): Remove.
11617
11618 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11619 (ebrowse-delete-if-not): Remove.
11620 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11621 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11622 Use cl-delete-if-not.
11623
1048af7c
JB
116242013-07-12 Juanma Barranquero <lekktu@gmail.com>
11625
11626 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11627 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11628
6c0674ee
LL
116292013-07-12 Leo Liu <sdl.web@gmail.com>
11630
11631 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11632
a19b3c2d
GM
116332013-07-11 Glenn Morris <rgm@gnu.org>
11634
4582a01c
GM
11635 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11636 (edebug-gensym-index, edebug-gensym):
11637 Remove reimplementation of cl-gensym.
11638 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11639
11640 * thumbs.el: Require cl-lib at run-time too.
11641 (thumbs-gensym-counter, thumbs-gensym):
11642 Remove reimplementation of cl-gensym.
11643 (thumbs-temp-file): Use cl-gensym.
11644
a19b3c2d
GM
11645 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11646 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11647 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11648 (ert--union, ert--gensym-counter, ert--gensym-counter)
11649 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11650 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11651 (ert-make-test-unbound, ert--expand-should-1)
11652 (ert--expand-should, ert--should-error-handle-error)
11653 (should-error, ert--explain-equal-rec)
11654 (ert--plist-difference-explanation, ert-select-tests)
11655 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11656 Use cl-lib functions rather than reimplementations.
11657
88f6a933
MA
116582013-07-11 Michael Albinus <michael.albinus@gmx.de>
11659
11660 * net/tramp.el (tramp-methods): Extend docstring.
11661 (tramp-connection-timeout): New defcustom.
11662 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11663 (with-tramp-progress-reporter): Simplify.
11664 (tramp-process-actions): Improve messages.
11665
11666 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11667 * net/tramp-sh.el (tramp-maybe-open-connection):
11668 Use `tramp-connection-timeout'.
afe1e4c8 11669 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
11670 (Bug#14808)
11671
a43d577e
LL
116722013-07-11 Leo Liu <sdl.web@gmail.com>
11673
11674 * ido.el (ido-read-file-name): Conform to the requirements of
11675 read-file-name. (Bug#11861)
11676 (ido-read-directory-name): Conform to the requirements of
11677 read-directory-name.
11678
d77974bf
JB
116792013-07-11 Juanma Barranquero <lekktu@gmail.com>
11680
11681 * subr.el (delay-warning): New function.
11682
35cb8a3e
EZ
116832013-07-10 Eli Zaretskii <eliz@gnu.org>
11684
11685 * simple.el (default-line-height): New function.
11686 (line-move-partial, line-move): Use it instead of computing the
11687 line height inline.
11688 (line-move-partial): Always compute ROWH. If the last line is
11689 partially-visible, but its text is completely visible, allow
11690 cursor to enter such a partially-visible line.
11691
525c5c77
MA
116922013-07-10 Michael Albinus <michael.albinus@gmx.de>
11693
11694 Improve error messages. (Bug#14808)
11695
11696 * net/tramp.el (tramp-current-connection): New defvar, moved from
11697 tramp-sh.el.
0ac26976 11698 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 11699 needed anymore.
0ac26976
SM
11700 (tramp-error-with-buffer): Show message in minibuffer.
11701 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
11702 (with-tramp-progress-reporter): Improve messages.
11703 (tramp-process-actions): Use progress reporter. Delete process in
11704 case of error. Improve messages.
11705
763a086d
JB
11706 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11707 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 11708 (tramp-current-connection): Remove.
525c5c77
MA
11709 (tramp-maybe-open-connection): The car of
11710 `tramp-current-connection' are the first 3 slots of the vector.
11711
c7a4d368
TZ
117122013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11713
11714 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11715 inside continued strings.
11716
954b166e
PE
117172013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11718
11719 Timestamp fixes for undo (Bug#14824).
11720 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11721
56973319
LL
117222013-07-10 Leo Liu <sdl.web@gmail.com>
11723
11724 * files.el (require-final-newline): Allow safe local value.
11725 (Bug#14834)
11726
5550a72c
LL
117272013-07-09 Leo Liu <sdl.web@gmail.com>
11728
11729 * ido.el (ido-read-directory-name): Handle fallback.
11730 (ido-read-file-name): Update DIR to ido-current-directory.
11731 (Bug#1516)
c28b9050 11732 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 11733
70c46b28
DG
117342013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11735
11736 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11737 "autoload". Remove "warn lower camel case" section, previously
11738 commented out. Highlight negation char. Do not highlight the
11739 target in singleton method definitions.
11740
0b64b838
SM
117412013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11742
7fd72e2c
SM
11743 * faces.el (tty-setup-hook): Declare the hook.
11744
0b64b838
SM
11745 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11746 and detect when a guard/pred depends on local vars (bug#14773).
11747 (pcase--u1): Adjust caller.
11748
ab49d60b
EZ
117492013-07-08 Eli Zaretskii <eliz@gnu.org>
11750
11751 * simple.el (line-move-partial, line-move): Account for
11752 line-spacing.
701d79aa
EZ
11753 (line-move-partial): Avoid setting vscroll when the last
11754 partially-visible line in window is of default height.
ab49d60b 11755
2d756ae0
LMI
117562013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11757
11758 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11759 been used a while.
11760
ed095bd7
JB
117612013-07-07 Juanma Barranquero <lekktu@gmail.com>
11762
11763 * subr.el (read-quoted-char): Remove unused local variable `char'.
11764
f1e6674b
MK
117652013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11766
584ee3fc
GM
11767 * ediff.el (ediff-version): Version update.
11768 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11769 (ediff-merge-with-ancestor-command, ediff-directories-command)
11770 (ediff-directories3-command, ediff-merge-directories-command)
11771 (ediff-merge-directories-with-ancestor-command): New functions.
11772 All are command-line interfaces to ediff: to facilitate calling
11773 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
11774
11775 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11776 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 11777
584ee3fc
GM
11778 * viper.el (viper-version): Version update.
11779 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 11780
584ee3fc
GM
117812013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11784 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11785 (viper-intercept-ESC-key): Simplify.
11786 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11787 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11788 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11789 (viper-setup-ESC-to-escape): New functions.
11790 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11791 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 11792
9aff9b38
EZ
117932013-07-07 Eli Zaretskii <eliz@gnu.org>
11794
5165d44a
JB
11795 * simple.el (default-font-height, window-screen-lines):
11796 New functions.
9aff9b38
EZ
11797 (line-move, line-move-partial): Use them instead of
11798 frame-char-height and window-text-height. This makes scrolling
11799 text smoother when the buffer's default face uses a font that is
11800 different from the frame's default font.
11801
1afb1d07
JD
118022013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11803
11804 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 11805 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 11806
23de972a
EZ
118072013-07-06 Eli Zaretskii <eliz@gnu.org>
11808
11809 * simple.el (line-move-partial): Adjust the row returned by
11810 posn-at-point for the current window-vscroll. (Bug#14567)
11811
54a42486
MA
118122013-07-06 Michael Albinus <michael.albinus@gmx.de>
11813
35e951cd 11814 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
11815 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11816 spaces.
11817
34ada5f4
MR
118182013-07-06 Martin Rudalics <rudalics@gmx.at>
11819
11820 * window.el (window-state-put-stale-windows): New variable.
11821 (window--state-put-2): Save list of windows without matching buffer.
11822 (window-state-put): Remove "bufferless" windows if possible.
11823
11e03d89
JB
118242013-07-06 Juanma Barranquero <lekktu@gmail.com>
11825
11826 * simple.el (alternatives-define): Remove leftover :group keyword.
11827 Tweak docstring.
11828
3504a4be
LL
118292013-07-06 Leo Liu <sdl.web@gmail.com>
11830
11831 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11832 (ido-enable-virtual-buffers): New variable.
11833 (ido-buffer-internal, ido-toggle-virtual-buffers)
11834 (ido-make-buffer-list): Use it.
11835 (ido-exhibit): Support turning on and off virtual buffers
11836 automatically.
11837
61e56e2c
JB
118382013-07-06 Juanma Barranquero <lekktu@gmail.com>
11839
11840 * simple.el (alternatives-define): New macro.
11841
321e1a9c
SM
118422013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * subr.el (read-quoted-char): Use read-key.
11845 (sit-for): Let read-event decode tty input (bug#14782).
11846
d610f6dd
SB
118472013-07-05 Stephen Berman <stephen.berman@gmx.net>
11848
11849 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
11850 mode command and externally. Fix various related bugs.
11851 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
11852 (todo-delete-file): New command.
11853 (todo-check-file): New function.
11854 (todo-show): Handle external deletion of the file we're trying to
11855 show (bug#14688). Replace called-interactively-p by an optional
11856 prefix argument to avoid problematic interaction with catch form
11857 when byte compiled (bug#14702).
11858 (todo-quit): Handle external deletion of the archive's todo file.
11859 Make sure the buffer that was visiting the archive file is still
11860 live before trying to bury it.
11861 (todo-category-completions): Handle external deletion of any
11862 category completion files.
11863 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11864 of todo files, in case of external deletion.
11865 (todo-add-file): Replace unnecessary setq by let-binding.
11866 (todo-find-archive): Check whether there are any archives.
11867 Replace unnecessary setq by let-binding.
11868 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
11869 archive buffer whether or not the archive already exists.
11870 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
11871 check if the archive is new; if it is, update list of archives.
11872 (todo-default-todo-file): Allow nil to be a valid value for when
11873 there are no todo files.
11874 (todo-reevaluate-default-file-defcustom): Use corrected definition
11875 of todo-default-todo-file.
11876 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11877 (todo-delete-category, todo-show-categories-table)
11878 (todo-category-number): Clarify comment.
11879 (todo-filter-items): Clarify documentation string.
11880 (todo-show-current-file, todo-display-as-todo-file)
11881 (todo-reset-and-enable-done-separator): Tweak documentation string.
11882 (todo-done-separator): Make separator length window-width, since
11883 bug#2749 is now fixed.
11884
ddbdfd6f
MA
118852013-07-05 Michael Albinus <michael.albinus@gmx.de>
11886
321e1a9c
SM
11887 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11888 Support both "gvfs-monitor-dir" and "inotifywait".
11889 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11890 `tramp-sh-file-notify-process-filter'.
11891 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11892 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11893
96eb829a
LL
118942013-07-05 Leo Liu <sdl.web@gmail.com>
11895
11896 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11897
cf13177e
YM
118982013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11899
11900 * frame.el (display-pixel-height, display-pixel-width)
11901 (display-mm-height, display-mm-width): Mention behavior on
11902 multi-monitor setups in docstrings.
11903 (w32-display-monitor-attributes-list): Declare function.
11904 (display-monitor-attributes-list): Use it.
11905
864c58ca
MA
119062013-07-04 Michael Albinus <michael.albinus@gmx.de>
11907
11908 * filenotify.el: New package.
11909
11910 * autorevert.el (top): Require filenotify.el.
11911 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11912 instead.
11913 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11914 (auto-revert-notify-handler): Use `file-notify-*' functions.
11915
11916 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11917
321e1a9c
SM
11918 * net/tramp.el (tramp-file-name-for-operation):
11919 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11920
11921 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11922 for `file-notify-add-watch' and `file-notify-rm-watch'.
11923 (tramp-process-sentinel): Improve trace.
11924 (tramp-sh-handle-file-notify-add-watch)
11925 (tramp-sh-file-notify-process-filter)
11926 (tramp-sh-handle-file-notify-rm-watch)
11927 (tramp-get-remote-inotifywait): New defuns.
11928
96673afe
JL
119292013-07-03 Juri Linkov <juri@jurta.org>
11930
11931 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11932 call of `occur-read-primary-args' to interactive spec.
11933
11934 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11935 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11936
924494f4
MM
119372013-07-03 Matthias Meulien <orontee@gmail.com>
11938
11939 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11940 `Buffer-menu-multi-occur'. Add it to the menu.
11941 (Buffer-menu-mode): Document it in docstring.
11942 (Buffer-menu-multi-occur): New command. (Bug#14673)
11943
56f75efc
DG
119442013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11945
11946 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11947 keywords and built-ins.
11948
9b057d61
GM
119492013-07-03 Glenn Morris <rgm@gnu.org>
11950
208dee4d
GM
11951 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11952
9b057d61
GM
11953 Make info-xref checks case-sensitive by default
11954 * info.el (Info-find-node, Info-find-in-tag-table)
11955 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11956 Add option for exact case matching of nodes.
11957 * info-xref.el (info-xref): New custom group.
11958 (info-xref-case-fold): New option.
11959 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11960
e01aa29c
LL
119612013-07-03 Leo Liu <sdl.web@gmail.com>
11962
11963 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11964
3086ca2e
DG
119652013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11966
11967 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11968 middle of block statement initially, lower the depth. Remove
11969 FIXME comment, not longer valid. Remove middle of block statement
11970 detection, no need to do that anymore since we've been using
11971 `ruby-parse-region' here.
11972
a3b49114
JD
119732013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11974
11975 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11976
08e5c823 119772013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11978
11979 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11980
2addf922
JB
119812013-07-01 Juanma Barranquero <lekktu@gmail.com>
11982
11983 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11984 (desktop-restore-in-current-display): New customization option.
11985 (desktop--excluded-frame-parameters): Add `font'.
11986 (desktop--save-frames): Rename from desktop--save-windows.
11987 (desktop--restore-in-this-display-p): New function.
11988 (desktop--make-full-frame): Remove unwanted width/height from
11989 full(width|height) frames.
11990 (desktop--restore-frames): Rename from desktop--restore-windows.
11991 Obey desktop-restore-current-display. Do not delete old frames or
11992 select a new frame unless we were able to restore at least one frame.
11993
ef099a94
MN
119942013-06-30 Michal Nazarewicz <mina86@mina86.com>
11995
11996 * files.el (find-file-noselect): Simplify conditional expression.
11997
a12bf61e 11998 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11999 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12000
12001 Add `remember-notes' function to store random notes across Emacs
12002 restarts.
3fcfc4ee
JB
12003 * textmodes/remember.el (remember-data-file): Add :set callback to
12004 affect notes buffer (if any).
ef099a94
MN
12005 (remember-notes): New command.
12006 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12007 New defcustoms for the `remember-notes' function.
12008 (remember-notes-save-and-bury-buffer): New command.
12009 (remember-notes-mode-map): New variable.
12010 (remember-mode): New minor mode.
12011 (remember-notes--kill-buffer-query): New function.
12012 * startup.el (initial-buffer-choice): Add notes to custom type.
12013
0865d506
EZ
120142013-06-30 Eli Zaretskii <eliz@gnu.org>
12015
0ba54312
EZ
12016 * bindings.el (right-char, left-char): Don't call sit-for, this is
12017 no longer needed. Use arithmetic comparison only for numerical
12018 arguments.
12019
ef099a94
MN
12020 * international/mule-cmds.el (select-safe-coding-system):
12021 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 12022
2fae38e5
LMI
120232013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12024
12025 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12026 progression on degenerate tables.
ef099a94 12027 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 12028
a47cbd64
JB
120292013-06-30 Juanma Barranquero <lekktu@gmail.com>
12030
12031 Some fixes and improvements for desktop frame restoration.
12032 It is still experimental and disabled by default.
12033 * desktop.el (desktop--save-windows): Put the selected frame at
12034 the head of the list.
12035 (desktop--make-full-frame): New function.
12036 (desktop--restore-windows): Try to re-select the frame that was
12037 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
12038 just show an error message and continue. Set up maximized frames
12039 so they have default non-maximized dimensions.
a47cbd64 12040
6dbafa30
DG
120412013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12042
ef099a94
MN
12043 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12044 Don't start heredoc inside a string or comment.
6dbafa30 12045
4c672a0f
EZ
120462013-06-29 Eli Zaretskii <eliz@gnu.org>
12047
12048 * bindings.el (visual-order-cursor-movement): New defcustom.
12049 (right-char, left-char): Provide visual-order cursor motion by
12050 calling move-point-visually. Update the doc strings.
12051
50960f36
KH
120522013-06-28 Kenichi Handa <handa@gnu.org>
12053
12054 * international/mule.el (define-coding-system): New coding system
12055 properties :inhibit-null-byte-detection,
12056 :inhibit-iso-escape-detection, and :prefer-utf-8.
12057 (set-buffer-file-coding-system): If :charset-list property of
12058 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12059 appropriate for setting.
12060
c1ea3abf
JB
12061 * international/mule-cmds.el (select-safe-coding-system):
12062 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12063 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
12064
12065 * international/mule-conf.el (prefer-utf-8): New coding system.
12066 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12067 files.
12068
75dbaf9d
IK
120692013-06-28 Ivan Kanis <ivan@kanis.fr>
12070
eadb6068
IK
12071 * net/shr.el (shr-render-region): New function.
12072
75dbaf9d
IK
12073 * net/eww.el: Autoload `eww-browse-url'.
12074
9ea5cf9f
DG
120752013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12076
c1ea3abf
JB
12077 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12078 Adapt to `package-desc-version' being a list.
12079 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
12080 archive element.
12081
39c0e36f
JB
120822013-06-27 Juanma Barranquero <lekktu@gmail.com>
12083
12084 New experimental feature to save&restore window and frame setup.
12085 * desktop.el (desktop-save-windows): New defcustom.
12086 (desktop--saved-states): New var.
12087 (desktop--excluded-frame-parameters): New defconst.
12088 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12089 (desktop--restore-windows, desktop--save-windows): New functions.
12090 (desktop-save): Call `desktop--save-windows'.
12091 (desktop-read): Call `desktop--restore-windows'.
12092
7f13406b
LMI
120932013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12094
ef099a94 12095 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 12096
1e072639
SB
120972013-06-27 Stephen Berman <stephen.berman@gmx.net>
12098
12099 * info.el (Info-try-follow-nearest-node): Move search for footnote
12100 above search for node name to prevent missing a footnote (bug#14717).
12101
f3e2cbde
SB
121022013-06-27 Stephen Berman <stephen.berman@gmx.net>
12103
12104 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12105
99906aa0
LL
121062013-06-27 Leo Liu <sdl.web@gmail.com>
12107
12108 * net/eww.el (eww-read-bookmarks): Check file size.
12109
539f75f4
SM
121102013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12113 advice--pending if newdef is nil or an autoload (bug#13820).
12114 (advice-mapc): New function.
12115
843571cb
LMI
121162013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12117
12118 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12119 probably.
23a75d7f 12120 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
12121 (eww-add-bookmark): New command.
12122 (eww-bookmark-mode): New mode and commands.
a285ce99 12123 (eww-add-bookmark): Remove newlines from the title.
47fd571b 12124 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 12125
f2136e1e
GM
121262013-06-26 Glenn Morris <rgm@gnu.org>
12127
eab35f39
GM
12128 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12129 (hfy-size): Handle ttys. (Bug#14668)
12130
f2136e1e
GM
12131 * info-xref.el: Update for Texinfo 5 change in *note format.
12132 (info-xref-node-re, info-xref-note-re): New constants.
12133 (info-xref-check-buffer): Use info-xref-note-re.
12134
a49ff80c
SM
121352013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12136
a343d218
SM
12137 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12138
a49ff80c
SM
12139 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12140 nil terminate the loop (bug#14718).
12141
8308f184
LMI
121422013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12143
12144 * net/eww.el: Rework history traversal. When going forward/back,
12145 put these actions into the history, too, so that they can be
12146 replayed.
26bf2b82 12147 (eww-render): Move the history reset to the correct buffer.
8308f184 12148
ec64c273
JL
121492013-06-25 Juri Linkov <juri@jurta.org>
12150
12151 * files-x.el (modify-dir-local-variable): Change the header comment
12152 in the file with directory local variables. (Bug#14692)
12153
e080a9d7
JL
12154 * files-x.el (read-file-local-variable-value): Add `default'.
12155 (Bug#14710)
12156
bfbc93a1
IK
121572013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12158
12159 * net/eww.el (eww-make-unique-file-name): Create a unique file
12160 name before saving to entering `y' accidentally asynchronously.
12161
121622013-06-25 Ivan Kanis <ivan@kanis.fr>
12163
12164 * net/eww.el (eww-download): New command and keystroke.
12165
16f74f10
LMI
121662013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12167
a49ff80c 12168 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
12169
12170 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12171 be more consistent with Info and dired.
12172
12173 * net/eww.el (eww-mode-map): Ditto.
12174
12059709
SM
121752013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12176
12177 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12178 packages from archives.
12179 (package-archive-contents): Change format; include obsolete packages.
12180 (package-desc): Use `dir' to mark builtin packages.
12181 (package--from-builtin): Set the `dir' field to `builtin'.
12182 (generated-autoload-file, version-control): Declare.
12183 (package-compute-transaction): Change first arg and return value to be
12184 lists of package-descs. Adjust to new package-archive-contents format.
12185 (package--add-to-archive-contents): Adjust to new
12186 package-archive-contents format.
12187 (package-download-transaction): Arg is now a list of package-descs.
12188 (package-install): If `pkg' is a package name, pass it as
12189 a requirement, so it is subject to the usual (e.g. disabled) checks.
12190 (describe-package): Accept package-desc as well.
12191 (describe-package-1): Describe a specific package-desc. Add links to
12192 other package-descs for the same package name.
12193 (package-menu-describe-package): Pass the actual package-desc.
12194 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12195 works correctly.
12196 (package-desc-status): New function.
12197 (package-menu--refresh): New function, extracted
12198 from package-menu--generate.
12199 (package-menu--generate): Use it.
12200 (package-delete): Update package-alist.
12201 (package-menu-execute): Don't call package-initialize.
12202
12203 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12204 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12205 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12206 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12207 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12208 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12209
8bbdea0f
MR
122102013-06-25 Martin Rudalics <rudalics@gmx.at>
12211
12212 * window.el (window--state-get-1): Workaround for bug#14527.
12213 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12214
e82b0991
LMI
122152013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12216
12217 * net/eww.el (eww-back-url): Implement the history by stashing all
12218 the data into a list.
d3f0f918 12219 (eww-forward-url): Allow going forward in the history, too.
e82b0991 12220
c763842b
SM
122212013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12224 for values and use read--expression for expressions (bug#14710).
12225 (read-file-local-variable): Avoid setq.
12226 (read-file-local-variable-mode): Use minor-mode-list.
12227
bceff189
RW
122282013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12229
864c58ca 12230 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
12231 for DOI URLs.
12232
45f431c6
RW
122332013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12234
864c58ca 12235 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
12236 Update imenu-support when dialect changes.
12237
f42d8237
LL
122382013-06-25 Leo Liu <sdl.web@gmail.com>
12239
12240 * ido.el (ido-read-internal): Allow forward slash on windows.
12241
be549ce6
LMI
122422013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12243
12244 * net/eww.el (eww): Start of strings is \\`, not ^.
12245
71d4c19d
IK
122462013-06-24 Ivan Kanis <ivan@kanis.fr>
12247
5196f88a
IK
12248 * net/shr.el (shr-browse-url): Fix interactive spec.
12249
71d4c19d
IK
12250 * net/eww.el (eww): Add a trailing slash to domain names.
12251
ae36ca55
JB
122522013-06-24 Juanma Barranquero <lekktu@gmail.com>
12253
12254 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12255
0ebd92a3
LMI
122562013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12257
bdaa086b
LMI
12258 * net/shr.el (shr-browse-url): Use an external browser if given a
12259 prefix.
12260
c763842b 12261 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 12262
b89fc156
IK
122632013-06-24 Ivan Kanis <ivan@kanis.fr>
12264
12265 * net/eww.el (eww): Work more correctly for file: URLs.
12266 (eww-detect-charset): Allow quoted charsets.
12267 (eww-yank-page-url): New command and keystroke.
12268
18eb4bca
DU
122692013-06-24 Daiki Ueno <ueno@gnu.org>
12270
12271 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12272 file name of gpg executable.
12273 (epg-context-program): New function.
12274 (epg-context-home-directory): New function.
12275 (epg-context-set-program): New function.
12276 (epg-context-set-home-directory): New function.
12277 (epg--start): Use `epg-context-program' instead of
12278 'epg-gpg-program'.
12279 (epg--list-keys-1): Likewise.
12280
6c6268c8
LL
122812013-06-24 Leo Liu <sdl.web@gmail.com>
12282
12283 * ido.el (ido-read-internal): Fix bug#14620.
12284
5e400cb3
JB
122852013-06-23 Juanma Barranquero <lekktu@gmail.com>
12286
12287 * faces.el (face-documentation): Simplify.
12288 (read-face-attribute, tty-find-type, x-resolve-font-name):
12289 Use `string-match-p'.
12290 (list-faces-display): Use `string-match-p'. Simplify.
12291 (face-spec-recalc): Check face to avoid face alias loops.
12292 (read-color): Use `string-match-p' and non-capturing parenthesis.
12293
f3f9606c
LMI
122942013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12295
12296 * net/shr.el (shr-rescale-image): Use the new
12297 :max-width/:max-height functionality.
12298
a3ca09b9
IK
122992013-06-23 Ivan Kanis <ivan@kanis.fr>
12300
12301 * net/eww.el (eww-search-prefix): New variable.
12302 (eww): Use it.
f865b474
IK
12303 (eww-external-browser): New variable.
12304 (eww-mode-map): New keystroke.
12305 (eww-browse-with-external-browser): New command.
a3ca09b9 12306
e854cfc7
IK
12307 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12308
18bb9e21
JB
123092013-06-23 Juanma Barranquero <lekktu@gmail.com>
12310
12311 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12312 Don't skip aligning the next header field when padding is 0;
12313 otherwise, field width is not respected unless the title is as
12314 wide as the field.
12315
5b165ade
SM
123162013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * emacs-lisp/package.el (package-el-version): Remove.
12319 (package-process-define-package): Fix inf-loop.
12320 (package-install): Allow symbols as arguments again.
12321
12adebe9
DG
123222013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12323
12324 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12325 add some more keyword-like methods.
12326 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12327
388573ee
JB
123282013-06-22 Juanma Barranquero <lekktu@gmail.com>
12329
12330 * bs.el (bs-buffer-show-mark): Make defvar-local.
12331 (bs-mode): Use setq-local.
12332
12333 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12334 (emacs-lock--try-unlocking): Make defvar-local.
12335
4582a01c 123362013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 12337
2663dd23
GM
12338 * play/cookie1.el (cookie-apropos): Minor simplification.
12339
3d94f3ad
GM
12340 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12341
f72e2fdb
DG
123422013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12343
12344 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12345 `regexp-opt', it breaks the build during dumping.
12346
73eab938
DG
123472013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12348
c763842b
SM
12349 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12350 Highlight keyword-like methods on Kernel and Module with
73eab938 12351 font-lock-builtin-face.
5cf8176d
DG
12352 (auto-mode-alist): Consolidate different entries into one regexp
12353 and add more *file-s.
73eab938 12354
d26255f6
SB
123552013-06-21 Stephen Berman <stephen.berman@gmx.net>
12356
12357 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12358
12359 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12360 (diary-entry): Use it in the action of this button type instead of
12361 diary-goto-entry.
12362
12363 * calendar/todo-mode.el: New version.
12364 (todo-add-category): Append new category to end of file and give
12365 it the highest number, instead of putting it at the beginning and
12366 giving it 0. Incorporate noninteractive functionality.
12367 (todo-forward-category): Adapt to 1-based category numbering.
12368 Allow skipping over archived categories.
12369 (todo-backward-category): Derive from todo-forward-category.
12370 (todo-backward-item, todo-forward-item): Make noninteractive and
12371 delegate interactive part to new commands. Make sensitive to done items.
12372 (todo-categories): Make value an alist of category names and
12373 vectors of item counts.
12374 (todo-category-beg): Make a defconst.
12375 (todo-category-number): Use 1 instead of 0 as initial value.
12376 (todo-category-select): Make sensitive to overlays, optional item
12377 highlighting and done items.
12378 (todo-delete-item): Make sensitive to overlays and marked and done items.
12379 (todo-edit-item): Make sensitive to overlays and editing of
12380 date/time header optional. Add format checks.
12381 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12382 no-op if point is not on an item. Advertise using todo-edit-quit.
12383 (todo-edit-mode): Make sensitive to new format, font-locking, and
12384 multiple todo files.
12385 (todo-insert-item, todo-insert-item-here): Derive from
12386 todo-basic-insert-item and extend functionality.
12387 (todo-item-end, todo-item-start): Make sensitive to done items.
12388 (todo-item-string): Don't return text properties. Restore point.
12389 (todo-jump-to-category): Make sensitive to multiple todo files and
12390 todo archives. Use extended category completion.
12391 (todo-lower-item, todo-raise-item): Rename to *-priority and
12392 derive from todo-set-item-priority.
12393 (todo-mode): Derive from special-mode. Make sensitive to new
12394 format, font-locking and multiple todo files. Make read-only.
12395 (todo-mode-map): Don't suppress digit keys, so they can supply
12396 prefix arguments. Add many new key bindings.
12397 (todo-prefix): Insert as an overlay instead of file text.
12398 Change semantics from diary date expression to purely visual mark.
12399 (todo-print): Rename to todo-print-buffer. Make buffer display
12400 features printable. Remove option to restrict number of items
12401 printed. Add option to print to file.
12402 (todo-print-function): Rename to todo-print-buffer-function.
12403 (todo-quit): Extend to handle exiting new todo modes.
12404 (todo-remove-item): Make sensitive to overlays.
12405 (todo-save): Extend to buffers of filtered items.
12406 (todo-show): Make sensitive to done items, multiple todo files and
12407 new todo modes. Offer to convert legacy todo file before creating
12408 first new todo file.
12409 (todo-show-priorities): Rename to todo-top-priorities.
12410 Change semantics of value 0.
12411 (todo-top-priorities): Rename to todo-filter-top-priorities,
12412 derive from todo-filter-items and extend functionality.
12413 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12414 and extend functionality to other types of filtered items.
12415 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12416 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12417 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12418 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12419 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12420 (todo-edit-mode-hook, todo-entry-prefix-function)
12421 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12422 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12423 (todo-initials, todo-insert-threshold, todo-item-string-start)
12424 (todo-line-string, todo-menu, todo-mode-hook)
12425 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12426 (todo-print-priorities, todo-remove-separator)
12427 (todo-save-top-priorities-too, todo-string-count-lines)
12428 (todo-string-multiline-p, todo-time-string-format)
12429 (todo-tmp-buffer-name): Remove.
12430 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12431 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12432 (todo-edit-category-diary-inclusion)
12433 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12434 (todo-edit-file, todo-edit-item-date-day)
12435 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12436 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12437 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12438 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12439 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12440 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12441 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12442 (todo-filter-top-priorities-multifile, todo-find-archive)
12443 (todo-find-filtered-items-file, todo-go-to-source-item)
12444 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12445 (todo-jump-to-archive-category, todo-lower-category)
12446 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12447 (todo-move-category, todo-move-item, todo-next-button)
12448 (todo-next-item, todo-padded-string, todo-powerset)
12449 (todo-previous-button, todo-previous-item)
12450 (todo-print-buffer-to-file, todo-raise-category)
12451 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12452 (todo-set-category-number, todo-set-item-priority)
12453 (todo-set-top-priorities-in-category)
12454 (todo-set-top-priorities-in-file, todo-show-categories-table)
12455 (todo-sort-categories-alphabetically-or-numerically)
12456 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12457 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12458 (todo-toggle-item-header, todo-toggle-item-highlighting)
12459 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12460 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12461 (todo-unarchive-items, todo-unmark-category): New commands.
12462 (todo-absolute-file-name, todo-add-to-buffer-list)
12463 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12464 (todo-basic-insert-item, todo-category-completions)
12465 (todo-category-number, todo-category-string-matcher-1)
12466 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12467 (todo-check-format, todo-clear-matches)
12468 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12469 (todo-current-category, todo-date-string-matcher)
12470 (todo-define-insertion-command, todo-diary-expired-matcher)
12471 (todo-diary-goto-entry, todo-diary-item-p)
12472 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12473 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12474 (todo-done-item-section-p, todo-done-separator)
12475 (todo-done-string-matcher, todo-files, todo-filter-items)
12476 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12477 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12478 (todo-insert-category-line, todo-insert-item-from-calendar)
12479 (todo-insert-sort-button, todo-insert-with-overlays)
12480 (todo-insertion-command-name, todo-insertion-key-bindings)
12481 (todo-label-to-key, todo-longest-category-name-length)
12482 (todo-make-categories-list, todo-mode-external-set)
12483 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12484 (todo-modes-set-3, todo-multiple-filter-files)
12485 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12486 (todo-read-category, todo-read-date, todo-read-dayname)
12487 (todo-read-file-name, todo-read-time)
12488 (todo-reevaluate-category-completions-files-defcustom)
12489 (todo-reevaluate-default-file-defcustom)
12490 (todo-reevaluate-filelist-defcustoms)
12491 (todo-reevaluate-filter-files-defcustom)
12492 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12493 (todo-reset-done-separator, todo-reset-done-separator-string)
12494 (todo-reset-done-string, todo-reset-global-current-todo-file)
12495 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12496 (todo-reset-prefix, todo-set-categories)
12497 (todo-set-date-from-calendar, todo-set-show-current-file)
12498 (todo-set-top-priorities, todo-short-file-name)
12499 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12500 (todo-total-item-counts, todo-update-buffer-list)
12501 (todo-update-categories-display, todo-update-categories-sexp)
12502 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12503 New functions.
12504 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12505 New major modes.
12506 (todo-categories, todo-display, todo-edit, todo-faces)
12507 (todo-filtered): New defgroups.
12508 (todo-archived-only, todo-button, todo-category-string, todo-date)
12509 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12510 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12511 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12512 (todo-add-item-if-new-category, todo-always-add-time-string)
12513 (todo-categories-align, todo-categories-archived-label)
12514 (todo-categories-category-label, todo-categories-diary-label)
12515 (todo-categories-done-label, todo-categories-number-separator)
12516 (todo-categories-todo-label, todo-categories-totals-label)
12517 (todo-category-completions-files, todo-completion-ignore-case)
12518 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12519 (todo-done-separator-string, todo-done-string)
12520 (todo-files-function, todo-filter-done-items, todo-filter-files)
12521 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12522 (todo-initial-category, todo-initial-file, todo-item-mark)
12523 (todo-legacy-date-time-regexp, todo-mode-line-function)
12524 (todo-nondiary-marker, todo-number-prefix)
12525 (todo-print-buffer-function, todo-show-current-file)
12526 (todo-show-done-only, todo-show-first, todo-show-with-done)
12527 (todo-skip-archived-categories, todo-top-priorities-overrides)
12528 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12529 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12530 New defcustoms.
12531 (todo-category-done, todo-date-pattern, todo-date-string-start)
12532 (todo-diary-items-buffer, todo-done-string-start)
12533 (todo-filtered-items-buffer, todo-item-start)
12534 (todo-month-abbrev-array, todo-month-name-array)
12535 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12536 (todo-top-priorities-buffer): New defconsts.
12537 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12538 (todo-categories-with-marks, todo-category-string-face)
12539 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12540 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12541 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12542 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12543 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12544 (todo-font-lock-keywords, todo-global-current-todo-file)
12545 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12546 (todo-insertion-commands-args)
12547 (todo-insertion-commands-args-genlist)
12548 (todo-insertion-commands-names, todo-insertion-map)
12549 (todo-key-bindings-t, todo-key-bindings-t+a)
12550 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12551 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12552 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12553 (todo-visited): New variables.
12554
cad5d1cb
GM
125552013-06-21 Glenn Morris <rgm@gnu.org>
12556
12557 * play/cookie1.el (cookie-apropos): Add optional display argument.
12558 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12559 (psychoanalyze-pinhead): Use cookie-doctor.
12560
9e277302
JB
125612013-06-21 Juanma Barranquero <lekktu@gmail.com>
12562
12563 * emacs-lisp/package.el (tar-get-file-descriptor)
12564 (tar--extract): Declare.
12565
c5b0993e
EW
125662013-06-21 Eduard Wiebe <usenet@pusto.de>
12567
12568 Extend flymake's warning predicate to be a function (bug#14217).
12569 * progmodes/flymake.el (flymake-warning-predicate): New.
12570 (flymake-parse-line): Use it.
12571 (flymake-warning-re): Make obsolete alias to
12572 `flymake-warning-predicate'.
12573
a7d2d465
SM
125742013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12577 (package-obsolete-list): Remove.
12578 (package-activate): Remove min-version argument. Add `force' argument.
12579 Adjust to new package-alist format.
12580 (package-mark-obsolete): Remove.
12581 (package-unpack): Force reload of the package's autoloads.
12582 (package-installed-p): Check builtins if the installed package is not
12583 recent enough.
12584 (package-initialize): Don't reset package-obsolete-list.
12585 Don't specify which package version to activate.
12586 (package-process-define-package, describe-package-1)
12587 (package-menu--generate): Adjust to new package-alist format.
12588
cedf5c9d
JB
125892013-06-21 Juanma Barranquero <lekktu@gmail.com>
12590
12591 * allout-widgets.el (allout-widgets-mode-off)
12592 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12593 (allout-widgets-post-command-business)
12594 (allout-widgets-after-copy-or-kill-function)
12595 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12596 (allout-decorate-item-and-context)
12597 (allout-graphics-modification-handler): Fix typos in docstrings.
12598 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12599
12600 * cmuscheme.el (scheme-start-file): Doc fix.
12601 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12602 (scheme-input-filter): Use `string-match-p'.
12603
12604 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12605
12606 * dired-x.el: Use Dired consistently in docstrings.
12607
12608 * dired.el: Use Dired consistently in docstrings.
12609 (dired-readin, dired-mode): Use `setq-local'.
12610 (dired-switches-alist): Make defvar-local.
12611 (dired-buffers-for-dir): Use `zerop'.
12612 (dired-safe-switches-p, dired-switches-escape-p)
12613 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12614 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 12615 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
12616 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12617 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12618 (dired-toggle-marks, dired-mark-files-containing-regexp)
12619 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12620 (dired-flag-auto-save-files, dired-flag-backup-files):
12621 Use `looking-at-p'.
12622 (dired-mark-files-regexp, dired-build-subdir-alist):
12623 Use `string-match-p', `looking-at-p'.
12624
12625 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12626 (direct-print-region-helper): Use `string-match-p'.
12627
aed838b5
LL
126282013-06-21 Leo Liu <sdl.web@gmail.com>
12629
cedf5c9d
JB
12630 * comint.el (comint-redirect-results-list-from-process):
12631 Fix infinite loop.
aed838b5 12632
d80a808f
LMI
126332013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12634
12635 * net/eww.el (eww-update-header-line-format): Quote % characters.
12636
e7a526e3
GM
126372013-06-21 Glenn Morris <rgm@gnu.org>
12638
12639 * play/cookie1.el (cookie): New custom group.
12640 (cookie-file): New option.
12641 (cookie-check-file): New function.
12642 (cookie): Make it interactive. Make start and end messages optional.
12643 Interactively, display the result. Default to cookie-file.
12644 (cookie-insert): Default to cookie-file.
12645 (cookie-snarf): Make start and end messages optional.
12646 Default to cookie-file. Use with-temp-buffer.
12647 (cookie-read): Rename from read-cookie.
12648 Make start and end messages optional. Default to cookie-file.
12649 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 12650 Do not autoload it.
e7a526e3
GM
12651 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12652 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12653
62efb35e
LL
126542013-06-21 Leo Liu <sdl.web@gmail.com>
12655
12656 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12657
21e3f963
GM
126582013-06-21 Glenn Morris <rgm@gnu.org>
12659
12660 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12661
fd846ab4
SM
126622013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12663 Daniel Hackney <dan@haxney.org>
12664
12665 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12666 Consolidate the single-file vs tarball code.
12667 (package-desc-suffix): New function.
12668 (package-desc-full-name): Don't bother inlining it.
12669 (package-load-descriptor): Return the new package-desc.
12670 (package-mark-obsolete): Remove unused arg `package'.
12671 (package-unpack): Make it work for single files as well.
12672 Make it update package-alist.
12673 (package--make-autoloads-and-stuff): Rename from
12674 package--make-autoloads-and-compile. Don't compile any more.
12675 (package--compile): New function.
12676 (package-generate-description-file): New function, extracted from
12677 package-unpack-single.
12678 (package-unpack-single): Remove.
12679 (package--with-work-buffer): Add indentation and debugging info.
12680 (package-download-single): Remove.
12681 (package-install-from-archive): Rename from package-download-tar, make
12682 it take a pkg-desc, and make it work for single files as well.
12683 (package-download-transaction): Simplify.
12684 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12685 external tar program.
12686 (package-install-from-buffer): Remove `pkg-desc' argument.
12687 Use package-tar-file-info for tar-mode buffers.
12688 (package-install-file): Simplify accordingly.
12689 (package-archive-base): Change to take a pkg-desc.
12690 * tar-mode.el (tar--check-descriptor): New function, extracted from
12691 tar-get-descriptor.
12692 (tar-get-descriptor): Use it.
12693 (tar-get-file-descriptor): New function.
12694 (tar--extract): New function, extracted from tar-extract.
12695 (tar--extract): Use it.
12696 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12697 case the summary uses non-ascii. Adjust to new calling convention of
12698 package-tar-file-info.
12699
b7deae5e
LL
127002013-06-21 Leo Liu <sdl.web@gmail.com>
12701
fd846ab4
SM
12702 * comint.el (comint-redirect-results-list-from-process):
12703 Fix random delay. (Bug#14681)
b7deae5e 12704
7a65a0b2
JB
127052013-06-21 Juanma Barranquero <lekktu@gmail.com>
12706
12707 * profiler.el (profiler-format-number): Use log, not log10.
12708
1493c2af
JB
127092013-06-20 Juanma Barranquero <lekktu@gmail.com>
12710
12711 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12712
aff6371e
SM
127132013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12716 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12717 yet available.
12718 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12719 (AUTOGENEL): ... here.
12720 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12721 (cl--defsubst-expand): Use it.
12722
89561f72
PE
127232013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12724
12725 * subr.el (log10): Move here from C code, and declare as obsolete.
12726 All uses of (log10 X) replaced with (log X 10).
12727
47199123
JB
127282013-06-20 Juanma Barranquero <lekktu@gmail.com>
12729
12730 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12731 Declare with `defvar-local'.
12732 (tabulated-list-use-header-line, tabulated-list-entries)
12733 (tabulated-list-padding, tabulated-list-printer)
12734 (tabulated-list-sort-key): Declare with `defvar-local'.
12735 (tabulated-list-init-header, tabulated-list-print-fake-header):
12736 Use `setq-local'.
12737
4a172eab
MA
127382013-06-20 Michael Albinus <michael.albinus@gmx.de>
12739
47199123
JB
12740 * arc-mode.el (archive-mode): Add `archive-write-file' to
12741 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 12742
5fc0acc0
JB
127432013-06-20 Juanma Barranquero <lekktu@gmail.com>
12744
d5b27848
JB
12745 * cus-edit.el (custom-commands): Fix typos.
12746 (custom-display): Fix tooltip text.
12747 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12748 Fix typos in docstrings.
12749 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12750 (custom-unlispify-menu-entry, custom-magic-value-create)
12751 (custom-add-see-also, custom-group-value-create): Use ?\s.
12752 (custom-guess-type, customize-apropos, editable-field)
12753 (custom-face-value-create): Use `string-match-p'.
12754 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12755
12756 * custom.el (custom-load-symbol): Use `string-match-p'.
12757
a5c581d8
JB
12758 * ansi-color.el: Convert to lexical binding.
12759 (ansi-colors): Fix URL.
12760 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12761 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12762 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12763
970ad972
G
127642013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12765
12766 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12767
12768 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12769
127702013-06-19 Tom Tromey <tromey@redhat.com>
12771
12772 * net/eww.el (eww-top-url): Remove.
12773 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12774 (eww-render): Set new variables. Don't set eww-top-url.
12775 (eww-handle-link): Handle "prev", "home", and "contents".
12776 Downcase the rel text.
12777 (eww-top-url): Choose best top URL.
12778
127792013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12780
12781 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12782 relying in widget.el. Using widget.el leads to too many
12783 user interface inconsistencies.
12784 (eww-self-insert): Implement entering commands in text fields.
12785 (eww-process-text-input): New function to make text input field editing
12786 work.
12787 (eww-submit): Rewrite to use the new-style form methods.
12788 (eww-select-display): Display the correct selected item.
12789 (eww-change-select): Implement changing the select value.
12790 (eww-toggle-checkbox): Implement radio/checkboxes.
12791 (eww-update-field): Fix compilation error.
12792 (eww-tag-textarea): Implement <textarea>.
12793
12794 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12795 we don't shadow mode-specific bindings.
12796
12797 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12798 nothing to push.
12799
12800 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12801
4582a01c 128022013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
12803
12804 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12805
15b263dc
MA
128062013-06-19 Michael Albinus <michael.albinus@gmx.de>
12807
12808 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12809 not needed.
12810
12811 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12812
8f5297f7
LMI
128132013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12814
12815 * net/browse-url.el (browse-url-browser-function):
12816 `eww-browse-url' has the right calling signature, `eww' does not.
12817
011c4552
GM
128182013-06-19 Glenn Morris <rgm@gnu.org>
12819
2285bd27
GM
12820 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12821 Only eval autoloaded macros.
12822 (byte-compile-autoload): Only give the macro warning for macros.
12823
1d653303
GM
12824 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12825 (ps-underlined-faces): Declare.
12826
bdd779ec
GM
12827 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12828 (speedbar-add-supported-extension): Declare.
12829
011c4552
GM
12830 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12831 Don't include a date stamp in the header of the generated file;
12832 it leads to needless differences between output files.
12833
e59dfb0e
MA
128342013-06-19 Michael Albinus <michael.albinus@gmx.de>
12835
c763842b
SM
12836 * net/secrets.el (secrets-struct-secret-content-type):
12837 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 12838 Some servers do not offer introspection.
e59dfb0e 12839
102626e2
SM
128402013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * electric.el (electric-pair-mode): Improve interaction with
12843 electric-layout-mode.
12844 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12845 (electric-pair-syntax): Use text-mode-syntax-table in comments
12846 and strings.
12847 (electric-pair--insert): New function.
12848 (electric-pair-post-self-insert-function): Use it and
12849 electric--after-char-pos.
12850
ad528125
LL
128512013-06-19 Leo Liu <sdl.web@gmail.com>
12852
12853 * progmodes/octave.el (octave-help): Fix regexp.
12854
924d6997
G
128552013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12856
12857 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12858 (shr-table-horizontal-line): Allow nil as a value, and change the
12859 default.
12860 (shr-insert-table-ruler): Respect the nil value.
12861
128622013-06-18 Tom Tromey <tromey@barimba>
12863
12864 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12865 New defvars.
12866 (eww-open-file): New defun.
12867 (eww-render): Initialize new variables.
12868 (eww-display-html): Handle "link" and "a".
12869 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12870 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12871 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
12872 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12873 New defuns.
924d6997 12874
d1bbba4f
DG
128752013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12876
12877 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12878 Distinguish ternary operator tokens from slash symbol and slash
12879 char literal.
12880
14dd22d2
JB
128812013-06-18 Juanma Barranquero <lekktu@gmail.com>
12882
12883 Convert symbol prettification into minor mode and global minor mode.
12884
12885 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12886 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12887 (prettify-symbols--keywords): Rename from
12888 `prog-prettify-symbols-alist' and make a local defvar.
12889 (prettify-symbols--compose-symbol): Rename from
12890 `prog--prettify-font-lock-compose-symbol'.
12891 (prettify-symbols--make-keywords): Rename from
12892 `prog-prettify-font-lock-symbols-keywords' and simplify.
12893 (prog-prettify-install): Remove.
12894 (prettify-symbols-mode): New minor mode, based on
12895 `prog-prettify-install'.
12896 (turn-on-prettify-symbols-mode): New function.
12897 (global-prettify-symbols-mode): New globalized minor mode.
12898
12899 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12900 * progmodes/cfengine.el (cfengine3-mode):
12901 * progmodes/perl-mode.el (perl-mode): Don't call
12902 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12903
292c880c
JL
129042013-06-18 Juri Linkov <juri@jurta.org>
12905
12906 * files-x.el (modify-file-local-variable-message): New function.
12907 (modify-file-local-variable)
12908 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12909 and call `modify-file-local-variable-message' when it's non-nil.
12910 (add-file-local-variable, delete-file-local-variable)
12911 (add-file-local-variable-prop-line)
12912 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12913 and use it. (Bug#9820)
12914
0950aa27
JL
129152013-06-18 Juri Linkov <juri@jurta.org>
12916
12917 * emulation/vi.el (vi-shell-op):
12918 * emulation/vip.el (vip-execute-com, ex-command):
12919 * emulation/viper-cmd.el (viper-exec-bang):
12920 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12921 the call of `shell-command-on-region'. (Bug#14637)
12922
12923 * simple.el (shell-command-on-region): Doc fix.
12924
8fbcca16
SM
129252013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12928 (bug#14633).
12929
dd7426ea
GM
129302013-06-18 Glenn Morris <rgm@gnu.org>
12931
4ba54f7d
GM
12932 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12933
dd7426ea
GM
12934 * newcomment.el (comment-search-forward, comment-search-backward):
12935 Doc fix. (Bug#14376)
12936
58aa805b
JB
129372013-06-18 Juanma Barranquero <lekktu@gmail.com>
12938
12939 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12940 (buffer-face-mode-invoke): Doc fix.
12941
9a08a617
MM
129422013-06-18 Matthias Meulien <orontee@gmail.com>
12943
12944 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12945 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12946
f2f426ca
GM
129472013-06-18 Glenn Morris <rgm@gnu.org>
12948
9445f99b
GM
12949 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12950 Replace obsolete function generic-make-keywords with its expansion.
12951
e0df2d14
GM
12952 * progmodes/python.el (ffap-alist): Declare.
12953
f2f426ca
GM
12954 * textmodes/reftex.el (bibtex-mode-map): Declare.
12955
f7f9a720
SM
129562013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12959 (package-unpack, package-unpack-single): Return the pkg-dir.
12960 (package-download-transaction): Use it to update package-alist.
12961
57ff04e0
LMI
129622013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12963
12964 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12965 possible choice.
12966
c048c022
JL
129672013-06-17 Juri Linkov <juri@jurta.org>
12968
12969 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12970
b5bcaee5
DG
129712013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12972
a020afb9
JB
12973 * emacs-lisp/package.el (package-load-descriptor):
12974 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12975 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12976
551e07e5
JB
129772013-06-17 Juanma Barranquero <lekktu@gmail.com>
12978
12979 * startup.el (command-line): Expand package name returned by
12980 `package--description-file' (bug#14639).
12981
d363bffb
DG
129822013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12983
12984 * emacs-lisp/package.el (package-load-descriptor): Do not call
12985 `emacs-lisp-mode', just use its syntax table.
12986
f612933b
JB
129872013-06-17 Juanma Barranquero <lekktu@gmail.com>
12988
12989 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12990 `font-lock-extra-managed-props' if any prettifying keyword is added.
12991 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12992 (prog-mode): Use `setq-local'.
12993
db3b7db5
SM
129942013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * international/characters.el (standard-case-table): Set syntax of ?»
12997 and ?« to punctuation.
12998
f3d674df
JB
129992013-06-16 Juanma Barranquero <lekktu@gmail.com>
13000
13001 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13002 Save relevant match data before calling `syntax-ppss' (bug#14595).
13003
31489a32
JL
130042013-06-15 Juri Linkov <juri@jurta.org>
13005
13006 * files-x.el (modify-file-local-variable-prop-line): Add local
13007 variables to the end of the existing comment on the first line.
13008 Use `file-auto-mode-skip' to skip interpreter magic line,
13009 and also skip XML declaration.
13010
66bd25ab
SM
130112013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * startup.el (package--builtin-versions): New var.
13014 (package-subdirectory-regexp): Remove.
13015 (package--description-file): Hard code its value instead.
13016
13017 * emacs-lisp/package.el: Don't activate packages older than builtin.
13018 (package-obsolete-list): Rename from package-obsolete-alist, and make
13019 it into a simple list of package-desc.
13020 (package-strip-version): Remove.
13021 (package-built-in-p): Use package--builtin-versions.
13022 (package-mark-obsolete): Simplify.
13023 (package-process-define-package): Mark it obsolete if older than the
13024 builtin version.
13025 (package-handle-response): Use line-end-position.
13026 (package-read-archive-contents, package--download-one-archive):
13027 Simplify.
13028 (package--add-to-archive-contents): Skip if older than the builtin or
13029 installed version.
13030 (package-menu-describe-package): Fix last change.
13031 (package-list-unversioned): New var.
13032 (package-menu--generate): Use it.
13033
13034 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13035 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13036 (autoload-builtin-package-versions): New variable.
13037 (autoload-generate-file-autoloads): Use them.
13038 Remove the list of autoloaded functions/macros from the
13039 (autoload...) comments.
13040
13041 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13042
9583ec36
EZ
130432013-06-15 Eli Zaretskii <eliz@gnu.org>
13044
13045 * simple.el (line-move-partial): Don't jump to the next screen
13046 line as soon as it becomes visible. Instead, continue enlarging
13047 the vscroll until the portion of a tall screen line that's left on
13048 display is about the height of the frame's default font.
13049 (Bug#14567)
13050
f0100d8a
GM
130512013-06-15 Glenn Morris <rgm@gnu.org>
13052
b86a85ca
GM
13053 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13054 compilation-error-regexp-alist void, or local while let-bound.
13055
f0100d8a
GM
13056 * progmodes/make-mode.el (makefile-mode-syntax-table):
13057 Treat "=" as punctuation. (Bug#14614)
13058
05e7ce90
JB
130592013-06-15 Juanma Barranquero <lekktu@gmail.com>
13060
13061 * help-fns.el (describe-variable):
13062 Add extra line for permanent-local variables.
13063
12e5e86e
SH
130642013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13065
13066 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13067 Add export, import, library. (Bug#9164)
13068 (library): Set indent function.
13069
230dcbaf
GM
130702013-06-14 Glenn Morris <rgm@gnu.org>
13071
13072 * term/xterm.el (xterm--query):
13073 Stop after first matching handler. (Bug#14615)
13074
e36b2d20 130752013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
13076
13077 Add support for dired in saveplace.
13078 * dired.el (dired-initial-position-hook): New variable.
13079 (dired-initial-position): Call hook to place cursor position.
13080 * saveplace.el (save-place-to-alist): Add dired position.
13081 (save-place-dired-hook): New function.
13082
0b31660d
SM
130832013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13084
bf1e6ae8
SM
13085 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13086 through a symbol rather than letrec.
13087
1b8dff23
SM
13088 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13089 (package-desc): Add `dir' field.
13090 (package-desc-full-name): New function.
13091 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13092 (package-maybe-load-descriptor): Remove.
13093 (package-load-all-descriptors): Just call package-load-descriptor.
13094 (package--disabled-p): New function.
13095 (package-desc-vers, package-desc-doc): Remove aliases.
13096 (package--dir): Remove function.
13097 (package-activate): Check if a package is disabled.
13098 (package-process-define-package): New function, extracted from
13099 define-package.
13100 (define-package): Turn into a place holder.
13101 (package-unpack-single, package-tar-file-info):
13102 Use package--description-file.
13103 (package-compute-transaction): Use package--disabled-p.
13104 (package-download-transaction): Don't call
13105 package-maybe-load-descriptor since they're all loaded anyway.
13106 (package-install): Change argument to be a pkg-desc.
13107 (package-delete): Use a single pkg-desc argument.
13108 (describe-package-1): Use package-desc-dir instead of package--dir.
13109 Use package-desc property instead of package-symbol.
13110 (package-install-button-action): Adjust accordingly.
13111 (package--push): Rewrite.
13112 (package-menu--print-info): Adjust accordingly. Change the ID format
13113 to be a pkg-desc.
13114 (package-menu-describe-package, package-menu-get-status)
13115 (package-menu--find-upgrades, package-menu-mark-upgrades)
13116 (package-menu-execute, package-menu--name-predicate):
13117 Adjust accordingly.
13118 * startup.el (package--description-file): New function.
13119 (command-line): Use it.
13120 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13121 Use package-desc-version.
13122
0b31660d
SM
13123 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13124 (byte-compile-preprocess): Use it.
13125 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13126 can't quite recognize.
13127 (byte-compile-add-to-list): Remove.
13128 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13129 (cconv-closure-convert): Add assertion.
13130
13131 * emacs-lisp/map-ynp.el: Use lexical-binding.
13132 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13133 Factor out some repeated code.
13134
de0503df
SM
131352013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * subr.el (with-eval-after-load): New macro.
13138 (eval-after-load): Allow form to be a function.
13139 take advantage of lexical-binding.
13140 (do-after-load-evaluation): Use dolist and adjust to new format.
13141 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13142
bc5c8c5a
JL
131432013-06-13 Juri Linkov <juri@jurta.org>
13144
13145 * replace.el (perform-replace): Display "symbol " and other search
13146 modes from `isearch-message-prefix' in the *Help* buffer.
13147
13148 * isearch.el (isearch-query-replace): Add " symbol" and other
13149 possible search modes from `isearch-message-prefix' to the prompt.
13150 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13151 when reading a regexp to collect.
13152
a22289f7
JL
131532013-06-13 Juri Linkov <juri@jurta.org>
13154
13155 * isearch.el (word-search-regexp): Match whitespace if the search
13156 string begins or ends in whitespace. The LAX arg is applied to
13157 both ends of the search string. Use `regexp-quote' and explicit
13158 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13159 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13160 boundaries are replaced with symbol boundaries, and characters
13161 between symbols match non-word non-symbol syntax. (Bug#14602)
13162
cb89acab
JL
131632013-06-13 Juri Linkov <juri@jurta.org>
13164
13165 * isearch.el (isearch-del-char): Don't exceed the length of
13166 `isearch-string' by the prefix arg. (Bug#14563)
13167
6e8cfc81
JL
131682013-06-13 Juri Linkov <juri@jurta.org>
13169
13170 * isearch.el (isearch-yank-word, isearch-yank-line)
13171 (isearch-char-by-name, isearch-quote-char)
13172 (isearch-printing-char, isearch-process-search-char):
13173 Add optional count prefix arg. (Bug#14563)
13174
13175 * international/isearch-x.el
13176 (isearch-process-search-multibyte-characters):
13177 Add optional count prefix arg.
13178
c23d55f4
VS
131792013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13182 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13183 lexical-binding.
13184
131852013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13186
13187 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13188
ba947bc4
GM
131892013-06-13 Glenn Morris <rgm@gnu.org>
13190
8baeb37a
GM
13191 * startup.el (tty-handle-args):
13192 Don't just discard "--" and anything after. (Bug#14608)
13193
ba947bc4
GM
13194 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13195
9abefce4
MA
131962013-06-13 Michael Albinus <michael.albinus@gmx.de>
13197
13198 Implement changes in Secret Service API. Make it backward compatible.
13199 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13200 (secrets-create-item): Use it. Prefix properties with interface.
13201
5755011f
MH
132022013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13203
13204 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13205 (term-emulate-terminal): Respect term-suppress-hard-newline.
13206
1261d2da
S
132072013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13208
13209 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13210 Only remove a `thumb-file' overlay. (Bug#14548)
13211
868490bb
GJ
132122013-06-12 Grégoire Jadi <daimrod@gmail.com>
13213
13214 * mail/reporter.el (reporter-submit-bug-report):
13215 Handle missing package-name. (Bug#14600)
13216
79d7167f
TH
132172013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13218
13219 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13220 (reftex-citation-prompt, reftex-default-bibliography)
13221 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13222 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13223 (reftex-bib-sort-author, reftex-bib-sort-year)
13224 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13225 (reftex-extract-bib-entries-from-thebibliography)
13226 (reftex-get-bibkey-default, reftex-get-bib-names)
13227 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13228 (reftex-format-bib-entry, reftex-parse-bibitem)
13229 (reftex-format-bibitem, reftex-do-citation)
13230 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13231 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13232 (reftex-insert-bib-matches, reftex-format-citation)
13233 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13234 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13235 existing comments into docstrings.
13236
5f9dbd7a
XF
132372013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13238
13239 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13240
94df41ab
AS
132412013-06-12 Andreas Schwab <schwab@suse.de>
13242
13243 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13244 for auto-save files.
13245
a7f3fecc
GM
132462013-06-12 Glenn Morris <rgm@gnu.org>
13247
001809f6
GM
13248 * ido.el (ido-delete-ignored-files): Remove.
13249 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13250 Go back to calling ido-ignore-item-p directly.
a7f3fecc 13251
834b5ded
EL
132522013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13253
08c73ed2
EL
13254 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13255
834b5ded
EL
13256 * ido.el (ido-delete-ignored-files): New function,
13257 split from ido-make-file-list-1.
13258 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13259 (ido-make-file-list-1): Use ido-delete-ignored-files.
13260
daabf15a
LL
132612013-06-12 Leo Liu <sdl.web@gmail.com>
13262
13263 * progmodes/octave.el (inferior-octave-startup)
13264 (inferior-octave-completion-table)
13265 (inferior-octave-track-window-width-change)
13266 (octave-eldoc-function-signatures, octave-help)
13267 (octave-find-definition): Use single quoted strings.
13268 (inferior-octave-startup-args): Change default value.
13269 (inferior-octave-startup): Do not hard code "-i" and
13270 "--no-line-editing".
13271 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13272 (inferior-octave-directory-tracker): Use it.
13273 (octave-goto-function-definition): Robustify.
13274 (octave-help): Support highlighting operators in 'See also'.
13275 (octave-find-definition): Find subfunctions only in Octave mode.
13276
cf4e5178
SM
132772013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13278
13279 * help-fns.el (help-fns--compiler-macro): If the handler function is
13280 named, then put a link to it.
13281 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13282 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13283 (cl-typep): Use it.
13284 (cl-eval-when): Simplify debug spec.
13285 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13286 compiler-macro function instead of setting `compiler-macro-file'.
13287
99c81280 132882013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
13289
13290 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13291 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13292
f56be016
SM
132932013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13294 Daniel Hackney <dan@haxney.org>
13295
13296 First part of Daniel Hackney's patch to package.el.
13297 * emacs-lisp/package.el: Use defstruct.
13298 (package-desc): New, main struct.
13299 (package--bi-desc, package--ac-desc): New structs, used to describe the
13300 format in external files.
13301 (package-desc-vers): Replace with package-desc-version accessor.
13302 (package-desc-doc): Replace with package-desc-summary accessor.
13303 (package-activate-1): Remove `package' arg since the pkg-vec now
13304 includes the name.
13305 (define-package): Use package-desc-from-define.
13306 (package-unpack-single): Change file-name arg to be a symbol.
13307 (package--add-to-archive-contents): Use package-desc-create and new
13308 accessor functions to package--ac-desc.
13309 (package-buffer-info, package-tar-file-info): Return a package-desc.
13310 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13311 arg to be a package-desc.
13312 (package-install-file): Adjust accordingly. Use \' to match EOS.
13313 (package--from-builtin): New function.
13314 (describe-package-1, package-menu--generate): Use it.
13315 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13316 (package-generate-autoloads): Idem and return the name of the file.
13317 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13318 Change pkg-info arg to be a package-desc.
13319 Use package-make-ac-desc.
13320 (package-upload-file): Use \' to match EOS.
13321 * finder.el (finder-compile-keywords): Use package-make-builtin.
13322
31119d63
SM
133232013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13324
931a2762
SM
13325 * vc/vc.el (vc-deduce-fileset): Change error message.
13326 (vc-read-backend): New function.
13327 (vc-next-action): Use it.
13328
5a3eb0c6
SM
13329 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13330
e3eb1bb7
SM
13331 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13332 (prolog-font-lock-keywords): Use regexp-opt instead.
13333 Don't manually highlight strings.
13334 (prolog-mode-variables): Simplify comment-start-skip.
13335 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13336
31119d63
SM
13337 * emacs-lisp/generic.el (generic--normalise-comments)
13338 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13339 (generic-mode-set-comments): Use them.
13340 (generic-bracket-support): Use setq-local.
13341 (generic-make-keywords-list): Declare obsolete.
13342
7de135d0
GM
133432013-06-11 Glenn Morris <rgm@gnu.org>
13344
13345 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13346 Prettify after setting font-lock-defaults. (Bug#14574)
13347
fa6bc6fd
JB
133482013-06-11 Juanma Barranquero <lekktu@gmail.com>
13349
13350 * replace.el (query-replace, occur-read-regexp-defaults-function)
13351 (replace-search):
13352 * subr.el (declare-function, number-sequence, local-set-key)
13353 (substitute-key-definition, locate-user-emacs-file)
13354 (with-silent-modifications, split-string, eval-after-load):
13355 Fix typos, remove unneeded backslashes and reflow some docstrings.
13356
cf1f9b9a
SM
133572013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13360 default for Elisp files.
13361
56602a4b
GM
133622013-06-11 Glenn Morris <rgm@gnu.org>
13363
13364 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13365 although define-derived-mode was doing this anyway. (Bug#14583)
13366
30ae0b2c
JB
133672013-06-10 Juanma Barranquero <lekktu@gmail.com>
13368
13369 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13370 Fix make-variable-buffer-local call to refer to the correct variable.
13371
fa472906
AG
133722013-06-10 Aidan Gauland <aidalgol@amuri.net>
13373
13374 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
13375 (eshell-visual-subcommands, eshell-visual-options):
13376 Add summary line to docstrings. Add cross-references.
fa472906 13377
ff4871b9
GM
133782013-06-10 Glenn Morris <rgm@gnu.org>
13379
13380 * epa.el (epa-read-file-name): New function. (Bug#14510)
13381 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13382
04fcf1b0
AG
133832013-06-09 Aidan Gauland <aidalgol@amuri.net>
13384
13385 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13386 output redirection to be ignored with visual commands.
13387
88b00caa
AG
133882013-06-09 Aidan Gauland <aidalgol@amuri.net>
13389
13390 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
13391 (eshell-term-initialize): Move long lambda to separate function
13392 eshell-visual-command-p.
27821a89 13393 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
13394 * eshell/em-script.el (eshell-script-initialize):
13395 Add missing #' to lambda.
88b00caa 13396
fda74125
LL
133972013-06-08 Leo Liu <sdl.web@gmail.com>
13398
13399 * progmodes/octave.el (octave-add-log-current-defun): New function.
13400 (octave-mode): Set add-log-current-defun-function.
13401 (octave-goto-function-definition): Do not move point if not found.
13402 (octave-find-definition): Enhance to try subfunctions first.
13403
467f3b33
GM
134042013-06-08 Glenn Morris <rgm@gnu.org>
13405
13406 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13407 (byte-compile-backward-char, byte-compile-backward-word):
13408 Improve previous change, to handle non-explicit nil.
13409
544badc3
SM
134102013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13413 (smie--opener/closer-at-point): New function.
13414 (smie--matching-block-data): Use it. Don't match from right after an
13415 opener or right before a closer. Obey smie-blink-matching-inners.
13416 Don't signal a mismatch for repeated inners like "switch..case..case".
13417
a175bf33
LL
134182013-06-07 Leo Liu <sdl.web@gmail.com>
13419
13420 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13421 to t. (Bug#14303)
ce8209d4
LL
13422 (octave-function-header-regexp): Fix. (Bug#14570)
13423 (octave-help-mode-finish-hook, octave-help-mode-finish):
13424 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
13425
13426 * newcomment.el (comment-search-backward): Revert last change.
13427 (Bug#14434)
13428
13429 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13430
a822acff
EZ
134312013-06-07 Eli Zaretskii <eliz@gnu.org>
13432
13433 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13434 through xargs, to avoid failure due to MS-Windows limitations on
13435 command-line length.
13436
961166f5
GM
134372013-06-06 Glenn Morris <rgm@gnu.org>
13438
d0341459
GM
13439 * font-lock.el (lisp-font-lock-keywords-2):
13440 Treat user-error like error.
13441
961166f5
GM
13442 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13443 (byte-compile-backward-char, byte-compile-backward-word):
13444 Handle explicit nil arguments. (Bug#14565)
13445
80fa505f
AM
134462013-06-05 Alan Mackenzie <acm@muc.de>
13447
13448 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 13449 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 13450 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 13451 (Bug#9706)
80fa505f 13452
fccdc796
SM
134532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13454
13455 * autorevert.el (auto-revert-notify-handler): Use memq.
13456 Hide assertion failure.
13457
13458 * skeleton.el: Use cl-lib.
13459 (skeleton-further-elements): Use defvar-local.
13460 (skeleton-insert): Use cl-progv.
13461
9bfff84b
TZ
134622013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13463
13464 * progmodes/prog-mode.el (prog-prettify-symbols)
13465 (prog-prettify-install): Update docstrings.
13466
55577e7c
SM
134672013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13468
13469 * simple.el: Move all the prog-mode code to prog-mode.el.
13470 * progmodes/prog-mode.el: New file.
13471 * loadup.el: Add prog-mode.el.
13472
8fc57765
TZ
134732013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13474
13475 * simple.el (prog-prettify-symbols): Add version.
13476 (prog-prettify-install): Add convenience function to prettify symbols.
13477
13478 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13479 (perl--augmented-font-lock-keywords-1)
13480 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13481 variables and use it.
13482
13483 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13484 (cfengine3-mode): Remove unneeded variable and use it.
13485
13486 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13487 (lisp--augmented-font-lock-keywords-1)
13488 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13489 Remove unneeded variables and use it.
13490
650645d5 134912013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
13492
13493 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 13494 to point when opening the connection. (Bug#14380)
28f5da6d 13495
781b4af6
SM
134962013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13497
13498 * subr.el (load-history-regexp, load-history-filename-element)
13499 (eval-after-load, after-load-functions, do-after-load-evaluation)
13500 (eval-next-after-load, display-delayed-warnings)
13501 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13502 definition of save-match-data.
13503 (overriding-local-map): Remove accidental obsolescence declaration.
13504
13505 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13506
3ca0d0b4
TZ
135072013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13508
13509 Generalize symbol prettify support to prog-mode and implement it
13510 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13511 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13512 (prog--prettify-font-lock-compose-symbol)
13513 (prog-prettify-font-lock-symbols-keywords): New variables and
13514 functions to support symbol prettification.
13515 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13516 (lisp--augmented-font-lock-keywords-1)
13517 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13518 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13519 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
13520 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13521 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
13522 * progmodes/perl-mode.el (perl-prettify-symbols)
13523 (perl--font-lock-compose-symbol)
13524 (perl--font-lock-symbols-keywords): Move to prog-mode.
13525 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13526 (perl-font-lock-keywords-1)
13527 (perl-font-lock-keywords-2): Remove explicit prettify support.
13528 (perl--augmented-font-lock-keywords)
13529 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
13530 (perl--augmented-font-lock-keywords-2, perl-mode):
13531 Implement prettify support.
3ca0d0b4 13532
976cb066
LL
135332013-06-05 Leo Liu <sdl.web@gmail.com>
13534
27821a89 13535 Re-implement SMIE matching block highlight using
976cb066
LL
13536 show-paren-data-function. (Bug#14395)
13537 * emacs-lisp/smie.el (smie-matching-block-highlight)
13538 (smie--highlight-matching-block-overlay)
13539 (smie--highlight-matching-block-lastpos)
13540 (smie-highlight-matching-block)
13541 (smie-highlight-matching-block-mode): Remove.
13542 (smie--matching-block-data-cache): New variable.
13543 (smie--matching-block-data): New function.
13544 (smie-setup): Use smie--matching-block-data for
13545 show-paren-data-function.
13546
13547 * progmodes/octave.el (octave-mode-menu): Fix.
13548 (octave-find-definition): Skip garbage lines.
13549
208d0342
SM
135502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 Fix compilation error with simultaneous dynamic+lexical scoping.
13553 Add warning when a defvar appears after the first let-binding.
13554 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13555 (byte-compile-close-variables): Initialize it.
13556 (byte-compile--declare-var): New function.
13557 (byte-compile-file-form-defvar)
13558 (byte-compile-file-form-define-abbrev-table)
13559 (byte-compile-file-form-custom-declare-variable): Use it.
13560 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13561 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13562 (byte-compile-bind): Handle dynamic bindings that shadow
13563 lexical bindings.
13564 (byte-compile-unbind): Make arg non-optional.
13565 (byte-compile-let): Simplify.
13566 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13567 (cconv--analyse-function, cconv-analyse-form): Populate it.
13568 Protect byte-compile-bound-variables to limit the scope of defvars.
13569 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13570 Remove unneeded rule for `declare'.
13571
13572 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13573 so as to avoid depending on cl-adjoin at run-time.
13574 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13575
13576 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13577 (macroexp--warn-and-return): Use it.
13578
1ac2891e
GM
135792013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13580
a12bf61e 13581 * subr.el: Convert to lexical binding.
1ac2891e
GM
13582 (overriding-local-map): Make obsolete.
13583 (add-to-list): Doc fix. Add compiler macro.
13584 (read-key): Swap values of local maps.
13585
2587b005
LL
135862013-06-05 Leo Liu <sdl.web@gmail.com>
13587
13588 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13589
f1da3c88
LL
135902013-06-04 Leo Liu <sdl.web@gmail.com>
13591
13592 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13593 (compilation-auto-jump): Suppress the "Mark set" message to give
13594 way to exit message.
13595
3caa391f
AM
135962013-06-04 Alan Mackenzie <acm@muc.de>
13597
13598 Remove faulty optimisation from indentation calculation.
13599 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13600 search limit based on 2000 characters back from indent-point.
13601
068922a2
TH
136022013-06-03 Tassilo Horn <tsdh@gnu.org>
13603
13604 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13605
1f8fdd53
SM
136062013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13607
bbcc4d97
SM
13608 * emacs-lisp/lisp.el: Use lexical-binding.
13609 (lisp--local-variables-1, lisp--local-variables): New functions.
13610 (lisp--local-variables-completion-table): New var.
208d0342 13611 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 13612
1f8fdd53
SM
13613 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13614 eagerly (bug#14422).
13615
c9628c79
MA
136162013-06-03 Michael Albinus <michael.albinus@gmx.de>
13617
13618 * autorevert.el (auto-revert-notify-enabled)
13619 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13620 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13621 (auto-revert-notify-handler): Handle also gfilenotify.
13622
e7b41c4c 13623 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 13624 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 13625 Remove.
c9628c79 13626
e5e4a942
JL
136272013-06-03 Juri Linkov <juri@jurta.org>
13628
13629 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13630 `M-s h .'. (Bug#14427)
13631
13632 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13633 command `hi-lock-face-symbol-at-point'.
13634 (hi-lock-face-symbol-at-point): New command.
13635 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13636 (hi-lock-menu): Add `highlight-symbol-at-point'.
13637 (hi-lock-mode): Doc fix.
13638
13639 * isearch.el (isearch-forward-symbol-at-point): New command.
13640 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13641 (isearch-highlight-regexp): Add a regexp which matches
13642 words/symbols for word/symbol mode.
13643
13644 * subr.el (find-tag-default-bounds): New function with the body
13645 mostly moved from `find-tag-default'.
13646 (find-tag-default): Move most code to `find-tag-default-bounds',
13647 call it and apply `buffer-substring-no-properties' afterwards.
13648
26b3353a
TH
136492013-06-03 Tassilo Horn <tsdh@gnu.org>
13650
781b4af6
SM
13651 * eshell/em-term.el (eshell-term-initialize):
13652 Use `cl-intersection' rather than `intersection'.
26b3353a 13653
51b60f53
XF
136542013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13655
fe054b63 13656 * vc/log-view.el: Doc fix.
d3ffe17c 13657 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 13658
a0eb10b3 136592013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
13660
13661 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13662 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13663 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13664 (eieio-unbound, eieio-default-superclass)
13665 (eieio--define-field-accessors, method-static, method-before)
13666 (method-primary, method-after, method-num-lists)
13667 (method-generic-before, method-generic-primary)
13668 (method-generic-after, method-num-slots)
13669 (eieio-specialized-key-to-generic-key)
13670 (eieio--check-type, class-v, class-p)
13671 (eieio-class-name, define-obsolete-function-alias)
13672 (eieio-class-parents-fast, eieio-class-children-fast)
13673 (same-class-fast-p, class-constructor, generic-p)
13674 (generic-primary-only-p, generic-primary-only-one-p)
13675 (class-option-assoc, class-option, eieio-object-p)
13676 (class-abstract-p, class-method-invocation-order)
13677 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13678 (eieio-class-un-autoload, eieio-defclass)
13679 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13680 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13681 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13682 (eieio-defgeneric-reset-generic-form)
13683 (eieio-defgeneric-form-primary-only)
13684 (eieio-defgeneric-reset-generic-form-primary-only)
13685 (eieio-defgeneric-form-primary-only-one)
13686 (eieio-defgeneric-reset-generic-form-primary-only-one)
13687 (eieio-unbind-method-implementations)
13688 (eieio--defmethod, eieio--typep)
13689 (eieio-perform-slot-validation, eieio-validate-slot-value)
13690 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13691 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13692 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13693 (eieio-slot-name-index, eieio-class-slot-name-index)
13694 (eieio-set-defaults, eieio-initarg-to-attribute)
13695 (eieio-attribute-to-initarg, eieio-c3-candidate)
13696 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13697 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13698 (eieio-class-precedence-list, eieio-generic-call-methodname)
13699 (eieio-generic-call-arglst, eieio-generic-call-key)
13700 (eieio-generic-call-next-method-list)
13701 (eieio-pre-method-execution-functions, eieio-generic-call)
13702 (eieio-generic-call-primary-only, eieiomt-method-list)
13703 (eieiomt-optimizing-obarray, eieiomt-install)
13704 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13705 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 13706 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
13707 (defclass): Remove `eval-and-compile' from macro.
13708 (call-next-method, shared-initialize): Instead of using
13709 `scoped-class' variable, use new eieio--scoped-class, and
13710 eieio--with-scoped-class.
13711 (initialize-instance): Rename local variable 'scoped-class' to
13712 'this-class' to remove ambiguitity from old global.
13713
13714 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13715 eieio.el.
4f405069
JB
13716 (eieio--scoped-class-stack): New variable.
13717 (eieio--scoped-class): New fcn.
890f7890
DE
13718 (eieio--with-scoped-class): New scoping macro.
13719 (eieio-defclass): Use pushnew instead of add-to-list.
13720 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13721 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13722 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13723 `scoped-class' variable, use new eieio--scoped-class, and
13724 eieio--with-scoped-class.
13725
13726 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13727
d105b0e2
TH
137282013-06-02 Tassilo Horn <tsdh@gnu.org>
13729
13730 * eshell/esh-ext.el (eshell-external-command): Pass args to
13731 `eshell-find-interpreter'.
13732 (eshell-find-interpreter): Add new second parameter ARGS.
13733
13734 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 13735 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13736
13737 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 13738 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13739
13740 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13741 (eshell-visual-options): New defcustom.
13742 (eshell-escape-control-x): Adapt docstring.
13743 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13744 `eshell-visual-options' in addition to `eshell-visual-commands'.
13745 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13746
f46305c8 137472013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
13748
13749 * progmodes/python.el (python-indent-block-enders): Add break,
13750 continue and raise keywords.
13751
d870df21
GM
137522013-06-01 Glenn Morris <rgm@gnu.org>
13753
9133b82e
GM
13754 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13755
02c992ec 13756 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
13757 * progmodes/cc-cmds.el (delete-forward-p):
13758 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13759 * progmodes/cc-engine.el (buffer-syntactic-context):
13760 * progmodes/cc-fonts.el (face-property-instance):
13761 * progmodes/cc-mode.el (set-keymap-parents):
13762 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13763 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13764 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
13765 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13766 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 13767
31e7b090
GM
13768 * progmodes/cc-vars.el (other): Emacs has this widget since
13769 at least 21.1, so don't (re)define it.
13770
d870df21
GM
13771 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13772 Replace the obsolete alias pcomplete-arg-quote-list.
13773
c75c93c7
LL
137742013-06-01 Leo Liu <sdl.web@gmail.com>
13775
13776 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13777 punctuation syntax.
13778 (inferior-octave-minimal-columns)
13779 (inferior-octave-last-column-width): New variables.
13780 (inferior-octave-track-window-width-change): New function.
13781 (inferior-octave-mode): Adjust column width so that Octave output,
13782 for example from 'ls', can fit into the window nicely.
13783
973d1e12
DG
137842013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13785
13786 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13787 Highlight expansions inside regexp literals.
13788
0888c286
GM
137892013-05-31 Glenn Morris <rgm@gnu.org>
13790
e26aac1f
GM
13791 * obsolete/sym-comp.el (symbol-complete):
13792 Replace obsolete completion-annotate-function.
13793
0888c286
GM
13794 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13795
19bb8e62
DG
137962013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13797
781b4af6
SM
13798 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13799 New function, checks if point is inside a literal that allows
19bb8e62
DG
13800 expression expansion.
13801 (ruby-syntax-propertize-expansion): Use it.
13802 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13803 around the body.
13804
01dea85f
JL
138052013-05-30 Juri Linkov <juri@jurta.org>
13806
13807 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13808 to "\M-si".
13809 (isearch-invisible): New variable.
13810 (isearch-forward): Doc fix.
13811 (isearch-mode): Set `isearch-invisible'
13812 to the value of `search-invisible'.
13813 (isearch-toggle-case-fold): Doc fix.
13814 (isearch-toggle-invisible): New command.
13815 (isearch-query-replace): Let-bind `search-invisible'
13816 to the value of `isearch-invisible'.
13817 (isearch-search): Use `isearch-invisible' instead of
13818 `search-invisible'. Let-bind `search-invisible'
13819 to the value of `isearch-invisible'. (Bug#11378)
13820
ab1bdce5
JL
138212013-05-30 Juri Linkov <juri@jurta.org>
13822
13823 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13824 call when `query-flag' is nil and `search-invisible' is non-nil.
13825 (Bug#11746)
13826
d6d236e2
GM
138272013-05-30 Glenn Morris <rgm@gnu.org>
13828
8accd027
GM
13829 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13830
2a8bed1c
GM
13831 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13832 (cc-require): Suppress spurious "noruntime" warnings.
13833 (cc-require-when-compile): Use fboundp, for sake of compiler.
13834
d6d236e2
GM
13835 * progmodes/cc-mode.el: Move load of cc-vars before that of
13836 cc-langs (which in turn loads cc-vars), to quieten compiler.
13837
9190b35b
SM
138382013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * paren.el: Simplify the code.
13841 (show-paren-mode): Always start the timer.
13842 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13843 (show-paren--overlay, show-paren--overlay-1): Rename from
13844 show-paren-overlay and show-paren-overlay-1, and initialize to an
13845 overlay rather than to nil.
13846 (show-paren-function): Misc cleanup and simplifications.
13847
4f8d1cf6
SM
138482013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * paren.el (show-paren-data-function): New hook.
13851 (show-paren--default): New function, extracted from show-paren-function.
13852 (show-paren-function): Use show-paren-data-function.
13853
02d844b5
GM
138542013-05-30 Glenn Morris <rgm@gnu.org>
13855
d209d4a9
GM
13856 * ielm.el (ielm-map, ielm-complete-symbol):
13857 Use completion-at-point rather than obsolete functions.
13858 (inferior-emacs-lisp-mode): Doc fix.
13859 Set completion-at-point-functions, rather than
13860 comint-dynamic-complete-functions.
13861
2082faa6
GM
13862 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13863 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13864 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13865
dd8620de
GM
13866 * image.el (image-animated-p): Tweak definition.
13867
ceca95b1
GM
13868 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13869 (rlogin-process-connection-type): Tweak default. Add set-after.
13870 (rlogin-host): Doc fix.
13871 (rlogin): Tweak prompt.
13872 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13873
ee9f1acc
GM
13874 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13875 * progmodes/tcl.el (inferior-tcl-mode-map):
13876 Use completion-at-point rather than obsolete alias.
13877
45ce222e
GM
13878 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13879
02d844b5
GM
13880 * minibuffer.el (read-file-name-completion-ignore-case):
13881 Move before completion--in-region, for eager macro expansion.
13882
ac44d6c1
JL
138832013-05-29 Juri Linkov <juri@jurta.org>
13884
13885 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13886 for total count of matching lines. Add `global-matches' for total
13887 count of matches. Rename `matches' to `lines' for count of
13888 matching lines. Add `matches' for count of matches.
13889 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13890 to `prev-line' for line number of prev match endpt.
13891 Increment `matches' for every match. Print the number of
13892 matching lines in the header.
13893 (occur-context-lines): Rename `lines' to `curr-line'.
13894 Rename `prev-lines' to `prev-line'. (Bug#14017)
13895
3c9c9d38
JL
138962013-05-29 Juri Linkov <juri@jurta.org>
13897
13898 * replace.el (perform-replace): Add `skip-read-only-count',
13899 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13900 Increment them for corresponding conditions and report the number
13901 of skipped occurrences in the final message. (Bug#11746)
13902 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13903 (replace-string, replace-regexp): Doc fix.
13904
33e249a2
SM
139052013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13906
8e399682
SM
13907 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13908
33e249a2 13909 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13910 prog-mode-map (bug#14504).
33e249a2 13911
f236dd84
LL
139122013-05-29 Leo Liu <sdl.web@gmail.com>
13913
13914 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13915 (octave-help): Small simplification.
13916
13917 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13918 off the highlight first.
13919
3694d13f
GM
139202013-05-29 Glenn Morris <rgm@gnu.org>
13921
03983bdc
GM
13922 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13923 Handle idlwave-last-system-routine-info-cons-cell being nil.
13924
bc74a74a
GM
13925 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13926 (idlwave-write-paths): Simplify via with-temp-buffer.
13927
8b394200
GM
13928 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13929 * emulation/cua-rect.el: Also load cua-base at run time.
13930
3694d13f
GM
13931 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13932 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13933 (cperl-imenu-on-info): Require imenu.
13934
336d7284
AM
139352013-05-28 Alan Mackenzie <acm@muc.de>
13936
13937 Handle "capitalised keywords" correctly.
33e249a2 13938 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13939
cb29c582
AG
139402013-05-28 Aidan Gauland <aidalgol@amuri.net>
13941
781b4af6 13942 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13943
690e44b2
GM
139442013-05-28 Glenn Morris <rgm@gnu.org>
13945
e658d75c
GM
13946 * vc/vc-arch.el (vc-exec-after): Declare.
13947 (vc-switches): Autoload.
13948 * vc/vc-bzr.el: No need to require vc when compiling.
13949 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13950 (vc-resynch-buffer, vc-dir-refresh): Declare.
13951 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13952 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13953 (vc-resynch-buffer): Declare.
13954 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13955 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13956 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13957 (grep-read-regexp, grep-read-files, grep-expand-template)
13958 (vc-dir-refresh): Declare.
13959 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13960 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13961 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13962 * vc/vc-mtn.el (vc-exec-after): Declare.
13963 (vc-switches): Autoload.
13964 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13965 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13966 (vc-file-tree-walk): Declare.
712b9732
GM
13967 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13968 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13969 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13970 * vc/vc-svn.el (vc-exec-after): Declare.
13971 (vc-switches, vc-setup-buffer): Autoload.
13972 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13973 Autoload.
13974 (vc-resynch-buffer): Declare.
13975
98e87fb3
GM
13976 * obsolete/fast-lock.el (byte-compile-warnings):
13977 Don't warn about obsolete features in this obsolete file.
13978
f5379553
GM
13979 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13980 Move definition before use.
13981
7a20ef83
GM
13982 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13983 (dun-unix-verbs): Remove dun-zippy.
13984 (dun-zippy): Remove function.
13985
690e44b2
GM
13986 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13987
3a52ccf7
JL
139882013-05-27 Juri Linkov <juri@jurta.org>
13989
13990 * replace.el (replace-search): New function with code moved out
13991 from `perform-replace'.
13992 (replace-highlight, replace-dehighlight): Move function definitions
13993 up closer to `replace-search'. (Bug#11746)
13994
d289938a
JL
139952013-05-27 Juri Linkov <juri@jurta.org>
13996
13997 * replace.el (perform-replace): Ignore invisible matches.
13998 In addition to checking `query-replace-skip-read-only', also
13999 filter out matches by calling `run-hook-with-args-until-failure'
14000 on `isearch-filter-predicates', and also check `search-invisible'
14001 for t or call `isearch-range-invisible'.
14002 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14003
66fc57e3
JL
140042013-05-27 Juri Linkov <juri@jurta.org>
14005
14006 * isearch.el (isearch-filter-predicates): Rename from
14007 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14008 (isearch-message-prefix): Display text from the property
14009 `isearch-message-prefix' of the currently active filters.
14010 (isearch-search): Don't compare `isearch-filter-predicate' with
14011 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14012 on `isearch-filter-predicates'. Also check `search-invisible' for t
14013 or call `isearch-range-invisible'.
14014 (isearch-filter-visible): Make obsolete.
14015 (isearch-lazy-highlight-search):
14016 Call `run-hook-with-args-until-failure' on
14017 `isearch-filter-predicates' and use `isearch-range-invisible'.
14018
14019 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14020 `isearch-filter-predicates' instead of `funcall'ing
14021 `isearch-filter-predicate'.
14022 (Info-mode): Set `Info-isearch-filter' to
14023 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14024
14025 * dired-aux.el (dired-isearch-filter-predicate-orig):
14026 Remove variable.
14027 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14028 (dired-isearch-filenames-end): Add and remove
14029 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14030 instead of changing the value of `isearch-filter-predicate'.
14031 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14032 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14033 Put property `isearch-message-prefix' to "filename " on
14034 `dired-isearch-filter-filenames'.
14035
14036 * wdired.el (wdired-change-to-wdired-mode):
14037 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14038 locally instead of changing `isearch-filter-predicate'.
14039 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14040
f1a60a0f
DG
140412013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14042
14043 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14044 return the commit hash (Bug#14459). Also set the
14045 `vc-git-detached' property.
14046 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14047 (vc-git-mode-line-string): Use the same help-echo format whether
14048 in detached mode or not, because we know the actual revision now.
14049 When in detached mode, shorten the revision to 7 chars.
14050
7f17cc40
SM
140512013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14052
14053 * emacs-lisp/easy-mmode.el (define-minor-mode):
14054 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14055 mode hook and provide a docstring.
14056
25c8401c
AM
140572013-05-27 Alan Mackenzie <acm@muc.de>
14058
14059 Remove spurious syntax-table text properties inserted by C-y.
14060 * progmodes/cc-mode.el (c-after-change): Also clear hard
14061 syntax-table property with value nil.
14062
dde84790
MA
140632013-05-27 Michael Albinus <michael.albinus@gmx.de>
14064
14065 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14066 when reading the events; the buffer layout shall not be changed.
14067
837fd9af
LL
140682013-05-27 Leo Liu <sdl.web@gmail.com>
14069
14070 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14071 New variable.
14072 (inferior-octave-directory-tracker): Automatically re-sync
14073 default-directory.
14074 (octave-help): Improve handling of 'See also'.
14075
4fd996b3
SM
140762013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14077
416f1802
SM
14078 * doc-view.el: Minor naming convention tweaks.
14079 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14080
4fd996b3
SM
14081 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14082 even if there's no `display' property yet (bug#14435).
14083
a052ef3b
EZ
140842013-05-25 Eli Zaretskii <eliz@gnu.org>
14085
4fd996b3 14086 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
14087
14088 * Makefile.in (custom-deps, finder-data, autoloads)
14089 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14090 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14091 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14092
c9023370
SM
140932013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14096 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 14097 Don't burp at EOB.
c9023370 14098
24d699fa
LL
140992013-05-25 Leo Liu <sdl.web@gmail.com>
14100
14101 * comint.el (comint-previous-matching-input): Do not flood the
14102 *Messages* buffer with trivial messages.
14103
17e5c0cc
SM
141042013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14105
14106 * progmodes/flymake.el (flymake-nop): Don't return a string.
14107 (flymake-set-at): Fix typo.
14108
14109 * simple.el (read--expression): New function, extracted from
14110 eval-expression. Set completion-at-point-functions (bug#14465).
14111 (eval-expression, eval-minibuffer): Use it.
14112
5d028165
XF
141132013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14114
14115 * progmodes/flymake.el (flymake-save-buffer-in-file)
14116 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14117 (flymake-selected-frame, flymake-log, flymake-ins-after)
14118 (flymake-set-at, flymake-get-buildfile-from-cache)
14119 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14120 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14121 Refine the doc string.
14122 (flymake-get-file-name-mode-and-masks): Reformat.
14123 (flymake-get-real-file-name-function): Fix a minor bug.
14124
7a1d7ba7
JL
141252013-05-24 Juri Linkov <juri@jurta.org>
14126
14127 * progmodes/grep.el (grep-mode-font-lock-keywords):
14128 Support =linenumber= format used by git-grep for lines with
14129 function names. (Bug#13549)
14130
650cff3d
SM
141312013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14132
14133 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14134 0 after a semi-colon; it works better for smie-auto-fill.
14135 (octave--indent-new-comment-line): New function.
14136 (octave-indent-new-comment-line): Use it (indirectly).
14137 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14138 modify comment-line-break-function.
14139
14140 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14141 (smie-setup): Use add-function to set it.
14142
9631677d
SS
141432013-05-24 Sam Steingold <sds@gnu.org>
14144
14145 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14146 argument (before the `interactive' argument).
14147
50105835
SM
141482013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14149
14150 * image-mode.el (image-mode-winprops): Add winprops to
14151 image-mode-winprops-alist before running
14152 image-mode-new-window-functions.
14153 * doc-view.el (doc-view-new-window-function): Don't delay
14154 doc-view-goto-page via timers (bug#14435).
14155
57b9823e
TH
141562013-05-24 Tassilo Horn <tsdh@gnu.org>
14157
14158 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14159 (doc-view-desktop-save-buffer): New function.
14160 (doc-view-restore-desktop-buffer): New function.
50105835
SM
14161 (desktop-buffer-mode-handlers):
14162 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
14163 handler.
14164 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14165 `desktop-save-buffer' function.
14166
91aafa16
MA
141672013-05-24 Michael Albinus <michael.albinus@gmx.de>
14168
14169 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14170 (tramp-gvfs-file-name-handler): Raise a user error when
14171 `tramp-gvfs-enabled' is nil.
14172 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14173 Do not raise a user error when loading package. (Bug#14447)
14174
ec076379
MA
14175 * net/xesam.el: Move to obsolete/.
14176
db785726
GM
141772013-05-24 Glenn Morris <rgm@gnu.org>
14178
af5c7606
GM
14179 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14180
e5d1916a
GM
14181 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14182
ded62b08
GM
14183 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14184 (Info-find-node, Man-getpage-in-background): Declare.
14185
9e614a3f
GM
14186 * mail/unrmail.el (unrmail):
14187 Replace obsolete detect-coding-with-priority.
14188
892f8ca3
GM
14189 * net/socks.el (socks-split-string): Use this rather than split-string.
14190 (socks-nslookup-host): Update for above change.
14191 (dynamic-choice, s5-dynamic-choice-match)
14192 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14193 Comment out unused code.
14194
3c291973
GM
14195 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14196 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14197 (gud-tooltip-echo-area): Make obsolete.
14198 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14199
43cc956b
GM
14200 * progmodes/js.el (js--optimize-arglist): Declare.
14201
dab49a3b
GM
14202 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14203
36b9d085
GM
14204 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14205 (ediff-window-C): Declare.
14206
e354ae76
GM
14207 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14208 Tweak requires to silence compiler.
14209
b8e57bf4
GM
14210 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14211 (he-search-string, he-tried-table, he-expand-list)
14212 (he-init-string, he-string-member, he-substitute-string)
14213 (he-reset-string): Declare.
14214
db785726
GM
14215 * obsolete/options.el (list-options): Use custom-variable-p,
14216 rather than obsolete alias.
14217
b3531901
SS
142182013-05-23 Sam Steingold <sds@gnu.org>
14219
14220 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 14221 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
14222 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14223
bdda4c66
SM
142242013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * emacs-lisp/smie.el (smie-indent-forward-token)
14227 (smie-indent-backward-token): Handle string tokens (bug#14381).
14228
c43d45f9
TH
142292013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14230
fe1eb856
RS
14231 * ielm.el (ielm-menu): New menu.
14232 (inferior-emacs-lisp-mode): Set comment-start.
96172128 14233
fe1eb856
RS
142342013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14235
a12bf61e 14236 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
14237 Fix deactivate action.
14238
a12bf61e 14239 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 14240 Add cleveref macros.
074dd971 14241
9b017563
JB
14242 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14243 Accept options for bibliography commands.
a12bf61e 14244 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
14245 Add addbibresource. Basic Biblatex support.
14246
7764286e
MA
142472013-05-23 Michael Albinus <michael.albinus@gmx.de>
14248
14249 * net/tramp-gvfs.el (top):
14250 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14251 when loading package. (Bug#14447)
14252
d361bc10
GM
142532013-05-23 Glenn Morris <rgm@gnu.org>
14254
8fa23984
GM
14255 * progmodes/js.el: No need to load comint when compiling.
14256 (ring-insert, comint-send-string, comint-send-input)
14257 (comint-last-input-end, ido-chop): Declare.
14258
a5c7df1a
GM
14259 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14260 * vc/ediff-mult.el: Adjust requires.
14261 (ediff-directories-internal, ediff-directory-revisions-internal)
14262 (ediff-patch-file-internal): Declare.
14263 * vc/ediff-ptch.el: Adjust requires.
14264 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14265 (ediff-find-file): Autoload.
14266 * vc/ediff-util.el: No need to load ediff when compiling.
14267 (ediff-regions-internal): Declare.
14268 * vc/ediff-wind.el: Adjust requires.
14269 (ediff-compute-toolbar-width): Define when compiling.
14270 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14271 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14272 (dired-get-filename, dired-get-marked-files)
14273 (ediff-last-dir-patch, ediff-patch-default-directory)
14274 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14275 (ediff-patch-buffer-internal): Declare.
14276
e2aec513
GM
14277 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14278 (ispell-process, ispell-buffer-local-words, lm-summary)
14279 (lm-section-start, lm-section-end): Declare.
14280 (checkdoc-ispell-init): Simplify.
14281
e68bbd7c
GM
14282 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14283 (he-string-member, he-reset-string, he-substitute-string): Declare.
14284
7efe0991
GM
14285 * eshell/em-ls.el: Adjust requires.
14286 (eshell-glob-regexp): Declare.
f87b1284
GM
14287 * eshell/em-tramp.el: Adjust requires.
14288 (eshell-parse-command): Autoload.
14289 * eshell/em-xtra.el: Adjust requires.
14290 (eshell-parse-command): Autoload.
14291 * eshell/esh-ext.el: Adjust requires.
14292 (eshell-parse-command, eshell-close-handles): Autoload.
14293 * eshell/esh-io.el: Adjust requires.
14294 (eshell-output-filter): Autoload.
14295 * eshell/esh-util.el: No need to load tramp when compiling.
14296 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14297 Declare.
14298 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14299 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14300 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14301 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14302 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14303 * eshell/esh-opt.el, eshell/esh-proc.el:
14304 * eshell/esh-var.el: Adjust requires.
14305 * eshell/eshell.el: Do not require esh-util twice.
14306 (eshell-add-input-to-history): Declare.
14307 (eshell-command): Check history module is active before using it.
14308
d361bc10
GM
14309 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14310
85d090a9
LL
143112013-05-22 Leo Liu <sdl.web@gmail.com>
14312
14313 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14314
5d0acd9d
MA
143152013-05-22 Michael Albinus <michael.albinus@gmx.de>
14316
14317 * autorevert.el (auto-revert-notify-add-watch)
14318 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14319 it indicates changes in file modification time.
14320
0cdffd7d
GM
143212013-05-22 Glenn Morris <rgm@gnu.org>
14322
ca5995ec
GM
14323 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14324 Always delete the autoloaded function from the noruntime and
14325 unresolved functions lists.
14326
6450907e
GM
14327 * allout.el: No need to load epa, epg, overlay when compiling.
14328 (epg-context-set-passphrase-callback, epg-list-keys)
14329 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14330 (epg-key-user-id-list): Declare.
14331
9c6906f6
GM
14332 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14333 (viper-set-parsing-style-toggling-macro)
14334 (viper-set-emacs-state-searchstyle-macros):
14335 Use called-interactively-p on Emacs.
14336 (viper-looking-back): Make it an obsolete alias. Update callers.
14337 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14338 Use looking-back rather than viper-looking-back.
14339 (viper-tmp-insert-at-eob, viper-enlarge-region)
14340 (viper-read-string-with-history, viper-register-to-point)
14341 (viper-append-to-register, viper-change-state-to-vi)
14342 (viper-backward-char-carefully, viper-forward-char-carefully)
14343 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14344 (viper-change-state-to-emacs): Declare.
14345 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14346 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14347 * emulation/viper-mous.el: Do not load viper-cmd.
14348 (viper-backward-char-carefully, viper-forward-char-carefully)
14349 (viper-forward-word, viper-adjust-window): Declare.
14350
5f70c169
GM
14351 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14352
b1b7f300
GM
14353 * progmodes/idlw-help.el (idlwave-help-fontify):
14354 Use called-interactively-p.
14355
f6ebbb46
GM
14356 * term/w32console.el (w32-get-console-codepage)
14357 (w32-get-console-output-codepage): Declare.
14358
0cdffd7d
GM
14359 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14360 Remove unnecessary declarations.
14361 (dframe-message): Doc fix.
14362
14363 * info.el (dframe-select-attached-frame, dframe-current-frame):
14364 Declare.
14365
14366 * speedbar.el (speedbar-message): Make it an obsolete alias.
14367 Update all callers.
14368 (speedbar-with-attached-buffer)
14369 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14370 (speedbar-with-writable): Use backquote.
14371 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14372 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14373 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14374 rather than speedbar- aliases.
14375 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14376 (speedbar-make-specialized-keymap, speedbar-insert-button)
14377 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14378 (speedbar-do-function-pointer): Declare.
14379 (rmail-speedbar-button, rmail-speedbar-find-file)
14380 (rmail-speedbar-move-message):
14381 Use dframe-with-attached-buffer rather than speedbar- alias.
14382 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14383 (dframe-message, speedbar-make-specialized-keymap)
14384 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14385 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14386 (speedbar-insert-button, dframe-select-attached-frame)
14387 (dframe-maybee-jump-to-attached-frame)
14388 (speedbar-change-initial-expansion-list)
14389 (speedbar-previously-used-expansion-list-name): Declare.
14390 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14391 Use dframe-message, dframe-with-attached-buffer rather than
14392 speedbar- aliases.
14393 (gud-sentinel): Silence compiler.
14394 * progmodes/vhdl-mode.el (speedbar-refresh)
14395 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14396 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14397 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14398 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14399 (speedbar-file-lists, speedbar-make-tag-line)
14400 (speedbar-line-directory, speedbar-goto-this-file)
14401 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14402 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14403 (speedbar-make-button, speedbar-reset-scanners)
14404 (speedbar-files-item-info, speedbar-line-text)
14405 (speedbar-find-file-in-frame, speedbar-set-timer)
14406 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14407 (speedbar-with-writable): Do not (re)define it.
14408 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14409 rather than speedbar- alias.
14410
ee44b62a
LL
144112013-05-21 Leo Liu <sdl.web@gmail.com>
14412
14413 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14414 menu items.
14415 (octave-mode): Tweak fill-nobreak-predicate.
14416 (inferior-octave-startup): Check process to avoid infinite loop.
14417 (inferior-octave): Pop to buffer first to show abornmal process
14418 exit information.
14419
640f050f
GM
144202013-05-21 Glenn Morris <rgm@gnu.org>
14421
79458038
GM
14422 * printing.el (pr-menu-bar): Define when compiling.
14423
9cc3e83f
LL
144242013-05-21 Leo Liu <sdl.web@gmail.com>
14425
14426 * progmodes/octave.el (octave-auto-fill): Remove.
14427 (octave-indent-new-comment-line): Improve.
14428 (octave-mode): Use auto fill mode through
4f405069 14429 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 14430 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 14431 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
14432 (octave-help): Show parent directory.
14433
f440830d
GM
144342013-05-21 Glenn Morris <rgm@gnu.org>
14435
14436 * files.el (dired-unmark):
14437 * progmodes/gud.el (gdb-input): Update declarations.
14438
14439 * calculator.el (electric, ehelp): No need to load when compiling.
14440 (Electric-command-loop, electric-describe-mode): Declare.
14441
14442 * doc-view.el (doc-view-current-converter-processes): Move before use.
14443
14444 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14445 Move MODE-set-explicitly definition before use.
14446
14447 * international/mule-diag.el (mule-diag):
14448 Don't use obsolete window-system-version.
14449
14450 * mail/feedmail.el (smtpmail): No need to load when compiling.
14451 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14452
14453 * mail/mail-utils.el (rfc822): No need to load when compiling.
14454 (rfc822-addresses): Autoload it.
14455 (mail-strip-quoted-names): Trivial simplification.
14456
14457 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14458 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14459
14460 * net/snmp-mode.el (tempo): Don't duplicate requires.
14461
14462 * progmodes/prolog.el (info): No need to load when compiling.
14463 (comint): Require before shell requires it.
14464 (Info-goto-node): Autoload it.
14465 (Info-follow-nearest-node): Declare.
14466 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14467
14468 * textmodes/artist.el (picture-mode-exit): Declare.
14469
14470 * textmodes/reftex-parse.el (reftex-parse-from-file):
14471 Trivial rewrite so the compiler can parse it better.
14472
b4da2cbb
LL
144732013-05-20 Leo Liu <sdl.web@gmail.com>
14474
14475 * progmodes/octave.el (octave-help-mode-map)
14476 (octave-help-mode-finish-hook): New variables.
14477 (octave-help-mode, octave-help-mode-finish): New functions.
14478 (octave-help): Use octave-help-mode.
14479
33c0f65b
GM
144802013-05-20 Glenn Morris <rgm@gnu.org>
14481
14482 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14483
1a0a0a8a
DG
144842013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14485
14486 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14487 start at point, so that expansion starting right after opening
14488 slash in a regexp is recognized.
14489 (ruby-syntax-before-regexp-re): New defvar, extracted from
14490 ruby-syntax-propertize-function. Since the value of this regexp
14491 is looked up at runtime now, we should be able to turn
14492 `ruby-syntax-methods-before-regexp' into a defcustom later.
14493 (ruby-syntax-propertize-function): Split regexp matching into two
14494 parts, for opening and closing slashes. That allows us to skip
14495 over string interpolations and support multiline regexps.
14496 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14497 for them, which calls `ruby-syntax-propertize-expansion'.
14498 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14499 call to `ruby-syntax-propertize-function'.
14500 (ruby-syntax-propertize-expansion): Extracted from
14501 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
14502 (ruby-syntax-propertize-percent-literal): Leave point right after
14503 the percent symbol, so that the expression expansion rule can
14504 propertize the contents.
462388b6
DG
14505 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14506 heredoc openers.
14507 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 14508
c1a6c0a4
JL
145092013-05-18 Juri Linkov <juri@jurta.org>
14510
14511 * man.el (Man-default-man-entry): Remove `-' from the end
14512 of the default value. (Bug#14400)
14513
8051fccd
GM
145142013-05-18 Glenn Morris <rgm@gnu.org>
14515
14516 * comint.el (comint-password-prompt-regexp):
14517 Allow "password for XXX" where XXX contains colons (eg https://...).
14518
5e80b74f
LL
145192013-05-18 Leo Liu <sdl.web@gmail.com>
14520
14521 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 14522 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
14523 (octave-source-directories): Don't check process.
14524 (octave-source-directories, octave-find-definition): Doc fix.
14525
521a54c5
GM
145262013-05-18 Glenn Morris <rgm@gnu.org>
14527
86a94b05
GM
14528 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14529 Remove backspace/delete bindings. (Bug#14392)
14530
521a54c5
GM
14531 * cus-dep.el (custom-make-dependencies): Sort the output.
14532 (custom-versions-load-alist): Convert comment to doc.
14533
42caeb89
LL
145342013-05-17 Leo Liu <sdl.web@gmail.com>
14535
14536 * newcomment.el (comment-search-backward): Stricter in finding
14537 comment start. (Bug#14303)
14538
14539 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14540 (octave-comment-start-skip): Properly anchored.
14541
e219dd97
LL
145422013-05-17 Leo Liu <sdl.web@gmail.com>
14543
fe1eb856
RS
14544 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14545 Clean up when turned off. (Bug#14395)
e219dd97
LL
14546 (smie--highlight-matching-block-overlay): No longer buffer-local.
14547 (smie-highlight-matching-block): Adjust.
14548
dc5dcb4b
PE
145492013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14550
14551 Doc string fix for "nanoseconds" (Bug#14406).
14552 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14553 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14554
1db165f0
JB
145552013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14556
14557 * calc/calc-units.el (math-extract-units): Preserve powers
14558 of units.
14559
c7a8fcac
LL
145602013-05-17 Leo Liu <sdl.web@gmail.com>
14561
14562 * subr.el (delete-consecutive-dups): New function.
14563 * ido.el (ido-set-matches-1): Use it.
14564 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14565 * ido.el (ido-remove-consecutive-dups): Remove.
14566
f678b18a
SM
145672013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14570 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14571 regexp-opt's `words'.
14572
ebfe68e8
LL
145732013-05-16 Leo Liu <sdl.web@gmail.com>
14574
14575 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14576 (smie--highlight-matching-block-overlay)
14577 (smie--highlight-matching-block-lastpos)
14578 (smie--highlight-matching-block-timer): New variables.
14579 (smie-highlight-matching-block): New function.
14580 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14581 (smie-setup): Conditionally enable smie-blink-matching-open.
14582
bc8bc17d
WS
145832013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14584
14585 Sync with upstream verilog-mode r840.
14586 * progmodes/verilog-mode.el (verilog-mode-version)
14587 (verilog-mode-release-date): Update.
14588 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14589 (verilog-sig-tieoff): Fix string error on
14590 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14591 (verilog-read-decls): Fix parameters confusing
14592 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14593
df065a0b
EZ
145942013-05-16 Eli Zaretskii <eliz@gnu.org>
14595
14596 * subr.el (reveal-filename): New function.
14597
14598 * loadup.el: Compute Emacs executable versions on MS-Windows,
14599 where executables have the .exe extension. Add a hard link
14600 emacs-XX.YY.ZZ.exe on MS-Windows.
14601
14602 * Makefile.in (XARGS_LIMIT): New variable.
14603 (custom-deps, finder-data, autoloads)
14604 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14605 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14606 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14607 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14608
2d4bf34b
LL
146092013-05-16 Leo Liu <sdl.web@gmail.com>
14610
14611 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14612 (octave-mode-menu, octave-mode-map): Remove its uses.
14613
6b9c2d85
RZ
146142013-05-16 Reto Zimmermann <reto@gnu.org>
14615
14616 Sync with upstream vhdl mode v3.34.2.
14617 * progmodes/vhdl-mode.el: Use `push' throughout.
14618 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14619 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14620 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14621 (vhdl-actual-generic-name): New option to derive actual generic name.
14622 (vhdl-port-paste-signals): Replace formal by actual generics.
14623 (vhdl-beautify): New name for old group vhdl-align. Update users.
14624 (vhdl-beautify-options): New option.
14625 (vhdl-last-input-event): New compat alias. Use throughout.
14626 (vhdl-goto-line): Replace user level function `goto-line'.
14627 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14628 vhdl-fix-statement-buffer.
14629 (vhdl-create-mode-menu): Add some entries.
14630 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14631 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14632 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14633 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14634 to force statements on one line.
14635 (vhdl-remove-trailing-spaces-region):
14636 New, split from vhdl-remove-trailing-spaces.
14637 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14638 Respect vhdl-beautify-options.
14639 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14640 (vhdl-update-sensitivity-list): Not add with index if exists without.
14641 Not include array index with signal. Ignore keywords in comments.
14642 (vhdl-get-visible-signals): Regexp tweaks.
14643 (vhdl-template-component-inst): Handle empty library.
14644 (vhdl-template-type): Add template for 'enum' type.
14645 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14646 Use vhdl-replace-string.
14647 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14648 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14649 (vhdl-speedbar-initialize): Update for above name change.
14650 (vhdl-compose-wire-components): Fix in handling of constants.
14651 (vhdl-error-regexp-emacs-alist): New variable.
14652 (vhdl-error-regexp-add-emacs): New function;
14653 adds support for new compile.el (Emacs 22+)
14654 (vhdl-generate-makefile-1): Change target order for single lib. units.
14655 Allow use of absolute file names.
14656
9df4ec5e
LL
146572013-05-16 Leo Liu <sdl.web@gmail.com>
14658
14659 * simple.el (prog-indent-sexp): Indent enclosing defun.
14660
f5ba00a6
GM
146612013-05-15 Glenn Morris <rgm@gnu.org>
14662
ed8be7ff
GM
14663 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14664 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14665 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14666 (whitespace-highlight): Move to whitespace group.
14667
14668 * comint.el (comint-source):
14669 * pcmpl-linux.el (pcmpl-linux):
14670 * shell.el (shell-faces):
14671 * eshell/esh-opt.el (eshell-opt):
14672 * international/ccl.el (ccl): Remove empty custom groups.
14673
14674 * completion.el (dynamic-completion-mode):
14675 * jit-lock.el (jit-lock-debug-mode):
14676 * minibuffer.el (completion-in-region-mode):
14677 * type-break.el (type-break-mode-line-message-mode)
14678 (type-break-query-mode):
14679 * emulation/tpu-edt.el (tpu-edt-mode):
14680 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14681 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14682 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14683
14684 * term/xterm.el (xterm): Change parent group to terminals.
14685
14686 * master.el (master): Remove empty custom group.
14687 (master-mode): Remove unused :group argument.
14688 * textmodes/refill.el (refill): Remove empty custom group.
14689 (refill-mode): Remove unused :group argument.
14690
14691 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14692
82a7c41b
GM
14693 * cus-dep.el: Provide a feature.
14694 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
14695 Don't mistakenly ignore files whose basenames match a basename
14696 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 14697 Add a fallback method for getting :group.
f5ba00a6 14698
6d65486d
JL
146992013-05-15 Juri Linkov <juri@jurta.org>
14700
da547b32
JL
14701 * isearch.el (isearch-char-by-name): Rename from
14702 `isearch-insert-char-by-name'. Doc fix.
14703 (isearch-forward): Mention `isearch-char-by-name' in
14704 the docstring. (Bug#13348)
14705
6d65486d
JL
14706 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14707 `exit-minibuffer' instead of
14708 `isearch-nonincremental-exit-minibuffer'.
14709 (isearch-edit-string): Remove mention of
14710 `isearch-nonincremental-exit-minibuffer' from docstring.
14711 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14712 (isearch-forward-exit-minibuffer)
14713 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14714
c9990474
SM
147152013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14716
6e911150
SM
14717 * loadup.el: Just use unversioned DOC.
14718
c9990474
SM
14719 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14720 literals as extending to EOB.
14721 (nxml-last-fontify-end): Remove unused variable.
14722 (nxml-after-change1): Use with-silent-modifications.
14723 (nxml-extend-after-change-region): Simplify.
14724 (nxml-extend-after-change-region1): Remove function.
14725 (nxml-after-change1): Don't adjust for dependent regions.
14726 (nxml-fontify-matcher): Simplify.
14727 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14728 (xmltok-add-dependent): Remove function.
14729 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14730 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14731 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14732 unclosed <[[, <?, comment, and other literals as extending to EOB.
14733 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14734 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14735 Remove functions.
14736 (rng-do-some-validation-1): Don't mark dependent regions.
14737 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14738 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14739 (nxml-clear-dependent-regions): Remove functions.
14740 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14741 (nxml-ensure-scan-up-to-date):
14742 Don't clear&mark dependent regions.
14743
e3772e98
LL
147442013-05-15 Leo Liu <sdl.web@gmail.com>
14745
c9990474
SM
14746 * progmodes/octave.el (octave-goto-function-definition):
14747 Improve and fix callers.
e3772e98 14748
5ac2eb34
SM
147492013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14750
c46c57b0
SM
14751 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14752 the setter (bug#14387).
14753
5ac2eb34
SM
14754 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14755 surrounding group (bug#14402).
14756
180ed218
JL
147572013-05-14 Juri Linkov <juri@jurta.org>
14758
14759 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14760 (Bug#14390)
14761
0ac0fecb
GM
147622013-05-14 Glenn Morris <rgm@gnu.org>
14763
14764 * progmodes/f90.el (f90-imenu-generic-expression):
14765 Fix typo in 2013-05-08 change. (Bug#14402)
14766
2e78e6a7
JPG
147672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14768
5ac2eb34
SM
14769 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14770 Remove signals for which replies are never received.
2e78e6a7 14771
53267cca
JPG
147722013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14773
14774 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14775 (gdb-handler-alist, gdb-handler-number): Remove variables.
14776 (gdb-handler-list): New variable.
14777 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14778 (gdb-pending-handler-p, gdb-handle-reply)
14779 (gdb-remove-all-pending-triggers): New functions.
14780 (gdb-discard-unordered-replies): New defcustom.
14781 (gdb-handler): New defstruct.
14782 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14783 instead of gdb-pending-triggers. Update docstring.
14784 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14785 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14786 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14787 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14788 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14789 (gdb-frame-handler): Pending triggers are now automatically managed.
14790 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14791 Remove argument.
14792 (gdb-input): Automatically handles pending triggers. Update docstring.
14793 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14794 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14795 Update comments.
14796 (gdb-done-or-error): Now use gdb-handle-reply.
14797
d04ce803
JPG
147982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14799
14800 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14801 gdb-debug-log.
14802
0114073a
GM
148032013-05-14 Glenn Morris <rgm@gnu.org>
14804
14805 * subr.el (user-emacs-directory-warning): New option.
14806 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14807
4d25fd7e
LL
148082013-05-14 Leo Liu <sdl.web@gmail.com>
14809
14810 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14811 during redisplay.
14812 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
14813 (octave-font-lock-texinfo-comment): Fix invalid search bound
14814 error: wrong side of point.
4d25fd7e 14815
27c8b6eb
GM
148162013-05-14 Glenn Morris <rgm@gnu.org>
14817
61aaeb01
GM
14818 * progmodes/flymake.el (flymake-xml-program): New option.
14819 (flymake-xml-init): Use it.
14820
5bf90bc5
GM
14821 * term/xterm.el: Provide a feature.
14822
14823 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 14824
f4c7dfd2
GM
148252013-05-13 Glenn Morris <rgm@gnu.org>
14826
14827 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14828 Add compat aliases as a hack workaround. (Bug#14384)
14829
2aeb3a1d
LL
148302013-05-13 Leo Liu <sdl.web@gmail.com>
14831
b0e069c2
LL
14832 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14833 ###, and %!.
f5a9432f
LL
14834 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14835 C-M-q.
b0e069c2
LL
14836 (octave-comment-start-skip): Include %!.
14837 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 14838
30ea8374
LL
148392013-05-12 Leo Liu <sdl.web@gmail.com>
14840
14841 * progmodes/octave.el (inferior-octave-startup): Store the value
14842 of __octave_srcdir__ for octave-source-directories.
14843 (inferior-octave-check-process): New function refactored out of
14844 inferior-octave-send-list-and-digest.
14845 (octave-source-directories)
14846 (octave-find-definition-filename-function): New variables.
14847 (octave-source-directories)
14848 (octave-find-definition-default-filename): New functions.
14849 (octave-find-definition): Improve to find functions implemented in C++.
14850
472a3834
GM
148512013-05-12 Glenn Morris <rgm@gnu.org>
14852
14853 * calendar/diary-lib.el (diary-outlook-format-1):
14854 Don't include dayname in the output. (Bug#14349)
14855
3191b52f
GM
148562013-05-11 Glenn Morris <rgm@gnu.org>
14857
0060ac73
GM
14858 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14859
3191b52f
GM
14860 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14861 Treat cc-provide like provide.
14862
e065ba74
KR
148632013-05-11 Kevin Ryde <user42@zip.com.au>
14864
14865 * cus-dep.el (custom-make-dependencies):
14866 Use generated-autoload-load-name for the sake of files such
14867 such cedet/semantic/bovine/c.el, where the base file name
14868 is not in load-path. (Bug#5277)
14869
36f84c37
GM
148702013-05-11 Glenn Morris <rgm@gnu.org>
14871
14872 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14873 Provide features.
14874
c8730c3a
LL
148752013-05-11 Leo Liu <sdl.web@gmail.com>
14876
14877 * progmodes/octave.el (octave-indent-comment): Improve.
14878 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
14879 (octave-eldoc-function-signatures, octave-eldoc-function):
14880 New functions.
c8730c3a
LL
14881 (octave-mode, inferior-octave-mode): Add eldoc support.
14882
212e29f2
RS
148832013-05-11 Richard Stallman <rms@gnu.org>
14884
14885 * epa.el (epa-decrypt-file): Take output file name as argument
14886 and read it using `interactive'.
14887
083fe0d7
LL
148882013-05-11 Leo Liu <sdl.web@gmail.com>
14889
14890 * progmodes/octave.el (octave-beginning-of-line)
14891 (octave-end-of-line): Check before using up-list because it jumps
14892 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14893 (octave-indent-comment): New function.
14894 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14895 (octave-begin-keywords, octave-end-keywords)
14896 (octave-reserved-words, octave-smie-bnf-table)
14897 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14898
8582e4c4
GM
148992013-05-11 Glenn Morris <rgm@gnu.org>
14900
f20def1f
GM
14901 * faces.el (internal-face-x-get-resource):
14902 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14903 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14904 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14905 Fix declarations.
f20def1f 14906
445f95e2
GM
14907 * calc/calc-menu.el: Make it loadable in isolation.
14908
14909 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14910 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14911 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14912 (eudc-bbdb-query-internal): Require 'bbdb.
14913
99fb2756
GM
14914 * lpr.el (lpr-headers-switches):
14915 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14916
14917 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14918
0da7ad96
GM
14919 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14920
8582e4c4
GM
14921 * term.el (term-set-escape-char): Make it idempotent.
14922
f71c50d0
LL
149232013-05-10 Leo Liu <sdl.web@gmail.com>
14924
5ac2eb34
SM
14925 * progmodes/octave.el (inferior-octave-completion-table):
14926 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14927 completion due to bug#11906.
14928 (octave-beginning-of-defun): Re-write to be more general.
14929
d5837773
GM
149302013-05-10 Glenn Morris <rgm@gnu.org>
14931
14932 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14933
027c0f75
SM
149342013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * comint.el (comint-redirect-send-command-to-process): Use :around
14937 rather than :override for comint-redirect-filter.
14938 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14939 Call it instead of comint-redirect-original-filter-function (which
14940 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14941
4465bfb4
JD
149422013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14943
14944 * frame.el (display-monitor-attributes-list): Add NS case.
14945 (ns-display-monitor-attributes-list): Declare.
14946
2d809ffa 149472013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14948
14949 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14950
e54eeb9b
GM
149512013-05-09 Glenn Morris <rgm@gnu.org>
14952
56cd351d
GM
14953 * international/fontset.el (vertical-centering-font-regexp):
14954 Set standard-value.
14955
d84b6108
GM
14956 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14957
a931698a
GM
14958 * bookmark.el (bookmark-search-delay):
14959 * cus-start.el (vertical-centering-font-regexp):
14960 * ps-mule.el (ps-mule-font-info-database-default):
14961 * ps-print.el (ps-default-fg, ps-default-bg):
14962 * type-break.el (type-break-good-break-interval):
14963 * whitespace.el (whitespace-indentation-regexp)
14964 (whitespace-space-after-tab-regexp):
14965 * emacs-lisp/testcover.el (testcover-1value-functions)
14966 (testcover-noreturn-functions, testcover-progn-functions)
14967 (testcover-prog1-functions):
14968 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14969 * eshell/em-glob.el (eshell-glob-translate-alist):
14970 * play/tetris.el (tetris-tty-colors):
14971 * progmodes/cpp.el (cpp-face-default-list):
14972 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14973 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14974 (idlwave-help-browser-generic-args):
14975 * progmodes/make-mode.el (makefile-special-targets-list):
14976 * progmodes/python.el (python-shell-virtualenv-path):
14977 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14978 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14979 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14980 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14981 * textmodes/reftex-vars.el (reftex-format-label-function):
14982 * textmodes/remember.el (remember-diary-file): Fix custom types.
14983
e54eeb9b
GM
14984 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14985 Add :version.
14986
455851dd
LL
149872013-05-09 Leo Liu <sdl.web@gmail.com>
14988
14989 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14990 Restore file completion. (Bug#14300)
455851dd
LL
14991 (inferior-octave-startup): Fix incorrect highlighting for the
14992 first prompt.
14993
a9e4425b
SM
149942013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14995
14996 * progmodes/ruby-mode.el: First cut at SMIE support.
14997 (ruby-use-smie): New var.
14998 (ruby-smie-grammar): New constant.
14999 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15000 (ruby-smie--forward-token, ruby-smie--backward-token)
15001 (ruby-smie-rules): New functions.
15002 (ruby-mode-variables): Setup SMIE if applicable.
15003
060ca408
EZ
150042013-05-08 Eli Zaretskii <eliz@gnu.org>
15005
15006 * simple.el (line-move-visual): Signal beginning/end of buffer
15007 only if vertical-motion moved less than it was requested. Avoids
15008 silly incorrect error messages when there are display strings with
15009 multiple newlines at EOL.
15010
1d5963cc
SM
150112013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15014 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15015 (prolog-char-quote-workaround):
15016 * progmodes/cperl-mode.el (cperl-under-as-char):
15017 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
15018 Mark as obsolete.
15019 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
15020 their declaration.
15021 (vhdl-mode-syntax-table-init): Remove.
15022
c9990474
SM
15023 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15024 last change.
1d5963cc
SM
15025
15026 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15027 syntax for "_".
15028 (ld-script-font-lock-keywords):
15029 Change regexps to use things like \_< and \_>.
15030
15031 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15032 Change all regexps to use things like \_< and \_>.
15033
15034 * progmodes/autoconf.el (autoconf-definition-regexp)
15035 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15036 Handle a _ with symbol syntax.
15037 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15038
c9990474
SM
15039 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15040 Consolidate declaration.
1d5963cc
SM
15041 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15042 the declaration.
15043 (ada-create-syntax-table): Remove.
15044 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15045 already has the right syntax nowadays.
15046 (ada-goto-next-word): Don't change the syntax of "_".
15047
15048 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15049 with-wrapper-hook.
15050
72d3cfca
SS
150512013-05-08 Sam Steingold <sds@gnu.org>
15052
15053 * thingatpt.el (thing-at-point): Accept optional second argument
15054 NO-PROPERTIES to strip the text properties from the return value.
15055 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15056 to `thing-at-point' instead of stripping the properties ourselves.
15057 Also, when `thing-at-point' fails to find a url, prepend "http://"
15058 to the filename at point on the assumption that the user is
15059 pointing at something like gnu.org/gnu.
15060
5cb15713
JB
150612013-05-08 Juanma Barranquero <lekktu@gmail.com>
15062
15063 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15064 * faces.el (crm-separator):
15065 Silence byte-compiler.
15066
15067 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15068 (tool-bar-map): Remove unneeded defvars.
15069
ea78b95b
LL
150702013-05-08 Leo Liu <sdl.web@gmail.com>
15071
15072 Re-work a fix for bug#10994 based on Le Wang's patch.
15073 * ido.el (ido-remove-consecutive-dups): New helper.
15074 (ido-completing-read): Use it.
15075 (ido-chop): Revert fix for bug#10994.
15076
dc7466df
AS
150772013-05-08 Adam Spiers <emacs@adamspiers.org>
15078
15079 * cus-edit.el (custom-save-variables):
15080 Pretty-print long values. (Bug#14187)
15081
9ecf672a
GM
150822013-05-08 Glenn Morris <rgm@gnu.org>
15083
15084 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15085 (m4-mode-syntax-table): Init in the defvar.
15086 (m4-mode-abbrev-table): Let define-derived-mode define it.
15087
3f555be8
TT
150882013-05-08 Tom Tromey <tromey@redhat.com>
15089
15090 * progmodes/m4-mode.el (m4-mode-syntax-table):
15091 Do not treat "_" as word constituent. (Bug#14167)
15092
7cc8ae06
GM
150932013-05-07 Glenn Morris <rgm@gnu.org>
15094
4f58bc06
GM
15095 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15096 Remove explicit eshell-isearch-cancel-map.
15097
7cc8ae06
GM
15098 * progmodes/f90.el (f90-smart-end-names): New option.
15099 (f90-smart-end): Doc fix.
15100 (f90-end-block-optional-name): New constant.
15101 (f90-block-match): Respect f90-smart-end-names.
15102
ceb57e59
SM
151032013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15104
15105 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15106 about implicit semi-colons (bug#14218).
15107
4e3f9230
YM
151082013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15109
15110 * frame.el (display-monitor-attributes-list)
15111 (frame-monitor-attributes): New functions.
15112
203a5572
LL
151132013-05-06 Leo Liu <sdl.web@gmail.com>
15114
15115 * progmodes/octave.el (octave-syntax-propertize-function): Change
15116 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15117 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 15118 (octave-completion-at-point): Rename from
203a5572
LL
15119 octave-completion-at-point-function.
15120 (inferior-octave-directory-tracker): Robustify.
15121 (octave-text-functions): Remove and fix its uses. No such things
15122 any more.
15123
ee6cff99
SM
151242013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15125
15126 * emacs-lisp/trace.el (trace--display-buffer): New function.
15127 (trace-make-advice): Use it.
15128
32985194
JL
151292013-05-06 Juri Linkov <juri@jurta.org>
15130
15131 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15132 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15133 Doc fix.
15134 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15135 in the help string. (Bug#12985)
15136
a1c700de
KD
151372013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15138
15139 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15140
c67c0839
SM
151412013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15142
323885fd
SM
15143 * progmodes/perl-mode.el: Add support for here documents.
15144 (perl-syntax-propertize-function): Match here-doc markers.
15145 (perl-syntax-propertize-special-constructs): Find their end.
15146 (perl-imenu-generic-expression): Use [:alnum:].
15147
c67c0839
SM
15148 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15149 (advice--add-function): Refresh the advice if already present
15150 (bug#14317).
15151
d491e7a8
IA
151522013-05-06 Ivan Andrus <darthandrus@gmail.com>
15153
15154 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15155
ddf9925e
GM
151562013-05-06 Glenn Morris <rgm@gnu.org>
15157
7cc3af27
GM
15158 * w32-fns.el (w32-charset-info-alist): Declare.
15159
16e343d6
GM
15160 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15161 of its defcustom properties.
15162 (eshell-cmpl-initialize): No need to load pcomplete.
15163
7d889a47
GM
15164 * generic-x.el: No need to require comint when compiling.
15165
ddf9925e
GM
15166 * net/eudc-export.el: Make it loadable without bbdb.
15167 (top-level): Use require rather than load-library.
15168 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15169 (eudc-batch-export-records-to-bbdb)
15170 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15171 Require bbdb.
15172
1e2c18df
SM
151732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15174
15175 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15176 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15177 some tweaks, instead.
15178
02502a5f
LL
151792013-05-05 Leo Liu <sdl.web@gmail.com>
15180
15181 * progmodes/octave.el (octave-font-lock-keywords)
15182 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15183 (inferior-octave-send-list-and-digest): Improve error message.
15184 (octave-mode, inferior-octave-mode): Use setq-local.
15185 (octave-help): Set info-lookup-mode.
15186
0dc04f42
RS
151872013-05-05 Richard Stallman <rms@gnu.org>
15188
6c54491c
RS
15189 * vc/compare-w.el (compare-windows-whitespace):
15190 Treat no-break space as whitespace.
15191
0dc04f42
RS
15192 * mail/rmailsum.el (rmail-summary-rmail-update):
15193 Detect empty summary and don't change selected message.
15194 (rmail-summary-goto-msg): Likewise.
15195
df8f35df
RS
15196 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15197 Doc fixes, rename args.
15198
5356e1a3
AM
151992013-05-05 Alan Mackenzie <acm@muc.de>
15200
15201 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15202
d44014cb
JL
152032013-05-05 Juri Linkov <juri@jurta.org>
15204
15205 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15206 to not add the length of the summary segment to the return value.
15207 (Bug#14125)
15208
c129b51f
LL
152092013-05-05 Leo Liu <sdl.web@gmail.com>
15210
15211 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15212 (inferior-octave-output-filter): Remove.
15213 (octave-send-region, inferior-octave-startup): Fix callers.
15214 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15215 (octave-binary-file-extensions): New user variable.
15216 (octave-find-definition): Confirm if opening binary files.
15217 (octave-help-file): Use octave-find-definition to get the binary
15218 confirmation.
15219 (octave-help): Adjust for octave-help-file change.
15220
aa7dab97
SM
152212013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15222
15223 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15224 Merge the two entries that handle function definitions.
15225 (pascal--syntax-propertize): New const.
15226 (pascal-mode): Use it. Use setq-local.
15227
fd3a9a6b
GM
152282013-05-04 Glenn Morris <rgm@gnu.org>
15229
15230 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15231 (diary-from-outlook): Respect diary-from-outlook-function.
15232
30c7e542
SM
152332013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15234
15235 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15236 Move the declaration from C.
15237 (read-minibuffer, eval-minibuffer): Move from C.
15238 (completion-setup-function): Avoid minibuffer-completion-contents.
15239
b54f978b
LL
152402013-05-03 Leo Liu <sdl.web@gmail.com>
15241
15242 * progmodes/octave.el (octave-font-lock-keywords): Do not
15243 dehighlight 'end' in comments or strings.
30c7e542
SM
15244 (octave-completing-read, octave-goto-function-definition):
15245 New helpers.
d4d0f9b3
LL
15246 (octave-help-buffer): New user variable.
15247 (octave-help-file, octave-help-function): New button types.
15248 (octave-help): New command and bind it to C-h ;.
15249 (octave-find-definition): New command and bind it to M-.
d74a1581 15250 (user-error): Alias to error if not defined.
b54f978b 15251
27135018
LL
152522013-05-02 Leo Liu <sdl.web@gmail.com>
15253
15254 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15255 for \. (bug#14332)
15256 (octave-font-lock-keywords): Include [ and {.
15257
0d634d3a
LL
152582013-05-02 Leo Liu <sdl.web@gmail.com>
15259
15260 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15261 (inferior-octave): Remove calling comint-mode and return the buffer.
15262 (inferior-octave-startup): Cosmetic changes.
15263
b4c8295e
LL
152642013-05-02 Leo Liu <sdl.web@gmail.com>
15265
30c7e542
SM
15266 * progmodes/octave.el (octave-syntax-propertize-function):
15267 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 15268
f12ad6ec
GM
152692013-05-02 Glenn Morris <rgm@gnu.org>
15270
15271 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15272 * desktop.el (vc-dir-mode): Just autoload it here.
15273
30cac1e0
AM
152742013-05-02 Alan Mackenzie <acm@muc.de>
15275
15276 Eliminate variable c-standard-font-lock-fontify-region-function.
15277 * progmodes/cc-mode.el
15278 (c-standard-font-lock-fontify-region-function): Remove.
15279 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15280
d8ef28b1
LL
152812013-05-01 Leo Liu <sdl.web@gmail.com>
15282
2640d52e 15283 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 15284 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 15285 variables were removed from Octave in 2007.
d8ef28b1
LL
15286 (inferior-octave-startup): Fix uses.
15287 (comint-line-beginning-position): Remove compatibility code for
15288 emacs 21.
15289
ac63ec89
JL
152902013-05-01 Juri Linkov <juri@jurta.org>
15291
15292 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15293
9e9be37c
JL
152942013-05-01 Juri Linkov <juri@jurta.org>
15295
15296 * comint.el (comint-previous-matching-input): Don't print message
15297 "History item: %d" when `isearch-mode' is active.
15298 (comint-history-isearch-message): Print message "History item: %d"
15299 when `comint-input-ring-index' is not empty and this function is
15300 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15301
9b92c13b
LL
153022013-05-01 Leo Liu <sdl.web@gmail.com>
15303
15304 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15305 definitions. Use completion-at-point to insert keywords.
15306 (octave-abbrev-start): Remove.
15307 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15308
b12d33d7
LL
153092013-04-30 Leo Liu <sdl.web@gmail.com>
15310
15311 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15312 change.
15313
3d1c39fa
AM
153142013-04-30 Alan Mackenzie <acm@muc.de>
15315
15316 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
15317 * progmodes/cc-engine.el (c-back-over-member-initializers):
15318 new function.
3d1c39fa
AM
15319 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15320 (most) member init lists.
15321
5147fc17
RS
153222013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15323
15324 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15325 variable.
15326
5b78d7fc
LL
153272013-04-30 Leo Liu <sdl.web@gmail.com>
15328
15329 * progmodes/octave.el (octave-variables): Remove. No builtin
15330 variables any more. All converted to functions.
15331 (octave-font-lock-keywords, octave-completion-at-point-function):
15332 Fix uses.
15333 (octave-font-lock-texinfo-comment): New user variable.
15334 (octave-texinfo-font-lock-keywords): New variable for texinfo
15335 comment block.
15336 (octave-function-comment-block): New face.
15337 (octave-font-lock-texinfo-comment): New function.
15338 (octave-mode): Font lock texinfo comment block.
15339
38d8527b
LL
153402013-04-29 Leo Liu <sdl.web@gmail.com>
15341
15342 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15343 indexing expression.
15344 (octave-continuation-string): Do not use \.
15345 (inferior-octave-complete-impossible): Remove.
15346 (inferior-octave-completion-table)
15347 (inferior-octave-completion-at-point): Remove its uses.
15348 (inferior-octave-startup): completion_matches was introduced to
15349 Octave in 1996 so safe to assume it.
15350 (octave-function-file-comment): Improve to follow how Octave does it.
15351 (octave-update-function-file-comment): Tweak.
15352
2ec12cb0
LL
153532013-04-29 Leo Liu <sdl.web@gmail.com>
15354
15355 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15356 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15357 (octave-function-file-comment): Fix typo.
15358 (octave-sync-function-file-names): Use read-char-choice.
15359
6eaed048
JB
153602013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15361
15362 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15363 to t for the less important warnings.
15364
3ffa2d4f
DH
153652013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15366
15367 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15368
685c9501
GM
153692013-04-27 Glenn Morris <rgm@gnu.org>
15370
15371 * vc/log-view.el (log-view-current-entry):
15372 Treat "---" separator lines as part of the following rev. (Bug#14169)
15373
0208ede7
JL
153742013-04-27 Juri Linkov <juri@jurta.org>
15375
15376 * subr.el (read-number): Doc fix about using it by interactive
15377 code letter `n'. (Bug#14254)
15378
5db9dace
JL
153792013-04-27 Juri Linkov <juri@jurta.org>
15380
15381 * desktop.el (desktop-auto-save-timeout): New option.
15382 (desktop-file-checksum): New variable.
15383 (desktop-save): Add optional arg `auto-save' and don't auto-save
15384 if nothing changed.
15385 (desktop-auto-save-timer): New variable.
15386 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15387 (after-init-hook): Call `desktop-auto-save-set-timer'.
15388 Suggested by Reuben Thomas <rrt@sc3d.org> in
15389 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15390
b7260dd4
LL
153912013-04-27 Leo Liu <sdl.web@gmail.com>
15392
15393 * progmodes/octave.el (octave-function-file-p)
15394 (octave-skip-comment-forward, octave-function-file-comment)
15395 (octave-update-function-file-comment): New functions.
15396 (octave-mode-map): Bind C-c ; to
15397 octave-update-function-file-comment.
15398 (octave-mode-menu): Add octave-update-function-file-comment.
15399 (octave-mode, inferior-octave-mode): Fix doc-string.
15400 (octave-insert-defun): Conform to Octave's coding convention.
15401 (Bug#14285)
15402
15403 * files.el (basic-save-buffer): Don't let errors in
15404 before-save-hook prevent saving buffer.
15405
c46da669
RW
154062013-04-20 Roland Winkler <winkler@gnu.org>
15407
15408 * faces.el (read-face-name): Use completing-read if arg multiple
15409 is nil.
15410
a81ee1eb
IL
154112013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15412
15413 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
15414 displayed, move point to after the totals line.
15415 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
15416 for the details.
15417
4fac34ce
SM
154182013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15419
15420 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15421 Add current dir to the load-path.
15422 (package-generate-autoloads): Don't rely on
15423 autoload-ensure-default-file.
15424
f6bfc063
RT
154252013-04-26 Reuben Thomas <rrt@sc3d.org>
15426
d40ab5cf
BG
15427 * textmodes/remember.el (remember-store-in-files): Document that
15428 the file name format is passed to `format-time-string'.
f6bfc063 15429
e55d3b04
LL
154302013-04-26 Leo Liu <sdl.web@gmail.com>
15431
15432 * progmodes/octave.el (octave-sync-function-file-names): New function.
15433 (octave-mode): Use it in before-save-hook.
15434
e53052d3
SM
154352013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15436
140ef50c
SM
15437 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15438 (bug#14274).
15439
e53052d3
SM
15440 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15441 \n and comment, even if it's not an implicit ; (bug#14218).
15442
af80458d 154432013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
15444
15445 * subr.el (read-number): Once more use `read' rather than
15446 `string-to-number', to trap non-numeric input. (Bug#14254)
15447
af80458d 154482013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
15449
15450 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15451 Use `syntax-multiline' text property consistently instead of
8a621d53 15452 `font-lock-multiline'. (Bug#14237)
70203c2e 15453
e6ea1f6c
GM
154542013-04-26 Glenn Morris <rgm@gnu.org>
15455
15456 * emacs-lisp/shadow.el (list-load-path-shadows):
15457 No longer necessary to check for duplicate simple.el, since
15458 2012-07-07 change to init_lread to not include installation lisp
15459 directories in load-path when running uninstalled. (Bug#14270)
15460
070ccca4
LL
154612013-04-26 Leo Liu <sdl.web@gmail.com>
15462
15463 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15464 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 15465 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
15466 octave-in-string-or-comment-p.
15467 (octave-in-comment-p, octave-in-string-p)
15468 (octave-in-string-or-comment-p): Replace defsubst with defun.
15469
9d1c5fb6
PE
154702013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15471
15472 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15473
c034abda
BG
154742013-04-25 Bastien Guerry <bzg@gnu.org>
15475
15476 * textmodes/remember.el (remember-data-directory)
15477 (remember-directory-file-name-format): Fix custom types.
15478
584ea277
LL
154792013-04-25 Leo Liu <sdl.web@gmail.com>
15480
e53052d3
SM
15481 * progmodes/octave.el (octave-completion-at-point-function):
15482 Make use of inferior octave process.
584ea277
LL
15483 (octave-initialize-completions): Remove.
15484 (inferior-octave-completion-table): New function.
15485 (inferior-octave-completion-at-point): Use it.
15486 (octave-completion-alist): Remove.
15487
1693b06a
SM
154882013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15489
15490 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15491 (opascal-mode-syntax-table): New var.
15492 (opascal-literal-kind, opascal-is-literal-end)
15493 (opascal-literal-token-at): Rewrite.
15494 (opascal--literal-start-re, opascal-font-lock-keywords)
15495 (opascal--syntax-propertize): New constants.
15496 (opascal-font-lock-defaults): Adjust.
15497 (opascal-mode): Use them. Set comment-<foo> variables as well.
15498 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15499 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15500 (delphi-other-face, opascal-other-face): Remove face variables.
15501 (opascal-save-state): Remove macro.
15502 (opascal-fontifying-progress-step): Remove constant.
15503 (opascal--ignore-changes): Remove var.
15504 (opascal-set-token-property, opascal-parse-next-literal)
15505 (opascal-is-stable-literal, opascal-complete-literal)
15506 (opascal-is-literal-start, opascal-face-of)
15507 (opascal-parse-region, opascal-parse-region-until-stable)
15508 (opascal-fontify-region, opascal-after-change)
15509 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15510 (opascal-debug-parse-region, opascal-debug-parse-window)
15511 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15512 (opascal-debug-fontify-buffer): Remove.
15513 (opascal-debug-mode-map): Adjust accordingly.
15514
be64c05d
LL
155152013-04-25 Leo Liu <sdl.web@gmail.com>
15516
15517 Merge octave-mod.el and octave-inf.el into octave.el with some
15518 cleanups.
15519 * progmodes/octave.el: New file renamed from octave-mod.el.
15520 * progmodes/octave-inf.el: Merged into octave.el.
15521 * progmodes/octave-mod.el: Renamed to octave.el.
15522
d79d37bd
TH
155232013-04-25 Tassilo Horn <tsdh@gnu.org>
15524
15525 * textmodes/reftex-vars.el
15526 (reftex-label-ignored-macros-and-environments): New defcustom.
15527
15528 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15529
ced3fc5d
SM
155302013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15531
15532 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15533 (smie-indent-keyword): Improve the check to ensure that the next
15534 comment is really on the same line.
15535 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15536
15537 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15538 semi-colons if the line is not otherwise empty (bug#14218).
15539
1c141dad
GM
155402013-04-25 Glenn Morris <rgm@gnu.org>
15541
15542 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15543
5058062a
SM
155442013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * progmodes/opascal.el (opascal-set-token-property): Rename from
15547 opascal-set-text-properties and only set `token' (bug#14134).
15548 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15549 (opascal-literal-text-properties): Remove.
15550 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15551 Adjust callers.
15552
5db9dace 155532013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
15554
15555 * textmodes/remember.el (remember-handler-functions): Add an
15556 option for a new handler `remember-store-in-files'.
15557 (remember-data-directory, remember-directory-file-name-format):
15558 New options.
15559 (remember-store-in-files): New function to store remember notes
15560 as separate files within a directory.
15561
4391916c
MH
155622013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15563
15564 * progmodes/compile.el (compilation-next-error-function):
15565 Pass "formats" to compilation-find-file (bug#11777).
15566
bb7cdf58
GM
155672013-04-24 Glenn Morris <rgm@gnu.org>
15568
3b8fe752 15569 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
15570 * vc/vc-hg.el (vc-hg-print-log):
15571 * vc/vc-svn.el (vc-svn-print-log):
15572 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15573
bb7cdf58
GM
15574 * vc/vc-bzr.el (vc-bzr-print-log):
15575 * vc/vc-cvs.el (vc-cvs-print-log):
15576 * vc/vc-git.el (vc-git-print-log):
15577 * vc/vc-hg.el (vc-hg-print-log):
15578 * vc/vc-mtn.el (vc-mtn-print-log):
15579 * vc/vc-rcs.el (vc-rcs-print-log):
15580 * vc/vc-sccs.el (vc-sccs-print-log):
15581 * vc/vc-svn.el (vc-svn-print-log):
15582 * vc/vc.el (vc-print-log-internal): Doc fixes.
15583
b46a056e
GM
155842013-04-23 Glenn Morris <rgm@gnu.org>
15585
15586 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15587 Remove venerable code attempting to avoid substitute-command-keys.
15588
0aecf718
TH
155892013-04-23 Tassilo Horn <tsdh@gnu.org>
15590
4391916c
MH
15591 * textmodes/reftex-vars.el (reftex-label-regexps):
15592 Call `reftex-compile-variables' after changes to this variable.
0aecf718 15593
117f94cf
SM
155942013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15595
4391916c 15596 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
15597 Use lexical-binding.
15598 (jit-lock-force-redisplay): Use markers, check buffer's continued
15599 existence and beware narrowed buffers.
15600 (jit-lock-fontify-now): Adjust call accordingly.
15601
1d829c64
SM
156022013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15603
15604 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15605 to avoid misleading the user.
15606
72d548a9
LL
156072013-04-22 Leo Liu <sdl.web@gmail.com>
15608
15609 * info-look.el: Prefer latex2e.info. (Bug#14240)
15610
d0853629
MA
156112013-04-22 Michael Albinus <michael.albinus@gmx.de>
15612
15613 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15614
15615 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 15616 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
15617 (tramp-set-completion-function, tramp-parse-putty):
15618 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15619 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15620 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15621 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15622 (tramp-call-local-coding-command): Use `tramp-call-process'
15623 instead of `tramp-compat-call-process'.
15624
15625 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15626 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 15627 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 15628 (tramp-find-inline-compress): Improve traces.
d0853629
MA
15629 (tramp-maybe-send-script): Check for Perl binary.
15630 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15631
38cc0210
DU
156322013-04-22 Daiki Ueno <ueno@gnu.org>
15633
15634 * epg.el (epg-context-pinentry-mode): New function.
15635 (epg-context-set-pinentry-mode): New function.
15636 (epg--start): Pass --pinentry-mode option to gpg command.
15637
cc641ee1
XF
156382013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15639
02d844b5 15640 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 15641 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 15642 `completion-at-point'. (Bug#13774)
5d4e5c31 15643
cc641ee1
XF
15644 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15645 default key binding for `describe-distribution' has been moved to
15646 `C-h C-o'. (Bug#13970)
15647
1b42ee43
GM
156482013-04-21 Glenn Morris <rgm@gnu.org>
15649
15650 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15651 Add doc strings.
15652 (vc-print-log): Clarify interactive prompt.
15653
a6d63d97
GM
156542013-04-20 Glenn Morris <rgm@gnu.org>
15655
15656 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15657 No longer include timestamp etc information.
15658
d7f5c16f
RW
156592013-04-20 Roland Winkler <winkler@gnu.org>
15660
15661 * faces.el (read-face-name): Bug fix, return just one face if arg
15662 multiple is nil. (Bug#14209)
15663
bcd7a0a4
SM
156642013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15667 (remove-function): Autoload.
15668
15669 * comint.el (comint-redirect-original-filter-function): Remove.
15670 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
15671 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15672 (vc-cvs-annotate-command):
bcd7a0a4
SM
15673 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15674 * progmodes/prolog.el (prolog-consult-compile):
15675 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15676 Use add/remove-function instead.
15677 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15678 (gud-tooltip-process-output, gud-tooltip-tips):
15679 Use add/remove-function instead.
15680 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15681 (scheme-interaction-mode, exit-scheme-interaction-mode):
15682 Use add/remove-function instead.
15683
15684 * vc/vc-dispatcher.el: Use lexical-binding.
15685 (vc--process-sentinel): Rename from vc-process-sentinel.
15686 Change last arg to be the code to run. Don't use vc-previous-sentinel
15687 and vc-sentinel-commands any more.
15688 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15689 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15690
e36b2d20 156912013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 15692
bcd7a0a4 15693 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 15694 Handle function names with a single character. (Bug#14111)
4d3268ba 15695
27821a89 156962013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
15697
15698 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15699 for subroutines defined in an eval (bug#14182).
15700
7d688336
TV
157012013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15702
15703 * bookmark.el (bookmark-completing-read): Improve handling of empty
15704 string (bug#14176).
15705
31dcede0
SM
157062013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15707
15708 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15709
adc31213
FEG
157102013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15711
15712 New faster Imenu implementation (bug#14058).
9b017563 15713 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
15714 (python-imenu-format-item-label-function)
15715 (python-imenu-format-parent-item-label-function)
15716 (python-imenu-format-parent-item-jump-label-function):
15717 New vars.
15718 (python-imenu-format-item-label)
15719 (python-imenu-format-parent-item-label)
15720 (python-imenu-format-parent-item-jump-label)
15721 (python-imenu--put-parent, python-imenu--build-tree)
15722 (python-imenu-create-index, python-imenu-create-flat-index)
15723 (python-util-popn): New functions.
15724 (python-mode): Set imenu-create-index-function to
15725 python-imenu-create-index.
15726
cdca8255
SM
157272013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * winner.el (winner-active-region): Use region-active-p, activate-mark
15730 and deactivate-mark (bug#14225).
15731
15732 * simple.el (deactivate-mark): Don't inline it.
15733
beb42340
MA
157342013-04-18 Michael Albinus <michael.albinus@gmx.de>
15735
15736 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15737
fc7f4d7e
TH
157382013-04-18 Tassilo Horn <tsdh@gnu.org>
15739
15740 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15741 file extensions from the archive-mode entry in order to prefer
15742 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15743
29f47822
LL
157442013-04-18 Leo Liu <sdl.web@gmail.com>
15745
15746 * bindings.el (help-event-list): Add ?\?.
15747
d36ed1c8
SM
157482013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15749
15750 * subr.el (with-wrapper-hook): Declare obsolete.
15751 * simple.el (filter-buffer-substring-function): New hook.
15752 (filter-buffer-substring): Use it.
15753 (filter-buffer-substring-functions): Mark obsolete.
15754 * minibuffer.el (completion-in-region-function): New hook.
15755 (completion-in-region): Use it.
15756 (completion-in-region-functions): Mark obsolete.
15757 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15758 * abbrev.el (abbrev-expand-function): New hook.
15759 (expand-abbrev): Use it.
15760 (abbrev-expand-functions): Mark obsolete.
15761 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15762 and :filter-return.
15763
04754d36
FEG
157642013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15765
15766 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15767 and do not care about match data.
15768
dd8791e9
SM
157692013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15772 completion tables when completing error conditions and
15773 `declare' arguments.
15774 (lisp-complete-symbol, field-complete): Mark as obsolete.
15775 (check-parens): Unmatched parens are user errors.
15776 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15777
ffe54a13
AM
157782013-04-17 Michal Nazarewicz <mina86@mina86.com>
15779
dd8791e9
SM
15780 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15781 command changed buffer (ie. `flyspell-pre-buffer' is not current
15782 buffer), which prevents making decisions based on invalid value of
15783 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15784 cause an error when `flyspell-pre-point' was nil after switching
15785 buffers.
15786 (flyspell-post-command-hook): No longer needs to change buffers when
15787 checking pre-word. While at it remove unnecessary progn.
ffe54a13 15788
ec7e39f2
AM
157892013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15790
15791 * textmodes/ispell.el (ispell-add-per-file-word-list):
15792 Fix `flyspell-correct-word-before-point' error when accepting
15793 words and `coment-padding' is an integer by using
15794 `comment-normalize-vars' (Bug #14214).
15795
083850a6
FEG
157962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15797
15798 New defun movement commands.
15799 * progmodes/python.el (python-nav--syntactically)
15800 (python-nav--forward-defun, python-nav-backward-defun)
15801 (python-nav-forward-defun): New functions.
15802
619ed6e1
FEG
158032013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15804
15805 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15806 (python-syntax-context): Use named compiler-macro for backwards
15807 compatibility with Emacs 24.x.
15808
7a1beb6c
LL
158092013-04-17 Leo Liu <sdl.web@gmail.com>
15810
15811 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15812 octave-hide-process-buffer.
15813
2d3fa3e5
SM
158142013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15815
15816 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15817 (bug#14216).
15818
7ce5be54
JPG
158192013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15820
15821 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15822 Fix adjustment of offset when receiving incomplete responses from GDB
15823 (bug#14129).
15824
351edece
SM
158252013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15826
15827 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15828 python-mode-abbrev-table.
15829 (python-skeleton-define): Adjust accordingly.
15830 (python-mode-abbrev-table): New table that inherits from it so that
15831 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15832
15833 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15834 (abbrev-symbol): Use it.
15835 (abbrev--before-point): Use it since we already handle inheritance.
15836
613f9481
LL
158372013-04-16 Leo Liu <sdl.web@gmail.com>
15838
15839 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15840 binding to info-lookup-symbol.
15841
51646b62
JB
158422013-04-16 Juanma Barranquero <lekktu@gmail.com>
15843
15844 * minibuffer.el (completion--twq-all):
15845 * term/ns-win.el (ns-initialize-window-system):
15846 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15847
efb3f01d
SM
158482013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15849
36c0a301
SM
15850 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15851 global bindings.
15852
efb3f01d
SM
15853 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15854
fb549d64
DG
158552013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15856
15857 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15858 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15859 to nil.
15860 (ruby-end-of-defun): Remove the unused arg, change the docstring
15861 to reflect that this function is only used as the value of
15862 `end-of-defun-function'.
15863 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15864 to reflect an earlier change that beginning/end-of-defun functions
15865 jump between methods in a class definition, as well as top-level
15866 functions.
15867
21e8fe2f
SM
158682013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15869
15870 * minibuffer.el (minibuffer-complete): Don't just scroll
15871 a *Completions* that's been iconified.
15872 (minibuffer-force-complete): Make sure repetitions do cycle when going
15873 through completion-in-region -> minibuffer-complete.
15874
20e527d0
AM
158752013-04-15 Alan Mackenzie <acm@muc.de>
15876
15877 Correct the placement of c-cpp-delimiters when there're #s not at
15878 col 0.
15879
15880 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15881 place a submatch around the #.
21e8fe2f
SM
15882 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15883 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15884 on the #, not BOL.
15885
dabefae5
SM
158862013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15887
15888 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15889 (advice--member-p): New arg `name'.
15890 (advice--add-function, advice-member-p): Use it (bug#14202).
15891
85c9ab64
AM
158922013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15893
15894 Reformulate java imenu-generic-expression.
15895 The old expression contained ill formed regexps.
15896
15897 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15898 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15899 (cc-imenu-java-method-arg-regexp): New defconsts.
15900 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15901 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15902 handling of spaces in the regexp.
15903
0f821d99
AM
159042013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15905
15906 * textmodes/ispell.el (ispell-command-loop): Remove
15907 flyspell highlight of a word when ispell accepts it (bug #14178).
15908
eb922adf
MA
159092013-04-15 Michael Albinus <michael.albinus@gmx.de>
15910
15911 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15912 uses code from the previous `ange-ftp-run-real-handler'.
15913 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15914 only in case that function exist. This is needed for proper
15915 unloading of Tramp.
15916
4d9a0979
TH
159172013-04-15 Tassilo Horn <tsdh@gnu.org>
15918
15919 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15920
15921 * textmodes/reftex.el (reftex-compile-variables): Use it.
15922
a829b0dc
SM
159232013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15924
91e8293c
SM
15925 * files.el (normal-mode): Only use default major-mode if no other mode
15926 was specified.
15927
830aed4d
SM
15928 * emacs-lisp/trace.el (trace-values): New function.
15929
a829b0dc
SM
15930 * files.el: Allow : in local variables (bug#14089).
15931 (hack-local-variable-regexp): New var.
15932 (hack-local-variables-prop-line, hack-local-variables): Use it.
15933
7ae9f0fb
RW
159342013-04-13 Roland Winkler <winkler@gnu.org>
15935
15936 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15937 data before it gets modified by bibtex-beginning-of-entry.
15938
6646e848
RW
159392013-04-13 Roland Winkler <winkler@gnu.org>
15940
15941 * textmodes/bibtex.el (bibtex-url): Doc fix.
15942
159432013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15944
15945 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15946 does not visit a BibTeX file, exclude it from the list of buffers
15947 returned by bibtex-initialize.
15948
0aa3616e
SB
159492013-04-13 Stephen Berman <stephen.berman@gmx.net>
15950
15951 * window.el (split-window): Remove interactive form, since as a
15952 command this function is a special case of split-window-below.
15953 Correct doc string.
15954
011cddd6
RW
159552013-04-12 Roland Winkler <winkler@gnu.org>
15956
15957 * faces.el (read-face-name): Do not override value of arg default.
15958 Allow single faces and strings as default values. Remove those
15959 elements from return value that are not faces.
15960 (describe-face): Simplify.
15961 (face-at-point): New optional args thing and multiple so that this
15962 function can provide the same functionality previously provided by
15963 read-face-name.
15964 (make-face-bold, make-face-unbold, make-face-italic)
15965 (make-face-unitalic, make-face-bold-italic, invert-face)
15966 (modify-face, read-face-and-attribute): Use face-at-point.
15967
15968 * cus-edit.el (customize-face, customize-face-other-window)
15969 * cus-theme.el (custom-theme-add-face)
15970 * face-remap.el (buffer-face-set)
15971 * facemenu.el (facemenu-set-face): Use face-at-point.
15972
f24e0036
MA
159732013-04-12 Michael Albinus <michael.albinus@gmx.de>
15974
15975 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15976
da3cda2d
TH
159772013-04-10 Tassilo Horn <tsdh@gnu.org>
15978
15979 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15980 off leading { and trailing } from field values.
15981
15e54145
SM
159822013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15983
78ce603d
SM
15984 * emacs-lisp/timer.el (timer--check): New function.
15985 (timer--time, timer-set-function, timer-event-handler): Use it.
15986 (timer-set-idle-time): Simplify.
15987 (timer--activate): CSE.
15988 (timer-event-handler): Give more info in error message.
15989 (internal-timer-start-idle): New function, moved from C.
15990
15e54145
SM
15991 * mpc.el (mpc-proc): Add `restart' argument.
15992 (mpc-proc-cmd): Use it.
15993 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15994 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15995 less often.
15996
7144c627
MY
159972013-04-10 Masatake YAMATO <yamato@redhat.com>
15998
15999 * progmodes/sh-script.el: Implement `sh-mode' own
16000 `add-log-current-defun-function' (bug#14112).
16001 (sh-current-defun-name): New function.
16002 (sh-mode): Use the function.
16003
b39792eb
BG
160042013-04-09 Bastien Guerry <bzg@gnu.org>
16005
16006 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16007
8acdeb71
SM
160082013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16009
6fcdab68
SM
16010 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16011
8acdeb71
SM
16012 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16013 timer (bug#14156).
16014
e3e7b504
NF
160152013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16016
16017 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16018 declaration.
16019
201bb296
LL
160202013-04-07 Leo Liu <sdl.web@gmail.com>
16021
16022 * pcmpl-x.el: New file.
16023
ebb19708
DA
160242013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16025
16026 Do not set x-display-name until X connection is established.
16027 This is needed to prevent from weird situation described at
16028 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16029 * frame.el (make-frame): Set x-display-name after call to
16030 window system initialization function, not before.
16031 * term/x-win.el (x-initialize-window-system): Add optional
16032 display argument and use it.
16033 * term/w32-win.el (w32-initialize-window-system):
16034 * term/ns-win.el (ns-initialize-window-system):
16035 * term/pc-win.el (msdos-initialize-window-system):
16036 Add compatible optional display argument.
16037
33bb237a
EZ
160382013-04-06 Eli Zaretskii <eliz@gnu.org>
16039
16040 * files.el (normal-backup-enable-predicate): On MS-Windows and
16041 MS-DOS compare truenames of temporary-file-directory and of the
16042 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16043 don't fail comparison by compare-strings. Also, compare file
16044 names case-insensitively on MS-Windows and MS-DOS.
16045
134abf1f
SM
160462013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16049 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16050
d695cb94
DG
160512013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16052
e3e7b504
NF
16053 * whitespace.el (whitespace-color-on, whitespace-color-off):
16054 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 16055
f4ad7ea1 160562013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
16057
16058 * ispell.el (ispell-set-spellchecker-params):
16059 Really set `ispell-args' for all equivs.
16060
632556e4
SM
160612013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16062
16063 * ido.el (ido-completions): Use extra elements of ido-decorations
16064 (bug#14143).
16065 (ido-decorations): Update docstring.
16066
2a417372
MA
160672013-04-05 Michael Albinus <michael.albinus@gmx.de>
16068
16069 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16070 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16071 nil during initialization, in order not to miss changes since the
16072 file was opened. (Bug#14140)
16073
fc164b0c
LL
160742013-04-05 Leo Liu <sdl.web@gmail.com>
16075
16076 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16077
0ccecc08
JB
160782013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16079
16080 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16081
51af1aa2
GM
160822013-04-04 Glenn Morris <rgm@gnu.org>
16083
16084 * electric.el (electric-pair-inhibit-predicate): Add :version.
16085
b208ebc6
SM
160862013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16089 when a package is required several times (bug#14082).
16090
f3d3eaf0
RW
160912013-04-04 Roland Winkler <winkler@gnu.org>
16092
16093 * faces.el (read-face-name): Behave as promised by the docstring.
16094 Assume that arg default is a list of faces.
16095 (describe-face): Call read-face-name with list of default faces.
16096
2575da50
TV
160972013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16098
16099 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16100 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16101 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16102 the header.
16103 (bookmark-exit-hook-internal): Save even if list is empty.
16104
397703b4
YH
161052013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16106
16107 * emacs-lisp/package.el (package-pinned-packages): New var.
16108 (package--add-to-archive-contents): Obey it (bug#14118).
16109
691e26ae
AM
161102013-04-03 Alan Mackenzie <acm@muc.de>
16111
8a621d53
JB
16112 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16113 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
16114
16115 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16116 parameter `not-in-delimiter'. Handle being inside comment opener.
16117 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16118 character in case we're typing a '*' after a '/'.
16119 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16120 instead by passing the parameter to c-state-pp-to-literal.
16121
16122 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16123 for elt. 7 of a parse state.
16124
4b725a70
PE
161252013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16126
16127 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16128 * international/latin1-disp.el, international/mule-util.el:
16129 * language/cyril-util.el, language/european.el, language/ind-util.el:
16130 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16131 * language/tibetan.el, language/viet-util.el:
16132 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16133
15c579f0
SM
161342013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16135
16136 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16137 (electric-pair-post-self-insert-function): Use it.
16138 (electric-pair-default-inhibit): New function, extracted from
16139 electric-pair-post-self-insert-function.
16140
a77e2924
RW
161412013-03-31 Roland Winkler <winkler@gnu.org>
16142
16143 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16144
2bd8a4a8
SM
161452013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16146
16147 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16148
8d3655be 161492013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
16150
16151 Un-indent after "pass" and "return" statements (Bug#13888)
16152 * progmodes/python.el (python-indent-block-enders): New var.
16153 (python-indent-calculate-indentation): Use it.
16154
8d3655be 161552013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
16156
16157 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16158 defun. Defining it as defalias could introduce too eager
16159 byte-compiler optimization. (Bug#14030)
16160
8d3655be 161612013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
16162
16163 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16164
0b1619da
LL
161652013-03-30 Leo Liu <sdl.web@gmail.com>
16166
16167 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16168 (kmacro-execute-from-register): Pass the keyboard macro to
16169 kmacro-call-macro or repeating won't work correctly.
16170
0b938190
TZ
161712013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16172
16173 * progmodes/subword.el: Back to using `forward-symbol'.
16174
16175 * subr.el (forward-whitespace, forward-symbol)
16176 (forward-same-syntax): Move from thingatpt.el.
16177
35710234
LL
161782013-03-29 Leo Liu <sdl.web@gmail.com>
16179
16180 * kmacro.el (kmacro-to-register): New command.
16181 (kmacro-execute-from-register): New function.
16182 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16183
efc0bb73
SM
161842013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16185
16186 * mpc.el: Use defvar-local and setq-local.
16187 (mpc--proc-connect): Connection failures are not bugs.
16188 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16189 (mpc-volume-map): Bind to the up-events.
16190
75a2f981
TZ
161912013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16192
16193 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16194 instead of `forward-symbol'.
16195
17c781d1
SM
161962013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16197
16198 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16199 (edebug--recursive-edit): Use it.
16200 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16201 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16202
f67bfbcf
LL
162032013-03-28 Leo Liu <sdl.web@gmail.com>
16204
16205 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16206
b59f639d
EZ
162072013-03-27 Eli Zaretskii <eliz@gnu.org>
16208
16209 * facemenu.el (list-colors-callback): New defvar.
16210 (list-colors-redisplay): New function.
16211 (list-colors-display): Install list-colors-redisplay as the
16212 revert-buffer-function. (Bug#14063)
16213
f557c1b1
SM
162142013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16215
b1da2957
SM
16216 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16217 and suffixes don't overlap (bug#14061).
16218
f557c1b1
SM
16219 * case-table.el: Use lexical-binding.
16220 (case-table-get-table): New function.
16221 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16222
002668e1
TZ
162232013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16224
16225 * progmodes/subword.el: Add `superword-mode' to do word motion
16226 over symbol_words (parallels and leverages `subword-mode' which
16227 does word motion inside MixedCaseWords).
16228
73572c72
AG
162292013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16230
78b8f320 16231 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 16232 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 16233
69b2c07e
SM
162342013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16235
16236 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16237 Change return value to be a sexp. Delay `get-buffer' to after
16238 restoring the desktop (bug#13951).
16239
08bb5ee2
LL
162402013-03-26 Leo Liu <sdl.web@gmail.com>
16241
16242 * register.el: Move semantic tag handling back to
16243 cedet/semantic/senator.el. (Bug#14052)
16244
8d4c974e
SM
162452013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16246
16247 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16248 into the prompt either (bug#13963).
16249
b234d92c
SM
162502013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16251
16252 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16253 part of "(error-foo)".
16254
ddfa3cb4
JL
162552013-03-24 Juri Linkov <juri@jurta.org>
16256
16257 * replace.el (list-matching-lines-prefix-face): New defcustom.
16258 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16259 `occur-engine' if `face-differs-from-default-p' returns t.
16260 (occur-engine): Add `,' inside backquote construct to evaluate
16261 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16262 Pass `prefix-face' to the functions `occur-context-lines' and
16263 `occur-engine-add-prefix'.
16264 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16265 `prefix-face' and propertize the prefix with `prefix-face'.
16266 (Bug#14017)
16267
7b0e2f85
LL
162682013-03-24 Leo Liu <sdl.web@gmail.com>
16269
16270 * nxml/rng-valid.el (rng-validate-while-idle)
16271 (rng-validate-quick-while-idle): Guard against deleted buffer.
16272 (Bug#13999)
16273
16274 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16275 is the last entry in kill-buffer-hook.
16276
16277 * files.el (kill-buffer-hook): Doc fix.
16278
b3082f49
DG
162792013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16280
b234d92c
SM
16281 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16282 Make it safe-local.
bde73d27 16283
b3082f49
DG
16284 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16285
a320a2db
LL
162862013-03-23 Leo Liu <sdl.web@gmail.com>
16287
7e74b0fb
LL
16288 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16289 Remove.
16290
16291 * nxml/rng-valid.el (rng-validate-mode)
16292 (rng-after-change-function, rng-do-some-validation):
16293 * nxml/rng-maint.el (rng-validate-buffer):
16294 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16295 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16296 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16297 (nxml-extend-after-change-region): Use with-silent-modifications.
16298
a320a2db
LL
16299 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16300 timer-idle-list.
16301
16302 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16303 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16304 timer-idle-list. (Bug#13999)
16305
e38e6780
JL
163062013-03-23 Juri Linkov <juri@jurta.org>
16307
16308 * info.el (info-index-match): New face.
16309 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16310 main pattern and add text properties with the new face to matches
16311 in index entries relative to the beginning of the index entry.
16312 (Bug#14015)
16313
e8cc7880
DE
163142013-03-21 Eric Ludlam <zappo@gnu.org>
16315
39c87140 16316 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
16317 Inhibit read only while inserting objects.
16318
9bb0d822
TZ
163192013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16320
16321 * progmodes/cfengine.el: Update docs to mention
16322 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16323 symbol motion. Remove "_" from the word syntax.
16324
aa703640
TZ
163252013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16326
16327 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16328 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16329
afff09d0
JL
163302013-03-20 Juri Linkov <juri@jurta.org>
16331
16332 * info.el (Info-next-reference-or-link)
16333 (Info-prev-reference-or-link): New functions.
16334 (Info-next-reference, Info-prev-reference): Use them.
16335 (Info-try-follow-nearest-node): Handle footnote navigation.
16336 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16337
9a1ff164
SM
163382013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16339
16340 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16341 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16342
2667d15d
PE
163432013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16344
16345 Suppress unnecessary non-ASCII chatter during build process.
16346 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16347 (batch-skkdic-convert): Suppress most of the chatter.
16348 It's not needed so much now that machines are faster,
16349 and its non-ASCII component was confusing; see Dmitry Gutov in
16350 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16351
438b0579
LL
163522013-03-20 Leo Liu <sdl.web@gmail.com>
16353
16354 * ido.el (ido-chop): Fix bug#10994.
16355
c128ab07
DG
163562013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16357
16358 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16359 Remove vars.
9a1ff164
SM
16360 (whitespace-color-on, whitespace-color-off):
16361 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 16362
0e6008c5
SM
163632013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16364
16365 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16366 remapping in mode-line.
16367 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16368
627b52b0
DG
163692013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16370
16371 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16372 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
16373 (whitespace-font-lock-keywords): Change description.
16374 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16375 the constructed keywords instead.
16376 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 16377
50c3a20b
LL
163782013-03-19 Leo Liu <sdl.web@gmail.com>
16379
16380 * progmodes/compile.el (compilation-display-error): New command.
16381 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16382 C-o. (Bug#13992)
16383
2aa2157b
PE
163842013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16385
16386 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16387
e477dbfa
JD
163882013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16389
16390 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16391
64ab82d1
MA
163922013-03-18 Michael Albinus <michael.albinus@gmx.de>
16393
16394 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16395
16396 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16397 * net/tramp-gvfs.el (top):
16398 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16399 (tramp-handle-shell-command): Use it.
16400 (tramp-dissect-file-name): Raise an error when hostname is a
16401 method name, and neither method nor user is specified.
16402
16403 * net/trampver.el: Update release number.
16404
33cef733
LL
164052013-03-18 Leo Liu <sdl.web@gmail.com>
16406
16407 Make sure eldoc can be turned off properly.
16408 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16409 eldoc-mode.
16410 (eldoc-display-message-p): Revert last change.
16411 (eldoc-display-message-no-interference-p)
16412 (eldoc-print-current-symbol-info): Tweak.
16413
2167b7b2
TH
164142013-03-18 Tassilo Horn <tsdh@gnu.org>
16415
16416 * doc-view.el (doc-view-new-window-function): Check the new window
16417 overlay's display property instead the char property of the
16418 buffer's first char. Use `with-selected-window' instead of
16419 `save-window-excursion' with `select-window'.
16420 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 16421 display property instead the char property of the buffer's first char.
2167b7b2 16422
982efbcd
PE
164232013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16424
16425 Automate the build of ja-dic.el (Bug#13984).
16426 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16427 from the input, rather than assume that it's been done for us by the
16428 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16429 the current date into a ja-dic.el comment, as that complicates
16430 regression testing.
16431
2fcc7665
SM
164322013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16433
16434 * whitespace.el: Fix double evaluation.
16435 (whitespace-space, whitespace-hspace, whitespace-tab)
16436 (whitespace-newline, whitespace-trailing, whitespace-line)
16437 (whitespace-space-before-tab, whitespace-indentation)
16438 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16439 obsolete defvars.
16440 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16441 (whitespace-color-on): Use a single font-lock-add-keywords call.
16442 Fix double-evaluation of face variables.
16443
67c0a6e6
MA
164442013-03-17 Michael Albinus <michael.albinus@gmx.de>
16445
2fcc7665
SM
16446 * net/tramp-adb.el (tramp-adb-parse-device-names):
16447 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 16448 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 16449
69489f1d
LL
164502013-03-17 Leo Liu <sdl.web@gmail.com>
16451
16452 Extend eldoc to display info in the mode-line. (Bug#13978)
16453 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16454 (eldoc-mode-line-string): New variable.
16455 (eldoc-minibuffer-message): New function.
16456 (eldoc-message-function): New variable.
16457 (eldoc-message): Use it.
16458 (eldoc-display-message-p)
2fcc7665
SM
16459 (eldoc-display-message-no-interference-p):
16460 Support eldoc-post-insert-mode.
69489f1d
LL
16461
16462 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16463 (eval-expression): Run it.
16464
9c44569e
RW
164652013-03-17 Roland Winkler <winkler@gnu.org>
16466
16467 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16468 strings in the list of return values.
16469
327f1f6f
JB
164702013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16471
16472 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16473 radix before checking for HMS forms.
16474
67ed8fcd
LL
164752013-03-16 Leo Liu <sdl.web@gmail.com>
16476
16477 * progmodes/scheme.el: Add indentation and font-locking for λ.
16478 (Bug#13975)
16479
78be8b64 164802013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
16481
16482 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16483 token before point (bug#13942).
16484
78be8b64 164852013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 16486
95b43468 16487 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 16488
98e775e6
EZ
164892013-03-16 Eli Zaretskii <eliz@gnu.org>
16490
16491 * startup.el (command-line-normalize-file-name): Fix handling of
16492 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16493 <xfq.free@gmail.com> in
16494 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16495
2edd6029
MA
164962013-03-15 Michael Albinus <michael.albinus@gmx.de>
16497
16498 Sync with Tramp 2.2.7.
16499
16500 * net/trampver.el: Update release number.
16501
d35f5864
TH
165022013-03-14 Tassilo Horn <tsdh@gnu.org>
16503
e903c210 16504 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
16505 (doc-view-insert-image): Don't modify overlay associated to
16506 non-live windows, and implement horizontal centering of image in
16507 case it's smaller than the window.
16508 (doc-view-new-window-function): Force redisplay of new windows on
16509 doc-view buffers.
d35f5864 16510
1c4a85ed
KF
165112013-03-13 Karl Fogel <kfogel@red-bean.com>
16512
16513 * saveplace.el (save-place-alist-to-file): Don't sort
16514 `save-place-alist', just pretty-print it (bug#13882).
16515
85b66a21
MA
165162013-03-13 Michael Albinus <michael.albinus@gmx.de>
16517
a020afb9
JB
16518 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16519 Check whether `default-file-name-coding-system' is bound.
16520 It isn't in XEmacs.
85b66a21 16521
175600da
SM
165222013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16523
e7f7cb1a
SM
16524 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16525 backquotes for `obsolete' (bug#13929).
16526
175600da
SM
16527 * international/mule.el (find-auto-coding): Include file name in
16528 obsolescence warning (bug#13922).
16529
ca68a22e
TZ
165302013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16531
16532 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16533 for CFEngine 3-specific indentation.
16534 (cfengine3-indent-line): Use it. Fix up category regex.
16535 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16536
940e5099
SM
165372013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16538
16539 * type-break.el (type-break-file-name):
16540 * textmodes/remember.el (remember-data-file):
16541 * strokes.el (strokes-file):
16542 * shadowfile.el (shadow-initialize):
16543 * saveplace.el (save-place-file):
16544 * ps-bdf.el (bdf-cache-file):
16545 * progmodes/idlwave.el (idlwave-config-directory):
16546 * net/quickurl.el (quickurl-url-file):
16547 * international/kkc.el (kkc-init-file-name):
16548 * ido.el (ido-save-directory-list-file):
16549 * emulation/viper.el (viper-custom-file-name):
16550 * emulation/vip.el (vip-startup-file):
16551 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16552 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16553
cc725808
PE
165542013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16555
16556 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16557 * language/thai-word.el: Switch to UTF-8.
16558
a020afb9 16559See ChangeLog.16 for earlier changes.
e3d51b27
MR
16560
16561;; Local Variables:
16562;; coding: utf-8
e3d51b27
MR
16563;; End:
16564
ba318903 16565 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
16566
16567 This file is part of GNU Emacs.
16568
16569 GNU Emacs is free software: you can redistribute it and/or modify
16570 it under the terms of the GNU General Public License as published by
16571 the Free Software Foundation, either version 3 of the License, or
16572 (at your option) any later version.
16573
16574 GNU Emacs is distributed in the hope that it will be useful,
16575 but WITHOUT ANY WARRANTY; without even the implied warranty of
16576 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16577 GNU General Public License for more details.
16578
16579 You should have received a copy of the GNU General Public License
16580 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.