* emacs-lisp/cl-macs.el (cl-macrolet): Simplify last change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
14781f7f
LL
12014-06-05 Leo Liu <sdl.web@gmail.com>
2
3 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
4
af9a3b28
MN
52014-06-05 Michal Nazarewicz <mina86@mina86.com>
6
03d7d160
MN
7 * textmodes/tildify.el (tildify-foreach-region-outside-env): New
8 function which calls a callback on portions of the buffer that are
9 outside of ignored environments.
10 (tildify-build-regexp): Remove function since it is now
11 incorporated in `tildify-foreach-region-outside-env' where it is
12 optimised and simplified by the use of `mapconcat'.
13 (tildify-tildify): Return number of substitutions made so that…
14 (tildify-count): …can be removed.
15 (tildify-find-env): Accept a new PAIRS argument which was
16 previously looked up in `tildify-ignored-environments-alist' each
17 time the function was called. With this change, the lookup is
18 performed only once in `tildify-foreach-region-outside-env'.
19 (tildify-region): Greatly simplify the function since now most of
20 the work is done by `tildify-foreach-region-outside-env'.
21 (tildify-mode-alist): Simplify slightly by avoiding if and setq
22 and instead using or.
23
df344ab4
MN
24 * textmodes/tildify.el (tildify-ignored-environments-alist):
25 Optimise environments regexes
26
27 Each time beginning of an environment to ignore is found,
28 `tildify-find-env' needs to identify regexp for the ending
29 of the environment. This is done by trying all the opening
30 regexes on matched text in a loop, so to speed that up, this
31 loop should have fewer things to match, which can be done by
32 using alternatives in the opening regexes.
33
34 Coincidentally, this should make matching of the opening
35 regexp faster as well thanks to the use of `regexp-opt' and
36 having common prefix pulled from many regexes.
37
eb54c73a
MN
38 * textmodes/tildify.el (tildify-string-alist)
39 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
40 of supported modes since `xml-mode' is no longer a thing but just
41 an alias to the former. Also include comments and insides of tags
42 in `tildify-ignored-environments-alist' for XML modes. Finally,
43 since XML does not define “&nbsp;”[1], use a numeric reference for
44 a no-break space (namely “&#160;”)
45
46 [1] XML specification defines only a handful of predefined entities.
47 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
48 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
49 >, &, ' and " respectively). This is in contrast to HTML and even
50 XHTML which defined a whole bunch of entities including “&nbsp;”.
51
e01e361f
MN
52 * textmodes/tildify.el (tildify-pattern-alist)
53 (tildify-string-alist, tildify-ignored-environments-alist):
54 Improve defcustom's types by adding more tags explaining what each
55 value means and replace “sexp” used in
56 `tildify-ignored-environments-alist' with a full type declaration.
57
9342feec
MN
58 * textmodes/tildify.el (tildify-find-env): Fix matched group
59 indexes in end-regex building
60
61 When looking for a start of an ignore-environment, the regex is built
62 by concatenating regexes of all the environments configured in
63 `tildify-ignored-environments-alist'. So for example, the following
64 list could be used to match TeX's \verb and \verb* commands:
65
66 (("\\\\verb\\(.\\)" . (1))
67 ("\\\\verb\\*\\(.\\)" . (1)))
68
69 This would result in the following regex being used to find the start
70 of any of the variants of the \verb command:
71
72 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
73
74 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
75 won't match anything, and thus (match-string 1) will be nil, which
76 will cause building of the end-matching regex to fail.
77
78 Fix this by using capture groups from the time when the opening
79 regexes are matched individually.
80
af9a3b28
MN
81 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
82 in `tildify-find-env'
83
84 The `tildify-ignored-environments-alist' allows the end-regex to
85 be provided not as a static string but mix of strings and indexes
86 of groups matched the begin-regex. For example, the “\verb!…!”
87 TeX-command (where “!” is an arbitrary character) is handled
88 using:
89
90 ("\\\\verb\\*?\\(.\\)" . (1))
91
92 In the same way, the following should be supported as well:
93
94 ("open-\\(.\\)" . ("end-" 1))
95
96 However the tildify-find-env function fails at
97
98 (concat result
99 (if (stringp (setq aux (car expression)))
100 expression ; BUG: expression is a list
101 (regexp-quote (match-string aux))))
102
103 where the string part is handled incorrectly.
104
105 The most trivial fix would be to replace `expression' in the
106 true-part of the if-statement with `aux', but instead, this commit
107 optimises `tildify-find-env' by changing it to use `mapconcat'
108 rather than open-coded while-loop.
109
a1d799c2
ML
1102014-06-05 Mario Lang <mlang@delysid.org>
111
112 * woman.el (woman-mapcan): Remove.
113 (woman-parse-colon-path): Use cl-mapcan instead.
114
5830a292
RS
1152014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
116
117 * register.el: Add link to Emacs manual in Commentary.
118
cf3c1e23
SS
1192014-06-02 Sam Steingold <sds@gnu.org>
120
121 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
122 (popup-menu): ...here.
123 (menu-bar-open): Use it to avoid an error when `lookup-key'
124 returns a number.
125
c8291a36
MA
1262014-06-02 Michael Albinus <michael.albinus@gmx.de>
127
e915914b 128 * net/tramp.el (tramp-call-process): Add traces.
7973d8d5 129 (tramp-handle-unhandled-file-name-directory): Return "/".
c8291a36 130
9e158ac8
WS
1312014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
132
133 Sync with upstream verilog-mode revision 3cd8144.
134 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
135 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
136 (verilog-type-font-keywords): Add nor.
137 (verilog-batch-execute-func): Force reading of Local Variables.
138 Fix printing "no changes to be saved" with verilog-batch.
139 (verilog-auto-arg-ports): Doc fix.
140 Add verilog-auto-arg-format to support newlines in AUTOARG.
141 (verilog-auto-arg): Doc fix.
142
4982861a
GM
1432014-06-02 Glenn Morris <rgm@gnu.org>
144
145 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
146 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
147 * emulation/ws-mode.el: Move to obsolete/.
3fbc3eff 148 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
4982861a 149
953e106a 1502014-06-02 Eli Zaretskii <eliz@gnu.org>
082c97e8
EZ
151
152 * simple.el (keyboard-quit): Force update of mode lines, to remove
153 the "Def" indicator, if we were defining a macro. (Bug#17615)
154
953e106a 1552014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
ffa8a2db 156
08c0f626
SM
157 * minibuffer.el (minibuffer-force-complete-and-exit):
158 Obey minibuffer-default (bug#17545).
159
ffa8a2db
SM
160 * progmodes/js.el (js-indent-line): Don't mix columns and chars
161 (bug#17619).
162
8889b935
SM
163 * subr.el (set-transient-map): Don't wait for some "nested"
164 transient-map to finish if we're only supposed to be active for
165 the next command (bug#17642).
166
953e106a 1672014-06-02 Leo Liu <sdl.web@gmail.com>
e41682ae
LL
168
169 * emacs-lisp/gv.el (window-buffer, window-display-table)
170 (window-dedicated-p, window-hscroll, window-point, window-start):
171 Fix gv-expander. (Bug#17630)
172
953e106a 1732014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
90cd9b13 174
3a73c34c
SM
175 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
176 clicks (bug#17633).
177
90cd9b13
SM
178 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
179 for the single comma, since ", " is *very* common in normal French text
180 (bug#17643).
181
953e106a 1822014-06-02 Glenn Morris <rgm@gnu.org>
ab84733c
GM
183
184 * emacs-lisp/package.el (package-check-signature)
185 (package-unsigned-archives): Fix :version.
186
953e106a 1872014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2f8165f4
SM
188
189 * subr.el (sit-for): Don't run input-methods (bug#15614).
190
953e106a 1912014-06-02 Glenn Morris <rgm@gnu.org>
18348234
GM
192
193 * cus-start.el: Fix some :version numbers.
194
953e106a 1952014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
53bc1e29 196
18348234
GM
197 * simple.el (deactivate-mark): Set mark-active to nil even if
198 deactivation is done via setting transient-mark-mode to nil,
199 since one is buffer-local and the other is global.
9828d523 200
53bc1e29
SM
201 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
202 there can't be more than 2 arguments (bug#17584).
203
953e106a 2042014-06-02 Glenn Morris <rgm@gnu.org>
e38a5ebe 205
e9e341bb
GM
206 * simple.el (filter-buffer-substring-functions)
207 (filter-buffer-substring-function, buffer-substring-filters)
208 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
209
4a12fa5c
GM
210 * minibuffer.el (completion-in-region-functions, completion-in-region)
211 (completion--in-region): Doc fixes.
212
e38a5ebe
GM
213 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
214 (expand-abbrev, abbrev--default-expand): Doc fixes.
215
953e106a 2162014-06-02 Paul Eggert <eggert@cs.ucla.edu>
cf2f54c4
PE
217
218 Include sources used to create macuvs.h.
219 * international/README: Refer to the Unicode Terms of Use rather
220 than copying it bodily here, as that simplifies maintenance.
221
a383d091
GM
2222014-06-01 Glenn Morris <rgm@gnu.org>
223
224 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
225
b5d6fe3b
GM
2262014-05-31 Glenn Morris <rgm@gnu.org>
227
228 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
229
6423ce26
GM
2302014-05-30 Glenn Morris <rgm@gnu.org>
231
232 * loadup.el: Treat `command-line-args' more flexibly.
233
9155e80d
AM
2342014-05-30 Alan Mackenzie <acm@muc.de>
235
236 Guard (looking-at "\\s!") from XEmacs.
237 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
238
e50e0340
KO
2392014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
240
241 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
242 argument COUNT is now optional, to be more backward-compatible.
243 Doc fix. (Bug#17560)
244
6ddcaa8f
RT
2452014-05-29 Reuben Thomas <rrt@sc3d.org>
246
b0877c44
RT
247 * whitespace.el (whitespace-report-region): Simplify
248 documentation.
b4c1ce8a
RT
249 (whitespace-report-region): Allow report-if-bogus to take the
250 value `never', for non-interactive use.
b0877c44
RT
251 (whitespace-report): Refer to whitespace-report-region's
252 documentation.
6ddcaa8f 253
6711a21f
SM
2542014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
255
4d05fe98
SM
256 * whitespace.el: Use font-lock-flush. Minimize refontifications.
257 Side benefit: it works without jit-lock.
258 (whitespace-point--used): New buffer-local var.
259 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
260 (whitespace-color-off): Use font-lock-flush.
261 (whitespace-point--used, whitespace-point--flush-used): New functions.
262 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
263 (whitespace-empty-at-eob-regexp): Use them.
264 (whitespace-post-command-hook): Rewrite.
265
6711a21f
SM
266 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
267 (font-lock-fontify-buffer): Mark interactive-only.
268 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
269 Make buffer-local.
270 (font-lock-specified-p): Remove redundant boundp check.
271 (font-lock-flush-function, font-lock-ensure-function): New vars.
272 (font-lock-turn-on-thing-lock): Set them.
273 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
274 (font-lock-after-change-function): Make `old-len' optional.
275 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
276 Call font-lock-flush, just in case.
277 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
278 recent Emacsen.
279 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
280 (vera-mode-map, vera-mode-menu): Remove bindings to it.
281 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
282 and with-syntax-table.
283 * textmodes/conf-mode.el (conf-quote-normal):
284 * progmodes/sh-script.el (sh-set-shell):
285 * progmodes/prog-mode.el (prettify-symbols-mode):
286 * progmodes/f90.el (f90-font-lock-n):
287 * progmodes/cwarn.el (cwarn-mode):
288 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
289 * progmodes/compile.el (compilation-setup, compilation--unsetup):
290 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
291 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
292 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
293 font-lock-fontify-buffer-function and
294 font-lock-unfontify-buffer-function.
295 (rmail-unfontify-buffer-function, rmail-fontify-message):
296 Use with-silent-modifications.
297 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
298 and font-lock-ensure.
299 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
300
c63982dd
TTN
3012014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
302
303 * emacs-lisp/package.el (package-generate-autoloads):
304 Inhibit backup files.
305
1af6db7d
SM
3062014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
309 (bug#17608).
310
fc21a7de
MN
3112014-05-21 Michal Nazarewicz <mina86@mina86.com>
312
313 * textmodes/tildify.el (tildify-buffer, tildify-region):
314 Add dont-ask option.
315
0e4857b7
SM
3162014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
317
4c539a7b
SM
318 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
319 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
320
0e4857b7
SM
321 * subr.el (internal--funcall-interactively): New.
322 (internal--call-interactively): Remove.
323 (called-interactively-p): Detect funcall-interactively instead of
324 call-interactively.
0e4857b7
SM
325 * simple.el (repeat-complex-command): Use funcall-interactively.
326 (repeat-complex-command--called-interactively-skip): Remove.
327
a366fbe2
SM
3282014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
329
0da7d35c
SM
330 * register.el (register-read-with-preview): Don't burp on
331 frame switches (e.g. due to the frame we just popped).
332
a366fbe2
SM
333 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
334 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
335
015936fb 3362014-05-26 Andreas Schwab <schwab@linux-m68k.org>
12ddce55
AS
337
338 * cus-face.el (custom-face-attributes): Add :distant-foreground.
339
015936fb 3402014-05-26 Martin Rudalics <rudalics@gmx.at>
f408fbe4 341
015936fb 342 * window.el (window--dump-frame): Remove interactive specification.
f408fbe4 343
015936fb 3442014-05-26 Glenn Morris <rgm@gnu.org>
486eebac
GM
345
346 * hippie-exp.el (he-line-search-regexp):
347 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
348
015936fb 3492014-05-26 Stephen Berman <stephen.berman@gmx.net>
903204bb
SB
350
351 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
352 to avoid errors when trying to create or visit a file foo.todo
353 located outside to todo-directory, and to allow having such files
354 without them being tied to Todo mode (bug#17482).
355 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
356 (todo-archive-done-item, todo-find-filtered-items-file)
357 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
358 (todo-category-completions, todo-read-category): When visiting a
359 Todo file, make sure we're in the right mode and the buffer local
360 variables are set.
361 (todo-make-categories-list, todo-reset-nondiary-marker)
a366fbe2
SM
362 (todo-reset-done-string, todo-reset-comment-string):
363 After processing all Todo files, kill the buffers of those files that
903204bb
SB
364 weren't being visited before the processing.
365 (todo-display-as-todo-file, todo-add-to-buffer-list)
366 (todo-visit-files-commands): Comment out.
367 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
368 (auto-mode-alist): Remove add-to-list calls making Todo file
369 extensions unrestrictedly tied to Todo modes.
370
015936fb 3712014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
15ad4013
SM
372
373 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
374 (advice-function-member-p): Tell it to check both names and functions
375 (bug#17531).
376 (advice--add-function): Adjust call accordingly.
377
015936fb 3782014-05-26 Stephen Berman <stephen.berman@gmx.net>
982ccf03
SB
379
380 * calendar/todo-mode.el: Miscellaneous bug fixes.
381 (todo-delete-file): When deleting an archive but not its todo
382 file, make sure to update the todo file's category sexp.
383 (todo-move-category): Keep the moved category's name unless the
384 file moved to already has a category with that name. If the
385 numerically last category of the source file was moved, make the
386 first category current to avoid selecting a nonexisting category.
387 (todo-merge-category): Fix implementation to make merging to a
388 category in another file work as documented. Eliminate now
389 insufficient and unnecessary renaming of archive category, correct
390 document string accordingly, and clarify it. If the numerically
391 last category of the source file was merged, make the first
392 category current to avoid selecting a nonexisting category.
393 (todo-archive-done-item): When there are marked items and point
394 happens to be on an unmarked item, ignore the latter. Don't leave
395 point below last item after archiving marked items.
396 (todo-unarchive-items): Fix logic to ensure unarchiving an item
397 from an archive with only one category deletes the archive only
398 when the category is empty after unarchiving. Make sure the todo
399 file's category sexp is updated.
400 (todo-read-file-name): Allow an existing file name even when it is
401 not required (todo-move-category needs this to work as documented).
402 (todo-add-file): Call todo-validate-name to reject the name of an
403 existing todo file (needed due to fix in todo-read-file-name).
404 (todo-reset-nondiary-marker): Also reset in filtered items files.
405 (todo-reset-done-string, todo-reset-comment-string): Also reset in
406 regexp filtered items files.
407 (todo-reset-highlight-item): Also reset in filtered items files.
408 Fix incorrect variable reference in document string.
409
015936fb 4102014-05-26 Glenn Morris <rgm@gnu.org>
bcba2d85
GM
411
412 * window.el (window--dump-frame): Avoid error in --without-x builds.
413
015936fb 4142014-05-26 Glenn Morris <rgm@gnu.org>
fb4ca841
GM
415
416 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
417
015936fb 4182014-05-26 Eli Zaretskii <eliz@gnu.org>
13a83f05
EZ
419
420 * frame.el (set-frame-font): Doc fix.
421
422 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
423
015936fb 4242014-05-26 Dmitry Gutov <dgutov@yandex.ru>
b0df8b95 425
a366fbe2
SM
426 * emacs-lisp/package.el (package--download-one-archive):
427 Use `write-region' instead of `save-buffer' to avoid running various
b0df8b95
DG
428 hooks. (Bug#17155)
429 (describe-package-1): Same. Insert newline at the end of the
430 buffer if appropriate.
431
015936fb 4322014-05-26 Juri Linkov <juri@jurta.org>
a2115113
JL
433
434 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
435 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
436 Add more modifiers: meta, control, shift, hyper, super, alt.
437 (Bug#17439)
438
2614b25f
JL
439 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
440 to allow changing its value with `set-variable'.
441
015936fb 4422014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7b952d61 443
0a5cfeee
SM
444 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
445 #; comments.
446 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
447 New functions.
448 (scheme-mode-variables): Set syntax-propertize-function instead of
449 font-lock-syntactic-face-function.
450 (scheme-font-lock-syntactic-face-function): Delete.
451
7b952d61
SM
452 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
453
08a2434e
SM
454 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
455 (bug#17392).
456
015936fb 4572014-05-26 Michael Albinus <michael.albinus@gmx.de>
43425aec
MA
458
459 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
460 for a temporary file name.
461
015936fb 4622014-05-26 Eli Zaretskii <eliz@gnu.org>
1e046d37
EZ
463
464 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
465
015936fb 4662014-05-26 Michael Albinus <michael.albinus@gmx.de>
1bafb1de
MA
467
468 * net/dbus.el (dbus-init-bus, dbus-call-method)
469 (dbus-call-method-asynchronously, dbus-send-signal)
e8cbb768 470 (dbus-method-return-internal, dbus-method-error-internal):
1bafb1de
MA
471 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
472
015936fb 4732014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
ec264fbb
NR
474
475 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
476 methods which do not have a doc string. (Bug#17490)
477
5e26d984
TH
4782014-05-25 Tassilo Horn <tsdh@gnu.org>
479
480 * textmodes/reftex-ref.el (reftex-format-special): Make it work
481 also for AMS Math's \eqref macro.
482
770a6a91
TTN
4832014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
484
485 Arrange to never byte-compile the generated -pkg.el file.
486
487 * emacs-lisp/package.el (package-generate-description-file):
488 Output first-line comment to set buffer-local var `no-byte-compile'.
489 Suggested by Dmitry Gutov:
490 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
491
e50a0b6e
TTN
4922014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
493
494 Fix bug: Properly quote args to generated -pkg.el `define-package'.
495
496 * emacs-lisp/package.el (package-generate-description-file):
497 Inline `package--alist-to-plist'; rewrite to selectively
498 quote alist values that are not self-quoting.
499 (package--alist-to-plist): Delete func.
500
d93cfca0
AS
5012014-05-25 Andreas Schwab <schwab@linux-m68k.org>
502
503 * term/xterm.el (xterm-function-map): Add mapping for shifted
504 keypad keys.
505
8bb17f64
DC
5062014-05-24 Daniel Colascione <dancol@dancol.org>
507
166aaa37
DC
508 * progmodes/subword.el (subword-find-word-boundary): Move point to
509 correct spot before search. (Bug#17580)
510
8bb17f64
DC
511 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
512 breaking the build.
513
ec774634
LL
5142014-05-24 Leo Liu <sdl.web@gmail.com>
515
516 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
517
e4829cb8
SM
5182014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * minibuffer.el (completion--sreverse): Remove.
521 (completion--common-suffix): Use `reverse' instead.
522 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
523
aad65192
GM
5242014-05-22 Glenn Morris <rgm@gnu.org>
525
526 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
527
708374c7
DC
5282014-05-21 Daniel Colascione <dancol@dancol.org>
529
530 * files.el (interpreter-mode-alist): Add mksh.
531
532 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
533 derivative.
534 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
535 mksh. Improve custom spec; allow regular expressions.
536 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
537 (sh-after-hack-local-variables): New function.
538 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
539 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
540 the normalization.
541 (sh-canonicalize-shell): Rewrite to support regexes.
542
8ea51e4f
LL
5432014-05-21 Leo Liu <sdl.web@gmail.com>
544
545 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
546
427de535
LL
5472014-05-19 Leo Liu <sdl.web@gmail.com>
548
549 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
550
3c8d9107
GM
5512014-05-18 Glenn Morris <rgm@gnu.org>
552
553 * loadup.el:
554 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
555
b8e11d41
SS
5562014-05-14 Sam Steingold <sds@gnu.org>
557
558 * progmodes/python.el (python-shell-get-or-create-process):
559 Do not bind `current-prefix-arg' so that C-c C-z does not talk
560 back unless requested.
561
abad7b05
GM
5622014-05-14 Glenn Morris <rgm@gnu.org>
563
d63d883a
GM
564 * subr.el (with-file-modes): New macro.
565 * printing.el (pr-save-file-modes): Make obsolete.
566 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
567 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
568 Add with-file-modes.
569 * doc-view.el (doc-view-make-safe-dir):
570 * epg.el (epg--start):
571 * files.el (locate-user-emacs-file, make-temp-file)
572 (backup-buffer-copy, move-file-to-trash):
573 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
574 * eshell/esh-util.el (eshell-with-private-file-modes)
575 (eshell-make-private-directory):
576 * net/browse-url.el (browse-url-mosaic):
577 * obsolete/mailpost.el (post-mail-send-it):
578 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
579 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
580 Use with-file-modes.
581
abad7b05
GM
582 * vc/emerge.el (emerge-make-temp-file): Simplify.
583
34cba8e8
SB
5842014-05-14 Stephen Berman <stephen.berman@gmx.net>
585 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
588 suffix (bug#15419).
589
a5d09243
GM
5902014-05-14 Glenn Morris <rgm@gnu.org>
591
592 * vc/emerge.el (emerge-temp-file-prefix):
593 Make pointless option obsolete.
594 (emerge-temp-file-mode): Make non-functional option obsolete.
595
f4da4720 5962014-05-14 Michael Albinus <michael.albinus@gmx.de>
e95b937a
MA
597
598 * net/browse-url.el (browse-url):
599 Use `unhandled-file-name-directory' when setting `default-directory',
600 in order to circumvent stalled remote connections. (Bug#17425)
601
f0036ec2
GM
6022014-05-14 Glenn Morris <rgm@gnu.org>
603
604 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
605 Optimize on Emacs, which has the relevant functions for ages.
606
27a69ff0
SM
6072014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * simple.el (undo-make-selective-list): Obey undo-no-redo.
610
ecaf7f4d
SS
6112014-05-12 Sam Steingold <sds@gnu.org>
612
613 * calendar/time-date.el (seconds-to-string): New function to
614 pretty print time delay in seconds.
615
97100b43
SM
6162014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
617
400e8286
SM
618 * mpc.el (mpc-format): Trim Date to the year.
619 (mpc-songs-hashcons): Shorten the Date field.
620
97100b43
SM
621 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
622 into autoloading just because of a silly indirection.
623
bbbabffe 6242014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
0add0959
SPM
625
626 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
627
bbbabffe 6282014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
629
630 * emacs-lisp/find-gc.el: Move to ../admin.
631
6b45ef35
GM
632 * printing.el (pr-version):
633 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
634
8c6699ab
GM
635 * net/browse-url.el (browse-url-mosaic):
636 Create /tmp/Mosaic.PID as a private file.
637
bbbabffe 6382014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
639
640 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
641 (advice--member-p): If name is given, only compare the name.
642 (advice--remove-function): Don't stop at the first match.
643 (advice--normalize-place): New function.
644 (add-function, remove-function): Use it.
645 (advice--add-function): Pass the name, if any, to
646 advice--remove-function.
647
bbbabffe 6482014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
649
650 * electric.el (electric-indent-post-self-insert-function): Don't use
651 `pos' after modifying the buffer (bug#17449).
652
bbbabffe 6532014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
654
655 * calendar/todo-mode.el (todo-insert-item-from-calendar):
656 Correct argument list to conform to todo-insert-item--basic.
657
bbbabffe 6582014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 659
2651ed05
GM
660 * files.el (cd-absolute): Test if directory is accessible
661 rather than executable. (Bug#17330)
662
bb1f4b8f
GM
663 * progmodes/compile.el (recompile):
664 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
665
4049faae
GM
666 * net/browse-url.el (browse-url-mosaic):
667 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
668 This is CVE-2014-3423.
669
4eb43682
SM
6702014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
671
fbd5cc6c
SM
672 * mouse.el: Use the normal toplevel loop while dragging.
673 (mouse-set-point): Handle multi-clicks.
674 (mouse-set-region): Handle multi-clicks for drags.
675 (mouse-drag-region): Update call accordingly.
676 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
677 Use the normal event loop instead of a local while/read-event loop.
678 (global-map): Remove redundant bindings for double/triple-mouse-1.
679 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
680 Generate synthetic down events when the protocol only sends up events.
681 (xterm-mouse-last): Remove.
682 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
683 terminal parameter instead.
684 (xterm-mouse--set-click-count): New function.
685 (xterm-mouse-event): Detect/generate double/triple clicks.
686 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
687
80a78d23
SM
688 * info.el (Info-quoted): New face.
689 (Info-mode-font-lock-keywords): New var.
690 (Info-mode): Use it.
691
4eb43682
SM
692 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
693 are a hindrance for C-x C-e.
694
2f9b4cfc
LL
6952014-05-11 Leo Liu <sdl.web@gmail.com>
696
697 * net/rcirc.el (rcirc-sentinel): Fix last change.
698
f36f0bca
SS
6992014-05-08 Sam Steingold <sds@gnu.org>
700
701 * net/rcirc.el (rcirc-reconnect-delay): New user option.
702 (rcirc-sentinel): Auto-reconnect to the server if
703 `rcirc-reconnect-delay' is non-0 (but not more often than its
704 value in case the host is off-line).
705
b722ea4e
EZ
7062014-05-09 Eli Zaretskii <eliz@gnu.org>
707
708 * progmodes/grep.el (lgrep): Fix a typo in last commit.
709
1d75432d
GM
7102014-05-09 Glenn Morris <rgm@gnu.org>
711
712 * files.el (file-expand-wildcards):
713 * man.el (Man-support-local-filenames):
714 * printing.el (pr-i-directory, pr-interface-directory):
715 * progmodes/grep.el (lgrep, rgrep):
716 * textmodes/ispell.el (ispell-call-process)
717 (ispell-call-process-region, ispell-start-process)
718 (ispell-init-process): Use file-accessible-directory-p.
719
b406487f
SM
7202014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
723 (xterm-mouse--read-event-sequence-1000): Return nil if something
724 looks fishy.
725 (xterm-mouse-event): Propagate it.
726 (xterm-mouse-translate-1): Handle it.
727
fb3f83f5 7282014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
729
730 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
731 four slots of the parameter list are filled, make sure to pass it
732 to the argument list of todo-insert-item--basic.
733
fb3f83f5 7342014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
735
736 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
737 Add optional `seen' argument to detect and break infinite loops.
738
fb3f83f5 7392014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
740
741 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
742 (trace-unsafe, trace-use-tree): Make parentheses style be
743 according to Emacs style.
744
fb3f83f5 7452014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 746
5e87fcb1
SM
747 * net/tramp-sh.el (tramp-remote-process-environment):
748 Remove HISTFILE and HISTSIZE; it's too late to set them here.
749 Add :version entry.
750 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
751 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
752 extra "PSx=..." commands.
753 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
754 (Bug#17295)
755
23e19cf2
MA
756 (tramp-uudecode): Replace the hard-coded temporary file name by a
757 format specifier.
758 (tramp-remote-coding-commands): Enhance docstring.
759 (tramp-find-inline-encoding): Replace "%t" by a temporary file
760 name. (Bug#17415)
a9fd3545 761 This is CVE-2014-3424.
23e19cf2 762
fb3f83f5 7632014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
764
765 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
766 (find-gc-source-files): Update some names.
767 (trace-call-tree): Simplify and update.
768 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 769 This is CVE-2014-3422.
0c4decae 770
fb3f83f5 7712014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 772
bf67c3f7
SM
773 * minibuffer.el (completion--try-word-completion): Revert fix for
774 Bug#15980 (bug#17375).
775
c22f24f6
SM
776 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
777 Always store button numbers in the same way in xterm-mouse-last;
778 Don't burp is xterm-mouse-last is not set as expected.
779 Never return negative indices.
780
fb3f83f5 7812014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
782
783 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
784 Backtrack one char if the global/char-literal var matcher hits
785 inside a string. The next char could be the beginning of an
786 expression expansion.
787
fb3f83f5 7882014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
789
790 * help-fns.el (describe-function-1): Test for an autoload before a
791 macro, since `macrop' works on autoloads. (Bug#17410)
792
fb3f83f5 7932014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 794
e6025d72
SM
795 * electric.el (electric-indent-functions-without-reindent): Add yaml.
796
dccb0688
SM
797 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
798 Make sure the new point we return is within the new string (bug#17239).
799
049534ad
DC
8002014-05-05 Daniel Colascione <dancol@dancol.org>
801
802 * progmodes/compile.el (compilation-error-regexp-alist-alist):
803 Port `gnu' pattern to rx.
804
80e377c0
JC
8052014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
806
807 Remove unneeded prompt when closing a buffer with active
808 emacsclient ("Buffer ... still has clients"), #16548.
809 * server.el (server-start): Remove the only call to:
810 (server-kill-buffer-query-function): Remove.
811
f930a063
LL
8122014-05-04 Leo Liu <sdl.web@gmail.com>
813
814 * calendar/diary-lib.el (calendar-chinese-month-name-array):
815 Defvar to pacify compiler.
816
3e9fa60a 8172014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
818
819 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
820
3e9fa60a 8212014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
822
823 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
824 Use nil rather than `default' for the "default" appearance (bug#17388).
825 * vc/ediff-util.el (ediff-inferior-compare-regions)
826 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
827 a misleading `default' value when it's really a boolean.
828 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
829 overlay is not visible.
830
3e9fa60a 8312014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
832
833 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
834 (todo-menu): Uncomment and update.
835
3e9fa60a 8362014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
837
838 * calendar/todo-mode.el: Reimplement item editing to have the same
839 basic user interface as item insertion, and make small UI and
840 larger internal improvements to the latter.
841 (todo-insert-item): Add reference to the Todo mode user manual to
842 the documentation string.
843 (todo-insert-item--basic): Rename from todo-basic-insert-item and
844 adjust all callers. Change signature to combine diary and
845 nonmarking arguments. Incorporate functionality of deleted item
846 copying command and add error checking. Remove detailed
847 descriptions of the arguments from the documentation string, since
848 this is treated in the Todo mode user manual.
849 (todo-copy-item, todo-edit-multiline-item)
850 (todo-edit-done-item-comment, todo-edit-item-header)
851 (todo-edit-item-time, todo-edit-item-date-from-calendar)
852 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
853 (todo-edit-item-date-year, todo-edit-item-date-month)
854 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
855 Remove.
856 (todo-edit-item): Reimplement as wrapper command for
857 todo-edit-item--next-key and make it distinguish done and not done
858 todo items.
859 (todo-edit-item--text): New function, replacing old command
860 todo-edit-item and incorporating deleted commands
861 todo-edit-multiline-item and todo-edit-done-item-comment.
862 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
863 Use only numeric value of prefix argument. Remove detailed
864 descriptions of the arguments from the documentation string, since
865 this is treated in the Todo mode user manual.
866 (todo-edit-item--diary-inclusion): New function, replacing old
867 command todo-edit-item-diary-inclusion and incorporating and fixing
868 functionality of deleted command todo-edit-item-diary-nonmarking,
869 making sure to remove todo-nondiary-marker when adding
870 diary-nonmarking-symbol.
871 (todo-edit-category-diary-inclusion): Make sure to delete
872 diary-nonmarking-symbol when adding todo-nondiary-marker.
873 (todo-edit-category-diary-nonmarking): Fix indentation.
874 (todo-insert-item--parameters): Group diary and nonmarking
875 parameters together.
876 (todo-insert-item--apply-args): Adjust to signature of
877 todo-insert-item--basic and incorporate copy parameter.
878 Make small code improvements.
879 (todo-insert-item--next-param): Improve prompt and adjust it to
880 new parameter grouping. Remove obsolete code.
881 (todo-edit-item--param-key-alist)
882 (todo-edit-item--date-param-key-alist)
883 (todo-edit-done-item--param-key-alist): New defconsts.
884 (todo-edit-item--prompt): New variable.
885 (todo-edit-item--next-key): New function.
5e87fcb1
SM
886 (todo-key-bindings-t): Bind "e" to todo-edit-item.
887 Remove bindings of deleted commands.
aed4b12d 888
3e9fa60a 8892014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
890
891 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
892
3e9fa60a 8932014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
894
895 * allout-widgets.el (allout-widgets-tally)
896 (allout-decorate-item-guides):
897 * menu-bar.el (menu-bar-positive-p):
898 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
899 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
900 * progmodes/js.el (js--inside-param-list-p)
901 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
902 * progmodes/prolog.el (region-exists-p):
903 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
904 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
905 Doc fixes (replace `iff').
906
3e9fa60a 9072014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
908
909 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
910
bbdcf64f
LL
9112014-05-04 Leo Liu <sdl.web@gmail.com>
912
913 Support Chinese diary entries in calendar and diary. (Bug#17393)
914 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
915 (calendar-chinese-from-absolute-for-diary)
916 (calendar-chinese-to-absolute-for-diary)
917 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
918 (diary-chinese-list-entries): New functions to list and mark
919 Chinese diary entries in the calendar window.
920 (diary-chinese-anniversary)
921 (diary-chinese-insert-anniversary-entry)
922 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
923 (diary-chinese-insert-yearly-entry): New commands to insert
924 Chinese diary entries.
925
80a78d23
SM
926 * calendar/diary-lib.el (diary-font-lock-keywords):
927 Support font-locking Chinese dates.
bbdcf64f
LL
928
929 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
930 inserting Chinese diary entries.
931
80a78d23
SM
932 * calendar/calendar.el (diary-chinese-entry-symbol):
933 New customizable variable.
bbdcf64f
LL
934 (calendar-mode-map): Add bindings for inserting Chinese diary
935 entries.
936
cfd59d67
JL
9372014-05-03 Juri Linkov <juri@jurta.org>
938
939 * dired.el (dired-check-switches, dired-switches-recursive-p):
940 New functions. (Bug#17218)
941 (dired-switches-escape-p, dired-move-to-end-of-filename):
942 Use `dired-check-switches'.
943 (dired-insert-old-subdirs, dired-build-subdir-alist)
944 (dired-sort-R-check): Use `dired-switches-recursive-p'.
945
4807c7eb
BR
9462014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
947
a7e1ffdc
BR
948 * simple.el (undo-make-selective-list): New algorithm fixes
949 incorrectness of position adjustments when undoing in region.
950 (Bug#17235)
951 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
952 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
953 New functions to adjust positions using undo-deltas.
4807c7eb 954
17a873c5
SM
9552014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
958 the last consecutive closing paren (bug#17345).
959
724ee6dc
RT
9602014-04-30 Reuben Thomas <rrt@sc3d.org>
961
962 * dired.el (dired-mode): make terminology for eXpunge command
963 consistent. (Bug#17276)
964
72962dd8
EZ
9652014-04-30 Eli Zaretskii <eliz@gnu.org>
966
967 * dired.el (dired-initial-position-hook, dired-initial-position):
968 Doc string fixes.
969
09b911ad 9702014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
971
972 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
973
09b911ad 9742014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
975
976 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 977 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
978 overriden by the defface spec which also fixes issues on win32 where
979 the toolbar coloring was wrong because it is set through X resources
980 and was (wrongfully) overriden. (Bug#16694)
981
09b911ad 9822014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
983
984 * textmodes/rst.el (electric-pair-pairs): Declare.
985 (rst-mode): Set it (bug#17131).
986
09b911ad 9872014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
988
989 * desktop.el (desktop-value-to-string): Let-bind `print-length'
990 and `print-level' to nil. (Bug#17351)
991
09b911ad 9922014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
993
994 * battery.el (battery-update): Handle the case where battery
995 status is "N/A" (bug#17319).
996
9b7b020d
SM
9972014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1000 to syntax-propertize.
1001 (ps-mode-auto-indent): Mark as obsolete.
1002 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1003 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1004 word regexp operators.
1005 (ps-mode-map): Move initialization into declaration. Remove binding
1006 for TAB, RET, >, ], and }.
1007 (ps-mode-syntax-table): Move initialization into declaration.
1008 Don't give word syntax to non-word chars.
1009 (ps-run-mode-map): Move initialization into declaration.
1010 (ps-mode-menu-main): Remove auto-indent entry.
1011 (ps-mode-smie-rules): New function.
1012 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1013 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1014 (ps-mode--string-syntax-table): New const.
1015 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1016 New functions.
1017 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1018 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1019
196bfaec
DC
10202014-04-27 Daniel Colascione <dancol@dancol.org>
1021
1022 * term/xterm.el (xterm-paste): Use large finite timeout when
1023 reading event to avoid putting keys in this-command-keys.
1024
5ba339c7
SM
10252014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1028 (perl-syntax-propertize-function): Use it. Extend handling of
1029 here-docs to the unquoted case.
1030
dff4a9f6 10312014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 1032
5ba339c7
SM
1033 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1034 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 1035
dff4a9f6 10362014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
1037
1038 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1039 Fix syntax for @. (Bug#17325)
1040
dff4a9f6 10412014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
1042
1043 * emacs-lisp/cl.el (gv): Require gv early to break eager
1044 macro-expansion cycles.
1045
dff4a9f6 10462014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 1047
05452dc4
SM
1048 * simple.el (region-active-p): Check there's a mark (bug#17324).
1049
0e8a9331
SM
1050 * simple.el (completion-list-mode-map): Use choose-completion for the
1051 mouse binding as well (bug#17302).
1052 (completion-list-mode, completion-setup-function): Adjust docstring and
1053 echo area message accordingly.
1054 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1055 calling convention of choose-completion.
1056 * comint.el (comint-dynamic-list-completions):
1057 * term.el (term-dynamic-list-completions): Accept choose-completion.
1058
c0868451
SM
1059 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1060 &, |, +, - and * can't be a division (bug#17317).
1061
f7e0450a
SM
1062 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1063 features on gnome-terminal (bug#16988).
1064
5e4ab4e4
TTN
10652014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1066
1067 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1068
1069 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1070 the declared object, ignore zero or more parens, not zero or one.
1071
d5031a2a
LL
10722014-04-24 Leo Liu <sdl.web@gmail.com>
1073
1074 * progmodes/xscheme.el (xscheme-expressions-ring)
1075 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1076 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1077 (xscheme-allow-output-p, xscheme-prompt)
1078 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1079
1080 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1081 Comment out unused functions.
1082
118b5a92
SM
10832014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * info.el: Use lexical-binding and cl-lib.
1086 Use defvar-local and setq-local instead of make-local-variable.
1087 (Info-apropos-matches): Avoid add-to-list.
1088 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1089
9b233997
DC
10902014-04-24 Daniel Colascione <dancol@dancol.org>
1091
1092 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1093
ddc13efd
SM
10942014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1097
f2df692c
MH
10982014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1099
1100 * dired.el (dired-insert-set-properties): Do not consider
1101 subdirectory headings and empty lines to be information that
1102 `dired-hide-details-mode' should hide. (Bug#17228)
1103
14828a95
MA
11042014-04-22 Michael Albinus <michael.albinus@gmx.de>
1105
1106 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1107 Remove test messages.
1108 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1109 and `target' twice.
1110
42e91034 11112014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 1112
9c104369
SM
1113 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1114 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1115
622eef68
SM
1116 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1117
42e91034 11182014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 1119
622eef68
SM
1120 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1121 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
1122 the file name. Add test messages for hunting a bug on hydra.
1123 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1124
42e91034 11252014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
1126
1127 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1128 Don't prettify a word within a symbol.
1129
42e91034 11302014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
1131
1132 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1133 possible.
1134
1b0f10d2
DC
11352014-04-22 Daniel Colascione <dancol@dancol.org>
1136
1137 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1138 use defun to define `function-put'.
1139
67c477ae
SM
11402014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1141
4f965793
SM
1142 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1143 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1144 (lisp-mode-variables): Set font-lock-extra-managed-props.
1145
67c477ae
SM
1146 * emacs-lisp/byte-run.el (function-put): New function.
1147 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1148 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1149 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1150 Use them.
1151
66fda794
DC
11522014-04-22 Daniel Colascione <dancol@dancol.org>
1153
67c477ae
SM
1154 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1155 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
1156 `macroexpand-all'.
1157
1158 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1159 Improve docstrings.
1160
c98212f9
DC
1161 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1162 Use lambda function values, not quoted lambdas.
1163 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1164
66fda794 1165 * emacs-lisp/cl-macs.el
c98212f9 1166 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
1167 (cl-struct-slot-value): Conditionally use aref or nth so that the
1168 compiler produces optimal code.
1169
d6f14ca7
SM
11702014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1173 (inline): Don't inline cl--set-elt.
1174 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1175 Define as inlinable instead.
1176 (cl-struct-set-slot-value): Remove.
1177
1178 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1179 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1180 Use setf instead.
1181
44faec17
DC
11822014-04-21 Daniel Colascione <dancol@dancol.org>
1183
1184 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1185 last two parameters after all.
1186 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1187 (cl--compiler-macro-assoc,cl-struct-slot-value)
1188 (cl-struct-set-slot-value): Stop using them.
1189
1190(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
1191
1192 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1193 entry in image-mode-winprops-alist.
1194
2fa1b97d
DC
11952014-04-21 Daniel Colascione <dancol@dancol.org>
1196
9253f7af
SM
1197 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1198 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
1199 (byte-compile-toplevel-file-form): Use it.
1200
2fa1b97d
DC
1201 * emacs-lisp/cl-macs.el:
1202 (cl--loop-let): Properly destructure `while' clauses.
1203
e8a77f24
DC
12042014-04-20 Daniel Colascione <dancol@dancol.org>
1205
1206 * vc/vc.el (vc-root-dir): New public autoloaded function for
1207 generically finding the current VC root.
1208 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 1209 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 1210
89a2e783
DC
12112014-04-20 Daniel Colascione <dancol@dancol.org>
1212
1213 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1214 argument.
1215 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1216 argument in case we're inside a symbol-macrolet.
1217 (cl--do-arglist, cl--compiler-macro-typep)
1218 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1219 environment to `cl--const-expr-val'.
1220 (cl-struct-sequence-type,cl-struct-slot-info)
1221 (cl-struct-slot-offset, cl-struct-slot-value)
1222 (cl-struct-set-slot-value): New functions.
1223
fe36068f
SM
12242014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1227 assignments such as "case=hello" (bug#17297).
1228
ce8c5107
MA
12292014-04-18 Michael Albinus <michael.albinus@gmx.de>
1230
1231 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1232 Do not autoload.
1233 (tramp-file-name-handler, tramp-completion-file-name-handler):
1234 Revert patch from 2014-04-10, it isn't necessary anymore.
1235 (tramp-autoload-file-name-handler)
1236 (tramp-register-autoload-file-name-handlers): New defuns.
1237 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1238 (tramp-register-file-name-handlers): Remove also
1239 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1240 Do not autoload its invocation, but eval it after loading of 'tramp.
1241
1242 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1243
1244 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1245
bfc30790
DC
12462014-04-17 Daniel Colascione <dancol@dancol.org>
1247
1248 Add support for bracketed paste mode; add infrastructure for
1249 managing terminal mode enabling and disabling automatically.
1250
1251 * xt-mouse.el:
1252 (xterm-mouse-mode): Simplify.
1253 (xterm-mouse-tracking-enable-sequence)
1254 (xterm-mouse-tracking-disable-sequence): New constants.
1255 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
1256 (turn-off-xterm-mouse-tracking-on-terminal):
1257 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
1258 parameters instead of random hooks.
1259 (turn-on-xterm-mouse-tracking)
1260 (turn-off-xterm-mouse-tracking): Delete.
1261
1262 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1263 (xterm-paste-ending-sequence): New constant.
1264 (xterm-paste): New command used for bracketed paste support.
1265
1266 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1267 (terminal-init-xterm-bracketed-paste-mode): New function.
1268 (terminal-init-xterm): Call it.
1269 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1270 and tty-mode-reset-strings instead of random hooks.
1271 (xterm-turn-on-modify-other-keys)
1272 (xterm-turn-off-modify-other-keys)
1273 (xterm-remove-modify-other-keys): Delete obsolete functions.
1274
67c477ae
SM
1275 * term/screen.el: Rewrite to just use the xterm code.
1276 Add copyright notice. Mention tmux.
bfc30790 1277
e51c8d91
I
12782014-04-17 Ian D <dunni@gnu.org> (tiny change)
1279
1280 * image-mode.el (image-mode-window-put): Also update the property of
1281 the "default window".
1282 * doc-view.el (doc-view-new-window-function): If no window
1283 exists, move to the last known page.
1284
c76a7a5c
SM
12852014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1288 here-documents (bug#17262).
1289
bf6b4923
EZ
12902014-04-16 Eli Zaretskii <eliz@gnu.org>
1291
c76a7a5c
SM
1292 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1293 Provide doc strings, as required by snarf-documentation.
bf6b4923 1294
290d7ac2 12952014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
1296
1297 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1298 arg of overlays-at. Use `invisible-p'.
1299
1300 * obsolete/lucid.el (extent-at):
1301 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1302 overlays-at.
1303 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1304
290d7ac2 13052014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
1306
1307 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1308 links. (Bug#17217).
1309
290d7ac2 13102014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
1311
1312 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1313 Use mapc to loop over a vector. (Bug#17257).
1314
290d7ac2 13152014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
1316
1317 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1318 patch, there are new problems with file names containing spaces.
1319 Get rid of backticks. (Bug#17238)
1320
290d7ac2 13212014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
1322
1323 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1324 possible bug.
1325
290d7ac2 13262014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
1327
1328 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1329 (blink-cursor-mode): Mention customization variables and the
1330 effect of 'blink-cursor-blinks'.
1331
290d7ac2 13322014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
1333
1334 * simple.el (undo): Prevent insertion of identity mapping into
1335 undo-equiv-table so as undo-only does not inf loop in the presence
1336 of consecutive nils in undo list.
1337
290d7ac2 13382014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
1339
1340 * faces.el (make-face): Deprecate optional argument as it is no
1341 longer needed/used since the conditional X resources handling
1342 has been pushed down to make-face-x-resource-internal itself.
1343 (make-empty-face): Don't pass optional argument to make-face.
1344
5f6b4154
KF
13452014-04-16 Karl Fogel <kfogel@red-bean.com>
1346
1347 * savehist.el (savehist-save): Remove workaround for a read-passwd
1348 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1349 noticing that the shim was still present.
1350
005551fe
SM
13512014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1354
b92583c4
JB
13552014-04-14 Juanma Barranquero <lekktu@gmail.com>
1356
1357 * faces.el (face-set-after-frame-default): Remove unused local variable.
1358
6c2453e0
SM
13592014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1360
f7993853
SM
1361 * progmodes/grep.el: Use lexical-binding.
1362 (grep-expand-template): Pass explicit lexical env to `eval'.
1363 (zrgrep): Let-bind grep-find-template explicitly.
1364
6c2453e0
SM
1365 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1366 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1367
ac387dd1
EZ
13682014-04-12 Eli Zaretskii <eliz@gnu.org>
1369
1370 * international/characters.el <standard-case-table>: Add entries
1371 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 1372 Set category of Coptic characters be 'g' (Greek).
ac387dd1 1373
2e611da6
LL
13742014-04-12 Leo Liu <sdl.web@gmail.com>
1375
e0af4095
GM
1376 * progmodes/octave.el (completion-table-with-cache):
1377 Define if not available.
1378 (octave-goto-function-definition, octave-sync-function-file-names)
1379 (octave-find-definition-default-filename):
1380 Backquote upattern for compatibility.
2e611da6 1381
e0af4095 13822014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
1383
1384 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1385 name twice due to backticks. (Bug#17238)
1386
e0af4095 13872014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
1388
1389 * term/w32-win.el (x-win-suspend-error):
1390 * term/x-win.el (x-win-suspend-error): Sync docs.
1391
7f0f4c25
MD
13922014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1393
f7993853
SM
1394 * faces.el (make-face): Remove deprecated optional argument.
1395 The conditional application of X resources is handled directly by
7f0f4c25
MD
1396 make-face-x-resource-internal since Emacs 24.4.
1397 (make-empty-face): Don't pass optional argument to make-face.
1398
e088b01d
GM
13992014-04-11 Glenn Morris <rgm@gnu.org>
1400
1401 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1402
536aa466 14032014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
1404
1405 Ediff's overlay priorities cause more trouble than they solve.
1406 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1407 (ediff-highest-priority): Remove function (bug#17234).
1408 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1409 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1410 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1411 overlay priorities.
1412
536aa466 14132014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
1414
1415 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1416 entry; use symbol boundaries to avoid mis-matches.
1417
536aa466 14182014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
1419
1420 * net/tramp.el (tramp-file-name-handler)
1421 (tramp-completion-file-name-handler): Avoid recursive loading.
1422
1423 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1424 Quote result also locally.
1425
0d6a1375
SM
14262014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1427
c99ce7d8
SM
1428 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1429 Remove left-over code.
1430
0d6a1375
SM
1431 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1432 Reuse the previous comment's indentation unconditionally if it's on its
1433 own line.
1434
3f63a9f7
DC
14352014-04-09 Daniel Colascione <dancol@dancol.org>
1436
1437 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1438 `no-syntax-crossing' arguments. Forward to `up-list'.
1439 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1440 Implement logic for escaping from strings. Use narrowing to deal
1441 with corner cases.
1442
0b816f15
LL
14432014-04-09 Leo Liu <sdl.web@gmail.com>
1444
1445 * net/rcirc.el (rcirc-connection-info): New variable.
1446 (rcirc-connect): Use it to store connection info.
1447 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1448 for killed process.
1449 (rcirc-cmd-reconnect): New command. (Bug#17045)
1450 (rcirc-mode, set-rcirc-encode-coding-system)
1451 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1452
22683580
DC
14532014-04-09 Daniel Colascione <dancol@dancol.org>
1454
1455 * emacs-lisp/cl-indent.el: Add comment claiming
1456 facility is also good for elisp.
1457 (lisp-indent-find-method): New function.
1458 (common-lisp-indent-function): Recognize cl-loop.
1459 (common-lisp-indent-function-1): Recognize cl constructs; use
1460 `lisp-indent-find-method' instead of `get' directly.
1461 (if): Use else-body style for elisp.
1462
0122b24d
DG
14632014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1464
1465 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1466 Module methods. (Bug#17216)
1467
559836fb 14682014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
1469
1470 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1471 (describe-bindings-internal): Mark obsolete.
1472
6bc76cee
SM
14732014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1476 buffer-file-name, and buffer-file-truename any more.
1477
dc0b0454
LL
14782014-04-08 Leo Liu <sdl.web@gmail.com>
1479
1480 Use lexical-binding and require cl-lib.
1481 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1482 (rcirc-handler-generic, rcirc-fill-paragraph)
1483 (rcirc-format-response-string, rcirc-target-buffer)
1484 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1485 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1486 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1487 (rcirc-markup-timestamp, rcirc-markup-attributes)
1488 (rcirc-markup-my-nick, rcirc-markup-urls)
1489 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1490 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1491 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1492 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1493 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1494 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1495 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1496 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1497 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1498 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1499 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1500 use cl-lib.
1501
190f899a
JT
15022014-04-07 João Távora <joaotavora@gmail.com>
1503
6f287c89
GM
1504 * elec-pair.el (electric-pair--syntax-ppss):
1505 When inside comments parse from comment beginning.
190f899a
JT
1506 (electric-pair--balance-info): Fix typo in comment.
1507 (electric-pair--in-unterminated-string-p): Delete.
1508 (electric-pair--unbalanced-strings-p): New function.
1509 (electric-pair-string-bound-function): New var.
1510 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1511 according to `electric-pair--in-unterminated-string-p'
1512
6f287c89
GM
1513 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1514 Inhibit quote pairing if point-max is inside an unterminated string.
1515 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
1516 (electric-pair--in-unterminated-string-p): New function.
1517
a9c921e6
GM
15182014-04-07 Glenn Morris <rgm@gnu.org>
1519
1520 * shell.el (shell-directory-tracker):
1521 Go back to just ignoring failures. (Bug#17159)
1522
6f287c89 15232014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
1524
1525 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1526 backspace. (bug#16981)
1527 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1528 (electric-pair-backward-delete-char-untabify): Delete.
1529 (electric-pair-mode-map): Bind backspace to a menu item filtering
1530 a new `electric-pair-delete-pair' command.
1531 (electric-pair-delete-pair): New command.
1532
6f287c89
GM
1533 * progmodes/python.el (python-electric-pair-string-delimiter):
1534 Fix triple-quoting electricity. (Bug#17192)
89f20f76 1535
6f287c89
GM
1536 * elec-pair.el (electric-pair-post-self-insert-function):
1537 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 1538 `electric-pair-pairs' were used. syntax to
7aecc2f6 1539 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 1540
6f287c89 15412014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
1542
1543 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1544 "<F>". (Bug#17199)
1545
6f287c89 15462014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
1547
1548 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1549 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1550
6f287c89 15512014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
1552
1553 * help.el (view-lossage): Doc tweak.
1554
6f287c89 15552014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
1556
1557 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1558 only when inhibit-x-resources is nil, and do that earlier in the
1559 function. Doc fix. (Bug#16694)
fdafd487
MD
1560 (face-spec-choose): Accept additional optional argument, whose
1561 value is returned if no matching attributes are found.
1562 (face-spec-recalc): Use the new optional argument when calling
1563 face-spec-choose. (Bug#16378)
f5e4494c
MD
1564 (make-face-x-resource-internal): Do nothing when
1565 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 1566 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
1567 (face-set-after-frame-default): Don't call
1568 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 1569
6f287c89 15702014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 1571
0beb7fb7
SM
1572 * doc-view.el (doc-view-bookmark-jump):
1573 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
1574 buffer is shown in a window. (bug#16090)
1575
6f287c89 15762014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
1577
1578 * international/characters.el (mirroring): Fix last change:
1579 instead of loading uni-mirrored.el explicitly, do that implicitly
1580 by creating the 'mirroring' uniprop table. This avoids announcing
1581 the loading of uni-mirrored.el.
1582
6f287c89 15832014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
1584
1585 * files.el (buffer-stale--default-function)
1586 (buffer-stale-function, revert-buffer--default):
1587 * autorevert.el (auto-revert-buffers): Doc tweaks.
1588
6f287c89 15892014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
1590
1591 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1592
6f287c89 15932014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
1594
1595 * files.el (make-backup-file-name-function)
1596 (make-backup-file-name, make-backup-file-name--default-function)
1597 (make-backup-file-name-1, find-backup-file-name)
1598 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1599 (buffer-stale--default-function, buffer-stale-function)
1600 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1601 (revert-buffer, revert-buffer--default)
1602 (revert-buffer-insert-file-contents--default-function):
1603 Doc fixes related to defaults no longer being nil.
1604 (make-backup-file-name-function): Bump :version.
1605 Restore nil as a valid but deprecated custom type.
1606
6f287c89 16072014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 1608
6f287c89
GM
1609 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1610 Handle $' used as a variable (bug#17174).
66f50b12
SM
1611
1612 * progmodes/perl-mode.el (perl-indent-new-calculate):
1613 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
1614 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1615 modifiers introducing expressions (bug#17116).
66f50b12 1616
7b656e4a
SM
16172014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1620
722237d5
LL
16212014-04-05 Leo Liu <sdl.web@gmail.com>
1622
7b656e4a
SM
1623 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1624 Add define-compilation-mode.
722237d5 1625
5cb0cc90
JT
16262014-04-04 João Távora <joaotavora@gmail.com>
1627
9b017563
JB
1628 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1629 parse from comment beginning.
5cb0cc90
JT
1630 (electric-pair--balance-info): Fix typo in comment.
1631 (electric-pair--in-unterminated-string-p): Delete.
1632 (electric-pair--unbalanced-strings-p): New function.
1633 (electric-pair-string-bound-function): New var.
1634 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1635 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1636
6b31e6b1
SM
16372014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1640 Move declaration before first use.
1641 (reftex-move-to-next-arg): Silence compiler warning.
1642
0de7d982
JK
16432014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1644
6b31e6b1
SM
1645 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1646 Use `window-total-width' instead of `window-width'.
0de7d982 1647
01ae0fbf
DC
16482014-04-03 Daniel Colascione <dancol@dancol.org>
1649
1650 * subr.el (set-transient-map): Remove rms's workaround entirely;
1651 use new `suspicious-object' subr to mark our lambda for closer
1652 scrutiny during gc.
1653
4fd68bf6
RS
16542014-04-02 Richard Stallman <rms@gnu.org>
1655
1656 * subr.el (set-transient-map): Comment out previous change.
1657
c7510f6e
GM
16582014-04-02 Glenn Morris <rgm@gnu.org>
1659
0b908bf2
GM
1660 * menu-bar.el (menu-bar-file-menu):
1661 * vc/ediff.el (ediff-current-file):
1662 Update for revert-buffer-function no longer being nil by default.
1663
c7510f6e
GM
1664 * simple.el (command-execute): Respect nil disabled-command-function.
1665
09aba815 16662014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1667
1668 * simple.el (command-execute): Do not execute the command when it
1669 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1670
09aba815 16712014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1672
1673 * dired-aux.el (dired-compress-file): Don't use string-match-p
1674 because its match data is used afterwards.
1675
09aba815 16762014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1677
1678 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1679 0 like nil.
1680
200c532b
JT
16812014-04-02 João Távora <joaotavora@gmail.com>
1682
6b31e6b1
SM
1683 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1684 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1685 (electric-pair--looking-at-unterminated-string-p):
1686 Delete.
1687 (electric-pair--in-unterminated-string-p): New function.
1688
2395f2b9
DC
16892014-04-01 Daniel Colascione <dancol@dancol.org>
1690
1691 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1692 when trying to complete the prompt.
1693
294b2b09
LL
16942014-03-31 Leo Liu <sdl.web@gmail.com>
1695
6b31e6b1
SM
1696 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1697 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1698 (eldoc-documentation-function-default): New function.
1699 (eldoc-documentation-function): Change value.
1700
4f3a895b
GM
17012014-03-31 Glenn Morris <rgm@gnu.org>
1702
1703 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1704
1db854cc
GM
1705 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1706 (vhdl-compose-components-package, vhdl-compose-configuration):
1707 Abbreviate default-directory (missing from some previous upstream sync).
1708
3c2d4776
RZ
17092014-03-31 Reto Zimmermann <reto@gnu.org>
1710
1711 Sync with upstream vhdl mode v3.35.2.
1712 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1713 (top-level): No longer require assoc.
1714 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1715 New functions. Use throughout to replace aget etc.
1716 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1717 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1718 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1719 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1720 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1721 except `vhdl-compiler'.
1722 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1723 when appropriate.
1724
5c30ab7a
GM
17252014-03-31 Glenn Morris <rgm@gnu.org>
1726
1727 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1728 Revert 2014-03-26 merge goof; go back to using defalias.
1729
1861d5a7
DC
17302014-03-30 Daniel Colascione <dancol@dancol.org>
1731
6b31e6b1
SM
1732 * comint.el (comint-send-input):
1733 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1734 (Bug#17139).
1735
1736 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1737 on keyboard-quit.
1738
41116c5a
GM
17392014-03-29 Glenn Morris <rgm@gnu.org>
1740
1741 * textmodes/reftex.el: Manage most autoloads automatically.
1742 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1743 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1744 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1745 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1746 * textmodes/reftex-toc.el: Set generated-autoload-file,
1747 and add autoload cookies for reftex.el.
1748 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1749
c3153003
GM
17502014-03-28 Glenn Morris <rgm@gnu.org>
1751
7b207d6d
GM
1752 * cus-start.el (report-emacs-bug-address): Set custom properties.
1753 * mail/emacsbug.el (report-emacs-bug-address):
1754 Variable is now defined in emacs.c.
1755
c3153003
GM
1756 * mail/emacsbug.el (report-emacs-bug):
1757 Include system-configuration-features.
1758
687e0e19
MN
17592014-03-28 Michal Nazarewicz <mina86@mina86.com>
1760
1761 * simple.el (cycle-spacing): Never delete spaces on first run by
1762 default, but do so in a new 'fast mode and if there are already
4f3a895b 1763 N spaces (the previous behavior).
687e0e19
MN
1764 Compare N with its value in previous invocation so that changing
1765 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1766 The idea is that with this change, binding M-SPC to
4f3a895b 1767 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1768 the binding so long as users do not type M-SPC twice in a raw with
1769 the same prefix argument or lack thereof.
1770
95de732d
GM
17712014-03-28 Glenn Morris <rgm@gnu.org>
1772
1773 * faces.el (term-file-aliases): New variable.
1774 (tty-run-terminal-initialization): Respect term-file-aliases.
1775 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1776 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1777 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1778
6730259f
GM
17792014-03-27 Glenn Morris <rgm@gnu.org>
1780
862a4e4a
GM
1781 * startup.el (inhibit-startup-hooks): Doc tweak.
1782 (normal-top-level): Simplify running of hooks.
1783 For window-setup-hook, respect inhibit-startup-hooks.
1784 (command-line-1): Don't set window-setup-hook to nil.
1785
6730259f
GM
1786 Allow selective autoloading from obsolete/ directory.
1787 * Makefile.in (obsolete-autoloads): New rule.
1788 (autoloads): Run obsolete-autoloads.
1789 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1790 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1791
42ebc34e
DG
17922014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1793
929c0500
SM
1794 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1795 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1796
42ebc34e
DG
1797 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1798 Don't propertize `?' or `!' as symbol constituent when after
1799 colon. (Bug#17097)
1800
b1c870c9
JB
18012014-03-27 Juanma Barranquero <lekktu@gmail.com>
1802
857ba6ec
JB
1803 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1804 which is no longer needed and causes trouble in GTK builds (bug#17046).
1805
b1c870c9
JB
1806 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1807 Use url-insert-file-contents; package-handle-response no longer exists.
1808
8ab9876a
DC
18092014-03-26 Daniel Colascione <dancol@dancol.org>
1810
1811 * simple.el (process-menu-mode-map): New variable.
1812 (process-menu-delete-process): New command.
1813
196716cf
JB
18142014-03-26 Juanma Barranquero <lekktu@gmail.com>
1815
1816 * emacs-lisp/package.el: Fix bug#16733 (again).
1817 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1818 (url-http-target-url): Remove unused declarations.
1819 (package-handle-response): Remove.
1820 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1821 (package--download-one-archive): Use current-buffer instead of
1822 dynamic binding of `buffer'.
1823 (describe-package-1): Do not decode readme-string.
1824
16adf2e6 18252014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1826
1827 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1828
1829 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1830 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1831 `remote-file-name-inhibit-cache' to nil in the second pass.
1832 (tramp-find-executable): Do not call "which" on SunOS.
1833 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1834 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1835 check whether source directory has set the sticky bit.
1f73d6c6 1836
16adf2e6 18372014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1838
1839 * simple.el (primitive-undo): Only process marker adjustments
1840 validated against their corresponding (TEXT . POS). Issue warning
1841 for lone marker adjustments in undo history. (Bug#16818)
1842 (undo-make-selective-list): Add marker adjustments to selective
1843 undo list based on whether their corresponding (TEXT . POS) is in
1844 the region. Remove variable adjusted-markers, which was unused
1845 and only non nil during undo-make-selective-list.
1846 (undo-elt-in-region): Return nil when passed a marker adjustment
1847 and explain in function doc.
1848
16adf2e6 18492014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1850
1851 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1852
16adf2e6 18532014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1854
1855 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1856 Match special global variables without curlies, too.
1857 (ruby-font-lock-keywords): Simplify the matcher for special global
1858 variables. Don't require a non-word character after the variable.
1859 (Bug#17057)
1860
16adf2e6 18612014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1862
1863 * simple.el (redisplay-highlight-region-function): Increase priority of
1864 overlay to make sure boundaries are visible (bug#15899).
1865
16adf2e6 18662014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1867
16adf2e6
JB
1868 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1869 (frameset-restore): Compare display strings with equal.
ee79b33f 1870
3ea2c781
JB
1871 * frame.el (make-frame): Don't quote display name in error message,
1872 it is already a string.
1873
16adf2e6 18742014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1875
1876 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1877 the password.
1878
16adf2e6 18792014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1880
16adf2e6
JB
1881 * emacs-lisp/package.el (package--add-to-archive-contents):
1882 Include already installed and built-in packages in
1883 `package-archive-contents'.
1884 (package-install): Don't include already installed packages in the
1885 options during interactive invocation. (Bug#16762)
1886 (package-show-package-list): If the buffer is already displayed in
1887 another window, switch to that window.
1888
fb3deac8
RZ
18892014-03-26 Reto Zimmermann <reto@gnu.org>
1890
1891 Sync with upstream vhdl mode v3.35.1.
1892 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1893 (vhdl-compiler-alist): Doc fix.
1894 (vhdl-goto-line): Remove.
1895 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1896 (vhdl-mode) <paragraph-start>: Fix value.
1897 (vhdl-fix-statement-region): Not `for' in wait-statement.
1898 (vhdl-beautify-region): Also (un)tabify.
1899 (vhdl-get-visible-signals):
1900 Scan declarative part of generate statements.
1901 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1902 (vhdl-expand-abbrev, vhdl-expand-paren):
1903 Revert to using fset again rather than defalias.
fb3deac8
RZ
1904 (vhdl-scan-directory-contents): Tweak.
1905 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1906 (vhdl-compose-components-package):
1907 Replace vhdl-goto-line with forward-line.
1908 (top-level): Tweak speedbar frame selection.
1909 (vhdl-generate-makefile-1): Support for compilers with no
1910 unit-to-file name mapping (create directory with dummy files).
1911
511df08c
WS
19122014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1913
1914 Sync with upstream verilog-mode revision 702457d.
1915 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1916 (create-lockfiles): Declare.
1917 (verilog-read-decls): Fix module header imports, bug709.
1918 Reported by Victor Lau.
1919 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1920 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1921 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1922
11ee65af
GM
19232014-03-26 Glenn Morris <rgm@gnu.org>
1924
b4aca021
GM
1925 * obsolete/gulp.el: Move here from emacs-lisp/.
1926
11ee65af
GM
1927 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1928 Remove fallback aliases, since they are always defined now.
1929
1edb4a2e
DC
19302014-03-24 Daniel Colascione <dancol@dancol.org>
1931
1932 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1933 instead of cl-loop search function.
1934
7a31038f
G
19352014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1936
1937 * calendar/parse-time.el (parse-time-iso8601-regexp)
1938 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1939 it more generally.
1940
19412014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1942
1943 * net/dns.el (network-interface-list): Define for XEmacs.
1944
19452014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1946
1947 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1948 the network interfaces changed.
1949 (dns-query): Use it to flush the data.
1950
835af719
JB
19512014-03-23 Juanma Barranquero <lekktu@gmail.com>
1952
1953 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1954
6ddc4422
DC
19552014-03-23 Daniel Colascione <dancol@dancol.org>
1956
1957 Change subword-mode to use `find-word-boundary-function-table' and
1958 replace `capitalized-words-mode'. Also, convert to lexical
1959 binding.
1960
1961 * progmodes/cap-words.el: Delete now-obsolete file.
1962 * progmodes/subword.el: Reimplement using
1963 `find-word-boundary-function-table'.
1964 (subword-mode-map): Hollow out.
1965 (capitalized-words-mode): Define as obsolete alias for
1966 `subword-mode'.
9b017563 1967 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1968 implementation; call `subword-setup-buffer'.
9b017563 1969 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1970 unused variable.
1971 (subword-find-word-boundary-function-table): New constant.
1972 (subword-empty-char-table): New constant.
1973 (subword-setup-buffer): New function.
1974 (subword-find-word-boundary): New function.
1975
c6b0fbe7
DC
19762014-03-23 Daniel Colascione <dancol@dancol.org>
1977
1978 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1979 list to look for keyword arguments instead of `memq', fixing
1980 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1981 Please make bootstrap.
1982
5076d275
GM
19832014-03-22 Glenn Morris <rgm@gnu.org>
1984
5dbc3244
GM
1985 * dired.el (dired-read-regexp): Make obsolete.
1986 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1987 (dired-flag-files-regexp):
1988 * dired-aux.el (dired-mark-read-regexp):
1989 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1990
00156f95
GM
1991 * startup.el (fancy-startup-text):
1992 * help.el (describe-gnu-project): Visit online info about GNU project.
1993
f9c81e7b
GM
1994 * help-fns.el (help-fns--interactive-only): New function.
1995 (help-fns-describe-function-functions): Add the above function.
1996 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1997 (next-line, previous-line): Remove hand-written interactive-only
1998 information from doc strings, it is auto-generated now.
1999 * bookmark.el (bookmark-write):
2000 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2001 (epa-mail-import-keys): Mark interactive-only,
2002 and remove hand-written interactive-only information from doc strings.
2003 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2004 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2005 * files.el (not-modified):
2006 * simple.el (mark-whole-buffer): Mark interactive-only.
2007
5076d275
GM
2008 * emacs-lisp/byte-run.el (defun-declarations-alist):
2009 Add interactive-only. Doc tweak.
2010 (macro-declarations-alist): Doc tweak.
2011 * subr.el (declare): Doc tweak (add xref to manual).
2012 * comint.el (comint-run):
2013 * files.el (insert-file-literally, insert-file):
2014 * replace.el (replace-string, replace-regexp):
2015 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2016 (delete-forward-char, goto-line, insert-buffer, next-line)
2017 (previous-line): Set interactive-only via declare.
2018
1197f2e6
DG
20192014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * emacs-lisp/package.el (package-desc): Use the contents of the
2022 quoted form, not its cdr. (Bug#16873)
2023
aac06179
JB
20242014-03-22 Juanma Barranquero <lekktu@gmail.com>
2025
2026 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2027 benefit of doc.c; change parameter profile to match the X function.
2028
3e7bc044
LL
20292014-03-22 Leo Liu <sdl.web@gmail.com>
2030
2031 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2032 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2033
59271b3e
RS
20342014-03-21 Richard Stallman <rms@gnu.org>
2035
8266cd88
RS
2036 * battery.el (battery-linux-sysfs): Search for each field
2037 from the beginning of the buffer.
2038
16ec0742
RS
2039 * subr.el (set-transient-map): Clear out function and value
2040 of the temporary symbol when we're done with it.
2041
59271b3e
RS
2042 * mail/rmailsum.el (rmail-summary-delete-forward):
2043 Optimize case of reaching end and handling count.
2044 (rmail-summary-mark-deleted): Optimize when N is current msg.
2045 Don't create new summary line.
2046 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2047 (rmail-summary-undelete-many): Rewrite for speed.
2048 (rmail-summary-msg-number): New function.
2049
2050 * mail/rmail.el (rmail-delete-message): Update summary.
2051 (rmail-undelete-previous-message): Handle repeat count arg.
2052 (rmail-delete-backward, rmail-delete-forward): Likewise.
2053
0d8ac93e
DC
20542014-03-21 Daniel Colascione <dancol@dancol.org>
2055
2056 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2057 information in bug reports.
2058
1e92a8a3
MA
20592014-03-21 Michael Albinus <michael.albinus@gmx.de>
2060
2061 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2062 and `tramp-copy-env'.
2063
2064 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2065 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2066
78540c42
GM
20672014-03-21 Glenn Morris <rgm@gnu.org>
2068
2069 * electric.el (electric-indent-post-self-insert-function): Add doc.
2070
1fc8f655
DG
20712014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2072
dcf78667
DG
2073 * emacs-lisp/package.el (package-compute-transaction):
2074 Use `version-list-<=' to compare the requirement version against
2075 the version of package already to be installed. Update the error
2076 message. (Bug#16826)
2077
1fc8f655
DG
2078 * progmodes/ruby-mode.el (ruby-smie-rules):
2079 Add indentation rule for ` @ '. (Bug#17050)
2080
dada060d
JB
20812014-03-21 Juanma Barranquero <lekktu@gmail.com>
2082
2083 * align.el (align-regexp): Remove superfluous backslash.
2084
2085 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2086 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2087 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2088 Fix docstring typos.
2089 (ffap-next): Use C-u in docstring.
2090 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2091 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2092 Remove superfluous backslashes.
2093 (ffap-string-at-point): Reflow docstring.
2094
2095 * server.el (server-host): Reflow docstring.
2096 (server-unload-function): Fix docstring typo.
2097 (server-eval-at): Remove superfluous backslash.
2098
2099 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2100 (skeleton-insert): Doc fix.
2101 (skeleton-insert): Reflow docstring.
2102
2103 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2104 (tty-color-approximate, tty-color-by-index, tty-color-values)
2105 (tty-color-desc): Remove superfluous backslashes.
2106
f428101f
GM
21072014-03-21 Glenn Morris <rgm@gnu.org>
2108
26e91130
GM
2109 * cus-start.el (history-length): Bump :version.
2110
aa3a7b51
GM
2111 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2112 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2113 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2114 Don't set `make-backup-files'.
2115
f428101f
GM
2116 * info.el (info--prettify-description): New function,
2117 to give info-finder descriptions consistent case, punctuation.
2118 (Info-finder-find-node): Use it. Sort packages.
2119 Refer to "description" rather than "commentary".
2120
6ce1b56e
JB
21212014-03-21 Juanma Barranquero <lekktu@gmail.com>
2122
2123 * frameset.el (frameset--print-register): New function.
2124 (frameset-to-register): Use it.
2125
b730af26
JB
21262014-03-20 Juanma Barranquero <lekktu@gmail.com>
2127
45393801
JB
2128 * progmodes/hideif.el (hif-string-to-number): New function.
2129 (hif-tokenize): Use it to understand non-decimal floats.
2130
814e26fa
JB
2131 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2132
b730af26
JB
2133 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2134
6f287c89
GM
21352014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * electric.el (electric-newline-and-maybe-indent): New command.
2138 Bind it globally to C-j.
2139 (electric-indent-mode): Don't mess with the global map any more.
2140 Don't drop the post-self-insert-hook is some buffer is still using it
2141 (bug#16770).
2142
2143 * bindings.el (global-map): Remove C-j binding.
2144
2145 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2146 the docstring of functions advised before dumping (bug#16993).
2147
f15ec1ba 21482014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
2149
2150 * ps-print.el (ps-generate-postscript-with-faces):
2151 Explicitly deactivate the mark (bug#16866).
2152 * simple.el (deactivate-mark): Update region highlight.
2153
f88bdc45
JB
21542014-03-19 Juanma Barranquero <lekktu@gmail.com>
2155
2156 * emacs-lisp/package.el (describe-package-1):
2157 Decode commentary (bug#16733).
2158
6b88e570
JB
21592014-03-18 Juanma Barranquero <lekktu@gmail.com>
2160
2161 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2162 modification of the value argument of :set (bug#16755).
2163
ac9b4703
SM
21642014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * simple.el (newline-and-indent): Do autofill (bug#17031).
2167
2b7858ec
DG
21682014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2169
2170 * newcomment.el (comment-normalize-vars): Only add escaping check
2171 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2172 (comment-beginning): Use `narrow-to-region' instead of moving back
2173 one character.
2174 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2175 (comment-start-skip): Update the docstring.
2176
11eff3ae
RS
21772014-03-18 Richard Stallman <rms@gnu.org>
2178
2179 * dired.el (dired-display-file): Force use of other window.
2180
07f44fdb
JB
21812014-03-18 Daniel Colascione <dancol@dancol.org>
2182
2183 * startup.el (tty-handle-args): Remove debug message from 2007.
2184
21852014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
2186
2187 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2188 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2189 (advice--make-1, advice-add, advice-remove):
2190 Remove braindead :advice-pending hack.
2191
61debe4a
GM
21922014-03-17 Glenn Morris <rgm@gnu.org>
2193
2194 * calendar/calendar.el (calendar-generate-month): Apply weekend
2195 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2196
8273986b
MA
21972014-03-17 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2200 (tramp-call-process): Trace also DESTINATION.
2201
2202 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2203 Quote file names when they are local. Remove superfluous trace.
2204
4f8aeb84
DG
22052014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2206
218feefc
DG
2207 * newcomment.el (comment-beginning): If `comment-start-skip'
2208 doesn't match, move back one char and try again. (Bug#16971)
2209
6c187ef5
SM
2210 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2211 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
2212 Set `comment-start-skip' to a simpler value that doesn't try to
2213 check if the semicolon is escaped (this is handled by
2214 `syntax-ppss' now). (Bug#16971)
2215
2216 * progmodes/scheme.el (scheme-mode-variables): Same.
2217
b92631bf
MR
22182014-03-16 Martin Rudalics <rudalics@gmx.at>
2219
2220 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2221 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2222 current (Bug#16816, Bug#17007).
2223 (with-current-buffer-window): New macro doing the same as
2224 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2225 * help.el (help-print-return-message): Warn in doc-string to not
2226 use this in `with-help-window'.
2227 (describe-bindings-internal): Call `describe-buffer-bindings'
2228 from within help buffer. See Juanma's scenario in (Bug#16816).
2229 (with-help-window): Update doc-string.
2230 * dired.el (dired-mark-pop-up):
2231 * files.el (save-buffers-kill-emacs):
2232 * register.el (register-preview): Use `with-current-buffer-window'
2233 instead of `with-temp-buffer-window'.
2234
57348c4d
JB
22352014-03-16 Juanma Barranquero <lekktu@gmail.com>
2236
2237 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2238 Implement inserting into current buffer, documented in their docstrings.
2239 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2240 (rst-section-tree-point, rst-forward-section, rst-indent)
2241 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2242 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2243 (rst-font-lock-handle-adornment-pre-match-form)
2244 (rst-repeat-last-character): Reflow docstrings.
2245 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2246 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2247 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2248 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2249 Fix docstring typos.
2250 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2251 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2252 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2253
fd16b061
JB
22542014-03-15 Juanma Barranquero <lekktu@gmail.com>
2255
a2403e3d
JB
2256 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2257 for compatibility with other ports.
2258 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2259 from the -xrm command line argument, but in the Nextstep port its value
2260 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2261
fd16b061
JB
2262 * progmodes/python.el (defconst, python-syntax-count-quotes)
2263 (python-indent-region, python-indent-shift-right)
2264 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2265 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2266 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2267 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2268 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2269 (python-shell-buffer-substring, python-shell-send-buffer)
2270 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2271 (python-completion-complete-at-point, python-fill-docstring-style)
2272 (python-eldoc-function, python-imenu-format-item-label)
2273 (python-imenu-format-parent-item-label)
2274 (python-imenu-format-parent-item-jump-label)
2275 (python-imenu--build-tree, python-imenu-create-index)
2276 (python-imenu-create-flat-index): Fix docstring typos.
2277 (python-indent-context, python-shell-prompt-regexp, run-python):
2278 Remove superfluous backslashes.
2279 (python-indent-line, python-nav-beginning-of-defun)
2280 (python-shell-get-buffer, python-shell-get-process)
2281 (python-info-current-defun, python-info-current-line-comment-p)
2282 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2283 (python-indent-post-self-insert-function, python-shell-send-file)
2284 (python-shell-completion-get-completions)
2285 (python-shell-completion-complete-or-indent)
2286 (python-eldoc--get-doc-at-point): Reflow docstrings.
2287
e94807f0
GM
22882014-03-14 Glenn Morris <rgm@gnu.org>
2289
88103345
GM
2290 * emacs-lisp/package.el (package-menu-mode-map):
2291 Replace use of obsolete function alias. Tweak menu item text.
2292
f2dd4ba8
GM
2293 * info.el (Info-finder-find-node):
2294 Ignore the `emacs' metapackage. (Bug#10813)
2295
ac0f82ef
GM
2296 * finder.el (finder-list-matches): Include unversioned packages
2297 in the result of a keyword search.
2298
e94807f0
GM
2299 * finder.el (finder--builtins-descriptions): New constant.
2300 (finder-compile-keywords): Use finder--builtins-descriptions.
2301
50d434d1
DG
23022014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2303
2304 * simple.el (blink-matching-paren): Describe the new value,
2305 `jump', enabling the old behavior.
2306 (blink-matching-open): Use that value. (Bug#17008)
2307
56759cf1
GM
23082014-03-14 Glenn Morris <rgm@gnu.org>
2309
459d74ef
GM
2310 * finder.el (finder-no-scan-regexp): Add leim-list.
2311 (finder-compile-keywords):
2312 Don't skip files with same basename. (Bug#14010)
2313 * Makefile.in (setwins_finder): New, excluding leim.
2314 (finder-data): Use setwins_finder.
2315
56759cf1
GM
2316 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2317 (help-function-arglist, help-make-usage): Move from here...
2318 * help.el (help-split-fundoc, help-add-fundoc-usage)
2319 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2320 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2321
7644aa97
JB
23222014-03-14 Juanma Barranquero <lekktu@gmail.com>
2323
2324 * net/socks.el (socks, socks-override-functions)
fd16b061 2325 (socks-find-services-entry):
7644aa97
JB
2326 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2327 (hif-find-ifdef-block):
2328 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2329
2330 * net/tls.el (tls-program): Reflow docstring.
2331
2332 * progmodes/pascal.el (pascal-mode-abbrev-table)
2333 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2334 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2335 (pascal-outline-mode): Fix docstring typos.
2336 (pascal-mode): Let define-derived-mode document mode hook.
2337 (pascal-uncomment-area): Reflow.
2338 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2339
2340 * progmodes/opascal.el (opascal-compound-block-indent)
2341 (opascal-case-label-indent): Fix docstring typos.
2342 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2343
1f44df94
DG
23442014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2345
07f44fdb
JB
2346 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2347 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 2348
0d71dfb3
TW
23492014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2350
2351 * emacs-lisp/package.el (package--prepare-dependencies):
2352 Accept requirements without explicit version (bug#14941).
2353
d27a1a7b
JB
23542014-03-12 Juanma Barranquero <lekktu@gmail.com>
2355
a5765a3d
JB
2356 * register.el (register-separator, copy-to-register): Doc fixes.
2357 (register-preview-default): Remove unnecessary call to concat.
2358
d27a1a7b
JB
2359 * frameset.el (frameset-restore): When checking for a visible frame,
2360 use the action map instead of calling visible-frame-list.
2361
08dfa0b7
JB
23622014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2363
2364 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2365
8960529e
MR
23662014-03-12 Martin Rudalics <rudalics@gmx.at>
2367
2368 * window.el (fit-frame-to-buffer): Get maximum width from
2369 display's width instead of height.
2370
8a51e8e4
GM
23712014-03-12 Glenn Morris <rgm@gnu.org>
2372
46456005
GM
2373 * desktop.el (desktop-restore-frames)
2374 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2375 (desktop-restore-reuses-frames): Doc tweaks.
2376
8a51e8e4
GM
2377 * electric.el (electric-indent-mode): Doc fix.
2378
5983b317
JB
23792014-03-12 Juanma Barranquero <lekktu@gmail.com>
2380
2381 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2382 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2383 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2384 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2385 (cvs-dired-use-hook): Fix docstring typos.
2386 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2387 Doc fixes.
2388
2389 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2390 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2391 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2392 (cvs-execute-single-dir): Fix docstring typos.
2393
2394 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2395 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2396
2397 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2398
2399 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2400 Fix docstring typos.
2401
13c00cf0
JB
24022014-03-12 Juanma Barranquero <lekktu@gmail.com>
2403
2404 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2405 called from jump-to-register after unloading the frameset package.
2406
536a17e3
SM
24072014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2410 (bug#16975). Deactivate the mark before setting it to nil.
2411 (activate-mark): Do nothing if region is already active.
2412
baf8d0ac
JB
24132014-03-11 Juanma Barranquero <lekktu@gmail.com>
2414
2415 * frameset.el (frameset--target-display): Remove definition; declare.
2416 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2417
1ea22560
SM
24182014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2421 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2422 when the advice is pending.
2423 (advice-remove): Remove this marker when not needed any more.
2424
4538c058
JB
24252014-03-11 Juanma Barranquero <lekktu@gmail.com>
2426
2427 * frameset.el: Separate options for reusing frames and cleaning up.
2428 (frameset--reuse-list): Remove definition; declare.
2429 (frameset--action-map): Declare.
2430 (frameset--find-frame-if): Doc fix.
2431 (frameset--restore-frame): Cache frame action.
2432 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2433 how to clean up the frame list after restoring. Remove cleaning
2434 options from REUSE-FRAMES. Change all keyword values to symbols.
2435 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2436
2437 * desktop.el (desktop-restore-forces-onscreen)
2438 (desktop-restore-reuses-frames): Use non-keyword values.
2439 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2440
ba1a5c78
GM
24412014-03-10 Glenn Morris <rgm@gnu.org>
2442
776aa432
GM
2443 * files.el (find-file): Doc fix: update info node name.
2444
ba1a5c78
GM
2445 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2446 Doc fix: remove references to deleted info nodes.
2447
183d706e
MA
24482014-03-10 Michael Albinus <michael.albinus@gmx.de>
2449
2450 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2451 Do not add `nil' to the environment, when there's no remote `locale'.
2452 (tramp-find-inline-encoding): Check, that the remote host has
2453 installed perl, before sending scripts.
2454
6f0f96e7
LL
24552014-03-10 Leo Liu <sdl.web@gmail.com>
2456
536a17e3
SM
2457 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2458 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 2459
ca70fe78
SM
24602014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2463 (bug#14430).
2464
eb67db41
JL
24652014-03-09 Juri Linkov <juri@jurta.org>
2466
2467 * ansi-color.el (ansi-color-names-vector): Copy default colors
2468 from `xterm-standard-colors' that look well on the default white
2469 background (and also on the black background) to avoid illegible
8cf07e5a 2470 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
2471 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2472
e7db5447
JB
24732014-03-08 Juanma Barranquero <lekktu@gmail.com>
2474
2475 * frameset.el (frameset-restore): When no frame is visible, do not
2476 generate a list of frames, just make visible the selected one.
2477
f0a4c8d7
DG
24782014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2479
2480 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2481 it only contains the repository root. (Bug#16897)
2482
e50772e3
MA
24832014-03-07 Michael Albinus <michael.albinus@gmx.de>
2484
2485 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2486 only when `remote-file-name-inhibit-cache' is nil.
2487 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2488
cac0a1d6
MR
24892014-03-06 Martin Rudalics <rudalics@gmx.at>
2490
2491 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2492 Fix doc-strings.
2493 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2494 fit-frame-to-buffer variable. Fix doc-string.
2495 (fit-window-to-buffer): Set ONLY argument in call of
2496 fit-frame-to-buffer. Fix doc-string.
2497
fa965cbf
MA
24982014-03-06 Michael Albinus <michael.albinus@gmx.de>
2499
2500 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2501 (tramp-action-password): Clear password cache if needed.
2502 (tramp-read-passwd): Do not clear password cache.
2503
2504 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2505 cache unless it is the first password request.
2506
c94e6ee4
GM
25072014-03-06 Glenn Morris <rgm@gnu.org>
2508
03bc753e
GM
2509 * simple.el (newline): Doc tweak.
2510
c94e6ee4
GM
2511 * emacs-lisp/shadow.el (load-path-shadows-find):
2512 Ignore dir-locals. (Bug#12357)
2513
bd2d43dc
GM
25142014-03-05 Glenn Morris <rgm@gnu.org>
2515
2516 * files.el (interpreter-mode-alist):
2517 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2518
9284000e
JB
25192014-03-05 Juanma Barranquero <lekktu@gmail.com>
2520
2521 * frameset.el (frameset--initial-params): Filter out null entries.
2522
e1a2cb1c
MR
25232014-03-05 Martin Rudalics <rudalics@gmx.at>
2524
27821a89
JB
2525 * window.el (window-min-height, window-min-width):
2526 Rewrite doc-strings.
e1a2cb1c
MR
2527 (window-body-size): Add PIXELWISE argument to make it consistent
2528 with its callees.
2529
6bf67038
JB
25302014-03-05 Juanma Barranquero <lekktu@gmail.com>
2531
2532 * finder.el (finder-mode-map, finder-mode-syntax-table):
2533 Revert part of 2014-02-28 change.
2534
90f04e4c
LI
25352014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2536
2537 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2538 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
2539 (eww-textarea-map): [tab] doesn't work on tty.
2540 Reported by Mario Lang.
6952100d
LI
2541
2542 * net/shr.el (shr-map): Ditto.
90f04e4c 2543
3106d59b
GM
25442014-03-04 Glenn Morris <rgm@gnu.org>
2545
2546 * minibuffer.el (completion-hilit-commonality):
2547 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2548
f604dfdc
JB
25492014-03-04 Juanma Barranquero <lekktu@gmail.com>
2550
2551 * hilit-chg.el (hilit-chg-unload-function): New function.
2552 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2553 (hilit-chg-map-changes): Prefer cardinal number to digit.
2554 (hilit-chg-display-changes): Reflow docstring.
2555 (highlight-changes-rotate-faces): Remove superfluous backslash.
2556
5dc65319
MA
25572014-03-04 Michael Albinus <michael.albinus@gmx.de>
2558
2559 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2560 `tramp-send-command-and-check'.
2561
4242d21d
JB
25622014-03-04 Juanma Barranquero <lekktu@gmail.com>
2563
b01fa838
JB
2564 * hexl.el (hexl-address-region, hexl-ascii-region)
2565 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2566 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2567 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2568 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2569 (hexl-mode): Doc fix.
2570 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2571 (hexl-mode-ruler): Fix typos in docstrings.
2572
4242d21d
JB
2573 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2574 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2575 Remove superfluous backslashes.
2576 (strokes-last-stroke, strokes-global-map, strokes-mode):
2577 Reflow docstrings.
2578 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2579 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2580 (strokes-distance-squared, strokes-global-set-stroke)
2581 (strokes-global-set-stroke-string): Doc fixes.
2582 (strokes-help): Fix typos; reflow docstring.
2583
87132570
MR
25842014-03-04 Martin Rudalics <rudalics@gmx.at>
2585
2586 * window.el (window-in-direction): Fix doc-string.
2587
d82e752c
GM
25882014-03-04 Glenn Morris <rgm@gnu.org>
2589
2590 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2591 Explicit error if no grammar.
2592 (smie-config-save): Doc fix. Fix quote typo.
2593
62528af0
SM
25942014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2595
8d4901dc
SM
2596 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2597 electric-indent-mode-hook if we obey electric-indent-mode.
2598 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2599 decide whether we obey electric-indent-mode.
2600 (c-change-set-fl-decl-start, c-extend-after-change-region):
2601 Silence warnings.
2602 (c-electric-indent-mode-hook): Assume we do want to obey
2603 electric-indent-mode.
2604
2605 * electric.el (electric-indent-mode-has-been-called): Remove.
2606 (electric-indent-mode): Fix accordingly.
2607
092c12b2
SM
2608 * files.el (hack-local-variables): Mention file name in warning.
2609
62528af0
SM
2610 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2611
5b87d0d9
MN
26122014-03-04 Michal Nazarewicz <mina86@mina86.com>
2613
20f39add 2614 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2615 * simple.el (delete-forward-char): Mark as interactive-only.
2616
542a3840
JB
26172014-03-03 Juanma Barranquero <lekktu@gmail.com>
2618
f2d2402e
GM
2619 * icomplete.el (icomplete-completions):
2620 Follow-up to 2014-03-01 change.
d11320e5
JB
2621
2622 * icomplete.el: Miscellaneous doc fixes.
2623 Use Icomplete everywhere instead of icomplete for consistency.
2624 (icomplete-max-delay-chars): Fix typo.
2625 (icomplete-mode): Use \[].
2626 (icomplete-tidy, icomplete-exhibit): Reflow.
2627 (icomplete-minibuffer-setup-hook, icomplete-completions):
2628 Remove superfluous backlashes.
2629
2630 * ido.el: Miscellaneous doc fixes.
2631 Use Ido everywhere instead of ido or `ido' for consistency.
2632 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2633 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2634 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2635 (ido-separator): Extract obsolescence info from docstring and declare
2636 with make-obsolete-variable.
2637 (ido-minibuffer-setup-hook): Simplify example.
2638 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2639 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2640 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2641 (ido-everywhere): Reflow docstring.
2642 (ido-toggle-vc): Doc fix.
2643 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2644 of long list of keybindings.
2645
7ebd57e9
GM
26462014-03-03 Glenn Morris <rgm@gnu.org>
2647
2648 * frame.el (display-pixel-height, display-pixel-width)
2649 (display-mm-dimensions-alist, display-mm-height)
2650 (display-mm-width): Doc tweaks.
2651
35e951cd 26522014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2653
2654 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2655 case of undo in region.
2656
b923819c
MR
26572014-03-02 Martin Rudalics <rudalics@gmx.at>
2658
2659 * window.el (fit-window-to-buffer): Fix argument in window-size
2660 call when window is horizontally combined.
2661
b6e443c5
JB
26622014-03-02 Juanma Barranquero <lekktu@gmail.com>
2663
2664 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2665 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2666
1850913d
DG
26672014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2668
35e951cd
JB
2669 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2670 Highlight regexp options. (Bug#16914)
1850913d 2671
04b577b6
MR
26722014-03-01 Martin Rudalics <rudalics@gmx.at>
2673
2674 * window.el (window--max-delta-1): Round down when calculating
2675 how many lines/columns we can get from a window.
2676
b829360f
GM
26772014-03-01 Glenn Morris <rgm@gnu.org>
2678
2501c912
GM
2679 * isearch.el (search-invisible): Doc fix.
2680
b829360f
GM
2681 * minibuffer.el (completion-hilit-commonality):
2682 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2683 * comint.el (comint-dynamic-list-completions): Doc fix.
2684 * comint.el (comint-dynamic-list-completions):
2685 * filecache.el (file-cache-minibuffer-complete):
2686 * tempo.el (tempo-display-completions):
2687 * eshell/em-hist.el (eshell-list-history):
2688 Replace use of obsolete argument of display-completion-list.
2689
9a155058
JB
26902014-03-01 Juanma Barranquero <lekktu@gmail.com>
2691
2692 * icomplete.el (icomplete-completions):
2693 Revert back to using "..." when ?… cannot be displayed.
2694
53f6cda8
JB
26952014-02-28 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * finder.el (finder-unload-function): New function.
2698
43977c23
JB
26992014-02-28 Juanma Barranquero <lekktu@gmail.com>
2700
2701 * dframe.el (dframe-detach):
2702 * find-dired.el (find-dired, find-name-dired):
2703 * finder.el (finder-mode-map, finder-mode-syntax-table)
2704 (finder-headmark, finder-select, finder-mouse-select):
2705 Fix docstring typos.
2706
9dda75ad
MR
27072014-02-28 Martin Rudalics <rudalics@gmx.at>
2708
2709 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2710 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2711 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2712 Fix doc-string based on a suggestion by Nicolas Richard
2713 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2714 * help.el (with-help-window): Fix doc-string.
2715
8a73034e
IK
27162014-02-28 Ivan Kanis <ivan@kanis.fr>
2717
b70257b0
GM
2718 * net/shr.el (shr-image-animate): New option.
2719 (shr-put-image): Respect shr-image-animate.
8a73034e 2720
245aa73e
MA
27212014-02-28 Michael Albinus <michael.albinus@gmx.de>
2722
2723 * net/tramp-adb.el (tramp-adb-parse-device-names):
2724 Use `accept-process-output'.
2725 (tramp-adb-handle-file-truename): Cache the localname only.
2726 (tramp-adb-handle-make-directory)
2727 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2728 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2729 modes cannot be changed.
2730
2731 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2732 file properties of symlinks.
2733
48e15d64
PS
27342014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2735
2736 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2737 required/optional fields to match development biblatex. (Bug#16781)
2738
65b77347
AS
27392014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2740
2741 * saveplace.el (toggle-save-place):
2742 Fix argument handling. (Bug#16673)
2743
5e618aba
GM
27442014-02-28 Glenn Morris <rgm@gnu.org>
2745
2746 * minibuffer.el (completions-first-difference)
2747 (completions-common-part, completion-hilit-commonality): Doc fixes.
2748
6deb314e
KB
27492014-02-28 Karl Berry <karl@gnu.org>
2750
2751 * info.el (Info-mode-map): Add H for describe-mode,
2752 to synchronize with standalone Info.
2753
289996f5
EL
27542014-02-28 Emilio C. Lopes <eclig@gmx.net>
2755
2756 * progmodes/sql.el (sql-interactive-mode):
2757 Avoid setting global comint-input-ring-separator. (Bug#16814)
2758
79fc1191
MA
27592014-02-27 Michael Albinus <michael.albinus@gmx.de>
2760
2761 * net/dbus.el (dbus--init-bus): Declare function.
2762 (dbus-path-local, dbus-interface-local): New defconst.
2763 (dbus-init-bus): Use them.
2764 (dbus-return-values-table): Extend doc.
2765 (dbus-handle-bus-disconnect): Extend error message.
2766
298520df
JB
27672014-02-27 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * subr.el (y-or-n-p): Fix double space issue in message.
2770
c22c1614
MA
27712014-02-27 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * net/tramp.el (tramp-call-process): Improve trace message.
2774 (tramp-handle-insert-file-contents): Trace error case.
2775
2776 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2777 <insert-directory>: Use `tramp-handle-insert-directory'.
2778 (tramp-adb-handle-insert-directory): Remove function.
2779 (tramp-adb-send-command-and-check): New defun, replacing
2780 `tramp-adb-command-exit-status'. Change all callees.
2781 (tramp-adb-handle-file-attributes)
2782 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2783 (tramp-adb-ls-output-name-less-p):
2784 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2785 (tramp-adb-handle-delete-directory): Flush also file properties of
2786 the truename of directory.
2787 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2788 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2789 (tramp-adb-handle-write-region): Implement APPEND.
2790 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2791 properties correctly.
2792 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2793 variables. Check for connected devices only when needed.
2794
d9263618
GM
27952014-02-27 Glenn Morris <rgm@gnu.org>
2796
ea7826ba
GM
2797 * minibuffer.el (completion-table-dynamic)
2798 (completion-table-with-cache): Doc fixes.
2799
d9263618
GM
2800 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2801 (completing-read-multiple): Doc fixes.
2802
eff3168a
DC
28032014-02-27 Daniel Colascione <dancol@dancol.org>
2804
51f213c3
DC
2805 * minibuffer.el (completion--nth-completion): Fix indentation.
2806
eff3168a
DC
2807 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2808 explicit tramp path is empty.
2809
b77cfcd7
GM
28102014-02-27 Glenn Morris <rgm@gnu.org>
2811
2812 * emacs-lisp/crm.el (completing-read-multiple):
2813 Empower help-enable-auto-load.
2814
9577b569
GM
28152014-02-26 Glenn Morris <rgm@gnu.org>
2816
259887e8
GM
2817 * startup.el (command-line): Don't init the tty in daemon mode.
2818
1d491ef2
GM
2819 Avoid calling tty-setup-hook twice, eg if a term file
2820 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2821 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2822 (tty-create-frame-with-faces): Use it.
2823 * startup.el (command-line): Pass run-hook argument
2824 to tty-run-terminal-initialization.
2825
9577b569
GM
2826 * dired.el (dired-restore-desktop-buffer): Demote errors;
2827 eg in case a glob match fails. (Bug#16884)
2828
40ff7f86
DG
28292014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2830
b2388336
DG
2831 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2832 error from `read-from-string'. (Bug#16850)
2833
40ff7f86
DG
2834 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2835 result of `completing-read' in the interactive form. (Bug#16854)
2836
98bd6b32
GM
28372014-02-25 Glenn Morris <rgm@gnu.org>
2838
f086804c
GM
2839 * image.el (image-animate, image-animate-timeout):
2840 Stop animating images in dead buffers. (Bug#16878)
2841
c107155e
GM
2842 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2843
9577b569
GM
2844 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2845 Doc fixes.
98bd6b32
GM
2846 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2847 * term/sun.el (sun-raw-prefix-hooks):
2848 Use tty-setup-hook instead of term-setup-hook.
2849 (terminal-init-sun): Construct message from bytecomp plist.
2850 * term/wyse50.el (enable-arrow-keys): Doc fix.
2851
9c9e18e8
JB
28522014-02-24 Juanma Barranquero <lekktu@gmail.com>
2853
2854 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2855 Fix docstring typos.
2856
c848881f
MA
28572014-02-24 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2860
0e38ae05
NR
28612014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2862
2863 * minibuffer.el (completion--try-word-completion):
2864 Fix error when completing M-x commands (bug#16808).
2865
8ee4c296
LL
28662014-02-24 Leo Liu <sdl.web@gmail.com>
2867
2868 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2869
7d4bd627
JB
28702014-02-24 Juanma Barranquero <lekktu@gmail.com>
2871
2872 * apropos.el (apropos-print): Avoid formatting error when
2873 apropos-do-all and apropos-compact-layout are both t.
2874
e918e27f
JB
28752014-02-23 Juanma Barranquero <lekktu@gmail.com>
2876
2877 * apropos.el (apropos-property, apropos-all-words-regexp)
2878 (apropos-true-hit, apropos-variable, apropos-print):
2879 Fix docstring typos, and remove obsolete comment.
2880
85c01f80
MA
28812014-02-23 Michael Albinus <michael.albinus@gmx.de>
2882
2883 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2884 Preserve trailing "/". (Bug#16851)
2885
62f95022
DG
28862014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2887
2888 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2889 after `=>' (bug#16811).
dfdb365c
DG
2890 (ruby-smie-rules): Handle the inconsistent second element of the
2891 list returned by `smie-indent--parent'.
2892 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2893 method call.
62f95022 2894
025f2c81
JB
28952014-02-23 Juanma Barranquero <lekktu@gmail.com>
2896
2897 * elec-pair.el (electric-pair-text-syntax-table)
2898 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2899 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2900 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2901 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2902
123c84f9
GM
29032014-02-22 Glenn Morris <rgm@gnu.org>
2904
612c3e46
GM
2905 * imenu.el (imenu--generic-function): Doc fix.
2906
123c84f9
GM
2907 * register.el (frame-configuration-to-register): Make obsolete.
2908
e59fa9ad
JB
29092014-02-22 Juanma Barranquero <lekktu@gmail.com>
2910
2911 * desktop.el (desktop-save-buffer-p): Do not fail when
2912 desktop-files-not-to-save is nil. Return t for true result
2913 as the doc says.
2914
4e652634
DC
29152014-02-22 Daniel Colascione <dancol@dancol.org>
2916
27821a89 2917 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2918 Check that attribute values are strings, avoiding the construction
2919 of invalid dbus messages.
4e652634 2920
f35affb6
JB
29212014-02-21 Juanma Barranquero <lekktu@gmail.com>
2922
2923 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2924 defun-declarations-alist.
2925
3d136b1b
SM
29262014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2929 (bug#16829).
2930
612ddfc0
JB
29312014-02-21 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2934 (whitespace-newline, whitespace-trailing, whitespace-line)
2935 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2936 (whitespace-space-after-tab): Fix typo in docstrings.
2937
c8481b1b
DG
29382014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2939
cb8f50a7
DG
2940 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2941
c8481b1b
DG
2942 * electric.el (electric-indent-functions-without-reindent):
2943 Add `yaml-indent-line'.
2944
bed5126f
JB
29452014-02-21 Juanma Barranquero <lekktu@gmail.com>
2946
34b71457
JB
2947 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2948 It has done nothing for years; should be removed after the release.
2949
bed5126f
JB
2950 * simple.el (choose-completion): Fix docstring typo.
2951 (read-quoted-char-radix): Remove unneeded * in docstring.
2952 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2953 Don't escape parentheses unnecessarily in docstrings.
2954
8dd3e94f
MR
29552014-02-21 Martin Rudalics <rudalics@gmx.at>
2956
2957 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2958 * window.el (window--dump-window, window--dump-frame):
2959 New functions.
2960 (window--min-size-1): Account for window dividers.
2961 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2962 sum of the window components has been calculated.
2963 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2964 nil make sure at least one text line and two text columns remain
2965 fully visible.
2966 (window-resize): Signal an error when window-resize-apply fails.
2967 (window--resize-child-windows): Fix calculation of by how many
2968 pixels a window can still be shrunk via window-new-normal.
2969 (adjust-window-trailing-edge): Call window--resizable with
2970 correct TRAIL argument.
2971
2ed94e04
MR
2972 (with-temp-buffer-window): Don't evaluate BODY within
2973 with-current-buffer (Bug#16816).
2974
0e5324c4
MA
29752014-02-21 Michael Albinus <michael.albinus@gmx.de>
2976
2977 * net/tramp.el (tramp-check-cached-permissions):
2978 Call `file-attributes' with `suffix' being a symbol but a string.
2979
48198420
DC
29802014-02-21 Daniel Colascione <dancol@dancol.org>
2981
2982 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2983 (dbus-init-bus): New function: call into dbus-init-bus-1
2984 and installs a handler for the disconnect signal.
2985 (dbus-call-method): Rewrite to look for result in cons.
2986 (dbus-call-method-handler): Store result in cons.
2987 (dbus-check-event): Recognize events with nil sender as valid.
2988 (dbus-handle-bus-disconnect): New function. React to bus
2989 disconnection signal by synthesizing dbus error for each
2990 pending synchronous or asynchronous call.
2991 (dbus-notice-synchronous-call-errors): New function.
2992 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2993 is true, not all the time.
2994
99e15133
JB
29952014-02-21 Juanma Barranquero <lekktu@gmail.com>
2996
e48983a6
JB
2997 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2998 Remove obsolescence declarations, these variables do not exist anymore.
2999
fdcfd745
JB
3000 * savehist.el (savehist-save-minibuffer-history)
3001 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3002 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3003 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3004 mostly, refer to "Savehist mode" when talking about the mode,
3005 and not the function.
3006
99e15133
JB
3007 * saveplace.el (save-place): Remove redundant info in docstring.
3008 (save-place-forget-unreadable-files, toggle-save-place)
3009 (save-place-forget-unreadable-files, save-place-dired-hook):
3010 Fix typos and remove unneeded backslashes.
3011
f5bee33b
MA
30122014-02-20 Michael Albinus <michael.albinus@gmx.de>
3013
3014 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3015 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3016
3017 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 3018 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
3019 (tramp-gvfs-handle-insert-directory): Remove function.
3020
3021 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3022 Call `tramp-handle-insert-directory'.
3023
ee0761ca
JB
30242014-02-20 Juanma Barranquero <lekktu@gmail.com>
3025
3026 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3027 before the start of buffer/region (bug#16799).
3028
4d49cc65
GM
30292014-02-20 Glenn Morris <rgm@gnu.org>
3030
3031 * isearch.el (search-invisible): Doc fix.
3032
eee0d650
TK
30332014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3034
3035 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3036 (bug#16657).
3037
94e5e202
JB
30382014-02-19 Juanma Barranquero <lekktu@gmail.com>
3039
3040 * frameset.el (frameset-restore): Delay removing an old frame's
3041 duplicate id until the new frame has been correctly created.
3042
50bfdd5d
MA
30432014-02-19 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3046 (tramp-check-cached-permissions): Call `file-attributes' if the
3047 cache is empty.
3048
3049 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 3050 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
3051
3052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 3053 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
3054 (tramp-gvfs-maybe-open-connection): Set always connection
3055 properties, even if target is mounted already.
3056
3057 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3058 Set tramp-autoload cookie.
3059 (tramp-get-remote-touch): New defun.
3060 (tramp-sh-handle-set-file-times): Use it.
3061 (tramp-sh-handle-directory-files-and-attributes):
3062 Use `tramp-handle-directory-files-and-attributes' if neither stat
3063 nor perl are available on the remote host.
3064
3065 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3066 "/". Write long listing only when "l" belongs to the switches.
3067
3068 * net/trampver.el: Update release number.
3069
f097a3d2
JB
30702014-02-19 Juanma Barranquero <lekktu@gmail.com>
3071
3072 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3073
8e009b78
MR
30742014-02-19 Martin Rudalics <rudalics@gmx.at>
3075
3076 * window.el (window-state-put): Allow WINDOW to refer to an
3077 internal window (Bug#16793).
3078
95160c90
GM
30792014-02-19 Glenn Morris <rgm@gnu.org>
3080
3081 * textmodes/remember.el: Move provide statement to end.
3082 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3083 (remember-notes): Doc fixes.
3084
b28df58c
SM
30852014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * delsel.el (delete-char): Restore incorrectly erased property
3088 (bug#16795).
3089
7108e1c0
JB
30902014-02-18 Juanma Barranquero <lekktu@gmail.com>
3091
3092 * frameset.el (frameset--restore-frame): When a frame is being reused
3093 and its root window is not alive, delete all the frame's windows before
3094 restoring the window state. This works around the issue in bug#16793.
3095
c863b6ad
GM
30962014-02-18 Glenn Morris <rgm@gnu.org>
3097
a73fae1f
GM
3098 * textmodes/remember.el (remember-data-directory)
3099 (remember-directory-file-name-format, remember-store-in-files)
3100 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3101 (remember-notes-save-and-bury-buffer)
3102 (remember-notes--kill-buffer-query): Doc fixes.
3103
c863b6ad
GM
3104 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3105
29238d28
AM
31062014-02-17 Alan Mackenzie <acm@muc.de>
3107
3108 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 3109 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 3110 to electric-indent-{,local-}-mode.
b28df58c
SM
3111 (c-basic-common-init): Set electric-indent-inhibit.
3112 Initialise c-electric-flag from electric-indent-mode.
29238d28 3113 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 3114 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
3115
3116 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 3117 hit, toggle electric-indent-local-mode.
29238d28 3118
b28df58c
SM
3119 * electric.el (electric-indent-mode-has-been-called):
3120 New variable.
29238d28 3121
c6463340
JB
31222014-02-17 Juanma Barranquero <lekktu@gmail.com>
3123
3124 * frameset.el (frameset-cfg-id): New function.
3125 (frameset--reuse-frame, frameset-restore): Use it.
3126 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3127
94912b88
SM
31282014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * ido.el (ido-file-internal): Remove unused var `d'.
3131 Use \` for to match BoS. Fit within 80n columns.
3132
26ea164c
DC
31332014-02-17 Daniel Colascione <dancol@dancol.org>
3134
3135 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3136 dbus-call-method check for completion using a busy-wait loop with
3137 gradual backoff.
3138
589d1988 31392014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
3140
3141 Sync with Tramp 2.2.9.
3142
3143 * net/trampver.el: Update release number.
3144
17d1b51b
DG
31452014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3146
3147 * ido.el (ido-file-internal): Don't add the name of an existing
3148 directory twice. (Bug#16747)
3149
5bcad689
GM
31502014-02-16 Glenn Morris <rgm@gnu.org>
3151
3152 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3153 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3154
31552014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
3156
3157 * progmodes/sql.el: Version 3.4
3158 (sql-oracle-options): New default value ("-L").
94912b88 3159 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 3160 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 3161 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
3162 (sql-login-delay): New variable.
3163 (sql-product-interactive): Use it.
3164
285f1858
JB
31652014-02-15 Juanma Barranquero <lekktu@gmail.com>
3166
3167 * frameset.el (frameset--jump-to-register): Check that buffer is live
3168 (bug#16749).
3169
5d645ea4
GM
31702014-02-15 Glenn Morris <rgm@gnu.org>
3171
3172 * info.el (info-initialize): Revert 2014-01-10 change.
3173
48c4f9b1
GM
31742014-02-14 Glenn Morris <rgm@gnu.org>
3175
b8630261
GM
3176 * replace.el (map-query-replace-regexp)
3177 (read-regexp-defaults-function, read-regexp): Doc fixes.
3178
b2bf2a25
GM
3179 * dired.el (dired-read-regexp):
3180 * faces.el (list-faces-display):
3181 * misearch.el (multi-isearch-read-matching-buffers)
3182 (multi-isearch-read-matching-files):
3183 * play/cookie1.el (cookie-apropos):
3184 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3185
48c4f9b1
GM
3186 * textmodes/remember.el (remember): Use frameset-to-register
3187 rather than frame-configuration-to-register.
3188
2804e0bd
JB
31892014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3190
3191 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3192 incorrect keybinding.
3193
0b87142f
DC
31942014-02-13 Daniel Colascione <dancol@dancol.org>
3195
3196 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3197 when adding overlays so that line numbers from compiler match line
3198 numbers we use.
3199
47a73eb0
GM
32002014-02-13 Glenn Morris <rgm@gnu.org>
3201
8abcfd51
GM
3202 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3203
47a73eb0
GM
3204 * jit-lock.el (jit-lock-mode): Doc fix.
3205
c9b6b262
JB
32062014-02-13 Juanma Barranquero <lekktu@gmail.com>
3207
3208 * apropos.el (apropos-read-pattern): When the user passes an empty
3209 string, give a more helpful error message than "Wrong type
3210 argument: stringp, nil".
3211
eb4c6947
SM
32122014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3215
0dab5068
GM
32162014-02-13 Glenn Morris <rgm@gnu.org>
3217
3218 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3219
59075dcf
SM
32202014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3223 shift-select commands.
3224
5af9fbad
DG
32252014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3226
3227 * progmodes/js.el (js-indent-line): Don't widen.
3228 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3229
a215930c
GM
32302014-02-12 Glenn Morris <rgm@gnu.org>
3231
a8cb4247
GM
3232 * icomplete.el (icomplete): Add info-link to defgroup.
3233 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3234 (icomplete-minibuffer-map, icomplete-mode)
3235 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3236
a215930c
GM
3237 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3238 (package-menu-filter): Rename from package-menu-filter-interactive.
3239 Doc fix.
3240
26c5ecd9
JB
32412014-02-11 Juanma Barranquero <lekktu@gmail.com>
3242
3243 * frameset.el (frameset--jump-to-register): Select the required
3244 window and buffer before restoring position (bug#16696).
3245
fcd58a02
LI
32462014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3247
3248 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3249
bacb3380
GM
32502014-02-10 Glenn Morris <rgm@gnu.org>
3251
3252 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3253
881329dc
EZ
32542014-02-10 Eli Zaretskii <eliz@gnu.org>
3255
02328db9
EZ
3256 * w32-common-fns.el (x-get-selection): Doc fix.
3257 * select.el (x-get-selection): Doc fix. (Bug#15109)
3258
881329dc
EZ
3259 * face-remap.el (face-remap-add-relative)
3260 (face-remap-remove-relative, face-remap-reset-base)
3261 (face-remap-set-base): Call force-mode-line-update to redisplay
3262 the current buffer due to potential change in faces. (Bug#16709)
3263
c7db4c06
MA
32642014-02-10 Michael Albinus <michael.albinus@gmx.de>
3265
3266 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3267 script more robustly.
3268
6abe4589
LI
32692014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3270
7602b5c3
LI
3271 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3272
e3692ee0
LI
3273 * simple.el (choose-completion): Doc fix (bug#14160).
3274
41015524
LI
3275 * subr.el (event-start): Say what a nil EVENT value means.
3276
87c79dcb
LI
3277 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3278 (bug#14197).
3279
3ab49e2c
LI
3280 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3281
f3c60241
LI
3282 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3283
3bd1d8a8
LI
3284 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3285
6abe4589
LI
3286 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3287 predicate function (bug#15455).
3288
a11463de
DG
32892014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3290
3291 * ielm.el (inferior-emacs-lisp-mode): Instead of
3292 `comment-use-global-state', set `comment-use-syntax'.
3293
2ab0ad85
GM
32942014-02-10 Glenn Morris <rgm@gnu.org>
3295
3296 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3297
411141fb
AM
32982014-02-09 Alan Mackenzie <acm@muc.de>
3299
3300 Fix c-invalidate-state-cache on narrowed buffers.
3301 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3302 Widen when setting and clearing the CPP delimiter properties.
3303
d6d5fdf8
LI
33042014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3305
92c70367
LI
3306 * help.el (describe-bindings): Doc fix (bug#9888).
3307
468ef484
LI
3308 * files.el (save-buffer): Use ARG as the parameter name for
3309 consistency (bug#10346).
7e34193f 3310 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 3311
fc2b1ffa 3312 * cus-edit.el (customize-apropos): Fix error string.
382fd368 3313 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 3314 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 3315
790aceec
LI
3316 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3317
a54a7552 3318 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 3319 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 3320
dd163123
LI
3321 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3322 meaning of the parameter (bug#12282).
3323
9e108fe6
LI
3324 * files.el (find-file-noselect): Clarify prompt when changing
3325 readedness (bug#13261).
5a836f58
LI
3326 (locate-file): Suffixes aren't returned, so don't say that they
3327 are (bug#12674).
2356b316 3328 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 3329
20dda930
LI
3330 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3331 before we actually start to delete things (bug#16331).
3332
d6d5fdf8
LI
3333 * subr.el (event-start): Doc fix (bug#14228).
3334 (event-end): Ditto.
3335
2abd71e5
GM
33362014-02-09 Glenn Morris <rgm@gnu.org>
3337
3338 * emacs-lisp/warnings.el (lwarn):
3339 Empower help-enable-auto-load. (Bug#15940)
3340
c1b5900b
AS
33412014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3342
3343 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3344 (Bug#16690)
3345
429b93bd
MA
33462014-02-08 Michael Albinus <michael.albinus@gmx.de>
3347
3348 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3349 Insert output at end of buffer. (Bug#16120)
3350
b772a699
LI
33512014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3352
18c6aa8c
LI
3353 * simple.el (choose-completion-string-functions): Document new
3354 calling convention (bug#14153).
54dd147a 3355 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 3356
dce8463b
LI
3357 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3358
b772a699 3359 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 3360 (find-grep-dired): Doc fix (bug#14288).
b772a699 3361
2423c8d5
JL
33622014-02-08 Juri Linkov <juri@jurta.org>
3363
3364 * isearch.el (isearch-quote-char): Check character validity
3365 like in `quoted-insert' (bug#16677).
3366
518f26c2
LI
33672014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3368
893cc908
LI
3369 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3370
9165ffc0
LI
3371 * isearch.el (isearch-hide-immediately): Doc clarification
3372 (bug#14723).
3373
6ef4f3ce
LI
3374 * simple.el (line-move): Document utility function used many
3375 places in the Emacs sources (bug#14843).
3376
be58a238 3377 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 3378 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 3379 (dired-up-directory): Doc fix (bug#14848).
be58a238 3380
dd7aafbb
LI
3381 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3382
15cb9968
LI
3383 * files.el (file-relative-name): Doc fix (bug#15159).
3384
9788effd
LI
3385 * fringe.el (fringe-styles): Doc fix (bug#15239).
3386
c96411bd
LI
3387 * isearch.el (isearch-filter-predicate): Documentation typo fix
3388 (bug#15474).
3389
ea838c36
LI
3390 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3391
0d8a4ae7
LI
3392 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3393
f7a17bb3
LI
3394 * replace.el (replace-match-maybe-edit): Doc clarification
3395 (bug#15632).
3396
1bde5c3b
LI
3397 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3398
518f26c2
LI
3399 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3400
dd8e49fd
GM
34012014-02-08 Glenn Morris <rgm@gnu.org>
3402
3403 * help-fns.el (describe-variable):
3404 Check {file,dir}-local-variables-alist, and buffer-file-name,
3405 in the correct buffer.
3406
7e088b29
IL
34072014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3408
3409 * help-fns.el (describe-variable): Fix the case where
3410 a value is directory-local with no dir-locals file. (Bug#16635)
3411
41a4a82f
GM
34122014-02-08 Glenn Morris <rgm@gnu.org>
3413
3414 * abbrev.el (edit-abbrevs-mode):
3415 Derive from fundamental-mode. (Bug#16682)
3416
e255a703
JB
34172014-02-07 Juanma Barranquero <lekktu@gmail.com>
3418
3419 * simple.el (quoted-insert): Check character validity (bug#16677).
3420
c99cf5ee
JL
34212014-02-07 Juri Linkov <juri@jurta.org>
3422
3423 * desktop.el (desktop-read): Claim the lock when the owner is not
3424 the current process. (Bug#16157)
3425
7d7a68d8
JL
34262014-02-07 Juri Linkov <juri@jurta.org>
3427
3428 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3429 to "\\` ". (Bug#16651)
3430
2b777cd9
JL
34312014-02-07 Juri Linkov <juri@jurta.org>
3432
3433 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3434 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3435 (desktop-auto-save-cancel-timer): New function with some code from
3436 `desktop-auto-save-set-timer'.
3437 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3438 Instead of setting `desktop-save-mode' to nil, call
3439 `desktop-save-mode' with arg 0. (Bug#16630)
3440
60eabbb9
GM
34412014-02-07 Glenn Morris <rgm@gnu.org>
3442
99cf3859
GM
3443 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3444 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3445 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3446
2b568bc9
GM
3447 * obsolete/iswitchb.el: Move to obsolete/.
3448 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3449 since obsolete/ is not scanned for autoloads.
3450 * emacs-lisp/authors.el (authors-valid-file-names):
3451 Add iswitchb.el.
3452
60eabbb9
GM
3453 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3454 Disable now non-functional find-file-hook.
3455
629de968
MA
34562014-02-06 Michael Albinus <michael.albinus@gmx.de>
3457
3458 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3459 instead of ";" in order to avoid additional prompts. Let heredoc
3460 scripts read from tty. (Bug#16582)
3461 (tramp-send-command): No special handling of heredocs, it isn't
3462 necessary anymore.
3463
29127376
SM
34642014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3467 with a space (bug#16664). Limit the symbols considered to the ones
3468 that are bound or fbound (bug#16646).
3469
79b6e0a9
GM
34702014-02-06 Glenn Morris <rgm@gnu.org>
3471
3472 * epa.el (epa-mail-aliases): Doc fix.
3473
a333e4d2
DG
34742014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3475
29127376
SM
3476 * emacs-lisp/lisp.el (lisp-completion-at-point):
3477 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
3478 (bug#16604).
3479
3480 * minibuffer.el (completion-table-merge): New function.
3481
9a83b32b
MA
34822014-02-05 Michael Albinus <michael.albinus@gmx.de>
3483
3484 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3485 (tramp-sh-handle-set-file-acl)
3486 (tramp-sh-handle-start-file-process)
3487 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3488 (tramp-find-executable, tramp-send-command): Use it.
3489
451ea3e6
GM
34902014-02-05 Glenn Morris <rgm@gnu.org>
3491
9a83b32b 3492 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 3493
dd27d13b
FEG
34942014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3495
35e951cd 3496 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
3497 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3498
08e41897
AL
34992014-02-04 Anders Lindgren <andlind@gmail.com>
3500
3501 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3502 the names (bug#16620).
3503
764ec9e5
MR
35042014-02-03 Martin Rudalics <rudalics@gmx.at>
3505
08e41897
AL
3506 * faces.el (window-divider): New default value. Rewrite doc-string.
3507 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 3508
6da8227c
DG
35092014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3510
3511 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3512 `protected' and `public' can also be called without arguments.
3513
6a6b8e40
GM
35142014-02-03 Glenn Morris <rgm@gnu.org>
3515
7bcbca40
GM
3516 * register.el (window-configuration-to-register)
3517 (frame-configuration-to-register): Unadvertise unused argument.
3518 * frameset.el (frameset-to-register): Remove unused argument.
3519
719d965d 3520 * frameset.el (frameset-to-register):
6a6b8e40
GM
3521 * kmacro.el (kmacro-to-register):
3522 * register.el (increment-register):
3523 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3524 (calc-append-to-register, calc-prepend-to-register):
3525 * play/gametree.el (gametree-layout-to-register)
3526 (gametree-apply-register-layout):
3527 * textmodes/picture.el (picture-clear-rectangle-to-register)
3528 (picture-yank-rectangle-from-register):
3529 * vc/emerge.el (emerge-combine-versions-register):
3530 Use register-read-with-preview to read registers.
3531
5dca7759
JT
35322014-02-03 João Távora <joaotavora@gmail.com>
3533
3534 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3535 when at beginning of (possibly narrowed) buffer.
3536
709085b9
DC
35372014-02-02 Daniel Colascione <dancol@dancol.org>
3538
c295fc18 3539 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 3540 Also try to display local help from just before point.
709085b9 3541
99f7b0a6
AM
35422014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3543
3544 c-parse-state. Don't "append-lower-brace-pair" in certain
3545 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3546 recognised as a comment.
3547
3548 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3549 as well as normal comment starter.
3550 (c-parse-state-get-strategy): Extra return possibility
3551 'back-and-forward.
3552 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3553 return value list to indicate replacement of a brace-pair cons
3554 with its car.
3555 (c-parse-state-1): With 'back-and-forward, only call
3556 c-append-lower-brace-pair-to state-cache when cons-separated.
3557
f0a10576
JD
35582014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3559
3560 * term/ns-win.el (ns-suspend-error): New function.
3561 (ns-initialize-window-system): Add ns-suspend-error to
3562 suspend-hook (Bug#16612).
3563
b8d552c2
DC
35642014-02-02 Daniel Colascione <dancol@dancol.org>
3565
35e951cd
JB
3566 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3567 Make loading cc-mode silent.
b8d552c2 3568
f2b7d123
DC
35692014-02-02 Daniel Colascione <dancol@dancol.org>
3570
35e951cd
JB
3571 * comint.el (comint-prompt-read-only): Change doc to suggest
3572 remap keybinding.
f2b7d123 3573
4472a196
GM
35742014-02-02 Glenn Morris <rgm@gnu.org>
3575
3576 * register.el (register-read-with-preview, point-to-register)
3577 (window-configuration-to-register, frame-configuration-to-register)
3578 (jump-to-register, number-to-register, view-register, insert-register)
3579 (copy-to-register, append-to-register, prepend-to-register)
3580 (copy-rectangle-to-register): Doc fixes.
3581
70e5a261
SM
35822014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3585 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3586 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3587 * help-fns.el (describe-function-1): Use it.
3588
7c324762
GM
35892014-02-02 Glenn Morris <rgm@gnu.org>
3590
3591 * register.el (register-preview-default): New function,
3592 split from register-preview.
3593 (register-preview-function): Rename from register-preview-functions,
3594 make it not a hook.
3595 (register-preview): Use register-preview-function.
3596 (register-read-with-preview): Error on non-character event. (Bug#16595)
3597
a09beb3d
DG
35982014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3599
3600 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3601 `:' before binary operators (bug#16609). Don't check for `:'
3602 before `[' and `(', or their syntax status. A percent literal
3603 can't end with either.
68e004e0
DG
3604 (ruby-font-lock-keywords): For built-ins that require arguments,
3605 check that they're followed by something that looks like argument
3606 (bug#16610).
a09beb3d 3607
ed4d2875
LI
36082014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3609
3610 * subr.el (butlast): Document what an omitted N means (bug#13437).
3611 (nbutlast): Ditto.
3612
dba6e3ec
LI
36132014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3614
3615 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3616 depth shallower (bug#16587).
cc477daa
LI
3617 (shr-tag-svg): Respect `shr-inhibit-images'.
3618 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3619
e2a67bd0
DG
36202014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3621
3622 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3623 (ruby-smie-grammar): Make "." right-associative. Make its priority
3624 lower than the ternary and all binary operators.
3625 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3626 parent, or the first "." parent at indentation.
3627 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3628 (Bug#16593)
3629
bd21bf41
JL
36302014-01-31 Juri Linkov <juri@jurta.org>
3631
3632 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3633 from `make-hash-table'.
3634
3635 * textmodes/ispell.el (ispell-init-process): Change message format
3636 to be consistent with other messages.
3637
b7e615b9
GM
36382014-01-31 Glenn Morris <rgm@gnu.org>
3639
a69ecd19
GM
3640 * delsel.el (delete-selection-mode): Doc fix.
3641
9997d7e3
GM
3642 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3643 (trace-function-background): Doc fixes.
3644
fbb764b8
GM
3645 * ido.el (ido-use-virtual-buffers): Doc fix.
3646 Reset :version, since the default value has not changed.
3647
da942af1
GM
3648 * register.el (register-preview-delay, register-read-with-preview):
3649 Doc fixes.
3650
b7e615b9
GM
3651 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3652 do not mess with mail-buffer position (fixes 2009-11-03 change).
3653 * progmodes/cc-mode.el (c-submit-bug-report):
3654 Check auto-fill-mode is bound. (Bug#16592)
3655
0a25002d
DH
36562014-01-31 Darren Hoo <darren.hoo@gmail.com>
3657
3658 * startup.el (fancy-splash-image-file): New function,
3659 split from fancy-splash-head.
3660 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3661 so that we are both using the same image. (Bug#16574)
3662
ad78f432
GM
36632014-01-30 Glenn Morris <rgm@gnu.org>
3664
6bbc0c84
GM
3665 * simple.el (eval-expression): Doc fix.
3666
ad78f432
GM
3667 * hexl.el (hexl-mode-hook):
3668 * ielm.el (ielm-mode-hook):
3669 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3670 (lisp-interaction-mode-hook):
20f39add 3671 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3672 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3673
7b2f049c
SM
36742014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3677 is a symbol (bug#16584).
3678
0c633f13
GM
36792014-01-30 Glenn Morris <rgm@gnu.org>
3680
3681 * help.el (help-for-help-internal): Add "P" to text.
3682
5e61c1ef
GM
36832014-01-29 Glenn Morris <rgm@gnu.org>
3684
3685 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3686
1dcb169c
MR
36872014-01-28 Martin Rudalics <rudalics@gmx.at>
3688
3689 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3690 height constraints.
3691
a9128931
LL
36922014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3693
3694 * progmodes/hideif.el: Extend to full CPP expression syntax.
3695 (hif-token-alist): Add missing tokens.
3696 (hif-token-regexp): Add support for float/octal/hex immediates.
3697 (hif-string-literal-regexp): New const.
3698 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3699 (hif-exprlist): New function.
3700 (hif-parse-if-exp): Use it.
3701 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3702 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3703 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3704 (hif-logxor, hif-comma): New functions.
3705
a22359a7
GM
37062014-01-28 Glenn Morris <rgm@gnu.org>
3707
793ffe81
GM
3708 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3709
e3bd7eed
GM
3710 * indent.el (tab-stop-list): Doc fix. Add :version.
3711
a22359a7
GM
3712 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3713 (cvs-append-to-ignore): Add compatibility alias.
3714
52695556 37152014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3716
bac524e0
GM
3717 * dired.el (dired-hide-details-mode): Don't autoload it,
3718 since it cannot be used outside Dired buffers anyway.
3719
52695556 3720 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3721
52695556
GM
3722 * dired.el (dired-hide-details-hide-symlink-targets)
3723 (dired-hide-details-hide-information-lines)
3724 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3725
3726 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3727 * strokes.el (strokes-file): Doc fix. Bump :version.
3728 (strokes-help): Doc fix.
3729 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3730 * emulation/viper.el (viper): Doc fix for custom group.
3731 (top-level): Remove oh-so-no-longer-relevant text about vip.
3732 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3733
3734 * ido.el (ido-save-directory-list-file):
3735 * saveplace.el (save-place-file):
3736 * calendar/timeclock.el (timeclock-file):
3737 * net/quickurl.el (quickurl-url-file):
3738 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3739 * progmodes/idlwave.el (idlwave-config-directory):
3740 * textmodes/remember.el (remember-data-file):
3741 Bump :version.
3742
169d6004
GM
37432014-01-26 Glenn Morris <rgm@gnu.org>
3744
de6a923b
GM
3745 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3746 Doc fix. Make obsolete.
3747 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3748
169d6004
GM
3749 * sort.el (delete-duplicate-lines): Doc fix.
3750
ed85dee6
RS
37512014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3752
3753 * progmodes/ada-mode.el (ada):
3754 * woman.el (woman): Link to info manual and Commentary section.
3755
3756 * progmodes/flymake.el (flymake):
3757 * nxml/nxml-mode.el (nxml):
3758 * net/eww.el (eww):
3759 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3760 * htmlfontify.el (htmlfontify):
3761 * ses.el (ses):
3762 * epa.el (epa):
3763 * ido.el (ido): Link to info manual.
3764
e0c67e1d
LL
37652014-01-25 Leo Liu <sdl.web@gmail.com>
3766
3767 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3768
35408b1a
AS
37692014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3770
3771 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3772 (bug#16537).
3773
76c3fa95
JB
37742014-01-24 Juanma Barranquero <lekktu@gmail.com>
3775
f77c7a99
JB
3776 * net/eww.el (eww-download-callback):
3777 Fix reference to eww-download-directory.
3778
76c3fa95
JB
3779 * emacs-lisp/bytecomp.el (byte-compile-file):
3780 Remove unused local variable `file-name'.
3781
1e548e40
GM
37822014-01-24 Glenn Morris <rgm@gnu.org>
3783
03f3b318
GM
3784 * woman.el (woman-default-faces, woman-monochrome-faces):
3785 Fix obsolescence specification.
3786
1e548e40
GM
3787 * subr.el (with-demoted-errors): Doc fix.
3788
d4f0427b
SM
37892014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3792 (cl--macroexp-fboundp): New function.
3793 (cl--make-type-test): Use it.
3794
1670e27f
GM
37952014-01-23 Glenn Morris <rgm@gnu.org>
3796
3797 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3798 * simple.el (eval-expression): Doc fixes.
3799
80efa207
GM
38002014-01-22 Glenn Morris <rgm@gnu.org>
3801
3802 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3803
29afcbab
SM
38042014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/package.el: Write files silently.
3807 (package-autoload-ensure-default-file, package--write-file-no-coding)
3808 (package-generate-description-file, package--download-one-archive)
3809 (package-install-from-archive): Tell `write-region' to stay quiet.
3810 (package-menu-mode, package-menu--print-info): Omit the Archive column
3811 if there's only one archive.
3812 (package-all-keywords, package--has-keyword-p): Remove dead code.
3813
2a5bce4f
GM
38142014-01-22 Glenn Morris <rgm@gnu.org>
3815
edace89f
GM
3816 * version.el (emacs-bzr-version-bzr): Fix typo.
3817
2a5bce4f
GM
3818 * version.el (emacs-repository-get-version):
3819 Check either .bzr or .git, but not both.
3820 Make the git case actually use the DIR argument, and return nil
3821 rather than the empty string.
983664c0 3822 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3823
6cb4da45
MR
38242014-01-22 Martin Rudalics <rudalics@gmx.at>
3825
3826 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3827 * window.el (window-total-size, window-size): New argument ROUND.
3828 (window--min-delta-1, window-min-delta, window--max-delta-1):
3829 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3830 columns a window can shrink (Bug#16430).
3831 (fit-window-to-buffer): Simplify code.
3832 * term.el (term-window-width): Call window-body-width again.
3833
cc0f2ece
GM
38342014-01-22 Glenn Morris <rgm@gnu.org>
3835
7b997b14
GM
3836 * image.el (image-format-suffixes): Doc fix.
3837
44e76f9d
GM
3838 * international/quail.el (quail-define-package): Doc fix.
3839
35e951cd 3840 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3841 (authors-renamed-files-alist): Additions.
7bfc1caa 3842
85a5f61f
GM
3843 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3844 reverts 2014-01-09 change. (Bug#16422)
3845
cc0f2ece
GM
3846 * calc/calc-embed.el (thing-at-point-looking-at):
3847 * emacs-lisp/map-ynp.el (x-popup-dialog):
3848 * obsolete/lmenu.el (x-popup-dialog):
3849 * emacs-lisp/package.el (url-recreate-url):
3850 * mail/mailclient.el (clipboard-kill-ring-save):
3851 * subr.el (x-popup-dialog): Update declaration.
3852 * mail/rmail.el (rmail-mime-message-p):
3853 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3854
00d2a6bb
DC
38552014-01-21 Daniel Colascione <dancol@dancol.org>
3856
3857 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3858 Correctly detect when we're inside an arithmetic expansion form
3859 containing nested parenthesis.
c295fc18 3860 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3861 to detect cases where we shouldn't expand "<<" to a heredoc
3862 skeleton.
3863
dd9d2e9d
SM
38642014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3867 (eldoc--message-command-p): New function.
3868 (eldoc-display-message-p): Use it.
3869 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3870 message is not automatically erased for us.
3871 (eldoc-print-current-symbol-info): Erase previous message, if any.
3872
e7d807ca
TH
38732014-01-21 Tassilo Horn <tsdh@gnu.org>
3874
4ff0a0e5
TH
3875 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3876 specify it's an interactive function.
3877
dd9d2e9d
SM
3878 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3879 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3880 citations with optional arguments.
3881
87503791
LL
38822014-01-21 Leo Liu <sdl.web@gmail.com>
3883
3884 * simple.el (read--expression): Don't enable eldoc-mode.
3885
6cc750ee
SM
38862014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * simple.el (move-beginning-of-line): Make sure we don't move forward
3889 (bug#16497).
3890
71f16bda
JL
38912014-01-20 Juri Linkov <juri@jurta.org>
3892
3893 * saveplace.el (toggle-save-place, save-place-to-alist)
3894 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3895 'dired-mode) before checking for dired-directory. (Bug#16477)
3896
3c5a4839
JL
38972014-01-20 Juri Linkov <juri@jurta.org>
3898
3899 * indent.el (indent-line-to): Use backward-to-indentation
3900 instead of back-to-indentation. (Bug#16461)
3901
f952002e
PE
39022014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3903
3904 Revert some of the CANNOT_DUMP fix (Bug#16494).
3905 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3906 but fixing this can wait until after the next release.
3907 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3908
93675500
MA
39092014-01-19 Michael Albinus <michael.albinus@gmx.de>
3910
3911 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3912 Use `password-word-equivalents'.
3913 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3914 to t. (Bug#5664, Bug#13124)
3915
e3af763f
AM
39162014-01-19 Alan Mackenzie <acm@muc.de>
3917
3918 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3919 points.
3920 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3921 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3922 * progmodes/cc-mode.el (c-before-change, c-after-change)
3923 (c-font-lock-fontify-region): Bind it here.
3924
4ff6d92d
MR
39252014-01-19 Martin Rudalics <rudalics@gmx.at>
3926
3927 * term.el (term-window-width): Call window-text-width instead of
3928 window-width (Bug#16470).
3929
9a685cf6
PE
39302014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3931
3932 * simple.el (password-word-equivalents): Remove duplicates.
3933 Sort, to make this easier next time.
3934 Downcase. Omit ": " after "jelszó".
3935
5aa78c2d
JD
39362014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3937
3938 * term/common-win.el (saved-region-selection): Defvar it.
3939 (x-select-text): Set saved-region-selection (Bug#16382).
3940
cabb250c
GM
39412014-01-18 Glenn Morris <rgm@gnu.org>
3942
3943 * emacs-lisp/authors.el (authors-aliases)
3944 (authors-renamed-files-alist): Add some entries.
3945
a1340440
MA
39462014-01-17 Michael Albinus <michael.albinus@gmx.de>
3947
93675500
MA
3948 * net/tramp.el (tramp-password-prompt-regexp):
3949 Use `password-word-equivalents' if available.
a1340440
MA
3950 (tramp-action-password, tramp-process-one-action)
3951 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3952
681ce5d2
CY
39532014-01-17 Chong Yidong <cyd@gnu.org>
3954
3955 * simple.el (password-word-equivalents): New defcustom.
3956 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3957 to 24.4.
3958 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3959 to t. (Bug#13124)
3960
fb3d479c
DG
39612014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3962
3963 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3964 (ruby-align-to-stmt-keywords): Change the default value.
3965 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3966 choices.
3967 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3968 keywords, check against the value of `ruby-alignable-keywords'
3969 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3970
0d613483
GM
39712014-01-17 Glenn Morris <rgm@gnu.org>
3972
fc23fe2d
GM
3973 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3974
0d613483 3975 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3976 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3977 (authors-ignored-files): Add some entries, remove others.
3978 (authors-ambiguous-files, authors-valid-file-names):
3979 Add some entries.
3980 (authors-renamed-files-alist): Add, remove, and adjust entries.
3981 (authors-renamed-files-regexps): Add some entries.
3982 Remove some very broad ones. Make some entries `lax'.
3983 (authors-lax-changelogs): New constant.
3984 (authors-disambiguate-file-name): Treat top-level specially.
3985 (authors-lax-changelog-p): New function.
3986 (authors-canonical-file-name): Check file as written against
3987 authors-valid-file-names. Do not special-case etc/.
3988 Handle `lax' logs and authors-renamed-files-regexps elements.
3989
2dbf4ffd
DG
39902014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3991
3992 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3993 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3994 callers.
2dbf4ffd 3995
87b2a7f2
SM
39962014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3999 Assume we're already in the proper buffer.
4000 Inspired by Anders Lindgren <andlind@gmail.com>.
4001 (follow-post-command-hook): Call it from the right buffer.
4002 (follow-comint-scroll-to-bottom): Adjust call.
4003 (follow-all-followers): Use get-buffer-window-list.
4004
93acfb0e
DC
40052014-01-15 Daniel Colascione <dancol@dancol.org>
4006
4007 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4008 `buffer-file-name' in interactive-form so that we don't leave
4009 pathless file names in `file-name-history'.
4010
ccc6b208
JL
40112014-01-15 Juri Linkov <juri@jurta.org>
4012
4013 * indent.el (indent-rigidly): Set deactivate-mark to nil
4014 in transient indentation mode. (Bug#16438)
4015
5c92e00d
DG
40162014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4017
4018 * emacs-lisp/package.el (package-desc-keywords): New function
4019 (Bug#16222).
4020 (describe-package-1, package-all-keywords)
4021 (package--has-keyword-p): Use it.
4022
dac69660
NR
40232014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4024
4025 * simple.el (define-alternatives): When creating the
4026 COMMAND-alternatives variable, assign COMMAND as its definition
4027 name so that `describe-variable' can relocate it.
4028
8b63edf8
ML
40292014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4030
4031 * font-lock.el (font-lock-keywords): Fix typo in docstring
4032 (bug#16307).
4033
c6a0b8eb
AM
40342014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4035
4036 * ispell.el (ispell-region): Reset `in-comment' for new line
4037 instead of wrongly reset `add-coment' (bug#13577).
4038
02bf443d
DU
40392014-01-14 Daiki Ueno <ueno@gnu.org>
4040
4041 * epa-file.el (epa-file-write-region): Encode the region according
4042 to `buffer-file-format'. Problem reported at:
4043 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4044
fd7fde15
SM
40452014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4048 so it applies in the right buffer (bug#16410).
4049
c176054f
DC
40502014-01-13 Daniel Colascione <dancol@dancol.org>
4051
4052 * textmodes/rst.el (rst-define-key): Provide deprecated
4053 keybindings through named functions instead of anonymous ones so
4054 that "??" doesn't appear in describe-mode output.
4055
e3f33e5d
BG
40562014-01-13 Bastien Guerry <bzg@gnu.org>
4057
4058 * simple.el (define-alternatives): Call the selected command
4059 interactively. When setting `COMMAND--implementation' for the
4060 first time, tell the user how to chose another implementation.
4061 Enhance the docstring.
4062
c055d654
SM
40632014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4066 (log-edit--match-first-line): New function.
4067 (log-edit-font-lock-keywords): Use it.
4068 (log-edit-mode): Make jit-lock-defer-multiline work.
4069
d791cc3b
BG
40702014-01-13 Bastien Guerry <bzg@gnu.org>
4071
4072 * rect.el (rectangle-mark-mode): When the region is not active,
4073 display a message saying that the mark as been set and that
4074 rectangle mode is in use.
4075 (rectangle--highlight-for-redisplay): Only put an overlay with a
4076 visible vertical bar when (display-graphic-p) is non-nil.
4077 This partially fixes Bug#16403.
4078
3c0c4562
JL
40792014-01-13 Juri Linkov <juri@jurta.org>
4080
4081 * info.el (Info-find-file): Go to DIR before displaying the error
4082 about a nonexistent file if no previous Info file is visited.
4083 Use `user-error' instead of `error' for "Info file %s does not exist".
4084 (Info-find-node-2): In case of a nonexistent node in unwind forms
4085 go to the Top node if there is no previous node to revert to.
4086 (Bug#16405)
4087
25a700d0
MR
40882014-01-13 Martin Rudalics <rudalics@gmx.at>
4089
4090 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
4091 * window.el (fit-frame-to-buffer): Fix doc-string.
4092 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
4093 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4094 when avoiding that frame goes partially off-screen.
4095 (fit-window-to-buffer): Respect window-min-height/-width
4096 (Bug#14096).
4097
6ae948d8
SM
40982014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4101 after an empty line.
4102
6137cb82
SM
41032014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * net/shr.el (shr-render-region): Autoload.
4106
e6344e17
XF
41072014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4108
4109 * net/eww.el (eww-download-directory): Rename from
4110 `eww-download-path' (Bug#16419).
4111
3b922c70
LL
41122014-01-12 Leo Liu <sdl.web@gmail.com>
4113
4114 * dired-x.el (dired-mode-map): Fix last change.
4115
4116 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4117
4fa51741
PE
41182014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4119
4120 Spelling fixes.
4121 * emacs-lisp/generic.el (generic--normalize-comments):
4122 Rename from generic--normalise-comments. All uses changed.
35e951cd 4123 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
4124 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4125 (bubbles--neighborhood-available)
4126 (bubbles--update-neighborhood-score):
4127 Rename from names with 'neighbourhood'. All uses changed.
4128
9b335362
LL
41292014-01-12 Leo Liu <sdl.web@gmail.com>
4130
4131 Re-implement the feature of showing eldoc info after editing.
4132 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4133 (eldoc-edit-message-commands): New function.
4134 (eldoc-print-after-edit): New variable.
4135 (eldoc-pre-command-refresh-echo-area): Emit message only by
4136 eldoc-message-commands.
4137 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4138 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 4139 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 4140 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 4141
e2a095b1
GM
41422014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4143 Eric S. Raymond <esr@thyrsus.com>
9685190b 4144
841a6d0c 4145 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 4146 function works correctly in either a Bazaar or Git repo.
0abf4134 4147
e2a095b1
GM
41482014-01-11 Eric S. Raymond <esr@thyrsus.com>
4149
6137cb82
SM
4150 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4151 Goes with removal of the joke manpages from /etc.
9685190b 4152
c295fc18 41532014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 4154
6137cb82
SM
4155 * mail/rmail.el (rmail-get-coding-system):
4156 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 4157
d2f16e93
GM
41582014-01-10 Glenn Morris <rgm@gnu.org>
4159
4160 * emacs-lisp/authors.el (authors-fixed-entries):
4161 Update for files that no longer exist.
4162
7e03bb32
ER
41632014-01-10 Eric S. Raymond <esr@thyrsus.com>
4164
4165 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 4166 24.3 (Tested).
7e03bb32 4167
dd806710
BB
41682014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4169
4170 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4171 and Podfile.
4172
ed6ec139
EZ
41732014-01-10 Eli Zaretskii <eliz@gnu.org>
4174
4175 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4176
cc33cac9
CY
41772014-01-10 Chong Yidong <cyd@gnu.org>
4178
6137cb82 4179 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 4180
d9d836b5
AL
41812014-01-10 Anders Lindgren <andlind@gmail.com>
4182
4183 * follow.el (follow-cache-command-list): Include right-char and
4184 left-char.
4185
06827ec8
PE
41862014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4187
4188 Spelling fixes.
4189 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4190 * woman.el (woman-mark-horizontal-position):
4191 Rename from woman-mark-horizonal-position. Use changed.
4192
458dbf5e
GM
41932014-01-10 Glenn Morris <rgm@gnu.org>
4194
dad6fae7
GM
4195 * info.el (info-initialize): If running uninstalled, ensure our
4196 own info files are always found first, even if INFOPATH is set.
4197
458dbf5e
GM
4198 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4199
05e0afce
DE
42002014-01-09 David Engster <deng@randomsample.de>
4201
4202 * emacs-lisp/eieio-custom.el:
4203 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4204 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4205 * emacs-lisp/eieio.el: Regenerate autoloads.
4206
f29778b3
ER
42072014-01-09 Eric S. Raymond <esr@thyrsus.com>
4208
4209 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 4210 following renames. (Bug#8756)
f29778b3 4211
684d44ef
SM
42122014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4215 (bug#16382).
4216 (activate-mark): Add `no-tmm' argument.
4217 (set-mark, push-mark-command): Use it instead of running
4218 activate-mark-hook by hand.
4219
9475054f
ER
42202014-01-08 Eric S. Raymond <esr@thyrsus.com>
4221
4222 In preparation for the move to git, sanitize out some
4223 Bazaar-specific names.
4224
38942b9c
GM
4225 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4226
9475054f 4227 * version.el (emacs-bzr-version): Name changed to
689c9ca5 4228 emacs-repository-version. Obsolete-variable alias made.
9475054f 4229 * loadup.el: Follow through on this name change.
a12bf61e 4230 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
4231 assumption about the version control system in use.
4232
0f918d96 42332014-01-08 David Engster <deng@randomsample.de>
abb82152 4234
684d44ef
SM
4235 * help-fns.el (help-fns-describe-function-functions):
4236 New variable to call functions for augmenting help buffers.
abb82152
DE
4237 (describe-function-1): Remove explicit calls to
4238 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
4239 `help-fns--obsolete'. Put them in above new variable instead, and
4240 call them through `run-hook-with-args'.
4241 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4242 `eieio-describe-class'. Not meant for interactive use anymore,
4243 but to augment existing help buffers. Remove optional second
684d44ef
SM
4244 argument. Create proper button for file location.
4245 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
4246 possible.
4247 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4248 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
4249 (describe-method, describe-generic, eieio-describe-method):
4250 Remove aliases.
0f918d96
DE
4251 (eieio-help-constructor, eieio-help-generic): Rename from
4252 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4253 Rewrite to use `insert' in the current buffer and use proper help
4254 buttons.
4255 (eieio-help-find-method-definition)
4256 (eieio-help-find-class-definition): Also accept symbols as
4257 arguments.
4258 (eieio-help-mode-augmentation-maybee): Remove.
4259 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
4260 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4261 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 4262
136b74c5
PE
42632014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4264
4265 Spelling fixes.
4266 * language/china-util.el (hz-ascii-designation):
4267 Rename from hz-ascii-designnation.
4268 (hz-ascii-designation): Rename from hz-ascii-designnation.
4269 All uses changed.
4270
ec6c7de2
SM
42712014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4274 package-alist.
4275
d6262c7c
BG
42762014-01-08 Bastien Guerry <bzg@gnu.org>
4277
4b9e6087
GM
4278 * emacs-lisp/package.el (package-delete):
4279 Correctly delete the package from package-alist.
d6262c7c 4280
0a3eec32
DU
42812014-01-08 Daiki Ueno <ueno@gnu.org>
4282
4283 * emacs-lisp/package.el (url-recreate-url): Declare.
4284 (url-http-target-url): Declare.
4b9e6087 4285 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
4286 (package--check-signature): Don't re-signal errors from
4287 package--with-work-buffer. Suggested by Stefan Monnier.
4288
68f0bb97
BG
42892014-01-07 Bastien Guerry <bzg@gnu.org>
4290
4291 * minibuffer.el (completion--try-word-completion): When both a
4292 hyphen and a space are possible candidates for the character
4293 following a word, display both candidates. (Bug#15980)
4294
7e1899d7
MR
42952014-01-07 Martin Rudalics <rudalics@gmx.at>
4296
4297 * window.el (balance-windows-2): While rounding don't give a
c295fc18 4298 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 4299
0030ec15
GM
43002014-01-07 Glenn Morris <rgm@gnu.org>
4301
4302 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4303 (menu-bar-help-menu): Use view-external-packages instead.
4304
2b6b4f20
BG
43052014-01-07 Bastien Guerry <bzg@gnu.org>
4306
4307 * emacs-lisp/package.el (package-delete): Also delete the package
4308 name from `package-alist', not its description only.
4309
e9be0a13
GM
43102014-01-07 Glenn Morris <rgm@gnu.org>
4311
4312 * help.el (view-external-packages):
4313 * menu-bar.el (menu-bar-help-extra-packages):
4314 Visit efaq.info rather than etc/MORE.STUFF.
4315
e4f74da9
JL
43162014-01-07 Juri Linkov <juri@jurta.org>
4317
4318 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4319 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4320
4321 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4322 that shadows RET. (Bug#16342)
4323
de7ce2d1
CY
43242014-01-07 Chong Yidong <cyd@gnu.org>
4325
4326 * isearch.el (isearch-yank-char, isearch-yank-word)
4327 (isearch-yank-line): Doc fix.
4328
6bdd9204
SM
43292014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4332 * emacs-lisp/elint.el (elint-find-builtins):
4333 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4334 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4335 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4336 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4337 * apropos.el (apropos-safe-documentation):
4338 * subr.el (symbol-file): Remove redundant fboundp.
4339 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4340
daccca97
BG
43412014-01-06 Bastien Guerry <bzg@gnu.org>
4342
4343 * hl-line.el (global-hl-line-overlay): Make a local variable.
4344 (global-hl-line-overlays): New variable to store all overlays.
4345 (global-hl-line-mode): Don't delete overlays from the current
4346 buffer when `global-hl-line-sticky-flag' is non-nil.
4347 (global-hl-line-highlight): Add new overlays to
4348 `global-hl-line-overlays'.
4349 (global-hl-line-unhighlight-all): New function to delete all
4350 overlays when turning off `global-hl-line-mode'.
4351 This fixes Bug#16183.
4352
ec00f20f
SM
43532014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4354
4355 * subr.el (set-transient-map): Fix nested case and docstring.
4356
a0031f97
TH
43572014-01-06 Tassilo Horn <tsdh@gnu.org>
4358
4359 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4360 `Texinfo' entry.
4361
bf6a77f3
DC
43622014-01-06 Daniel Colascione <dancol@dancol.org>
4363
4364 Fix defun navigation in vc log view.
4365
4366 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4367 like `beginning-of-defun'.
c295fc18 4368 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
4369 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4370 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 4371 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 4372 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 4373
d5081c1e
PE
43742014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4375
4376 Spelling fixes.
4377 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4378 * emacs-lisp/debug.el (cancel-debug-on-entry):
4379 * epg.el (epg-error-to-string):
4380 * files.el (recover-file):
4381 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4382 * mail/emacsbug.el (report-emacs-bug-hook):
4383 * mail/sendmail.el (mail-recover):
4384 * ses.el (ses-yank-resize):
4385 * term/ns-win.el (ns-print-buffer):
4386 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4387 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4388 All uses changed.
4389 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4390
53f6b148
LL
43912014-01-06 Leo Liu <sdl.web@gmail.com>
4392
4393 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 4394 to avoid shadowing global key. (Bug#16354)
53f6b148 4395
b82ace2f
DC
43962014-01-06 Daniel Colascione <dancol@dancol.org>
4397
4398 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4399 rst-mode.
4400
3669b636
MR
44012014-01-05 Martin Rudalics <rudalics@gmx.at>
4402
4403 * window.el (balance-windows): Add mising t to fix Bug#16351.
4404
1a29adc2
LMI
44052014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4406
4407 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4408 (bug#16285).
3d95a0f4
LMI
4409 (shr-insert): If we have a word that's longer than `shr-width',
4410 break after it anyway. Otherwise we'll do no breaking once we get
4411 such a long word.
1a29adc2 4412
f4018140
KN
44132014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4414
3fcfc4ee 4415 * net/eww.el (eww): Support single/double quote for search.
c295fc18 4416 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
4417 (eww-history-quit): Delete and use quit-window.
4418 (eww-history-kill): Delete, because it doesn't work well and
4419 not necessary.
4420 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 4421
4e619754
PE
44222014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4423
73dbf960
PE
4424 Fix misspelling of 'chinese' in rx (Bug#16237).
4425 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4426 chinese-two-byte.
4427
4e619754
PE
4428 Change subword regexps back to vars (Bug#16296).
4429 * progmodes/subword.el (subword-forward-regexp)
4430 (subword-backward-regexp): Change these back to variables.
4431
e18b70fc
SM
44322014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4435 syntax-begin-function (bug#16247).
4436
0d53f628
CY
44372014-01-03 Chong Yidong <cyd@gnu.org>
4438
4439 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4440 (advice--docstring): Delete variable.
4441 (advice--make-1): Leave the docstring empty.
4442 (advice-add): Use function-documentation for advised docstring.
4443
4444 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4445 Ignore function-documentation property when getting documentation.
4446 (ad-activate-advised-definition): Use function-documentation
4447 generate the docstring.
4448 (ad-make-advised-definition): Don't call
4449 ad-make-advised-definition-docstring.
4450 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4451 Delete functions.
4452
4453 * progmodes/sql.el (sql-help): Use function-documentation instead
4454 of dynamic-docstring-function property. No need to autoload now.
4455 (sql--help-docstring): New variable.
4456 (sql--make-help-docstring): Use it.
4457
6f547583
SM
44582014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4459
6ef9aed8
SM
4460 * ielm.el (ielm-tab): Retarget.
4461 (ielm-map): Use ielm-tab for tab.
4462 (ielm-complete-filename): Use comint-filename-completion.
4463 (ielm-complete-symbol): Remove.
4464 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4465 remove ielm-tab from completion-at-point-functions (bug#16224).
4466
6f547583
SM
4467 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4468 Beware signals raised by predicates (bug#16201).
4469
a574edbe
RS
44702014-01-02 Richard Stallman <rms@gnu.org>
4471
e831604d
RS
4472 * dired-aux.el (dired-do-print): Handle printer-name.
4473
6f547583
SM
4474 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4475 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
4476 (rmail-epa-decrypt): Turn off mime processing.
4477
3fcfc4ee 4478 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
4479 Add parens in message-id.
4480
4481 * mail/rmail.el (rmail-get-coding-function): Variable.
4482 (rmail-get-coding-system): Use it.
4483
04311a16
KH
44842013-12-31 Eli Zaretskii <eliz@gnu.org>
4485
4486 * international/mule-conf.el: Unify the charset indian-is13194.
4487 (indian-is13194): Specify unify-map.
4488
c8d89778
LL
44892013-12-31 Leo Liu <sdl.web@gmail.com>
4490
4491 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4492
e63ace37
DC
44932013-12-30 Daniel Colascione <dancol@dancol.org>
4494
9e0bf19a
DC
4495 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4496 of printing a useless when we resume from sleep.
4497
e63ace37 4498 * progmodes/sh-script.el
c295fc18 4499 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
4500 in indentation code. (Bug#16233)
4501
e9d6c46a
JT
45022013-12-28 João Távora <joaotavora@gmail.com>
4503
6f547583
SM
4504 * elec-pair.el (electric-pair-post-self-insert-function):
4505 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 4506
bf7bea5d
EZ
45072013-12-28 Eli Zaretskii <eliz@gnu.org>
4508
4509 * frame.el (window-system-for-display): Don't allow to create a
4510 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4511
8449dd1f
GM
45122013-12-28 Glenn Morris <rgm@gnu.org>
4513
9c5a5c77
GM
4514 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4515 Update callers.
4516
4517 * apropos.el (apropos-match-face):
4518 * calculator.el (calculator-displayer):
4519 * dabbrev.el (dabbrev-search-these-buffers-only):
4520 * face-remap.el (buffer-face-mode-face):
4521 * simple.el (yank-handled-properties):
4522 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4523 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4524 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4525 (hashcash-double-spend-database):
4526 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4527 (ruby-deep-indent-paren-style):
4528 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4529 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4530 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4531 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4532 Specify custom types.
4533
bb098075
GM
4534 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4535 * bookmark.el (bookmark-bmenu-use-header-line):
4536 * doc-view.el (doc-view-scale-internally):
4537 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4538 * register.el (register-preview-delay):
4539 * net/shr.el (shr-bullet):
4540 * progmodes/cfengine.el (cfengine-cf-promises)
4541 (cfengine-parameters-indent):
4542 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4543 * textmodes/reftex-vars.el (reftex-label-regexps):
4544 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4545
9c61f806
GM
4546 * net/tls.el (tls-certtool-program): Fix default value.
4547
4548 * desktop.el (desktop-restore-in-current-display):
4549 * newcomment.el (comment-empty-lines):
4550 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4551 (idlwave-pad-keyword):
4552 * progmodes/tcl.el (tcl-tab-always-indent):
4553 * textmodes/reftex-vars.el (reftex-index-default-tag):
4554 * elec-pair.el (electric-pair-skip-whitespace):
4555 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4556
8449dd1f
GM
4557 * emacs-lisp/authors.el (authors-ignored-files)
4558 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4559
fdadeb49
JC
45602013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4561
72140a0f
GM
4562 * shell.el (shell-dynamic-complete-command): Doc fix.
4563 (shell--command-completion-data): Shell completion now matches
4564 executable filenames from the current buffer's directory, on
da5ecfa9 4565 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 4566
e572a7d8
LI
45672013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4568
4569 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4570
7514d3f8
SM
45712013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4572
a4151f3b
SM
4573 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4574 (bug#16251).
4575
7514d3f8
SM
4576 * electric.el: Move all electric-pair-* to elec-pair.el.
4577 * elec-pair.el: New file, split from electric.el.
4578
ac5758d1
LI
45792013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4580
4581 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4582 indentation level is larger than the width, because that will
4583 infloop.
4584 (shr-insert): Fill repeatedly long texts, so that Japanese is
4585 formatted correctly (bug#16263).
24a6b65e
LI
4586 (shr-find-fill-point): Off by one error in comparison with the
4587 indentation.
ac5758d1 4588
7514d3f8 45892013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
4590
4591 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 4592 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
4593 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4594 if that keeps or improves their balance in buffers.
4595 (electric-pair-delete-adjacent-pairs): Delete the pair when
4596 backspacing over adjacent matched delimiters.
4597 (electric-pair-open-extra-newline): Open extra newline when
4598 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
4599 (electric--sort-post-self-insertion-hook):
4600 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
4601 minor-modes are activated.
4602 * simple.el (newline-and-indent): Call newline with interactive
4603 set to t.
4604 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
4605 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4606 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4607 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
4608 electric-pair-open-newline-between-pairs to nil.
4609
fbcc63a3
FEG
46102013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4611
4612 * progmodes/python.el: Use lexical-binding.
4613 (python-nav-beginning-of-defun): Stop searching ASAP.
4614
ed78d16c
XF
46152013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4616
4617 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4618 Fix interactive spec. Doc fix. (Bug#15754)
4619
38b2c142
KY
46202013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4621
4622 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4623 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4624 Fix edebug spec (bug#16184).
4625
3c856c14
LI
46262013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4627
83fa295c 4628 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4629 (shr-insert): Don't infloop if we can't find a good place to break
4630 the line (bug#16256).
3c856c14 4631
01379221
FEG
46322013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4633
35e951cd 4634 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4635 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4636 python-nav-lisp-forward-sexp-safe.
4637 (python-nav--forward-sexp): New argument SAFE allows switching
4638 forward sexp movement behavior for parens.
4639 (python-nav-forward-sexp): Throw errors on unterminated parens
4640 (Bug#16191).
4641 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4642 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4643 (python-shell-buffer-substring):
4644 Use `python-nav-forward-sexp-safe'.
01379221 4645
99e4926f
LI
46462013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4647
4648 * net/shr.el (shr-find-fill-point): Don't break lines before a
4649 quotation mark.
c6c20584
LI
4650 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4651 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4652 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4653
fec0e828
KN
46542013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4655
4656 * net/eww.el (eww-form-textarea): Use a different face for
4657 textareas than text input since they have different keymaps
4658 (bug#16142).
4659
89c868ad
FEG
46602013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4661
7514d3f8
SM
4662 * progmodes/python.el (python-nav-beginning-of-statement):
4663 Speed up (Bug#15295).
89c868ad 4664
eeef121a
LI
46652013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4666
4667 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4668 the window configuration.
4669
121ea65f
EZ
46702013-12-24 Eli Zaretskii <eliz@gnu.org>
4671
4672 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4673 we run on MS-Windows or MS-DOS.
4674
18cee9ec
MR
46752013-12-24 Martin Rudalics <rudalics@gmx.at>
4676
4677 * window.el (balance-windows-area): Call window-size instead of
4678 window-height and window-width. Bug#16241.
4679
58f2b9a5
LI
46802013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4681
4682 * net/eww.el (eww-bookmark-quit): Remove.
4683 (eww-bookmark-browse): Restore the window configuration when you
4684 choose a bookmark (bug#16144).
4685
d64b6308
DC
46862013-12-24 Daniel Colascione <dancol@dancol.org>
4687
4688 * icomplete.el: Remove redundant :group arguments to `defcustom'
4689 throughout.
4690 (icomplete-show-matches-on-no-input): New customizable variable.
4691 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4692 we have something to show.
7514d3f8 4693 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4694
0da54898
DC
46952013-12-23 Daniel Colascione <dancol@dancol.org>
4696
4697 * icomplete.el: Move `provide' to end of file.
4698
b90aa4f4
TZ
46992013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4700
4701 * net/gnutls.el (gnutls-verify-error): Add version tag.
4702
8cd22a08
CY
47032013-12-23 Chong Yidong <cyd@gnu.org>
4704
4705 * subr.el (set-transient-map): Rename from
4706 set-temporary-overlay-map. Doc fix.
4707
4708 * face-remap.el (text-scale-adjust):
4709 * indent.el (indent-rigidly):
4710 * kmacro.el (kmacro-call-macro):
4711 * minibuffer.el (minibuffer-force-complete):
4712 * repeat.el (repeat):
4713 * simple.el (universal-argument--mode):
4714 * calendar/todo-mode.el (todo-insert-item--next-param):
4715 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4716
7510b021
CY
4717 * indent.el (indent-rigidly): Use substitute-command-keys.
4718
72140a0f 47192013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4720
4721 * net/eww.el (eww-tag-select): Add text-property to jump to next
4722 select field.
e9dc713d 4723 (eww): Add non-supported ftp error.
56890ecd 4724
1f87a56c
DG
47252013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4726
4727 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4728 comments. Handle electric indent after typing `?' and `!'.
4729
dca38cf9
CY
47302013-12-22 Chong Yidong <cyd@gnu.org>
4731
4732 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4733 applicable to a frame, fall back on the defface spec.
4734 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4735
f2351498
DG
47362013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4739 after `{'. We need it after block openers, and it doesn't seem
4740 to hurt after hash openers.
4741
6cddebc1
DG
47422013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4743
4744 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4745 extracted from `ruby-smie-rules'.
4746 (ruby--electric-indent-chars): New variable.
4747 (ruby--electric-indent-p): New function.
4748 (ruby-mode): Use `electric-indent-functions' instead of
4749 `electric-indent-chars'.
4750
65a1da00
DG
47512013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4752
4753 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4754 docstring.
4755 (ruby-smie-rules): Indent plus one level after `=>'.
4756
b51ad4cf
RS
47572013-12-21 Richard Stallman <rms@gnu.org>
4758
4759 * simple.el (newline): Doc fix.
4760
72140a0f 47612013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4762
e9dc713d 4763 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4764 (eww-history-browse, eww-history-quit, eww-history-kill)
4765 (eww-history-mode-map, eww-history-mode): New command and
4766 functions to list browser histories.
e9dc713d
JB
4767 (eww-form-text): Support text form with disabled
4768 and readonly attributes.
4769 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4770
5e1901c1
RS
47712013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4772
4773 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4774 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4775 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4776 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4777 Use `user-error'.
4778 (eww-bookmark-mode-map): Add menu.
4779 (eww-render, eww-mode): Use `setq-local'.
4780 (eww-tool-bar-map): New variable.
4781 (eww-mode): Set `tool-bar-map'.
4782 (eww-view-source): Check for `html-mode' with `fboundp'.
4783
073d5cfd
LMI
47842013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4785
4786 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4787 elements with text inside. Also remove debugging.
4788
41cf3d11
JD
47892013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4790
4791 * cus-start.el (all): Add ns-use-srgb-colorspace.
4792
aac2b673
CY
47932013-12-21 Chong Yidong <cyd@gnu.org>
4794
4795 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4796 undefined. Thus, theme settings for undefined faces do not take
4797 effect until the faces are defined with defface, the same as with
4798 theme variables.
4799
4800 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4801 (face-spec-reset-face): Don't assign extra properties in temacs.
4802 (face-spec-recalc): Apply X resources too.
4803
bacb0e77
CY
48042013-12-21 Chong Yidong <cyd@gnu.org>
4805
4806 * faces.el (face-spec-set):
4807 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4808 * custom.el (defface): Doc fixes (Bug#16203).
4809
77221051
CY
4810 * indent.el (indent-rigidly-map): Add docstring, and move commands
4811 into named functions.
4812 (indent-rigidly-left, indent-rigidly-right)
4813 (indent-rigidly-left-to-tab-stop)
4814 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4815 indentation direction based on bidi direction, and accumulate
4816 sequential commands in a single undo boundary.
4817 (indent-rigidly--pop-undo): New utility function.
4818
e0eb0550
JB
48192013-12-20 Juanma Barranquero <lekktu@gmail.com>
4820
4821 * faces.el (read-face-name): Require crm.el when using crm-separator.
4822
3282bd2e
DC
48232013-12-20 Daniel Colascione <dancol@dancol.org>
4824
4825 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4826 so that we don't reflow comments into the shebang line.
4827
1d42e5b6
JL
48282013-12-20 Juri Linkov <juri@jurta.org>
4829
4830 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4831 a position when `dired-directory' is non-nil. Check integer
4832 positions with `integerp'.
4833 (toggle-save-place, save-places-to-alist): Add check for
4834 `dired-directory'.
4835 (save-place-find-file-hook): Check integer positions with
4836 `integerp'.
4837 (save-place-dired-hook): Use `dired-goto-file' when
4838 `dired-filename' is found in the assoc list. Check integer
4839 positions with `integerp'.
4840 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4841
4842 * dired.el (dired-initial-position-hook): Rename back from
4843 `dired-initial-point-hook'.
4844 (dired-initial-position): Rename `dired-initial-point-hook' to
4845 `dired-initial-position-hook'.
4846 (dired-file-name-at-point): Doc fix. (Bug#15329)
4847
24da7273
JL
48482013-12-20 Juri Linkov <juri@jurta.org>
4849
4850 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4851 (read-regexp-suggestions): New function.
4852 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4853 Use `read-regexp-suggestions'. Add non-empty default to history
4854 for empty input.
4855 (occur-read-regexp-defaults-function): Remove function.
4856 (occur-read-primary-args): Use `regexp-history-last' instead of
4857 `occur-read-regexp-defaults-function'.
4858
4859 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4860 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4861 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4862 `hi-lock-read-regexp-defaults-function'. Doc fix.
4863 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4864 with `find-tag-default-as-symbol-regexp'. Doc fix.
4865 (hi-lock-read-regexp-defaults): Remove function.
4866 (hi-lock-regexp-okay): Add check for null.
4867
4868 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4869 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4870
4871 * subr.el (find-tag-default-as-symbol-regexp): New function.
4872 (find-tag-default-as-regexp): Move symbol regexp formatting to
4873 `find-tag-default-as-symbol-regexp'.
4874
137f57c8
S
48752013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4876
4877 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4878 (Bug#14179)
4879
f3a66082
SB
48802013-12-20 Stephen Berman <stephen.berman@gmx.net>
4881
4882 * calendar/todo-mode.el: New implementation of item insertion
4883 commands and key bindings.
4884 (todo-key-prompt): New face.
4885 (todo-insert-item): New command.
4886 (todo-insert-item--parameters): New defconst, replacing defvar
4887 todo-insertion-commands-args-genlist.
4888 (todo-insert-item--param-key-alist): New defconst, replacing
4889 defvar todo-insertion-commands-arg-key-list.
4890 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4891 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4892 (todo-insert-item--next-param): New functions.
4893 (todo-insert-item--args, todo-insert-item--argleft)
4894 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4895 New variables.
4896 (todo-key-bindings-t): Change binding of "i" from
4897 todo-insertion-map to todo-insert-item.
4898 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4899 (todo-insertion-command-name, todo-insertion-commands-names)
4900 (todo-define-insertion-command, todo-insertion-commands)
4901 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4902
2f99433b
SB
49032013-12-20 Stephen Berman <stephen.berman@gmx.net>
4904
4905 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4906 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4907 eval-when-compile.
4908 (todo-move-category): Allow choosing a non-existing todo file to
4909 move the category to, and create that file.
4910 (todo-default-priority): New user option.
4911 (todo-set-item-priority): Use it.
4912 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4913 (desktop-restore-file-buffer): Declare.
4914 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4915 (todo-modes-set-2): Locally set desktop-save-buffer to
4916 todo-desktop-save-buffer.
4917 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4918 (auto-mode-alist): Add autoload cookie.
4919
131e4695
BB
49202013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4921
4922 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4923 helpers.el was a poor choice of name.
3cbfb935
BB
4924 (string-remove-prefix): New function.
4925 (string-remove-suffix): New function.
131e4695 4926
c44de18d
MR
49272013-12-20 Martin Rudalics <rudalics@gmx.at>
4928
4929 Fix assignment for new window total sizes.
4930 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4931 (window--pixel-to-total-1, window--pixel-to-total):
4932 Fix calculation of new total sizes.
c44de18d 4933
ca65efcc
VS
49342013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4935
4936 * comint.el (comint-output-filter): Fix rear-nonsticky property
4937 placement (Bug#16010).
4938
a9574eb7
CY
49392013-12-20 Chong Yidong <cyd@gnu.org>
4940
4941 * faces.el (read-color): Minor fix for completion function.
4942
b520f210
DG
49432013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4944
e0eb0550
JB
4945 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4946 New option. (Bug#16182)
b520f210
DG
4947 (ruby-smie--indent-to-stmt-p): Use it.
4948 (ruby-smie-rules): Revert the logic in the handling of `when'.
4949 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4950 (ruby-deep-arglist, ruby-deep-indent-paren)
4951 (ruby-deep-indent-paren-style): Update docstrings to note that the
4952 vars don't have any effect with SMIE.
4953
26b75b45
JB
49542013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4955
4956 * calc/calc.el (calc-enter, calc-pop): Use the variable
4957 `calc-context-sensitive-enter'.
4958
cf91cee7
LMI
49592013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4960
4961 * net/shr.el (shr-insert): Protect against infloops in degenerate
4962 tables.
4963
51d971b4
RS
49642013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4965
4966 * progmodes/octave.el (octave): Add link to manual and octave
4967 homepage.
4968 (octave-mode-menu): Link to octave-mode manual.
4969
8c2e462a
LL
49702013-12-20 Leo Liu <sdl.web@gmail.com>
4971
4972 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4973 insertion using skeleton-end-newline. (Bug#16138)
4974
501158bc
JL
49752013-12-20 Juri Linkov <juri@jurta.org>
4976
4977 * replace.el (occur-engine): Use `add-face-text-property'
4978 to add the face property to matches and titles. (Bug#14645)
4979
4980 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4981 the palette of other hi-lock colors.
4982 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4983
50ab1da6
JL
49842013-12-19 Juri Linkov <juri@jurta.org>
4985
4986 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4987 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4988 (minibuffer-history-symbol): Move variable declaration closer to
4989 its usage.
4990
4991 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4992 (Bug#14785)
4993
3d6e95e7
JL
49942013-12-19 Juri Linkov <juri@jurta.org>
4995
4996 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4997 New function.
4998 (log-edit-hook): Add it to :options. (Bug#16170)
4999
b41594fd
JL
50002013-12-19 Juri Linkov <juri@jurta.org>
5001
5002 * simple.el (eval-expression-print-format): Don't check for
5003 command names and the last command. Always display additional
5004 formats of the integer result in the echo area, and insert them
5005 to the current buffer only with a zero prefix arg.
5006 Display character when char-displayable-p is non-nil.
5007 (eval-expression): With a zero prefix arg, set `print-length' and
5008 `print-level' to nil, and insert the integer values from
5009 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5010
5011 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5012 `eval-last-sexp-arg-internal'. Doc fix.
5013 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5014 `eval-last-sexp-print-value'. Doc fix.
5015 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5016 Set `print-length' and `print-level' to nil when arg is zero.
5017 (eval-last-sexp): Doc fix.
5018 (eval-defun-2): Print the integer values from
5019 `eval-expression-print-format' at the end.
5020
5021 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5022 values from `eval-expression-print-format' at the end.
5023
5024 * ielm.el (ielm-eval-input): Print the integer
5025 values from `eval-expression-print-format' at the end.
5026
8f2be364
TZ
50272013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5028
5029 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5030 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5031
2230a6e3
SM
50322013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5035 (hl-line-highlight, global-hl-line-highlight): Use it.
5036 (hl-line-overlay): Use defvar-local.
5037
1269a680
JD
50382013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5039
5040 * term/ns-win.el: Require dnd.
5041 (global-map): Remove drag items.
5042 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
5043 (ns-set-background-at-mouse):
5044 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5045 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5046 New functions.
1269a680 5047
049638ad
GM
50482013-12-19 Glenn Morris <rgm@gnu.org>
5049
5050 * emacs-lisp/ert.el (ert-select-tests):
5051 Fix string/symbol mixup. (Bug#16121)
5052
ce41edb4
DG
50532013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5054
5055 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5056 keywords to their parent.
5057
7e1549c9
DG
50582013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5059
5060 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5061 first arg to be a string (fixed dead code), or an operator symbol.
5062 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5063 operator symbols.
5064 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5065 did nothing. Don't respond to `(:after ".")', it will be called
5066 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5067 change anything. Only return indentation for binary operators
5068 when they are hanging. De-dent opening paren when its parent is
5069 `.', otherwise it looks bad when the dot is not at bol or eol
5070 (bug#16182).
5071
3ee4cd64
JL
50722013-12-19 Juri Linkov <juri@jurta.org>
5073
5074 * replace.el (query-replace-read-args): Split a non-negative arg
5075 and a negative arg into separate elements.
5076 (query-replace, query-replace-regexp, replace-string)
5077 (replace-regexp): Add arg `backward'. Doc fix.
5078 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5079 move point to the beginning of the match.
5080 (replace-search, replace-highlight): Use new arg `backward'
5081 to set the value of `isearch-forward'.
5082 (perform-replace): Add arg `backward' and use it to perform
5083 replacement backward. (Bug#14979)
5084
5085 * isearch.el (isearch-query-replace): Use a negative prefix arg
5086 to call `perform-replace' with a non-nil arg `backward'.
5087
0cda6b7b
JL
50882013-12-18 Juri Linkov <juri@jurta.org>
5089
5090 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5091 to the default list. Move `log-edit-show-files' to the end.
5092 Add more available functions to options.
5093 (log-edit): Move default specific settings to
5094 `log-edit-insert-message-template'. Don't move point.
5095 (log-edit-insert-message-template): New function.
5096 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5097 (Bug#16170)
5098
b216f0a6
JL
50992013-12-18 Juri Linkov <juri@jurta.org>
5100
5101 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5102 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5103
1d1c55dc
LL
51042013-12-18 Leo Liu <sdl.web@gmail.com>
5105
e9dc713d
JB
5106 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5107 (Bug#16186)
1d1c55dc 5108
64e4c76e
EZ
51092013-12-18 Eli Zaretskii <eliz@gnu.org>
5110
5111 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5112 formats for displaying file sizes when the -s switch is given.
5113 Instead, compute a separate format for displaying the size in
5114 blocks, which is displayed in addition to the "regular" size.
5115 When -h is given in addition to -s, produce size in blocks in
5116 human-readable form as well. (Bug#16179)
5117
b2984e39
TH
51182013-12-18 Tassilo Horn <tsdh@gnu.org>
5119
2230a6e3
SM
5120 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5121 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 5122
50ff2e06
CY
51232013-12-18 Chong Yidong <cyd@gnu.org>
5124
0081bc84
CY
5125 * cus-edit.el (custom-magic-alist): Fix "themed" description
5126 (Bug#14348).
5127
a7ee9424
CY
5128 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5129 is non-nil, do not create a new entry in the symbol's theme-value
5130 or theme-face property; update theme-settings only (Bug#14664).
18874304 5131 (custom-available-themes): Doc fix.
a7ee9424 5132
8f942537
CY
5133 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5134 (Bug#15674).
5135
50ff2e06
CY
5136 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5137
83c60f60
KI
51382013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5139
5140 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5141 (Bug#13914).
5142
e0eb0550 51432013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
5144
5145 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5146
1f41ee56
GM
51472013-12-18 Glenn Morris <rgm@gnu.org>
5148
5149 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 5150 * cus-start.el (load-prefer-newer): New option.
1f41ee56 5151
e82134b1
LW
51522013-12-18 Le Wang <l26wang@gmail.com>
5153
2230a6e3
SM
5154 * comint.el (comint-previous-matching-input-from-input):
5155 Retain point (Bug#13404).
e82134b1 5156
33f5d4c1
CY
51572013-12-18 Chong Yidong <cyd@gnu.org>
5158
5159 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5160
ccc9f6dc
GM
51612013-12-18 Glenn Morris <rgm@gnu.org>
5162
5163 * mail/emacsbug.el (report-emacs-bug):
5164 Only mention enable-multibyte-characters if non-standard.
5165
33dd8e95
JL
51662013-12-17 Juri Linkov <juri@jurta.org>
5167
5168 * arc-mode.el (archive-extract-by-file): Check if directory exists
5169 before deletion to not show irrelevant errors if it doesn't exist.
5170
7a409b30
JL
51712013-12-17 Juri Linkov <juri@jurta.org>
5172
5173 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5174 (Bug#14751)
5175
5176 * net/eww.el (browse-web): Add alias to `eww'.
5177 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5178 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5179
5180 * net/browse-url.el (browse-url-browser-function): Move `eww'
5181 closer to similar functions.
5182
5183 * startup.el (fancy-startup-screen, fancy-about-screen):
5184 Set browse-url-browser-function to eww-browse-url locally.
5185 (Bug#14751)
5186
2d6b6005
SM
51872013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * window.el (window--pixel-to-total): Remove unused `mini' var.
5190 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5191 (split-window): Remove unused `new' var.
5192 (window--display-buffer): Remove unused `frame' and `delta' vars.
5193 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5194 and display-width'.
5195
cf2b7efc
MR
51962013-12-17 Martin Rudalics <rudalics@gmx.at>
5197
5198 * dired.el (dired-mark-pop-up):
5199 * register.el (register-preview): Don't bind
5200 split-height-threshold here since it's now done in
5201 display-buffer-below-selected.
5202
ed3af8a7 52032013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5204
5205 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5206 xterm-rgb-convert-to-16bit.
5207 (rxvt-register-default-colors): Standardize with
5208 xterm-register-default-colors (Bug#14078).
5209
76da3455
DK
52102013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5211
5212 * simple.el (kill-region): Pass mark first, then point, so that
5213 kill-append works right (Bug#12819).
5214 (copy-region-as-kill, kill-ring-save): Likewise.
5215
2b84d763
LL
52162013-12-17 Leo Liu <sdl.web@gmail.com>
5217
5218 * net/rcirc.el (rcirc-add-face):
5219 * eshell/em-prompt.el (eshell-emit-prompt):
5220 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5221 (Bug#16167)
5222
e2f6a0bc
CY
52232013-12-17 Chong Yidong <cyd@gnu.org>
5224
5225 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5226 Suggested by Xue Fuqiao.
5227
35b249a6
DG
52282013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5229
5230 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5231
e9145444
SM
52322013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * net/shr.el (shr-insert-document): Remove unused var
5235 `shr-preliminary-table-render'.
5236 (shr-rescale-image): Remove unused arg `force'.
5237 (shr-put-image): Update calls accordingly.
5238 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5239
5556c0ce
DG
52402013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5241
5242 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5243 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5244 :close-all, to see which indentation method to use (Bug#16116).
5245 (smie-rules-function): Document the method :close-all.
5246
11bade0a
LMI
52472013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5248
1c4b1e61
LMI
5249 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5250
11bade0a
LMI
5251 * net/eww.el (eww-display-html): If we can't find the anchor we're
5252 looking for, then go to point-min.
5253
8fb8c4f3
PE
52542013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5255
5256 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5257 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5258 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5259 Expand dir too, in case it's relative.
5260
6c8e0ae6
JL
52612013-12-16 Juri Linkov <juri@jurta.org>
5262
5263 * desktop.el (desktop-auto-save-timeout): Change default to
5264 `auto-save-timeout'. Doc fix.
5265 (desktop-save): Skip the timestamp in desktop-saved-frameset
5266 when checking for auto-save changes.
5267 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5268 `desktop-auto-save' is called repeatedly by the idle timer.
5269 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5270 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5271 (Bug#15331)
5272
2178e858
JL
52732013-12-16 Juri Linkov <juri@jurta.org>
5274
5275 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5276 (Bug#16035)
5277 (isearch-pre-command-hook): Check `this-command' for symbolp.
5278
39cb42c6
SM
52792013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5282
5b9b750a
TZ
52832013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5284
5285 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5286 (cfengine3--current-function): Bring in the current-function
5287 functionality from `cfengine3--current-word'.
5288 (cfengine3-completion-function): Bring in the
5289 bounds-of-current-word functionality from
5290 `cfengine3--current-word'.
5291
d144ef06
MR
52922013-12-16 Martin Rudalics <rudalics@gmx.at>
5293
39cb42c6
SM
5294 * window.el (display-buffer-below-selected):
5295 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 5296
a8bbe298
LL
52972013-12-16 Leo Liu <sdl.web@gmail.com>
5298
5299 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5300 Remove NOMSG arg and all uses changed.
5301
2013a2f9
SM
53022013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5305 (cua--deactivate-rectangle): Don't deactivate the mark.
5306 (cua-set-rectangle-mark): Don't set mark-active since
5307 cua--activate-rectangle already does it for us.
5308 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5309 non-rectangular region.
5310
5311 * emulation/cua-base.el (cua-repeat-replace-region):
5312 Use with-current-buffer.
5313
5314 * net/gnutls.el: Use cl-lib.
5315 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5316
5ae811dd
TZ
53172013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5318
5319 * emacs-lisp/package.el (package-built-in-p): Support both
5320 built-in and the package.el converted package descriptions.
5321 (package-show-package-list): Allow keywords.
5322 (package-keyword-button-action): Use it instead of
5323 `finder-list-matches'.
5324 (package-menu-filter-interactive): Interactive filtering (by
5325 keyword) function.
5326 (package-menu--generate): Support keywords and change keymappings
5327 and headers when they are given.
5328 (package--has-keyword-p): Helper function.
5329 (package-menu--refresh): Use it.
5330 (package--mapc): Helper function.
5331 (package-all-keywords): Use it.
5332 (package-menu-mode-map): Set up menu items and keybindings to
5333 provide a filtering UI.
5334
31b4827e
TZ
53352013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5336
5337 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5338 the behavior when a certificate fails validation. Defaults to
5339 old behavior: never abort, just warn.
5340 (gnutls-negotiate): Use it.
5341
f93cc74f
MR
53422013-12-14 Martin Rudalics <rudalics@gmx.at>
5343
5344 * window.el (display-buffer-below-selected): Never split window
5345 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5346
f77d7d17
TW
53472013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5348
5349 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5350 (package-buffer-info): Use it (bug#15108).
aa2bddd7 5351
7514d3f8
SM
53522013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5353
aa2bddd7 5354 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 5355 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 5356
276bc333
DG
53572013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5358
5359 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5360 open-paren tokens when preceded by a open-paren, too.
5361 (ruby-smie-rules): Handle virtual indentation after open-paren
5362 tokens specially. If there is code between it and eol, return the
5363 column where is starts (Bug#16118).
5364
d43957f3
TZ
53652013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5366
a5c1ac0c 5367 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 5368 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
5369 (cfengine3--current-word): Fix parameters.
5370 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
5371 (cfengine3-completion-function, cfengine3--current-function):
5372 Use `assq' for symbols.
d43957f3
TZ
5373 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5374
06a4f110
GM
53752013-12-13 Glenn Morris <rgm@gnu.org>
5376
5377 * loadup.el (load-path): Warn if site-load or site-init changes it.
5378 No more need to reset it when bootstrapping.
5379
978a5fda
TZ
53802013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5381
5382 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5383 locations for cf-promises.
5384 (cfengine-mode-syntax-functions-regex): New caching variable.
5385 (cfengine3-fallback-syntax): Fallback syntax for cases where
5386 cf-promises doesn't run.
5387 (cfengine3--current-word): Reimplement using
5388 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
5389 (cfengine3-completion-function, cfengine3--current-function):
5390 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
5391 (cfengine3-clear-syntax-cache): New function.
5392 (cfengine3-make-syntax-cache): Simplify and create
5393 `cfengine-mode-syntax-functions-regex' on demand.
5394 (cfengine3-format-function-docstring): Don't call
5395 `cfengine3-make-syntax-cache' explicitly.
5396
71e6691e
MR
53972013-12-13 Martin Rudalics <rudalics@gmx.at>
5398
5399 Fix windmove-find-other-window broken after pixelwise resizing
5400 (Bug#16017).
5401 * windmove.el (windmove-other-window-loc): Revert change from
5402 2013-12-04.
5403 (windmove-find-other-window): Call window-in-direction.
5404 * window.el (window-in-direction): New arguments SIGN, WRAP and
5405 MINI to emulate original windmove-find-other-window behavior.
5406
84c73ba0
DG
54072013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5408
5409 * simple.el (blink-matching--overlay): New variable.
5410 (blink-matching-open): Instead of moving point, highlight the
5411 matching paren with an overlay
5412 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5413
5414 * faces.el (paren-showing-faces, show-paren-match)
5415 (show-paren-mismatch): Move from paren.el.
5416
b9e20952
LL
54172013-12-13 Leo Liu <sdl.web@gmail.com>
5418
5419 * indent.el (indent-region): Disable progress reporter in
5420 minibuffer. (Bug#16108)
5421
5422 * bindings.el (visual-order-cursor-movement): Fix version.
5423
ce030451
FEG
54242013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5425
5426 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5427 Also match after beginning of line.
5428 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 5429 files. Thanks to Russell Sim. (Bug#15378)
ce030451 5430
4a9c6865
JL
54312013-12-13 Juri Linkov <juri@jurta.org>
5432
5433 * simple.el <Keypad support>: Remove key bindings duplicated
5434 with bindings.el. (Bug#14397)
5435
2bc170c3
JL
54362013-12-13 Juri Linkov <juri@jurta.org>
5437
5438 * comint.el (comint-mode-map): Replace `delete-char' with
5439 `delete-forward-char'. (Bug#16109)
5440
bc9222c9
FEG
54412013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5442
aa2bddd7 5443 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 5444 Fix de-denters cornercase. (Bug#15731)
bc9222c9 5445
cb3a1380
SM
54462013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5449 (advice--make): Pay attention to `depth'.
5450 (advice--make-1): Don't autoload commands eagerly.
5451 * emacs-lisp/elp.el (elp-instrument-function):
5452 * emacs-lisp/trace.el (trace-function-internal):
5453 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5454
5455 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5456
01633a17
EZ
54572013-12-12 Eli Zaretskii <eliz@gnu.org>
5458
5459 * term/w32-win.el (w32-handle-dropped-file):
5460 * startup.el (normal-top-level):
5461 * net/browse-url.el (browse-url-file-url):
5462 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5463 decode file names using 'utf-8' rather than
5464 file-name-coding-system.
5465
09faee72
FEG
54662013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5467
5468 * progmodes/python.el (python-indent-context)
5469 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 5470 behavior for comment blocks. (Bug#15916)
09faee72 5471
f4f84024 54722013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 5473
cb3a1380
SM
5474 * progmodes/python.el (python-indent-calculate-indentation):
5475 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
5476 operators when they are just string constituents. (Bug#15812)
5477
d5ccb7be
JL
54782013-12-12 Juri Linkov <juri@jurta.org>
5479
5480 * uniquify.el (uniquify-buffer-name-style): Change default to
5481 `post-forward-angle-brackets'.
5482
5483 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5484 `uniquify'. Change default to `post-forward-angle-brackets'.
5485
7b3f5679
GM
54862013-12-11 Glenn Morris <rgm@gnu.org>
5487
5488 * emacs-lisp/package.el (finder-list-matches):
5489 Autoload rather than falsely declaring.
5490
f4fe8fdd
TZ
54912013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5492
5493 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5494 (eww-mode-map): Use them.
5495
3c29190f
MR
54962013-12-11 Martin Rudalics <rudalics@gmx.at>
5497
5498 * window.el (display-buffer-in-side-window): Fix doc-string
5499 (Bug#16115).
5500
0cd616a2
JB
55012013-12-11 Juanma Barranquero <lekktu@gmail.com>
5502
5503 * vc/vc-git.el: Silence byte-compiler warnings.
5504 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5505 (log-edit-set-header): Declare.
5506
3ef8e0d1
EZ
55072013-12-11 Eli Zaretskii <eliz@gnu.org>
5508
5509 * Makefile.in (custom-deps, finder-data): Run output file names
5510 through unmsys--file-name. (Bug#16099)
5511
afdadaf7
SM
55122013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5513
7ae3ae39 5514 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 5515 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 5516
5b4f37ab
SM
5517 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5518 instead of deleting the selection "by hand" (bug#16098).
5519 Rely on insert-for-yank to yank rectangles.
5520 (cua-highlight-region-shift-only): Mark obsolete.
5521 (cua-mode): Don't enable/disable transient-mark-mode,
5522 shift-select-mode (cua-mode works both with and without them), and
5523 pc-selection-mode (obsolete).
5524 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5525 (cua--deactivate-rectangle): Deactivate it.
5526
4b72c12b
SM
5527 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5528 (delete-selection-helper): Make sure yank starts at the top of the
5529 deleted region.
5530 (minibuffer-keyboard-quit): Use region-active-p.
5531
e82af72d
SM
5532 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5533
afdadaf7
SM
5534 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5535 to `delete' (bug#16109).
5536
ed4bc201
RS
55372013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5538
5539 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5540 info manual and show keybindings and set `:group' keyword.
5541
bb8097b9
JL
55422013-12-11 Juri Linkov <juri@jurta.org>
5543
5544 * delsel.el (delete-active-region): Let-bind `this-command'
5545 to prevent `kill-region' from changing its original value.
5546 (delete-selection-helper): Handle `overwrite-mode' for the type
5547 `kill' exactly the same way as for the type `t'.
5548 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5549 Support more commands. (Bug#13312)
5550
c1916ff5
JL
55512013-12-11 Juri Linkov <juri@jurta.org>
5552
5553 * bindings.el: Map kp keys to non-kp keys systematically
5554 with basic modifiers control, meta and shift. (Bug#14397)
5555
7514d3f8 55562013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
5557
5558 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5559 "Close browser" menu items. Fix wrong function of "List
5560 bookmarks".
5561
4cc51eaf
JL
55622013-12-11 Juri Linkov <juri@jurta.org>
5563
5564 * misearch.el (multi-isearch-buffers): Set the value of
5565 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5566 arg of isearch-forward to t.
5567 (multi-isearch-buffers-regexp): Set the value of
5568 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5569 arg of isearch-forward-regexp to t.
5570 (multi-isearch-files): Set the value of
5571 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5572 arg of isearch-forward to t.
5573 (multi-isearch-files-regexp): Set the value of
c295fc18 5574 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
5575 arg of isearch-forward-regexp to t. (Bug#16035)
5576
5577 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5578 arg of isearch-forward to t.
5579 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5580 arg of isearch-forward-regexp to t.
5581 (dired-isearch-filter-filenames): Remove unnecessary check for
5582 `dired-isearch-filenames'.
5583
5584 * comint.el (comint-history-isearch-backward):
5585 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5586 (comint-history-isearch-backward-regexp):
5587 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5588
ceac12b7
EZ
55892013-12-10 Eli Zaretskii <eliz@gnu.org>
5590
5591 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5592 unmsys--file-name. (Bug#16099)
5593
5a565782
TZ
55942013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5595
cb3a1380
SM
5596 * emacs-lisp/package.el (package-keyword-button-action):
5597 Remove finder.el require dependency.
5a565782 5598
a81fc7ba
TZ
55992013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5600
5601 * emacs-lisp/package.el: Require finder.el.
5602 (describe-package-1): Add keyword buttons.
5603 (package-make-button): New convenience function.
5604 (package-keyword-button-action): Keyword button action using
e0eb0550 5605 `finder-list-matches'.
a81fc7ba 5606
6aaca951
EZ
56072013-12-09 Eli Zaretskii <eliz@gnu.org>
5608
5609 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5610 last commit.
5611
a1099a91
MA
56122013-12-09 Michael Albinus <michael.albinus@gmx.de>
5613
5614 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5615 symlinked files.
5616
8212d9c0
DG
56172013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5618
5619 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5620 after the end of a percent literal.
5621
8f48d131
CD
56222013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5623
cb3a1380
SM
5624 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5625 Handle caret-delimited strings (Bug#16079).
8f48d131 5626
ff8c9764
DG
56272013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5628
cb3a1380
SM
5629 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5630 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5631 `ruby-parse-partial' (Bug#16078).
5632
d64643b4
LL
56332013-12-09 Leo Liu <sdl.web@gmail.com>
5634
5635 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5636
47e59c66
DG
56372013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5638
5639 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5640 (js-switch-indent-offset): New option.
5641 (js--proper-indentation): Use it. And handle the case when
5642 "default" is actually a key in an object literal.
5643 (js--same-line): New function.
5644 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5645 (js--indent-in-array-comp, js--array-comp-indentation):
5646 New functions.
47e59c66
DG
5647 (js--proper-indentation): Use them, to handle array comprehension
5648 continuations.
5649
974ebc9c
LL
56502013-12-08 Leo Liu <sdl.web@gmail.com>
5651
5652 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5653 (flymake-make-overlay): Remove arg MOUSE-FACE.
5654 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5655
27262e39
SM
56562013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5659 New function.
5660 (redisplay-highlight-region-function): Use it.
5661
5662 * emulation/cua-base.el (cua--explicit-region-start)
5663 (cua--last-region-shifted): Remove.
5664 (cua--deactivate): Use deactivate-mark.
5665 (cua--pre-command-handler-1): Don't handle shift-selection.
5666 (cua--post-command-handler-1): Don't change transient-mark-mode.
5667 (cua--select-keymaps): Use region-active-p rather than
5668 cua--explicit-region-start or cua--last-region-shifted.
5669 (cua-mode): Enable shift-select-mode.
5670
6407822c
LL
56712013-12-08 Leo Liu <sdl.web@gmail.com>
5672
27262e39
SM
5673 * progmodes/flymake.el (flymake-popup-current-error-menu):
5674 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5675 (flymake-posn-at-point-as-event, flymake-popup-menu)
5676 (flymake-make-emacs-menu): Remove. (Bug#16077)
5677
00a2b823
SM
56782013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5679
02033d49
SM
5680 * rect.el (rectangle-mark-mode): Activate mark even if
5681 transient-mark-mode is off (bug#16066).
5682 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5683 is > mark and at bolp.
5684
6f8dfccf
SM
5685 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5686 (region-extract-function): Use it.
5687 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5688 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5689 Delete functions.
5690 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5691 kill-ring-save, kill-region, delete-char, delete-forward-char.
5692 Ignore self-insert-iso.
5693
5694 * emulation/cua-gmrk.el (cua--init-global-mark):
5695 Ignore `self-insert-iso'.
5696
5697 * emulation/cua-base.el (cua--prefix-copy-handler)
5698 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5699 checking cua--rectangle.
5700 (cua-delete-region): Use region-extract-function.
5701 (cua-replace-region): Delete function.
5702 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5703 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5704 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5705 (cua--init-keymaps): Don't remap delete-selection commands.
5706 (cua-mode): Use delete-selection-mode instead of rolling our own
5707 (bug#16085).
5708
5709 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5710 Obey region-extract-function.
5711
00a2b823
SM
5712 Make registers and delete-selection-mode work on rectangles.
5713 * register.el (describe-register-1): Don't modify the register's value.
5714 (copy-to-register): Obey region-extract-function.
5715 * delsel.el (delete-active-region): Obey region-extract-function.
5716
a92fa5f1
LL
57172013-12-08 Leo Liu <sdl.web@gmail.com>
5718
5719 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5720 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5721 (flymake-compilation-prevents-syntax-check)
5722 (flymake-start-syntax-check-on-newline)
5723 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5724 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5725 (flymake-xml-program, flymake-master-file-dirs)
5726 (flymake-master-file-count-limit)
5727 (flymake-allowed-file-name-masks): Relocate.
5728 (flymake-makehash, flymake-float-time)
5729 (flymake-replace-regexp-in-string, flymake-split-string)
5730 (flymake-get-temp-dir): Remove.
5731 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5732 (flymake-current-row, flymake-selected-frame)
5733 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5734 related functions. (Bug#16077)
5735
73c8ceea
BB
57362013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5737
5738 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5739
faec28d9
TH
57402013-12-07 Tassilo Horn <tsdh@gnu.org>
5741
5742 * help-fns.el (describe-function-1): Use new advice-* functions
5743 rather than old ad-* functions. Fix function type description and
5744 source links for advised functions and subrs.
5745
e330b646
LMI
57462013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5747
00a2b823 5748 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5749
4803595d
MA
57502013-12-06 Michael Albinus <michael.albinus@gmx.de>
5751
5752 * progmodes/compile.el (compilation-start):
5753 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5754
5755 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5756 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5757
fa834a93
DG
57582013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5759
00a2b823
SM
5760 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5761 Touch up the last change.
fa834a93 5762
b2856a6f
LL
57632013-12-06 Leo Liu <sdl.web@gmail.com>
5764
5765 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5766 (inferior-octave-startup): Always use "octave> " for prompt.
5767 (octave-goto-function-definition)
5768 (octave-sync-function-file-names)
5769 (octave-find-definition-default-filename): Remove redundant backquotes.
5770
af67e79a
DG
57712013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5772
5773 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5774 syntax for `?'.
5775 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5776 where appropriate already.
5777 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5778 end of method names (Bug#15874).
5779
bf093209
JL
57802013-12-06 Juri Linkov <juri@jurta.org>
5781
5782 * isearch.el (isearch--saved-overriding-local-map):
5783 New internal variable.
5784 (isearch-mode): Set it to the initial value of
5785 `overriding-terminal-local-map'.
5786 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5787 with `isearch--saved-overriding-local-map'. (Bug#16035)
5788
16588fad
DG
57892013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5790
00a2b823
SM
5791 * progmodes/octave.el (inferior-octave-completion-table):
5792 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5793 (Bug#11906). Update all references.
5794
5795 * minibuffer.el (completion-table-with-cache): New function.
5796
bf4906d7
CD
57972013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5798
5799 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5800
ff69c18f
TZ
58012013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5802
5803 * net/eww.el (eww-current-source): New variable to store page
5804 source.
5805 (eww-display-html, eww-mode, eww-save-history)
5806 (eww-restore-history): Use it.
5807 (eww-view-source): New command to view page source.
5808 Opportunistically uses `html-mode' to highlight the buffer.
5809 (eww-mode-map): Install it.
5810
b85eff45
MA
58112013-12-05 Michael Albinus <michael.albinus@gmx.de>
5812
5813 * net/dbus.el (dbus-unregister-service)
5814 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5815 Fix docstring.
5816 (dbus-unregister-service): Skip :serial entries in
5817 `dbus-registered-objects-table'.
5818 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5819
39eb0899
TZ
58202013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5821
5822 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5823 around keywords with extra `split-string' argument.
5824
456760a5
MR
58252013-12-04 Martin Rudalics <rudalics@gmx.at>
5826
5827 * windmove.el (windmove-other-window-loc): Handle navigation
5828 between windows (excluding the minibuffer window - Bug#16017).
5829
81961e4c
MA
58302013-12-04 Michael Albinus <michael.albinus@gmx.de>
5831
5832 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5833 in D-Bus type syntax.
5834 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5835 preserve unibyte strings. (Bug#16048)
5836
8497f938
SM
58372013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5840 Call force-mode-line-update is the proper buffer (bug#16042).
5841
dda61916
DG
58422013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5843
5844 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5845 `log-edit-remember-comment', make argument optional. Adjust all
5846 callers.
5847 (log-edit-mode): Add `log-edit-remember-comment' to
5848 `kill-buffer-hook' locally.
5849 (log-edit-kill-buffer): Don't remember comment explicitly since
5850 the buffer is killed anyway.
5851
c085e5b9
JL
58522013-12-04 Juri Linkov <juri@jurta.org>
5853
5854 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5855 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5856
e0eb0550 58572013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5858
5859 * notifications.el (notifications-close-notification): Call the
81961e4c 5860 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5861
39fa32d6
KY
58622013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5863
5864 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5865
9139632a
JL
58662013-12-03 Juri Linkov <juri@jurta.org>
5867
5868 * progmodes/compile.el (compilation-start): Rename window alist
5869 entry `no-display-ok' to `allow-no-window'.
5870
5871 * simple.el (shell-command): Add window alist entry
5872 `allow-no-window' to `display-buffer'.
5873 (async-shell-command): Doc fix.
5874
5875 * window.el (display-buffer-no-window): New action function.
5876 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5877
0f457a37
DG
58782013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5879
5880 * vc/log-edit.el (log-edit-set-header): Extract from
5881 `log-edit-toggle-header'.
5882 (log-edit-extract-headers): Separate the summary, when extracted
5883 from header, from the rest of the message with an empty line.
5884
5885 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5886 line, if present, to the Summary header.
5887
0962f376
SM
58882013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5891 in current-buffer (bug#16029).
5892
f345395c
HE
58932013-12-02 Helmut Eller <eller.helmut@gmail.com>
5894
5895 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5896 (debugger-mode-map): Bind it.
5897 (debugger--backtrace-base): New function.
5898 (debugger-eval-expression): Use it.
5899 (debugger-frame-number): Skip local vars when present.
5900 (debugger--locals-visible-p, debugger--insert-locals)
5901 (debugger--show-locals, debugger--hide-locals): New functions.
5902
a8a15d9d
MA
59032013-12-02 Michael Albinus <michael.albinus@gmx.de>
5904
5905 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5906 "LC_ALL".
5907 (tramp-get-remote-locale): New defun.
5908 (tramp-open-connection-setup-interactive-shell): Use it.
5909
0518b057
LL
59102013-12-02 Leo Liu <sdl.web@gmail.com>
5911
5912 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5913
5914 * progmodes/sh-script.el (sh-shell-process):
5915 * progmodes/octave.el (inferior-octave-process-live-p):
5916 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5917 (gdb-inferior-io-sentinel):
5918 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5919
3adc9c6d
DG
59202013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5921
5922 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5923 `save-selected-window' to `log-edit-hide-buf'. This makes
5924 `log-edit-show-files' idempotent.
5925 (log-edit-show-files): Mark the new window as dedicated.
5926
47e8b74e
DG
59272013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5928
5929 * vc/log-edit.el (log-edit-mode-map): Add binding for
5930 `log-edit-kill-biffer'.
5931 (log-edit-hide-buf): Add a FIXME comment.
5932 (log-edit-add-new-comment): New function, extracted from
5933 `log-edit-done'.
5934 (log-edit-done, log-edit-add-to-changelog): Use it.
5935 (log-edit-kill-buffer): New command.
5936
1f6e1bb0
LMI
59372013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5938
5939 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5940 instead of killing the buffer.
5941
fb651d15
SM
59422013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5945
8feacce0
RS
59462013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5947
fb651d15 5948 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5949 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5950 (eww-form-checkbox, eww-toggle-checkbox):
5951 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5952
e0eb0550 5953 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5954 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5955 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5956 no :src tag was specified.
5957
fb651d15 5958 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5959 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5960 Use \\` to match beginning of string instead of ^.
5961 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5962 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5963
177948a5
RS
5964 * net/shr.el (shr-tag-video): Display content for video if no
5965 poster is available.
eb2dd24d 5966 (shr-tag-audio): Add support for <audio> tag.
177948a5 5967
e0eb0550 5968 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5969 (eww-process-text-input): Treat input types in
5970 `eww-text-input-types' as text.
5971
8feacce0
RS
5972 * net/shr.el (shr-tag-table): Fix comment typo.
5973
513562a1
LMI
59742013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5975
5976 * net/eww.el (eww-follow-link): New command to avoid reloading
5977 pages when we follow #target links (bug#15243).
de8a5633 5978 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5979
9dd99753
KN
59802013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5981
5982 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5983 forms.
5984
3e9876de
LMI
59852013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5986
5987 * net/eww.el (eww-restore-history): Update the window title after
5988 moving in the history.
ab6dea82 5989 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5990
52789f7f
DG
59912013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5992
5993 * vc/log-edit.el (log-edit-mode-map): Add binding for
5994 `log-edit-beginning-of-line'.
5995 (log-edit-setup-add-author): New user option.
5996 (log-edit-beginning-of-line): New command.
5997 (log-edit): Move major mode call above the contents setup so that
5998 the local variable values are already applied.
5999 (log-edit): Only insert "Author: " when
6000 `log-edit-setup-add-author' is non-nil.
6001 (log-edit): When SETUP is non-nil, position point after ": "
6002 instead of point-min.
6003
2e6710c3
GM
60042013-12-01 Glenn Morris <rgm@gnu.org>
6005
6006 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6007
fadec31f
EZ
60082013-11-30 Eli Zaretskii <eliz@gnu.org>
6009
6010 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 6011 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
6012 visible. (Bug#16014)
6013
10634b40 60142013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
6015
6016 Support resizing frames and windows pixelwise.
6017 * cus-start.el (frame-resize-pixelwise)
6018 (window-resize-pixelwise): New entries.
6019 * emacs-lisp/debug.el (debug): Use window-total-height instead
6020 of window-total-size.
6021 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
6022 * help.el (describe-bindings-internal): Use help-buffer as
6023 argument for with-help-window.
880e6158
MR
6024 (temp-buffer-max-width): New option.
6025 (resize-temp-buffer-window, help-window-setup)
6026 (with-help-window): Rewrite.
6027 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6028 dragging dividers.
6029 * window.el (frame-char-size, window-min-pixel-height)
6030 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6031 (window-min-pixel-width, window-safe-min-pixel-size)
6032 (window-combination-p, window-safe-min-size)
6033 (window-resizable-p, window--size-to-pixel)
6034 (window--pixel-to-size, window--resize-apply-p): New functions.
6035 (window-safe-min-height): Fix doc-string.
6036 (window-size, window-min-size, window--min-size-1)
6037 (window-sizable, window-sizable-p, window--min-delta-1)
6038 (window-min-delta, window--max-delta-1, window-max-delta)
6039 (window--resizable, window--resizable-p, window-resizable)
6040 (window-full-height-p, window-full-width-p, window-at-side-p)
6041 (window--in-direction-2, window-in-direction)
6042 (window--resize-reset-1, window--resize-mini-window)
6043 (window-resize, window-resize-no-error)
6044 (window--resize-child-windows-normal)
6045 (window--resize-child-windows, window--resize-siblings)
6046 (window--resize-this-window, window--resize-root-window)
6047 (window--resize-root-window-vertically)
6048 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6049 (maximize-window, minimize-window, delete-window)
6050 (quit-restore-window, window-split-min-size, split-window)
6051 (balance-windows-2, balance-windows)
6052 (balance-windows-area-adjust, balance-windows-area)
6053 (window--state-get-1, window-state-get, window--state-put-1)
6054 (window--state-put-2, window-state-put)
fb651d15
SM
6055 (display-buffer-record-window, window--display-buffer):
6056 Make functions handle pixelwise sizing of windows.
880e6158 6057 (display-buffer--action-function-custom-type)
fb651d15
SM
6058 (display-buffer-fallback-action):
6059 Add display-buffer-in-previous-window.
880e6158
MR
6060 (display-buffer-use-some-window): Resize window to height it had
6061 before.
6062 (fit-window-to-buffer-horizontally): New option.
6063 (fit-frame-to-buffer): Describe new values.
6064 (fit-frame-to-buffer-bottom-margin): Replace with
6065 fit-frame-to-buffer-margins.
6066 (window--sanitize-margin): New function.
6067 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6068 using window-text-pixel-size.
6069
f9b697dd
GM
60702013-11-30 Glenn Morris <rgm@gnu.org>
6071
3e2fb4db
GM
6072 * emacs-lisp/bytecomp.el (byte-compile-form):
6073 Make the `interactive-only' warning like the `obsolete' one.
6074 * comint.el (comint-run):
6075 * files.el (insert-file-literally, insert-file):
6076 * replace.el (replace-string, replace-regexp):
6077 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6078 (goto-line, insert-buffer, next-line, previous-line):
6079 Tweak `interactive-only' spec.
6080
f9b697dd
GM
6081 Stop keeping (most) generated cedet grammar files in the repository.
6082 * Makefile.in (semantic): New.
6083 (compile-main): Depend on semantic.
6084
da048127
SM
60852013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6086
7784b779
SM
6087 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6088 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6089
4e36a6a6
SM
6090 * uniquify.el (uniquify-buffer-name-style): Change default.
6091
6092 * loadup.el: Preload "uniquify".
6093
e0ba1308
SM
6094 * time.el (display-time-update): Update all mode lines (bug#15999).
6095
da048127
SM
6096 * electric.el (electric-indent-mode): Enable by default.
6097 * loadup.el: Preload "electric".
6098
015b3b3e
BB
60992013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6100
6101 * emacs-lisp/helpers.el (string-empty-p): New function.
6102 (string-blank-p): New function.
6103
7efb806d
AP
61042013-11-29 Andreas Politz <politza@hochschule-trier.de>
6105
6106 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6107 (Bug#14029).
6108
c8f0efc2
AP
61092013-11-29 Andreas Politz <politza@fh-trier.de>
6110 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6111 allow non-lambda lists as functions.
6112 (imenu--in-alist): Don't recurse into non-subalists.
6113 (imenu): Don't pass function itself as an argument (Bug#14029).
6114
bd15d9d1
SM
61152013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * progmodes/python.el (python-mode-map): Remove binding for ":".
6118 (python-indent-electric-colon): Remove command.
6119 (python-indent-post-self-insert-function): Integrate the previous code
6120 of python-indent-electric-colon. Make it conditional on
6121 electric-indent-mode.
6122 (python-mode): Add ?: to electric-indent-chars.
6123 Move python-indent-post-self-insert-function to the end of
6124 post-self-insert-hook.
6125
1b10adb6
SM
61262013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6127
655ab9a3
SM
6128 * doc-view.el (doc-view-goto-page): Update mode-line.
6129
1b10adb6
SM
6130 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6131
7e3bf78c
GM
61322013-11-27 Glenn Morris <rgm@gnu.org>
6133
6134 * international/charprop.el, international/uni-bidi.el:
6135 * international/uni-category.el, international/uni-combining.el:
6136 * international/uni-comment.el, international/uni-decimal.el:
6137 * international/uni-decomposition.el, international/uni-digit.el:
6138 * international/uni-lowercase.el, international/uni-mirrored.el:
6139 * international/uni-name.el, international/uni-numeric.el:
6140 * international/uni-old-name.el, international/uni-titlecase.el:
6141 * international/uni-uppercase.el:
6142 Remove generated files from VCS repository.
6143
fb6a5d68
EZ
61442013-11-27 Eli Zaretskii <eliz@gnu.org>
6145
6146 * filenotify.el (file-notify-add-watch): Don't special-case
6147 w32notify when computing the directory to watch.
6148
cb6c95a3
GM
61492013-11-27 Glenn Morris <rgm@gnu.org>
6150
20372d0c
GM
6151 Make bootstrap without generated uni-*.el files possible again.
6152 * loadup.el: Update command-line-args checking for unidata-gen.
6153 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6154 * composite.el, international/characters.el:
6155 Handle unicode tables being undefined.
6156
52d6635f 6157 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
6158 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6159 (compile-main): Depend on leim rule.
6160 (leim): New rule.
6161 * loadup.el: Move leim-list.el to leim/ subdirectory.
6162 * startup.el (normal-top-level): No more leim directory.
6163 * international/ja-dic-cnv.el (skkdic-convert):
6164 Disable version-control and autoloads in output files.
6165 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6166 Disable version-control and autoloads in output files.
6167 * leim/quail: Move here from ../leim.
6168 * leim/quail/hangul.el (hangul-input-method-activate):
6169 Add autoload cookie.
6170 (generated-autoload-load-name): Set file-local value.
6171 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6172 (generated-autoload-load-name): Set file-local value.
6173
7514d3f8 61742013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 6175
e0eb0550 6176 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 6177 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 6178 (eww-quit): Ask confirmation before quitting eww.
e47112ee 6179
0e2c793f
EZ
61802013-11-26 Eli Zaretskii <eliz@gnu.org>
6181
6182 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6183 reading output from Diff on MS-Windows and MS-DOS.
6184
447bdcb8
BB
61852013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6186
6187 * emacs-lisp/helpers.el (string-reverse): New function.
6188
5fbf6856
MA
61892013-11-26 Michael Albinus <michael.albinus@gmx.de>
6190
6191 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6192 names on MS Windows, like "/[::1]:".
6193
6194 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6195 SWITCHES.
6196
624780f0
GM
61972013-11-26 Glenn Morris <rgm@gnu.org>
6198
0bf3f0fa
GM
6199 * progmodes/python.el (python-indent-guess-indent-offset):
6200 Avoid corner-case error. (Bug#15975)
6201
624780f0
GM
6202 Preload leim-list.el. (Bug#4789)
6203 * loadup.el: Load leim-list.el when found.
6204 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6205
4301875e 62062013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
6207
6208 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6209
4301875e
BB
6210 * emacs-lisp/helpers.el (string-join): New function.
6211
1633a815 62122013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
6213
6214 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6215 Mark as obsolete and replace it with a symbol property.
6216 (byte-compile-form): Use new 'interactive-only property.
6217 * comint.el, files.el, replace.el, simple.el:
6218 Apply new 'interactive-only properly.
6219
00139435
MR
62202013-11-25 Martin Rudalics <rudalics@gmx.at>
6221
6222 * window.el (display-buffer-at-bottom): Make sure that
6223 split-window-sensibly creates the new window on bottom
6224 (Bug#15961).
6225
5f5b128d
DK
62262013-11-23 David Kastrup <dak@gnu.org>
6227
6228 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6229 on the conflict markers when available.
6230 (smerge--get-marker): New function.
6231 (smerge-end-re, smerge-base-re): Add subgroup.
6232
623891e5
SM
62332013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * frame.el (handle-focus-in, handle-focus-out): Add missing
6236 interactive spec.
6237
05ca27d8
MA
62382013-11-25 Michael Albinus <michael.albinus@gmx.de>
6239
6240 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6241 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6242
511fa0d3
SM
62432013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6244
e82ad66c
SM
6245 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6246 (gomoku--last-pos): New var.
6247 (gomoku--intangible-chars): New const.
6248 (gomoku--intangible): New function.
6249 (gomoku-mode): Use it. Derive from special-mode.
6250 (gomoku-move-up): Adjust line count.
6251 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6252 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6253 Simplify accordingly.
6254
511fa0d3
SM
6255 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6256 Remove blink-cursor code.
6257 (blink-cursor-timer-function, blink-cursor-suspend):
6258 Don't special-case GUIs.
6259 (blink-cursor-mode): Use focus-in/out-hook.
6260
6f20dd03
DG
62612013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6262
6263 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6264 work when annotation is invisible (Bug#13886).
6265
431dec31 62662013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
6267
6268 * json.el (json-alist-p): Only return non-nil if the alist has
6269 simple keys (Bug#13518).
6270
431dec31 62712013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
6272
6273 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6274 when control-statement is the first statement in a buffer (Bug#15956).
6275
ee4f0261
DG
62762013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6277
6278 * imenu.el (imenu-generic-skip-comments-and-strings):
6279 New option (Bug#15560).
6280 (imenu--generic-function): Use it.
6281
c484f866
JS
62822013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6283
e9dc713d
JB
6284 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6285 (Bug#13898)
c484f866 6286
41ce6f70
BB
62872013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6288
b55aea38
BB
6289 * emacs-lisp/helpers.el: Add some string helpers.
6290 (string-trim-left): Removes leading whitespace.
6291 (string-trim-right): Removes trailing whitespace.
6292 (string-trim): Removes leading and trailing whitespace.
6293
41ce6f70
BB
6294 * subr.el (string-suffix-p): New function.
6295
3cfb6af3
GM
62962013-11-23 Glenn Morris <rgm@gnu.org>
6297
6298 * progmodes/python.el (python-shell-send-file):
6299 Add option to delete file when done. (Bug#15647)
6300 (python-shell-send-string, python-shell-send-region): Use it.
6301
c27924b7
IS
63022013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6303
e1b01c7f
IS
6304 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6305 to set buffer-read-only to t, never to nil. (Bug#15938)
6306
c27924b7
IS
6307 * textmodes/tex-mode.el (latex-noindent-environments):
6308 Add safe-local-variable property. (Bug#15936)
6309
17e0445b
GM
63102013-11-23 Glenn Morris <rgm@gnu.org>
6311
92f78ea3
GM
6312 * textmodes/enriched.el (enriched-mode): Doc fix.
6313 * emacs-lisp/authors.el (authors-renamed-files-alist):
6314 Add enriched.doc -> enriched.txt.
6315
17e0445b
GM
6316 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6317
965bb23a
LL
63182013-11-22 Leo Liu <sdl.web@gmail.com>
6319
6320 * progmodes/octave.el (inferior-octave-startup): Spit out error
6321 message.
6322
d19ffd64
BB
63232013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6324
6325 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6326 Improve docstring.
15ba2182
BB
6327 Add :version.
6328 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 6329
7a7567d2
LL
63302013-11-22 Leo Liu <sdl.web@gmail.com>
6331
6332 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6333 (Bug#15076)
8c09f64b
LL
6334 (octave-help-mode): Adapt to change to help-mode-finish to use
6335 derived-mode-p on 2013-09-17.
6336 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 6337 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 6338
724bc265
LL
63392013-11-22 Leo Liu <sdl.web@gmail.com>
6340
6341 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6342 (inferior-octave-startup, inferior-octave-check-process)
6343 (inferior-octave-track-window-width-change)
6344 (octave-completion-at-point, octave-eldoc-function): Use it.
6345 (octave-kill-process): Provide confirmation. (Bug#10564)
6346
38637cca
LL
63472013-11-21 Leo Liu <sdl.web@gmail.com>
6348
511fa0d3
SM
6349 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6350 Fix obsolete variable comment-use-global-state.
38637cca 6351
06e752b4
RS
63522013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6353
511fa0d3
SM
6354 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6355 Add `octave-source-file'.
06e752b4
RS
6356 (octave-source-file): New function. (Bug#15935)
6357
7514d3f8 63582013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
6359
6360 * net/eww.el (eww-local-regex): New variable.
6361 (eww): Use it to detect localhost and similar.
6362
b6ffa04a
LL
63632013-11-21 Leo Liu <sdl.web@gmail.com>
6364
6365 Add completion for command `ag'.
2021a200
LL
6366 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6367 (pcomplete/ag): New function.
e9dc713d 6368 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 6369
d1a6bccc
SM
63702013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6373 (bug#14646).
6374 (make-obsolete): Remove interactive spec.
6375
2df10228
GM
63762013-11-21 Glenn Morris <rgm@gnu.org>
6377
6378 * startup.el (command-line-1): Use path-separator with -L.
6379
86fd16b6
TZ
63802013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6381
6382 * emacs-lisp/package.el (describe-package-1): Add package archive
6383 to shown fields.
6384
0449d6cd 63852013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
6386
6387 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6388 Change default to "# encoding: %s" to differentiate it from the
6389 default Ruby encoding comment template.
6390
dc7e8c17 63912013-11-20 era eriksson <era+emacsbugs@iki.fi>
6392
6393 * ses.el (ses-mode): Doc fix. (Bug#14748)
6394
f0cfa5fe
LL
63952013-11-20 Leo Liu <sdl.web@gmail.com>
6396
6397 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6398
826dc7b6
DN
63992013-11-19 Dan Nicolaescu <dann@gnu.org>
6400
6401 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6402 when rebase or bisect are in progress.
6403
a6e3a5d5
XF
64042013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6405
6406 * filenotify.el (file-notify-add-watch): Doc fix.
6407
f130cb76
LL
64082013-11-19 Leo Liu <sdl.web@gmail.com>
6409
e0855d7d
LL
6410 * obsolete/rcompile.el: Mark obsolete.
6411
f130cb76 6412 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
6413 (compilation-goto-locus, compilation-find-file):
6414 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
6415 (Bug#13594)
6416
6417 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
6418 new parameter no-display-ok. Return either a window or nil
6419 but never a non-window value.
f130cb76 6420
1f35d401
SM
64212013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6422
25158c76
SM
6423 * electric.el (electric-indent-mode-map): Remove.
6424 (electric-indent-mode): Change the global-map instead (bug#15915).
6425
6426 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6427 Use add-function.
1f35d401 6428
9bc67baa
SM
64292013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6430
986545b5
SM
6431 * emacs-lisp/nadvice.el (remove-function): Align with
6432 add-function's behavior.
6433
9bc67baa
SM
6434 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6435 (gdb--string-regexp): New constant.
6436 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6437 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6438 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6439 submatch 1.
6440 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6441 Adjust use accordingly.
6442 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6443
56cd894e
AS
64442013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6445
6446 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6447 interpolation curlies (Bug#15914).
6448
014690de
JB
64492013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6450
6451 * calc/calc.el (calc-context-sensitive-enter): New variable.
6452 (calc-enter): Use `calc-context-sensitive-enter'.
6453
7e26a6c3
TZ
64542013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6455
6456 * progmodes/cfengine.el: Version bump.
6457 (cfengine-cf-promises): New defcustom to locate cf-promises.
6458 (cfengine3-vartypes): Add new "data" type.
6459 (cfengine3--current-word): New function to get current name-like
6460 word or its bounds.
6461 (cfengine3--current-function): New function to look up a CFEngine
6462 function's definition.
6463 (cfengine3-format-function-docstring): New function.
6464 (cfengine3-make-syntax-cache): New function.
6465 (cfengine3-documentation-function): New function: ElDoc glue.
6466 (cfengine3-completion-function): New function: completion glue.
6467 (cfengine3-mode): Set `compile-command',
6468 `eldoc-documentation-function', and add to
6469 `completion-at-point-functions'.
6470
355204dd
MA
64712013-11-16 Michael Albinus <michael.albinus@gmx.de>
6472
6473 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6474 `tramp-current-connection'.
6475
43cebc23
DG
64762013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6477
6478 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6479 nil/self/true/false with "end of symbol".
6480
a3fed6ff
BB
64812013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6482
6483 * subr.el (version-regexp-alist): Fix a typo.
6484
e675b3e4
MA
64852013-11-15 Michael Albinus <michael.albinus@gmx.de>
6486
6487 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6488 "en_US.utf8" and "LC_CTYPE" to "".
6489 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6490 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6491
a1f03e89
LL
64922013-11-15 Leo Liu <sdl.web@gmail.com>
6493
6494 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6495
5d9d9451
SM
64962013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6497
58362662
CS
6498 * progmodes/gud.el (ctl-x-map):
6499 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
6500 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6501
6c1bf086
BB
65022013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6503
0d5363c4
BB
6504 * subr.el (version-regexp-alist):
6505 Recognize hg, svn and darcs versions as snapshot versions.
6506
4e9fc48c
BB
6507 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6508 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6509 (ruby--encoding-comment-required-p): Extract from
6510 `ruby-mode-set-encoding'.
6511 (ruby-mode-set-encoding): Add the ability to always insert an
6512 utf-8 encoding comment. Fix and simplify coding comment update
6513 logic.
6c1bf086 6514
2f7e72f8
MA
65152013-11-14 Michael Albinus <michael.albinus@gmx.de>
6516
6517 * net/tramp-gvfs.el (top): Run init code only when
6518 `tramp-gvfs-enabled' is not nil.
6519 (tramp-gvfs-enabled): Check also :system bus.
6520
0f137a73
SM
65212013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 Sync with upstream verilog-mode revision 78e66ba.
6524 * progmodes/verilog-mode.el (verilog-end-of-defun)
6525 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6526 (verilog-get-end-of-defun): Remove unused argument.
6527 (verilog-comment-depth): Remove unused local `e'.
6528 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6529 Don't pass arg to verilog-get-end-of-defun.
6530
1c276bdd
GM
65312013-11-14 Glenn Morris <rgm@gnu.org>
6532
6533 * obsolete/assoc.el (aget): Prefix dynamic variable.
6534
6535 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6536
ff6ec81d
SM
65372013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6538
6539 * widget.el, hfy-cmap.el: Remove bogus package version number.
6540
75f777b6
GM
65412013-11-13 Glenn Morris <rgm@gnu.org>
6542
1d43dba1
GM
6543 * replace.el (replace-eval-replacement):
6544 Try to give more helpful error message. (Bug#15836)
6545
ff4b7bd5
GM
6546 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6547 (archive-7z-update): Avoid custom type mismatches.
6548
75f777b6
GM
6549 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6550
11151a06
MA
65512013-11-13 Michael Albinus <michael.albinus@gmx.de>
6552
e675b3e4 6553 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
6554 address can be empty.
6555
6556 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6557 Accept nil SWITCHES.
6558 (tramp-gvfs-handle-write-region): Implement APPEND.
6559
7b08f97e
DG
65602013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6561
6562 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
6563 binary "|" operator and closing block args delimiter.
6564 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
6565 (ruby-smie--implicit-semi-p): Not after "|" operator.
6566 (ruby-smie--closing-pipe-p): New function.
6567 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6568 (ruby-smie-rules): Indent after "|".
6569
f201cf3a
GM
65702013-11-12 Glenn Morris <rgm@gnu.org>
6571
6572 * ps-print.el (ps-face-attribute-list):
6573 Handle anonymous faces. (Bug#15827)
6574
e6f759f9
MR
65752013-11-12 Martin Rudalics <rudalics@gmx.at>
6576
6577 * window.el (display-buffer-other-frame): Fix doc-string.
6578 (Bug#15868)
6579
ecda65d4
SM
65802013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6583
7ce8fcc3
MA
65842013-11-11 Michael Albinus <michael.albinus@gmx.de>
6585
6586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6587 (tramp-sh-handle-file-local-copy): Don't write a message when
6588 saving temporary files.
6589
6590 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6591 both directories are remote.
6592 (tramp-smb-handle-directory-files): Do not return double entries.
6593 Do not expand full file names.
6594 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6595 (tramp-smb-handle-write-region): Implement APPEND.
6596 (tramp-smb-get-stat-capability): Fix a stupid bug.
6597
7818df11
SM
65982013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6601
608c2085
NT
66022013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6603
6604 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6605 throwing error over malformed let/let* (bug#15814).
6606
122a7e46
SM
66072013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * iswitchb.el (iswitchb-mode): Mark obsolete.
6610
766284d9
GM
66112013-11-11 Glenn Morris <rgm@gnu.org>
6612
6613 * international/uni-bidi.el, international/uni-category.el:
6614 * international/uni-name.el, international/uni-numeric.el:
6615 Regenerate for Unicode 6.3.0.
6616
7072a4e9
MA
66172013-11-10 Michael Albinus <michael.albinus@gmx.de>
6618
6619 * net/tramp.el (tramp-methods):
6620 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6621 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6622
c9df215b
AS
66232013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6624
608c2085
NT
6625 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6626 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6627
fa47d796
DG
66282013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6629
6630 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6631 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6632 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6633 (ispell-complete-word): Call `ispell-lookup-words' with the value
6634 independent of `ispell-look-p'.
6635
1629a329
DG
66362013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6637
6638 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6639 Not after "||".
6640 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6641 their parent.
6642
ad16897c
SM
66432013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6646 (ruby-font-lock-keywords): Use backquote.
6647
ffa2df72
DG
66482013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6649
6650 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6651 (ruby-smie--backward-token): Only consider full-string matches.
6652
5b97b4c0
JD
66532013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6654
6655 * faces.el (describe-face): Add distant-foreground.
6656
71731c03
BB
66572013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6658
4e9fc48c
BB
6659 * progmodes/ruby-mode.el: Improve encoding comment handling.
6660 (ruby-encoding-magic-comment-style): New option.
6661 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6662 (ruby--insert-coding-comment, ruby--detect-encoding):
6663 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6664 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6665 to control the style of the auto-inserted encoding comment.
71731c03 6666
da3b328d
DG
66672013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6668
ad16897c
SM
6669 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6670 Use `smie-backward-sexp' with token argument.
da3b328d 6671
1606c2d3
MA
66722013-11-08 Michael Albinus <michael.albinus@gmx.de>
6673
6674 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6675 Remove instrumentation code.
6676
b0f4c320
GM
66772013-11-08 Glenn Morris <rgm@gnu.org>
6678
6679 * progmodes/autoconf.el (autoconf-mode):
6680 Tweak comment-start-skip. (Bug#15822)
6681
43668fb1
SM
66822013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6685 at bobp (bug#15826).
6686 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6687
daddb3fd
DH
66882013-11-08 Darren Hoo <darren.hoo@gmail.com>
6689
6690 * man.el (Man-start-calling): New macro, extracted from
6691 Man-getpage-in-background.
6692 (Man-getpage-in-background): Use it.
6693 (Man-update-manpage): New command.
6694 (Man-mode-map): Bind it.
6695
1f923923
DG
66962013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6697
6698 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6699 of "and", "or", "&&" and "||".
6700 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6701 argument. Prohibit opening curly brace because it could only be a
6702 block opener in that position.
daddb3fd
DH
6703 (ruby-smie--forward-token, ruby-smie--backward-token):
6704 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6705 arguments.
6706 (ruby-smie--indent-to-stmt): New function, seeks the end of
6707 previous statement or beginning of buffer.
6708 (ruby-smie-rules): Use it.
6709 (ruby-smie-rules): Check if there's a ":" before a curly block
6710 opener candidate; if there is, it's a hash.
6711
3220d527
SM
67122013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6715 (cl--block-wrapper): Fix last accidental change.
6716
1eb1f9e0
MA
67172013-11-07 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6720 Instrument, in order to hunt failure on hydra.
6721
e6e4db3c
NT
67222013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6723
6724 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6725 malformed bindings form (bug#15814).
6726
b420ccfc
DG
67272013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6728
6729 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6730 "." compared to " @ ". This incidentally fixes some indentation
6731 examples with "do".
e6e4db3c 6732 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6733 (ruby-smie-grammar): New tokens: "and" and "or".
6734 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6735 Exclude "and" and "or". Remove "do" in order to work around token
6736 priorities.
6737 (ruby-smie-rules): Add all infix tokens. Handle the case of
6738 beginning-of-buffer.
b420ccfc 6739
6b4ac03e
GM
67402013-11-06 Glenn Morris <rgm@gnu.org>
6741
6742 * Makefile.in (setwins_almost, setwins_for_subdirs):
6743 Avoid accidental matches.
6744
5ca114d1
SM
67452013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * menu-bar.el (popup-menu): Use key-binding.
6748
f72552bd
EZ
67492013-11-06 Eli Zaretskii <eliz@gnu.org>
6750
6751 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6752 menus, support also the menus produced by minor modes.
6753 (Bug#15817)
6754
5d5c701e
LL
67552013-11-06 Leo Liu <sdl.web@gmail.com>
6756
6757 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6758 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6759
0a8b75e2
GM
67602013-11-06 Glenn Morris <rgm@gnu.org>
6761
6762 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6763 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6764 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6765
a35287ea
SM
67662013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6767
feca4e2d
SM
6768 * electric.el (electric-indent-just-newline): New command.
6769 (electric-indent-mode-map): New keymap.
6770 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6771 Re-add :group which weren't redundant.
6772
a35287ea
SM
6773 * electric.el (electric-indent-local-mode): New minor mode.
6774 (electric-indent-functions-without-reindent): New var.
6775 (electric-indent-post-self-insert-function): Use it.
6776 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6777
375761b2
EZ
67782013-11-05 Eli Zaretskii <eliz@gnu.org>
6779
9a6ad735
EZ
6780 * international/quail.el (quail-help): Be more explicit about the
6781 meaning of the labels shown on the keys. (Bug#15800)
6782
375761b2
EZ
6783 * startup.el (normal-top-level): Load the subdirs.el files before
6784 setting the locale environment. (Bug#15805)
6785
520a6e4a
SM
67862013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6787
0acfafef
SM
6788 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6789 via arguments so as to get the right ones (bug#15418).
6790
520a6e4a
SM
6791 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6792
15826261
MA
67932013-11-05 Michael Albinus <michael.albinus@gmx.de>
6794
6795 Fix problems found while writing a test suite.
6796
6797 * net/tramp-compat.el (tramp-compat-load): New defun.
6798 * net/tramp.el (tramp-handle-load): Use it.
6799
6800 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6801 "(numberp ok-if-already-exists)" correctly.
6802
d35f31a4
XF
68032013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6804
6805 * international/characters.el (glyphless-char-display-control):
6806 Add usage note.
6807
ae93bc74
BB
68082013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6809
520a6e4a
SM
6810 * progmodes/python.el (python-mode):
6811 * progmodes/scheme.el (scheme-mode):
6812 * progmodes/prolog.el (prolog-mode):
6813 * progmodes/ruby-mode.el (ruby-mode):
6814 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6815 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6816
0ade65b5
SM
68172013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6818
a0d5f7a4
SM
6819 * rect.el (rectangle--highlight-for-redisplay):
6820 * emacs-lisp/smie.el (smie--next-indent-change):
6821 Use buffer-chars-modified-tick.
6822
c93f3f5c
SM
6823 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6824
0ade65b5
SM
6825 * electric.el (electric-indent-post-self-insert-function):
6826 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6827
ef9dd188
HE
68282013-11-04 Helmut Eller <eller.helmut@gmail.com>
6829
6830 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6831
306e7308
NT
68322013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6833
6834 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6835 (bug#15786).
6836
e5afbcac
SM
68372013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6838
1d01ad41
SM
6839 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6840
e5afbcac
SM
6841 * progmodes/python.el: Fix up last change.
6842 (python-shell--save-temp-file): New function.
6843 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6844 `string' comes from the current buffer.
6845 (python-shell-send-string-no-output): Remove `msg' arg.
6846 (python--use-fake-loc): New var.
6847 (python-shell-buffer-substring): Obey it. Try to compensate for the
6848 extra coding line added by python-shell--save-temp-file.
6849 (python-shell-send-region): Use python-shell--save-temp-file and
6850 python-shell-send-file directly. Add `nomain' argument.
6851 (python-shell-send-buffer): Use python-shell-send-region.
6852 (python-electric-pair-string-delimiter): New function.
6853 (python-mode): Use it.
6854
d0065ff1
EZ
68552013-11-04 Eli Zaretskii <eliz@gnu.org>
6856
6857 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6858 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6859 environment and decoding all of the default-directory's to here
6860 from command-line.
6861 (command-line): Decode also argv[0].
6862
6863 * loadup.el: Error out if default-directory is a multibyte string
6864 when we are dumping.
6865
6866 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6867
7397c587
TZ
68682013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6869
6870 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6871 (package-menu--print-info, package-menu--archive-predicate):
6872 Add Archive column to package list.
7397c587 6873
b27cc9fc
MA
68742013-11-04 Michael Albinus <michael.albinus@gmx.de>
6875
6876 Fix problems found while writing a test suite.
6877
6878 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6879 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6880 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6881 to nil when running original file name handler. Otherwise,
6882 there are problems with constructs like "$$FOO".
6883
6884 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6885 for `localname'.
6886
d8c4f18a
BB
68872013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6888
7b530552
BB
6889 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6890
6891 * subr.el (version<, version<=, version=):
6892 Update docstrings with information for snapshot versions.
6893
d8c4f18a
BB
6894 * helpers.el: New library for misc helper functions.
6895 (hash-table-keys): New function returning a list of hash keys.
6896 (hash-table-values): New function returning a list of hash values.
6897
dca01b09
DG
68982013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6899
6900 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6901 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6902
0a749fa0
MN
69032013-11-04 Michal Nazarewicz <mina86@mina86.com>
6904
6905 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6906 checking whether point is after a 1-letter word.
6907
69082013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6909
6910 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6911 Don't infloop when expanding region over `multiline' syntax-type that
6912 begins a line (bug#15778).
6913
4aca7145
SM
69142013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6917 Make it into a proper minor mode.
9b017563 6918 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6919 (rectangle-mark-mode-map): New keymap.
6920 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6921
a0833f62
GM
69222013-11-04 Glenn Morris <rgm@gnu.org>
6923
6924 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6925
e61845c1
SM
69262013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6929 (ruby-smie-rules): Use smie-rule-parent instead.
6930
6931 * emacs-lisp/smie.el (smie-rule-parent): Always call
6932 smie-indent-virtual rather than only for hanging tokens.
6933 (smie--next-indent-change): New helper command.
6934
62942f89
GM
69352013-11-03 Glenn Morris <rgm@gnu.org>
6936
6937 * Makefile.in (abs_srcdir): Remove.
6938 (emacs): Unset EMACSLOADPATH.
6939
b0b9e592
GM
69402013-11-02 Glenn Morris <rgm@gnu.org>
6941
18ba6a33 6942 * Makefile.in (EMACS): Use a relative filename.
8061810d 6943 (abs_top_builddir): Remove.
18ba6a33
GM
6944 (custom-deps, finder-data, autoloads): Use --chdir.
6945
6a8b929e
GM
6946 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6947
c617f3d0
GM
6948 Use relative filenames in TAGS files.
6949 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6950 (lisptagsfiles4, TAGS): Use relative file names.
6951 (TAGS-LISP): Remove.
6952 (maintainer-clean): No more TAGS-LISP file.
6953
b0b9e592
GM
6954 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6955 (lisptagsfiles4): Use absolute filenames again.
6956 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6957 Remove all *loaddefs files, not just the first. Remove esh-groups.
6958 (maintainer-clean): Delete TAGS, TAGS-LISP.
6959
d1c0ea6a
BB
69602013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6961
e61845c1
SM
6962 * emacs-lisp/package.el (package-version-join):
6963 Recognize snapshot versions.
d1c0ea6a 6964
684d71c6
BB
69652013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6966
6967 * subr.el (version-regexp-alist): Add support for snapshot versions.
6968
3d42b968
DG
69692013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6970
e61845c1
SM
6971 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6972 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6973 skip over our direct parent if it's an assignment token..
6974 (ruby-smie-rules): Use it.
6975
7ffd3721
DG
69762013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6977
8449dd1f 6978 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6979 unconditionally. Remove now unnecessary forward declarations.
6980 Remove XEmacs-specific setup.
6981 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6982 (ruby-font-lock-syntactic-keywords)
6983 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6984 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6985 (ruby-here-doc-end-syntax): Remove.
6986 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6987 defined as function.
6988
a3996a2e
BB
69892013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6990
6991 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6992
6f9260e8
BB
69932013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6994
6995 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6996 table and abbrev table, `define-derived-mode' does that for us
6997 anyway.
6998
6014de84
GM
69992013-11-01 Glenn Morris <rgm@gnu.org>
7000
7001 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7002 files is atomic for some time, so no parallel compilation issues).
7003
3c334c14
JD
70042013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7005
7006 * faces.el (face-x-resources): Add :distant-foreground.
7007 (region): Use :distant-foreground for gtk and ns.
7008
9bc236c8
TH
70092013-11-01 Tassilo Horn <tsdh@gnu.org>
7010
5246583b 7011 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
7012 BibTeX.
7013 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7014 (reftex-locate-bibliography-files): Us it.
7015
d14c81ee
CB
70162013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7017
0e7690de
CB
7018 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7019 allow comments in pbm files.
7020
d14c81ee
CB
7021 * term/w32-win.el (dynamic-library-alist): Support newer versions
7022 of libjpeg starting with v7: look only for the DLL from the
7023 version against which Emacs was built.
ac1bf374 7024 Support versions of libpng beyond 1.4.x.
019c8218 7025 Support libtiff v4.x.
d14c81ee 7026
983d0df5
BB
70272013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7028
7029 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7030 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7031 Add property :safe.
7032 (ruby-deep-arglist): Add property :type.
7033
47f58d85
GM
70342013-10-31 Glenn Morris <rgm@gnu.org>
7035
7036 * Makefile.in (custom-deps, finder-data): No need to setq the target
7037 variables, we are in the right directory and the defaults work fine.
7038
4f85b479
GM
70392013-10-30 Glenn Morris <rgm@gnu.org>
7040
ca7dd4cd
GM
7041 * Makefile.in (autoloads): Do not use abs_lisp.
7042
4f85b479
GM
7043 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7044 `newline' does not respect `standard-output', so use `princ'.
7045
cf59e41c
AA
70462013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7047
7048 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7049 * buff-menu.el (Buffer-menu--unmark): New function.
7050 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7051
74cf04fb
GM
70522013-10-30 Glenn Morris <rgm@gnu.org>
7053
b040b60e
GM
7054 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7055
f53d3815
GM
7056 * emacs-lisp/package.el (lm-homepage): Declare.
7057
5413d873
GM
7058 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7059 Fix doc typos.
7060
cecedb36
GM
7061 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7062
74cf04fb
GM
7063 * Makefile.in (finder-data, autoloads, update-subdirs)
7064 (compile-main, compile-clean, compile-always, bootstrap-clean):
7065 Check return value of cd.
7066 (compile-calc): Remove.
7067
195ee2f0
SM
70682013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7069
ae4002ce
SM
7070 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7071
7072 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7073 (byte-compile-and-folded): New function.
7074 (=, <, >, <=, >=): Use it.
7075
7076 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7077 (path-separator, null-device, buffer-file-coding-system)
7078 (lpr-headers-switches): Check system-type before modifying them.
7079 (find-buffer-file-type-coding-system): Mark obsolete.
7080 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7081 find-file-not-found-set-buffer-file-coding-system.
35e951cd 7082 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 7083 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 7084 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
7085 (w32-direct-print-region-helper, w32-direct-print-region-function)
7086 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7087 * startup.el (normal-top-level-add-subdirs-to-load-path):
7088 * ps-print.el (ps-print-region-function):
7089 * lpr.el (print-region-function): Use new name.
7090
53b39e89
SM
7091 * subr.el (custom-declare-variable-early): Remove function.
7092 (custom-declare-variable-list): Remove var.
7093 (error, user-error): Remove `while' loop.
7094 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7095 (user-emacs-directory-warning, locate-user-emacs-file):
7096 Move to files.el.
7097 * simple.el (read-quoted-char-radix, read-quoted-char):
7098 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7099 Move from subr.el.
7100 * custom.el (custom-declare-variable-list): Don't process
7101 custom-declare-variable-list.
7102
195ee2f0
SM
7103 * progmodes/python.el (python-shell-get-buffer): New function.
7104 (python-shell-get-process): Use it.
7105 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7106 Python which encoding was used. Don't split-string since we only care
7107 about the first line. Return the temp-file, if applicable.
7108 (python-shell-send-region): Tell compile.el how to turn locations in
7109 the temp-file into locations in the source buffer.
7110
7e3561ee
SM
71112013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7112
4c9797cb
SM
7113 * subr.el (undefined): Add missing behavior from the C code for
7114 unbound keys.
7115
3472b6c6
SM
7116 * rect.el: Use lexical-binding. Add new rectangular region support.
7117 (rectangle-mark): New command.
7118 (rectangle--region): New var.
7119 (deactivate-mark-hook): Reset rectangle--region.
7120 (rectangle--extract-region, rectangle--insert-for-yank)
7121 (rectangle--highlight-for-redisplay)
7122 (rectangle--unhighlight-for-redisplay): New functions.
7123 (region-extract-function, redisplay-unhighlight-region-function)
7124 (redisplay-highlight-region-function): Use them to handle
7125 rectangular region.
7126 * simple.el (region-extract-function): New var.
7127 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7128 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7129 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7130 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7131 (redisplay-unhighlight-region-function)
7132 (redisplay-highlight-region-function): New vars.
7133 (redisplay--update-region-highlight): New function.
7134 (pre-redisplay-function): Use it.
7135 (exchange-point-and-mark): Don't deactivate the mark before
7136 reactivate-it anyway.
7137 * comint.el (comint-kill-region): Remove yank-handler argument.
7138 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7139 (delete-char): Remove property, since it's now part of their
7140 default behavior.
7141 (self-insert-iso): Remove property since this command doesn't exist.
7142
7e3561ee
SM
7143 * emacs-lisp/package.el (package--download-one-archive)
7144 (describe-package-1): Don't query the user about final newline.
7145
b9bef71f
DC
71462013-10-29 Daniel Colascione <dancol@dancol.org>
7147
7148 * net/tramp.el (tramp-methods): Document new functionality.
7149 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7150 tramp-hostname-checker if method provides one instead of scanning
7151 argument list for "%h" to decide hostname acceptability.
7152
4efc33f0
MA
71532013-10-28 Michael Albinus <michael.albinus@gmx.de>
7154
7155 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7156 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7157 Handle COPY-CONTENTS. (Bug#15737)
7158
ed42a877
DU
71592013-10-28 Daiki Ueno <ueno@gnu.org>
7160
9b017563 7161 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 7162 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 7163
18c9f8a2
XF
71642013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7165
35e951cd 7166 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 7167
b1e8e010
AM
71682013-10-27 Alan Mackenzie <acm@muc.de>
7169
7170 Indent statements in macros following "##" correctly.
7e3561ee
SM
7171 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7172 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 7173
73d40d1e 71742013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
7175
7176 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7177
c8c605ac
DG
71782013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7179
7180 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7181 after `=' is probably a new expression.
7182
ca7e59d4
RS
71832013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7184
7185 * man.el (man-imenu-title): New option.
7186 (Man-mode-map): Add menu. (Bug#15722)
7187 (Man-mode): Add imenu to menu.
7188
bae91342
DG
71892013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7190
7191 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7192 specific in what the first arg can be: a non-keyword word,
7193 string/regexp/percent literal opener, opening paren, or unary
7194 operator followed directly by word.
7195
eb89dc14
SM
71962013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7199 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7200 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7201 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7202 Remove vars, they do not apply any more.
7203 (prolog-mode-abbrev-table): Remove redundant declaration.
7204 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7205 (prolog-use-smie): Remove.
7206 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7207 supported by prolog-electric-if-then-else-flag.
7208 (prolog-mode-variables, prolog-menu): Use setq-local.
7209 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7210 Remove binding to `Backspace' since this key doesn't exist anyway.
7211 Remove bindings for electric self-inserting keys.
7212 (prog-mode): Assume it's defined.
7213 (prolog-post-self-insert): New function.
7214 (prolog-mode): Use it.
7215 (prolog-indent-line, prolog-indent-level)
7216 (prolog-find-indent-of-matching-paren)
7217 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7218 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7219 (prolog-goto-next-paren, prolog-in-string-or-comment)
7220 (prolog-tokenize, prolog-inside-mline-comment)
7221 (prolog-find-start-of-mline-comment): Remove functions.
7222 (prolog-find-unmatched-paren, prolog-clause-end)
7223 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7224 (prolog-electric--if-then-else): Rename from
7225 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7226 (prolog-tokenize-searchkey): Remove const.
7227 (prolog-clause-info): Use forward-sexp.
7228 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7229 (prolog-electric-if-then-else): Remove commands.
7230 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7231 for use in post-self-insert-hook.
7232 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7233 for use in post-self-insert-hook.
7234 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7235 for use in post-self-insert-hook.
7236 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7237 adapt it for use in post-self-insert-hook.
7238
3dab0a83
MA
72392013-10-25 Michael Albinus <michael.albinus@gmx.de>
7240
7241 * emacs-lisp/ert.el (ert-run-tests-interactively):
7242 Use `completing-read'. (Bug#9756)
7243
fbfd0e1d
EZ
72442013-10-25 Eli Zaretskii <eliz@gnu.org>
7245
7246 * simple.el (line-move): Call line-move-1 instead of
7247 line-move-visual when the current window hscroll is zero, but
7248 temporary-goal-column indicates we will need to hscroll as result
7249 of the movement. (Bug#15712)
7250
963ce636
DG
72512013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7252
7253 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
7254 capitalization. Use :visible instead of :active.
7255 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
7256 commands that are used with SMIE.
7257 (ruby-do-end-to-brace): Insert space after `{'.
7258
a0be396a
JA
72592013-10-25 John Anthony <john@jo.hnanthony.com>
7260
f73754c9
JA
7261 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7262
7263 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 7264
f5bf77df
GM
72652013-10-25 Glenn Morris <rgm@gnu.org>
7266
7267 * vc/vc.el (vc-print-log): Don't use a working revision unless
7268 one was explicitly specified. (Bug#15322)
7269
37241f62
SM
72702013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * subr.el (add-to-list): Preserve return value in compiler-macro
7273 (bug#15692).
7274
6408a65d
RS
72752013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7276
7277 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7278 result. Ask user to retry using '-all' flag. (Bug#15701)
7279
71e3276b
SM
72802013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * emacs-lisp/smie.el: New smie-config system.
7283 (smie-config): New defcustom.
7284 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7285 (smie-config-guess, smie-config-save): New commands.
7286 (smie-config--mode-local, smie-config--buffer-local)
7287 (smie-config--trace, smie-config--modefuns): New vars.
7288 (smie-config--advice, smie-config--mode-hook)
7289 (smie-config--setter, smie-config-local, smie-config--get-trace)
7290 (smie-config--guess-value, smie-config--guess): New functions.
7291 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7292 text properties. Treat "string fence" syntax like string syntax.
7293
7294 * progmodes/sh-script.el (sh-use-smie): Change default.
7295 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7296 (sh-var-value): Simplify by CSE.
7297 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7298 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7299 is used.
7300 (sh-guess-basic-offset): Use cl-incf.
7301 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7302
60db713e
HE
73032013-10-24 Helmut Eller <eller.helmut@gmail.com>
7304
7305 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7306 (bug#15699).
7307
8b251df6
GM
73082013-10-24 Glenn Morris <rgm@gnu.org>
7309
7310 * Makefile.in (abs_top_srcdir): Remove.
7311 (update-subdirs): Use relative path to update-subdirs.
7312
6be0e22b
EZ
73132013-10-24 Eli Zaretskii <eliz@gnu.org>
7314
7315 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7316 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
7317 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7318 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 7319
50b5b857
MA
73202013-10-24 Michael Albinus <michael.albinus@gmx.de>
7321
7322 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7323 (ert-test-skipped): New error.
7324 (ert-skip, ert-stats-skipped): New defuns.
7325 (ert--skip-unless): New macro.
7326 (ert-test-skipped): New struct.
7327 (ert--run-test-debugger, ert-test-result-type-p)
7328 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7329 (ert--stats-set-test-and-result, ert-char-for-test-result)
7330 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 7331 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 7332 Handle skipped tests. (Bug#9803)
50b5b857 7333
6f317c2f
GM
73342013-10-24 Glenn Morris <rgm@gnu.org>
7335
e43817c1
GM
7336 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7337
6f317c2f
GM
7338 * Makefile.in (abs_top_srcdir): New, set by configure.
7339 (update-subdirs): Correct build-aux location.
7340
369bbf71
DG
73412013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7342
8297b2cf
DG
7343 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7344 value, whether we could auto-deduce `backend', or not.
7345
369bbf71
DG
7346 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7347 with parameters" example. Simplify the "is it block or is it
7348 hash" check, but also make it more thorough.
7349
d5f1282f
MF
73502013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7351
7352 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7353
bc4aaa31
SM
73542013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7355
03d44565
SM
7356 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7357 { if it is hanging.
7358
bc4aaa31
SM
7359 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7360 :before ";".
7361
f493ff19
JB
73622013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7363
7364 * progmodes/compile.el (compilation-directory-matcher)
7365 (compilation-page-delimiter):
7366 Support GNU Make-4.0 directory quoting. (Bug#15678)
7367
c744a3b9
LL
73682013-10-23 Leo Liu <sdl.web@gmail.com>
7369
7370 * ido.el (ido-tidy): Handle read-only text.
7371
b8e3b0a9
GM
73722013-10-23 Glenn Morris <rgm@gnu.org>
7373
7374 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7375 (emacs, compile, compile-always):
7376 Quote entities that might contain whitespace.
7377 (custom-deps, finder-data, autoloads): Use abs_lisp.
7378 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7379 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7380 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7381
ee4282cd
DG
73822013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7383
bc4aaa31
SM
7384 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7385 Use `following-char'.
7790a270 7386
ee4282cd 73872013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
7388
7389 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7390 * progmodes/ruby-mode.el (ruby-smie-rules):
7391 Remove corresponding workaround. Fix indentation rule of ";" so it
7392 also applies when ";" is the parent.
7393
d40a46d7
XF
73942013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7395
7396 * frame.el (display-screens, display-pixel-height)
7397 (display-pixel-width, display-mm-width, display-backing-store)
7398 (display-save-under, display-planes, display-color-cells)
7790a270
SM
7399 (display-visual-class, display-monitor-attributes-list):
7400 Mention the optional ‘display’ argument in doc strings.
d40a46d7 7401
a0f143c9
MG
74022013-10-22 Michael Gauland <mikelygee@amuri.net>
7403
7404 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7405 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7406
18cacc39
DG
74072013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7408
7409 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7410 TODO. Add "." after " @ ".
7411 (ruby-smie--at-dot-call): New function. Checks if point at method
7412 call with explicit target.
7413 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7414 to the method name tokens when it precedes them.
7415 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7416 (ruby-smie-rules): Add rule for indentation before and after "."
7417 token.
7418
df74c4be
SM
74192013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7420
c6dab55f
SM
7421 * textmodes/remember.el (remember-diary-extract-entries):
7422 Avoid add-to-list.
7423
df74c4be
SM
7424 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7425 an instruction.
7426
8c1ae481
DG
74272013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7428
e9dc713d
JB
7429 * progmodes/ruby-mode.el (ruby-smie-grammar):
7430 Add (almost) all infix operators.
cfef16c0
DG
7431 (ruby-smie--implicit-semi-p): Add new operator chars.
7432
8c1ae481
DG
7433 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7434 `smie-down-list'.
7435 (ruby-smie--args-separator-p): Check that there's no newline
7436 between method call and its arguments.
7437
87756ca9
AM
74382013-10-20 Alan Mackenzie <acm@muc.de>
7439
7440 Allow comma separated lists after Java "implements".
7441
df74c4be
SM
7442 * progmodes/cc-engine.el (c-backward-over-enum-header):
7443 Parse commas.
87756ca9
AM
7444 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7445 from a "disallowed" list in enum fontification.
7446
c25f8957
JB
74472013-10-20 Johan Bockgård <bojohan@gnu.org>
7448
df74c4be 7449 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 7450
c25f8957
JB
7451 * progmodes/verilog-mode.el (verilog-mode): Don't set
7452 comment-indent-function globally.
7453
aca5fcdc
JD
74542013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7455
5f161884
JD
7456 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7457 Move Info menu item creation to ns-win.el.
7458
7459 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7460 in menu bar.
7461
a6c4680a 7462 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
7463
7464 * term/ns-win.el (ns-initialize-window-system): ... to here.
7465
914b7f98
SM
74662013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * simple.el (newline): Only run post-self-insert-hook when
7469 called interactively.
7470
846ffe77
JB
74712013-10-19 Johan Bockgård <bojohan@gnu.org>
7472
7473 * icomplete.el (icomplete-with-completion-tables): Add :version.
7474
033f22dd
AM
74752013-10-19 Alan Mackenzie <acm@muc.de>
7476
7477 Fix fontification bugs with constructors and const.
7478
7479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7480 CASE 2) Remove the check for the absence of a suffix construct
7481 after a function declaration with only types (no identifiers) in
7482 the parentheses. Also, accept a function declaration with just a
7483 type inside the parentheses, if this type can be positively
7484 recognised as such, or if a prefix keyword like "explicit" nails
7485 down the construct as a declaration.
7486
58ce0cfc
EZ
74872013-10-19 Eli Zaretskii <eliz@gnu.org>
7488
7489 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7490 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7491 the problem whereby selecting a menu item that leads to a
7492 minibuffer prompt moves the cursor out of the minibuffer window,
7493 making it hard to type at the prompt. Suggested by Stefan Monnier
7494 <monnier@iro.umontreal.ca>.
7495
50e28e7d
JD
74962013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7497
7498 * menu-bar.el: Don't make Services menu.
7499
7deed4bf
RS
75002013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7501
7502 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7503 (ffap-alist): Use ffap-c++-mode for c++-mode.
7504 (ffap-c++-path): New variable.
7505 (ffap-c++-mode): New function.
7506
7bcb455b
JVJ
75072013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7508
7509 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7510
f0ff1cd5
MA
75112013-10-18 Michael Albinus <michael.albinus@gmx.de>
7512
7513 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7514 introduced on 2013-09-08, which results in an infinite loop
7515 requesting a password.
7516
d64da4b7
GM
75172013-10-18 Glenn Morris <rgm@gnu.org>
7518
7519 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7520
ea89ff08
WS
75212013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7522
7523 Sync with upstream verilog-mode revision 1a6ecec7.
7524 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7525 (verilog-mode-release-date): Remove.
7526 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7527 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7528 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7529 (verilog-auto-tieoff-ignore-regexp)
7530 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7531 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7532 (verilog-signals-with, verilog-dir-cache-preserving)
7533 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7534 Doc fixes.
7535 (verilog-case-fold): New option, to control case folding in
7536 regexp searches, bug597.
7537 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7538 (verilog-string-match-fold, verilog-in-paren-count)
7539 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7540 (verilog-at-close-struct-p): New functions.
7541 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 7542 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
7543 (verilog-leap-to-case-head): Handle "unique0" case.
7544 (verilog-in-constraint-re): New constant.
7545 (verilog-keywords, verilog-type-font-keywords):
7546 Add some SystemVerilog 1800-2012 keywords.
7547 (verilog-label-be): Remove unimplemented argument, bug669.
7548 (verilog-batch-execute-func): When batch expanding clear
7549 create-lockfiles to prevent spurious user locks when a file ends
7550 up not changing.
7551 (verilog-calculate-indent, verilog-calc-1)
7552 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7553 (verilog-do-indent): Fix indentation of nested constraints
7554 and structures.
7555 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7556 (verilog-auto-inst-param): Use verilog-string-match-fold.
7557 (verilog-read-inst-module-matcher):
7558 Fix AUTOINST on gate primitives with #1.
7559 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7560 Reads all user-defined typed variables.
7561 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7562 (verilog-signals-matching-regexp)
7563 (verilog-signals-not-matching-regexp, verilog-auto):
7564 Respect verilog-case-fold.
7565 (verilog-diff-report): Fix line count.
7566 (verilog-auto-assign-modport): Remove unused local `modi'.
7567 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7568 better handle multidimensional arrays.
7569 Fix packed array ports misadding bit index in AUTOINST, bug637.
7570 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7571 to not double-declare existing outputs and inputs, respectively.
7572 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7573 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7574 (verilog-sk-uvm-component): New skeleton.
7575 (verilog-submit-bug-report): Add verilog-case-fold,
7576 remove verilog-mode-release-date.
7577
ef566920
BR
75782013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7579
a12bf61e 7580 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
7581 as before.
7582
29df8a0b
RT
75832013-10-18 Reuben Thomas <rrt@sc3d.org>
7584
e0eb0550 7585 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
7586 remember buffers (bug#13566).
7587
04a19a79
DC
75882013-10-18 Daniel Colascione <dancol@dancol.org>
7589
7590 When evaluating forms in ielm, direct standard output to ielm
7591 buffer. Add new ielm-return-for-effect command. Remove trailing
7592 whitespace throughout.
7593
7594 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7595 (ielm-return-for-effect): New command.
7596 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
7597 (ielm-eval-input): Accept optional `for-effect' parameter.
7598 Bind `standard-output' to stream we create using
04a19a79
DC
7599 `ielm-standard-output-impl'. Suppress printing result when
7600 `for-effect'.
7601 (ielm-standard-output-impl): New function.
7602 (inferior-emacs-lisp-mode): Explain new features in documentation.
7603
4c1f03ef
MA
76042013-10-17 Michael Albinus <michael.albinus@gmx.de>
7605
7606 Code cleanup.
7607
7608 * net/tramp.el (tramp-debug-message): Do not check for connection
7609 buffer.
7610 (tramp-message): Use "vector" connection property.
7611
7612 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7613 (tramp-equal-remote, tramp-eshell-directory-change)
7614 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7615 (tramp-adb-handle-rename-file)
7616 * net/tramp-cmds.el (tramp-list-remote-buffers)
7617 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7618 * net/tramp-compat.el (tramp-compat-process-running-p)
7619 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7620 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7621 (tramp-gvfs-handle-rename-file)
7622 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7623 (tramp-set-file-uid-gid)
7624 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7625 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7626 of `file-remote-p'.
7627
7628 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7629 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7630 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7631 (tramp-gw-open-network-stream): Suppress unrelated traces.
7632
7633 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7634 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7635 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7636 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7637 connection property.
7638
7639 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7640 persistency file.
4c1f03ef
MA
7641
7642 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7643 Refactor common code. Improve debug message.
7644 (tramp-maybe-open-connection)
7645 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7646 connection buffer too early.
7647
7648 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7649 from `tramp-smb-actions-with-acl'.
7650 (tramp-smb-actions-set-acl): New defconst.
7651 (tramp-smb-handle-copy-directory)
7652 (tramp-smb-action-get-acl): New defun, renamed from
7653 `tramp-smb-action-with-acl'.
7654 (tramp-smb-action-set-acl): New defun.
7655 (tramp-smb-handle-set-file-acl): Rewrite.
7656
642eb8b6
GM
76572013-10-17 Glenn Morris <rgm@gnu.org>
7658
7659 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7660
85527ff3
SM
76612013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7662
921c1d62
SM
7663 * skeleton.el (skeleton-newline): Remove.
7664 (skeleton-internal-1): Use (insert "\n") instead.
7665
e333fb10
SM
7666 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7667 let-bindings.
7668
85527ff3
SM
7669 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7670 forward-sexp-function while we redo its job (bug#15613).
7671
c8722a97
JB
76722013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7673
7674 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7675 represented by lists.
7676
7a550bbb
GM
76772013-10-16 Glenn Morris <rgm@gnu.org>
7678
7679 * tmm.el (tmm--history): New dynamic variable.
7680 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7681
f19da8ad
MA
76822013-10-16 Michael Albinus <michael.albinus@gmx.de>
7683
7684 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7685 (tramp-smb-errors): Add error messages.
7686 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7687 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7688 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7689 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7690 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7691 (tramp-smb-get-stat-capability): Fix tests.
7692
a24b9961
DK
76932013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7694
7695 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7696 (bug#15580).
7697
62ad85e6
GM
76982013-10-16 Glenn Morris <rgm@gnu.org>
7699
0283d6b0
GM
7700 * ansi-color.el (ansi-color-drop-regexp):
7701 Add 1J, 1K, 2K. (Bug#15617)
7702
012e2f9f
GM
7703 * files.el (hack-local-variables--warned-lexical): New.
7704 (hack-local-variables):
7705 Warn about misplaced lexical-binding. (Bug#15616)
7706
62ad85e6
GM
7707 * net/eww.el (eww-render): Always set eww-current-url,
7708 and update header line. (Bug#15622)
7709 (eww-display-html): ... Rather than just doing it here.
7710
6456c0ea
EZ
77112013-10-15 Eli Zaretskii <eliz@gnu.org>
7712
7713 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7714 menu navigations commands.
7715
c2de5588
DK
77162013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7717
7718 * progmodes/subword.el (subword-capitalize): Be careful when
7719 the search for [[:alpha:]] fails (bug#15580).
7720
ccd4a783
EZ
77212013-10-14 Eli Zaretskii <eliz@gnu.org>
7722
7723 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7724 to commands that scroll the menu.
7725
1eda1d8d
DG
77262013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7727
c2de5588
DK
7728 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7729 Handle methods ending with `?' and `!'.
1eda1d8d 7730
e70181b8
AM
77312013-10-14 Akinori MUSHA <knu@iDaemons.org>
7732
7733 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7734 `japanese-cp932' to `cp932' to fix the problem where saving a
7735 source file written in Shift_JIS twice would end up having
7736 `coding: japanese-cp932' which Ruby could not recognize.
7737 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7738 in `ruby-encoding-map'.
7739 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7740 doesn't need to be explicitly declared in magic comment.
7741 (ruby-encoding-map): Add type declaration for better customize UI.
7742
9148ee92
GM
77432013-10-13 Glenn Morris <rgm@gnu.org>
7744
a5d38e34
GM
7745 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7746 Occur buffers are read-only. http://bugs.debian.org/720775
7747
9148ee92
GM
7748 * emacs-lisp/authors.el (authors-fixed-entries):
7749 Comment out old alpha stuff.
7750
a9ba094b
DG
77512013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7752
7753 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7754 to `after-save-hook' instead of `before-save-hook'.
7755 (ruby-mode-set-encoding): Use the value of coding system used to
7756 write the file. Call `basic-save-buffer-1' after modifying the
7757 buffer.
7758
7a068717
AM
77592013-10-13 Alan Mackenzie <acm@muc.de>
7760
7761 Fix indentation/fontification of Java enum with
7762 "implements"/generic.
7763
c2de5588
DK
7764 * progmodes/cc-engine.el (c-backward-over-enum-header):
7765 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7766 (c-inside-bracelist-p): Uses new function above.
7767 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7768 function above.
7769 (c-font-lock-enum-tail): Uses new function above.
7770
85b64f02
KH
77712013-10-13 Kenichi Handa <handa@gnu.org>
7772
7773 * international/mule-cmds.el (select-safe-coding-system): Remove a
7774 superfluous condition in chekcing whether a coding system is safe
7775 or not.
7776
fc7f501b
OK
77772013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7778
7779 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7780
fdcb2049
AP
77812013-10-13 Andreas Politz <politza@hochschule-trier.de>
7782
7783 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7784
8c106d17
GM
77852013-10-13 Glenn Morris <rgm@gnu.org>
7786
feab892d
GM
7787 * menu-bar.el (menu-bar-update-buffers):
7788 Unify Buffers menu prompt string. (Bug#15576)
7789
b22d0686
GM
7790 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7791
8c106d17
GM
7792 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7793 Add some entries.
7794 (authors-fixed-entries): Use accented form of name.
7795
1b12c797
SM
77962013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7797
650fa7bf 7798 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7799 method calls (bug#15594).
650fa7bf
SM
7800 (ruby-smie--args-separator-p): New function.
7801 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7802 recognize paren-free method calls.
7803
1b12c797
SM
7804 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7805 internals of universal-argument.
7806
029619c8
EZ
78072013-10-11 Eli Zaretskii <eliz@gnu.org>
7808
7809 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7810 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7811 dropped menu on second mouse click on the menu bar.
029619c8 7812
dd070019
SM
78132013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7816 (explicit-shell-file-name): Declare.
7817 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7818 (sh-completion-at-point-function): New function.
7819 (sh-mode): Use it.
7820 (sh-smie--keyword-p): Remove unused argument.
7821 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7822 vars.
7823 (sh-set-shell): Always setup SMIE, even if we use the
7824 old indentation code.
7825
0922b826
DG
78262013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7827
b68e2926
DG
7828 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7829 cases of ? and =.
7830 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7831 predicate would return nil are almost non-existent.
7832 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7833
0922b826
DG
7834 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7835 cache also after commands that modify the buffer but don't move
7836 point.
7837
ee041f2d
SM
78382013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * env.el (substitute-env-in-file-name): New function.
7841 (substitute-env-vars): Extend the meaning of the optional arg.
7842
a5dab159
EZ
78432013-10-10 Eli Zaretskii <eliz@gnu.org>
7844
7845 * term/w32-win.el (dynamic-library-alist): Define separate lists
7846 of GIF DLLs for versions before and after 5.0.0 of giflib.
7847 (Bug#15531)
7848
0449d6cd 78492013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7850
7851 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7852 not locked, use last revision and current source as
7853 defaults. (Bug#15569)
7854
2f6e161e
MY
78552013-10-10 Masatake YAMATO <yamato@redhat.com>
7856
7857 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7858 menu-bar is hidden.
7859
6c8413fc
MR
78602013-10-10 Martin Rudalics <rudalics@gmx.at>
7861
7862 * window.el (pop-to-buffer-same-window): Fix doc-string.
7863 (Bug#15492)
7864
20832de0
SM
78652013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7868
c6e8ae77
AC
78692013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7870
7871 * calendar/icalendar.el (icalendar-import-file):
7872 Fix interactive spec. (Bug#15482)
7873
9db13baf
GM
78742013-10-10 Glenn Morris <rgm@gnu.org>
7875
9271e90e
GM
7876 * desktop.el (desktop-save): Default to saving in .emacs.d,
7877 since PWD is no longer in desktop-path by default. (Bug#15319)
7878
9db13baf
GM
7879 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7880 now that text mode has a menu with the same entry.
7881 (menu-bar-text-mode-auto-fill): Remove now unused func.
7882 * textmodes/text-mode.el (text-mode-map):
7883 Use auto-fill help text from menu-bar.el.
7884
a0be396a 78852013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7886
7887 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7888
2edcd3c7
JL
78892013-10-09 Juri Linkov <juri@jurta.org>
7890
7891 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7892 instead of this-command-keys. Add universal-argument-more and
7893 universal-argument-minus to the list of prefix commands. (Bug#15568)
7894
574411d0
GM
78952013-10-09 Glenn Morris <rgm@gnu.org>
7896
14afa541
GM
7897 * vc/vc-svn.el (vc-svn-create-repo):
7898 Expand paths in file://... url. (Bug#15446)
7899
574411d0
GM
7900 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7901 Add some entries.
7902 (authors): Remove unused local variables.
7903
79804536
SM
79042013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * profiler.el: Create a more coherent calltree from partial backtraces.
7907 (profiler-format): Hide the tail with `invisible' so that C-s can still
7908 find the hidden elements.
7909 (profiler-calltree-depth): Don't recurse so enthusiastically.
7910 (profiler-function-equal): New hash-table-test.
7911 (profiler-calltree-build-unified): New function.
7912 (profiler-calltree-build): Use it.
7913 (profiler-report-make-name-part): Indent the calltree less.
7914 (profiler-report-mode): Add visibility specs for profiler-format.
7915 (profiler-report-expand-entry, profiler-report-toggle-entry):
7916 Expand the whole subtree when provided with a prefix arg.
7917
238150c8
DG
79182013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7919
7920 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7921 iuwu-mod token.
7922 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7923 hanging iuwu-mod token.
7924 (ruby-smie--forward-token): Do not include a dot after a token in
7925 that token.
7926 (ruby-smie--backward-token): Likewise.
7927
b0949cc4
JL
79282013-10-08 Juri Linkov <juri@jurta.org>
7929
7930 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7931 to isearch-other-control-char.
7932 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7933 and isearch-post-command-hook to post-command-hook.
7934 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7935 and isearch-post-command-hook from post-command-hook.
7936 (isearch-unread-key-sequence)
7937 (isearch-reread-key-sequence-naturally)
7938 (isearch-lookup-scroll-key, isearch-other-control-char)
7939 (isearch-other-meta-char): Remove functions.
7940 (isearch-pre-command-hook, isearch-post-command-hook):
7941 New functions based on isearch-other-meta-char rewritten
7942 relying on the new behavior of overriding-terminal-local-map
7943 that does not replace the local keymaps any more. (Bug#15200)
7944
4ed77415
EZ
79452013-10-08 Eli Zaretskii <eliz@gnu.org>
7946
7947 Support menus on text-mode terminals.
7948 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7949 functionality.
7950
7951 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7952
c2de5588
DK
7953 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7954 Move here from mouse.el.
4ed77415
EZ
7955 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7956 and arrow keys.
7957 (tty-menu-navigation-map): New map for TTY menu navigation.
7958
7959 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7960
7961 * frame.el (display-mouse-p): Report text-mode mouse as available
7962 on w32.
7963 (display-popup-menus-p): Report availability if mouse is
7964 available; don't condition on window-system.
7965
7966 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7967 (tty-menu-selected-face): New faces.
7968
b7d5bd82
TL
79692013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7970
06286513
SM
7971 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7972 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7973 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7974 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7975 New constants.
7976 (lisp-mode-variables): New `elisp' argument.
7977 (emacs-lisp-mode): Use it.
7978 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7979 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7980
b7d5bd82
TL
7981 * indent.el: Use lexical-binding.
7982 (indent-region): Add progress reporter.
7983 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7984 last step.
7985 (indent--next-tab-stop): New function to implement this behavior.
7986 (tab-to-tab-stop, move-to-tab-stop): Use it.
7987
79882013-10-08 Teemu Likonen <tlikonen@iki.fi>
7989
7990 * indent.el (indent-rigidly--current-indentation): New function.
7991 (indent-rigidly-map): New var.
7992 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7993
5ea75d23
BG
79942013-10-08 Bastien Guerry <bzg@gnu.org>
7995
f2726fa2 7996 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7997
cc5da1ec
SM
79982013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8ffa1a0b
SM
8000 * progmodes/perl-mode.el: Use lexical-binding.
8001 Remove redundant :group args.
8002 (perl-nochange): Change default to be closer to other major modes's
8003 standard behavior.
8004 (perl-indent-line): Don't consider text on current line as a
8005 valid beginning of function from which to indent.
8006
f2223371
SM
8007 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8008 with more than one argument (bug#15538).
8009
44256060
SM
8010 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8011
cc5da1ec
SM
8012 * vc/pcvs.el: Use lexical-binding.
8013 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8014 environment of `eval'.
8015 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8016 than a list of expressions. Adjust callers.
8017 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8018
0ea1599d
DG
80192013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8020
8021 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 8022 case of the dot in a chained method call being on the following line.
0ea1599d 8023
da3e5ebb
SM
80242013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8025
2abb4e65
SM
8026 * electric.el (electric-indent-inhibit): New var.
8027 (electric-indent-post-self-insert-function): Use it.
8028 * progmodes/python.el (python-mode): Set it.
8029
d2e0e795
SM
8030 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8031 open braces.
8032
8033 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8034
bdc6b4c8
SM
8035 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8036 (css-mode): Use electric-indent-chars.
8037
da3e5ebb
SM
8038 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8039 (font-lock-beg, font-lock-end): Move before first use.
8040 (nxml-mode): Use syntax-propertize-function.
8041 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8042 (nxml-extend-after-change-region): Remove.
8043 * nxml/xmltok.el: Use lexical-binding.
8044 (xmltok-save): Use `declare'.
8045 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8046 * nxml/nxml-util.el: Use lexical-binding.
8047 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8048 Use `declare'.
8049 * nxml/nxml-ns.el: Use lexical-binding.
8050 (nxml-ns-save): Use `declare'.
8051 (nxml-ns-prefixes-for): Avoid add-to-list.
8052 * nxml/rng-match.el: Use lexical-binding.
8053 (rng--ipattern): Use cl-defstruct.
8054 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8055 (rng-cons-group-after, rng-subst-group-after)
8056 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8057 Use closures instead of `(lambda...).
8058
f8f91d5d
MA
80592013-10-07 Michael Albinus <michael.albinus@gmx.de>
8060
8061 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8062 of BEG and END.
8063
da3e5ebb
SM
8064 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8065 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
8066 (tramp-gvfs-handle-insert-file-contents): Remove function.
8067
da3e5ebb
SM
8068 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8069 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
8070
8071 * net/trampver.el: Update release number.
8072
7ccae3b1
SM
80732013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8074
55ca2c0d
SM
8075 * progmodes/compile.el (compilation-parse-errors):
8076 Use compilation--put-prop.
8077 (compilation--ensure-parse): Check compilation-multiline.
8078
731fc3ae
SM
8079 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8080
da3e5ebb
SM
8081 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8082 lexical-binding.
a5833280 8083
2e7ba2c2
SM
8084 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8085
7ccae3b1
SM
8086 * progmodes/ruby-mode.el: Fix recently added tests.
8087 (ruby-smie-grammar): Add - and +.
8088 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8089 (ruby-smie--backward-id): New functions.
8090 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8091 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8092 any more.
8093
85698d63
LL
80942013-10-07 Leo Liu <sdl.web@gmail.com>
8095
8096 * register.el (register-preview-delay)
8097 (register-preview-functions): New variables.
8098 (register-read-with-preview, register-preview)
8099 (register-describe-oneline): New functions.
8100 (point-to-register, window-configuration-to-register)
8101 (frame-configuration-to-register, jump-to-register)
8102 (number-to-register, view-register, insert-register)
8103 (copy-to-register, append-to-register, prepend-to-register)
8104 (copy-rectangle-to-register): Use register-read-with-preview to
8105 read register. (Bug#15525)
8106
3986af6c
DS
81072013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8108
8109 * net/network-stream.el (network-stream-open-starttls): Don't add
8110 --insecure if it's already present, because that gnutls-cli
8111 rejects getting that parameter twice.
8112
5cd9cda9
DG
81132013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8114
8115 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8116 keyword, too.
8117
da9ea6d9
DG
81182013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8119
8120 * newcomment.el (comment-use-global-state): Change default value
8121 to t, mark obsolete (Bug#15251).
8122 (comment-beginning): In addition to `comment-to-syntax', check the
8123 value of `comment-use-global-state'.
8124
34d1a133
SM
81252013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8128 (ruby-comment-column): Follow the global default, by default.
8129 (ruby-smie-grammar): Add assignment syntax.
8130 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8131 open-paren, a comma, or a \.
8132 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8133 and line continuations.
8134 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8135 followed by implicit semi-colons. Add rule for string concatenation
8136 and for indentation at BOB.
27821a89 8137 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
8138
8139 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8140 calling next-sexp, since next-token may have skipped chars which
8141 next-sexp doesn't know should be skipped!
8142
6f6ab820
LL
81432013-10-05 Leo Liu <sdl.web@gmail.com>
8144
34d1a133
SM
8145 * progmodes/octave.el (octave-send-region):
8146 Call compilation-forget-errors.
6f6ab820 8147
34ca0f4c
XF
81482013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8149
8150 * vc/vc-svn.el (vc-svn-find-admin-dir):
8151 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8152 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8153 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8154 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8155
a27c1b72
SM
81562013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8159
258ab3bc
SM
81602013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * subr.el (read-passwd): Hide chars even when called within a context
8163 where after-change-functions is disabled (bug#15501).
8164 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8165 until we removed ourself from overriding-terminal-local-map.
8166
939fb29c
LL
81672013-10-04 Leo Liu <sdl.web@gmail.com>
8168
258ab3bc
SM
8169 * progmodes/octave.el (inferior-octave-mode):
8170 Call compilation-forget-errors.
939fb29c 8171
63bd7f35
XF
81722013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8173
8174 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8175
9e6229fa
MA
81762013-10-04 Michael Albinus <michael.albinus@gmx.de>
8177
8178 * net/secrets.el (secrets-create-collection): Add optional
8179 argument ALIAS. Use proper Label keyword. Append ALIAS as
8180 dbus-call-method argument. (Bug#15516)
8181
1dab32a3
LL
81822013-10-04 Leo Liu <sdl.web@gmail.com>
8183
8184 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8185 (inferior-octave-compilation-font-lock-keywords): New variables.
8186 (compilation-error-regexp-alist)
8187 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8188 (inferior-octave-mode): Use compilation-shell-minor-mode.
8189
6cad7ba3
JS
81902013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8191
8192 * minibuffer.el (completion--replace): Be careful that `end' might be
8193 a marker.
8194
acbadd00
DU
81952013-10-03 Daiki Ueno <ueno@gnu.org>
8196
8197 Add support for package signature checking.
8198 * emacs-lisp/package.el (url-http-file-exists-p)
8199 (epg-make-context, epg-context-set-home-directory)
8200 (epg-verify-string, epg-context-result-for)
8201 (epg-signature-status, epg-signature-to-string)
8202 (epg-check-configuration, epg-configuration)
8203 (epg-import-keys-from-file): Declare.
8204 (package-check-signature): New user option.
8205 (package-unsigned-archives): New user option.
8206 (package-desc): Add `signed' field.
8207 (package-load-descriptor): Set `signed' field if .signed file exists.
8208 (package--archive-file-exists-p): New function.
8209 (package--check-signature): New function.
8210 (package-install-from-archive): Check package signature.
8211 (package--download-one-archive): Check archive signature.
8212 (package-delete): Remove .signed file.
8213 (package-import-keyring): New command.
8214 (package-refresh-contents): Import default keyring.
8215 (package-desc-status): Add "unsigned" status.
8216 (describe-package-1, package-menu--print-info)
8217 (package-menu-mark-delete, package-menu--find-upgrades)
8218 (package-menu--status-predicate): Support "unsigned" status.
8219
adf2aa61
SM
82202013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8223 the new compilation scheme using the new byte-codes.
8224
8225 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8226 (byte-pophandler): New byte codes.
8227 (byte-goto-ops): Adjust accordingly.
8228 (byte-compile--use-old-handlers): New var.
8229 (byte-compile-catch): Use new byte codes depending on
8230 byte-compile--use-old-handlers.
8231 (byte-compile-condition-case--old): Rename from
8232 byte-compile-condition-case.
8233 (byte-compile-condition-case--new): New function.
8234 (byte-compile-condition-case): New function that dispatches depending
8235 on byte-compile--use-old-handlers.
8236 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8237 when we can.
8238
8239 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8240 Optimize under `condition-case' and `catch' if
8241 byte-compile--use-old-handlers is nil.
8242 (disassemble-offset): Handle new bytecodes.
8243
328a8179
SM
82442013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * subr.el (error): Use `declare'.
8247 (decode-char, encode-char): Use advertised-calling-convention instead
8248 of the docstring to discourage use of the `restriction' arg.
8249
15a1e936
DU
82502013-10-03 Daiki Ueno <ueno@gnu.org>
8251
8252 * epg.el (epg-verify-file): Add a comment saying that it does not
8253 notify verification error as a return value nor a signal.
8254 (epg-verify-string): Ditto.
8255
376f862a
KR
82562013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8257
8258 * progmodes/compile.el (compilation-start): Try globbing the arg to
8259 `cd' (bug#15417).
8260
a2f93a5f
MA
82612013-10-02 Michael Albinus <michael.albinus@gmx.de>
8262
8263 Sync with Tramp 2.2.8.
8264
8265 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8266 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8267 * net/trampver.el: Update release number.
8268
0daa0804
JD
82692013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8270
8271 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8272 and default-process-coding-system for darwin only.
8273
abd1ae34
SM
82742013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8277
be4e325d
MH
82782013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8279
8280 * vc/vc-git.el (vc-git-grep): Disable pager.
8281
e9155c4a
DG
82822013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8283
494e898b
DG
8284 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8285 Use :url instead of :homepage, as per
8286 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8287
e9155c4a
DG
8288 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8289 non-nil, use `syntax-ppss' (Bug#15251).
8290
481a8e0f
RS
82912013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8292
be4e325d
MH
8293 * progmodes/octave.el (inferior-octave-startup-file):
8294 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 8295
056453c6
DG
82962013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8297
be4e325d
MH
8298 * emacs-lisp/package.el (package-desc-from-define):
8299 Accept additional arguments as plist, convert them to an alist and store
8300 them in the `extras' slot.
056453c6
DG
8301 (package-generate-description-file): Convert extras alist back to
8302 plist and append to the `define-package' form arguments.
8303 (package--alist-to-plist): New function.
8304 (package--ac-desc): Add `extras' slot.
8305 (package--add-to-archive-contents): Check if the archive-contents
8306 vector is long enough, and if it is, pass its `extras' slot value
8307 to `package-desc-create'.
8308 (package-buffer-info): Call `lm-homepage', pass the returned value
8309 to `package-desc-from-define'.
8310 (describe-package-1): Render the homepage button (Bug#13291).
8311
be4e325d
MH
8312 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8313 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 8314
832966e5
JD
83152013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8316
8317 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8318 and default-process-coding-system to utf-8-unix (Bug#15402).
8319
6cfe977d
XF
83202013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8321
8322 * subr.el (looking-back): Do not recommend using looking-back.
8323
38de11bd
AM
83242013-09-28 Alan Mackenzie <acm@muc.de>
8325
8326 Fix indentation/fontification of Java enum with "implements".
8327
8328 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8329 regexp which matches "implements", etc., in Java.
8330 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8331 specifier clauses coming after "enum".
8332 * progmodes/cc-fonts.el (c-font-lock-declarations)
8333 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8334 after "enum".
8335
1610938f
JD
83362013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8337
8338 * faces.el (region): Change ns_selection_color to
8339 ns_selection_fg_color, add ns_selection_bg_color.
8340
e090f499
LL
83412013-09-28 Leo Liu <sdl.web@gmail.com>
8342
4d2e94d1
LL
8343 * progmodes/octave.el (inferior-octave-completion-table)
8344 (inferior-octave-completion-at-point): Minor tweaks.
8345
e090f499
LL
8346 * textmodes/ispell.el (ispell-lookup-words): Rename from
8347 lookup-words. (Bug#15460)
8348 (lookup-words): Obsolete.
8349 (ispell-complete-word, ispell-command-loop): All uses changed.
8350
7e138a62
RS
83512013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8352
a12bf61e 8353 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
8354 (octave-mode-menu): Add octave-send-buffer.
8355 (octave-send-buffer): New function.
8356
5af5ed08
RS
83572013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8358
a12bf61e 8359 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
8360 octave-lookfor.
8361 (octave-mode-menu): Add octave-lookfor.
8362 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8363 octave-lookfor.
8364 (octave-lookfor): New function.
8365
3b7b2692
SM
83662013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8367
35e951cd 8368 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
8369 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8370 its convention.
8371 (cl--loop-set-iterator-function): New function.
8372 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8373 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8374 Bind `it' with `let' instead of substituting it with `cl-subst'.
8375 (cl--unused-var-p): New function.
8376 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8377 Eliminate some unused variable warnings (bug#15326).
8378
529fb53f
TH
83792013-09-27 Tassilo Horn <tsdh@gnu.org>
8380
8381 * doc-view.el (doc-view-scale-reset): Rename from
8382 `doc-view-reset-zoom-level'.
8383 (doc-view-scale-adjust): New command.
8384 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8385 `doc-view-scale-adjust'.
8386
0550c95a
TH
83872013-09-26 Tassilo Horn <tsdh@gnu.org>
8388
8389 * doc-view.el (doc-view-reset-zoom-level): New command.
8390 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8391 zoom commands (bug#15466).
8392
6950f152
KH
83932013-09-26 Kenichi Handa <handa@gnu.org>
8394
8395 * international/quail.el (quail-help): Make it not a command.
8396
39587580
LL
83972013-09-26 Leo Liu <sdl.web@gmail.com>
8398
8399 * minibuffer.el (completion-all-sorted-completions): Make args
8400 optional as they are.
8401
00578659
DC
84022013-09-25 Daniel Colascione <dancol@dancol.org>
8403
8404 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8405 specs are and that they're not evaluated.
8406
0c173878
SS
84072013-09-24 Sam Steingold <sds@gnu.org>
8408
8409 * midnight.el (clean-buffer-list-kill-regexps)
8410 (clean-buffer-list-kill-buffer-names): Update for the new Man
8411 buffer naming which includes the object name.
8412
84998447
SM
84132013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8416 (eshell-parse-command, eshell-parse-pipeline): Use it since
8417 eshell-separate-commands requires a dynamic scoped var.
8418 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8419
33215353
LL
84202013-09-23 Leo Liu <sdl.web@gmail.com>
8421
8422 * autoinsert.el (auto-insert-alist): Make the value of
8423 lexical-binding match its file setting.
8424
57b16162
JB
84252013-09-23 Juanma Barranquero <lekktu@gmail.com>
8426
c8af4e67
JB
8427 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8428
57b16162
JB
8429 * autoarg.el (autoarg-kp-digit-argument):
8430 * electric.el (Electric-command-loop):
8431 * kmacro.el (kmacro-step-edit-insert):
8432 Do not set universal-argument-num-events.
8433
7186ba60
LL
84342013-09-22 Leo Liu <sdl.web@gmail.com>
8435
8436 * files.el (interpreter-mode-alist): Add octave.
8437
ece15004
AM
84382013-09-21 Alan Mackenzie <acm@muc.de>
8439
8440 C++: fontify identifier in declaration following "public:" correctly.
8441 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8442 to match "public", etc.
8443 (c-decl-prefix-re): Add ":" into the C++ value.
8444 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8445 bit. Add a check for a ":" preceded by "public", etc.
8446
75d83e22
EZ
84472013-09-21 Eli Zaretskii <eliz@gnu.org>
8448
8449 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8450 recognized by GDB 7.5 and later.
8451
d052d3bd
XF
84522013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8453
8454 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8455
31dca772
R
84562013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * subr.el (internal--call-interactively): New const.
8459 (called-interactively-p): Use it (bug#3984).
8460
98ccf24e
XF
84612013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8462
8463 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
8464 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8465 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 8466
c39cc7d1
SM
84672013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8470 (eshell-ls-orig-insert-directory): Remove.
8471 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8472 (eshell-ls-use-in-dired): Use advice-add/remove.
8473 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8474 Add `orig-fun' arg for use in :around advice.
8475 Make it check (redundantly) eshell-ls-use-in-dired.
8476
9a0289a2
GM
84772013-09-19 Glenn Morris <rgm@gnu.org>
8478
a2c501b8
GM
8479 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8480
c440407a
GM
8481 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8482
9a0289a2
GM
8483 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8484
85e05915
MA
84852013-09-19 Michael Albinus <michael.albinus@gmx.de>
8486
8487 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8488 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8489 (tramp-get-remote-python): New defuns.
8490 (tramp-get-remote-uid-with-perl)
8491 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8492 contributed by yary <not.com@gmail.com> (tiny change).
8493 (tramp-get-remote-uid-with-python)
8494 (tramp-get-remote-gid-with-python): New defuns. Python code
8495 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8496 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8497
ce503312
GM
84982013-09-19 Glenn Morris <rgm@gnu.org>
8499
f7544773
GM
8500 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8501
72fd2877
GM
8502 * eshell/em-unix.el (eshell-remove-entries):
8503 Rename argument to avoid name-clash with global `top-level'.
8504
336b5a56
GM
8505 * eshell/esh-proc.el (eshell-kill-process-function):
8506 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8507 (eshell-reset-after-proc): Remove unused arg `proc'.
8508
57a3a53d
GM
8509 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8510 (directory-files-and-attributes): Mark unused arg.
8511
3261d4af
GM
8512 * eshell/em-unix.el (eshell-remove-entries):
8513 Remove unused arg `path'. Update callers.
8514
8e51b5d0
GM
8515 * eshell/em-hist.el (eshell-hist-parse-arguments):
8516 Remove unused arg `silent'. Update callers.
8517
ce503312
GM
8518 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8519 Fix (f)boundp mix-up.
8520
8521 * eshell/em-smart.el (eshell-smart-scroll-window)
8522 (eshell-disable-after-change):
336b5a56 8523 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 8524
ee3ce8a7
AM
85252013-09-18 Alan Mackenzie <acm@muc.de>
8526
8527 Fix fontification of type when followed by "const".
8528 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8529 "known" types from fontification.
8530
ec9177ba
GM
85312013-09-18 Glenn Morris <rgm@gnu.org>
8532
7bb3e768
GM
8533 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8534 (chart-face-list): Drop Emacsen without display-color-p.
8535
5148da15
GM
8536 * net/eww.el (libxml-parse-html-region): Declare.
8537 (eww-display-html): Explicit error if no libxml2 support.
8538
2f68e157
GM
8539 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8540
9019d095
GM
8541 * image.el (image-type-from-buffer, image-multi-frame-p):
8542 Remove --without-x warning/error.
67645389 8543
5f30349b 8544 * mouse.el (mouse-yank-primary):
45069b2e 8545 * term.el (term-mouse-paste):
5f30349b
GM
8546 Reorder to silence --without-x compilation.
8547
cd8edbbe
GM
8548 * mpc.el (doc-view-mode): Silence --without-x compilation.
8549
8a78544e
GM
8550 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8551 Silence --without-x compilation.
8552
12679bfd
GM
8553 * progmodes/gud.el (gud-find-file, gud-mode):
8554 Silence --without-x compilation.
8555 (tooltip-mode): Declare.
30810a05 8556
f0047cb9
GM
8557 * wdired.el (dired-backup-overwrite): Remove declaration.
8558 (wdired-mode-map): Add doc string.
8559
e740f9d2
GM
8560 * custom.el (x-get-resource): Declare.
8561
92d77c89
GM
8562 * eshell/em-glob.el (ange-cache):
8563 * eshell/em-unix.el (ange-cache): Declare.
8564
76e69577
GM
8565 * faces.el (x-display-list, x-open-connection, x-get-resource):
8566 Declare.
7e58af4b
GM
8567
8568 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8569 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8570 Declare.
76e69577 8571
4bd4c0af 8572 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 8573
ffb82dbd
GM
8574 * net/gnutls.el (gnutls-log-level): Declare.
8575
986ed135
GM
8576 * net/shr.el (image-size, image-animate): Declare.
8577
e740f9d2
GM
8578 * simple.el (font-info): Declare.
8579
d2f3e9f8
GM
8580 * subr.el (x-popup-dialog): Declare.
8581
047a1a4c
GM
8582 * term/common-win.el (x-select-enable-primary)
8583 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8584 Declare.
8585
f4a1d572
GM
8586 * term/ns-win.el (x-handle-args): Declare.
8587
e843de77
GM
8588 * term/x-win.el (x-select-enable-clipboard): Declare.
8589
5fa89513
GM
8590 * term/w32-win.el (create-default-fontset): Declare.
8591
38702b5b
GM
8592 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8593 Declare.
8594
e740f9d2
GM
8595 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8596 (fit-frame-to-buffer): Explicit error if --without-x.
8597 (mouse-autoselect-window-select): Silence compiler.
8598
49a053fc
GM
8599 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8600
8601 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8602 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8603 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 8604 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
8605 Remove unused local variables.
8606
8607 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8608
ec9177ba
GM
8609 * textmodes/two-column.el: Make 2C-split work for --without-x.
8610 (scroll-bar-columns): Autoload.
8611 (top-level): Require fringe when compiling.
8612
9f25cb77
LL
86132013-09-18 Leo Liu <sdl.web@gmail.com>
8614
8615 * subr.el (add-hook): Robustify to handle closure as well.
8616
2b42da98
GM
86172013-09-17 Glenn Morris <rgm@gnu.org>
8618
8619 * simple.el (messages-buffer-mode-map): Unbind "g".
8620
e8b66a6a
SM
86212013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8622
9c0ad4f7
SM
8623 * help-mode.el (help-mode-finish): Use derived-mode-p.
8624 Remove obsolete highlighting.
8625
7a806dfb
SM
8626 * play/life.el (life-mode): Use define-derived-mode. Derive from
8627 special-mode.
8628 (life): Let-bind inhibit-read-only.
8629 (life-setup): Avoid `setq'. Use `life-mode'.
8630
96dbf5a8
SM
8631 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8632 which should not be needed any more.
8633 (package-menu-refresh, package-menu-describe-package): Use user-error.
8634
e8b66a6a
SM
8635 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8636 (eshell-post-rewrite-command-hook): Make obsolete.
8637 (eshell-parse-command): Simplify.
8638 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8639 (eshell--cmd): Declare.
8640 (eshell-parse-pipeline): Remove unused var `final-p'.
8641 Pass a dynvar to eshell-post-rewrite-command-hook.
8642 Implement the new eshell-post-rewrite-command-function.
8643 (eshell-invoke-directly): Remove unused arg `input'.
8644 * eshell/esh-io.el (eshell-io-initialize):
8645 Use eshell-post-rewrite-command-function (bug#15399).
8646 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8647 adjust to new calling convention.
8648 (eshell-create-handles): Rename args to avoid clashing with dynvar
8649 `standard-output'.
8650
90582f05
GM
86512013-09-17 Glenn Morris <rgm@gnu.org>
8652
8653 * simple.el (messages-buffer-mode): New major mode.
8654 (messages-buffer): New function.
8655 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8656 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8657 (ert-run-test): Use `messages-buffer' function.
90582f05 8658 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8659 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8660 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8661
39eb0cb5 86622013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8663
8664 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8665
1d42e5b6 8666 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8667
70568a90
SM
86682013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8669
504a0381
SM
8670 * icomplete.el (icomplete-in-buffer): New var.
8671 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8672 vars and replace them with functions.
8673 (icomplete-minibuffer-setup): Adjust accordingly.
8674 (icomplete--completion-table, icomplete--completion-predicate)
8675 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8676 New functions.
8677 (icomplete-forward-completions, icomplete-backward-completions)
8678 (icomplete-simple-completing-p, icomplete-exhibit)
8679 (icomplete-completions): Use them.
8680 (icomplete--in-region-buffer): New var.
8681 (icomplete--in-region-setup): New function.
8682 (icomplete-mode): Use it.
8683
70568a90
SM
8684 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8685 (bug#15379).
8686 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8687 return args and options.
8688 (eshell-eval-using-options): Use the new return value of
8689 eshell--do-opts to set the options's vars in their scope.
8690 (eshell--set-option): Rename from eshell-set-option.
8691 Add arg `opt-vals'.
8692 (eshell--process-option): Rename from eshell-process-option.
8693 Add arg `opt-vals'.
8694 (eshell--process-args): Use an `opt-vals' alist to store the options's
8695 values during their processing and return them additionally to the
8696 remaining args.
8697
578c21bc
DG
86982013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8699
8700 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8701 continuation character an operator, as far as indentation is
8702 concerned (Bug#15369).
8703
c089653d
MR
87042013-09-15 Martin Rudalics <rudalics@gmx.at>
8705
8706 * window.el (window--state-put-2): Don't process buffer state
8707 when buffer doesn't exist any more (Bug#15382).
8708
1e53bb4b
GM
87092013-09-15 Glenn Morris <rgm@gnu.org>
8710
30753242
GM
8711 * eshell/em-unix.el (eshell/rm):
8712 Make -f ignore missing files. (Bug#15373)
8713
1e53bb4b
GM
8714 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8715 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8716 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8717
0d8863b3
GM
87182013-09-14 Glenn Morris <rgm@gnu.org>
8719
8720 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8721
d3fc6549
GM
87222013-09-13 Glenn Morris <rgm@gnu.org>
8723
8724 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8725 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8726
fcd42c11
DA
87272013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8728
8729 * frame.el (x-focus-frame): Mark as declared in frame.c.
8730
7830899f
SM
87312013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * ls-lisp.el: Use advice-add.
8734 (original-insert-directory): Remove.
8735 (ls-lisp--insert-directory): Rename from insert-directory; add
8736 `orig-fun' argument.
8737 (insert-directory): Advise.
8738
84387cd2
EZ
87392013-09-13 Eli Zaretskii <eliz@gnu.org>
8740
8741 * term.el (term-emulate-terminal): Decode the command string
8742 before passing it to term-command-hook. (Bug#15337)
8743
35ffc6ba
GM
87442013-09-13 Glenn Morris <rgm@gnu.org>
8745
5c3f9bcc
GM
8746 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8747
2ada368a
GM
8748 * eshell/esh-ext.el (eshell-search-path): Declare.
8749
fcef2e13
GM
8750 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8751 Otherwise an error occurs if eshell-dirs module not loaded.
8752
35ffc6ba
GM
8753 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8754
35c3d36e
MA
87552013-09-13 Michael Albinus <michael.albinus@gmx.de>
8756
8757 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8758 `tramp-check-proper-host'. Check for a valid method name.
8759
8760 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8761 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8762 * net/tramp-sh.el (tramp-maybe-open-connection):
8763 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8764
8765 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8766 also for hash values.
8767
ae5e4c48
SM
87682013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8769
379add74
SM
8770 * term/ns-win.el (parameters): Don't declare as dynamic.
8771 (before-make-frame-hook): Don't add ineffective function.
8772
ae5e4c48
SM
8773 * eshell/*.el: Use lexical-binding (bug#15231).
8774
b5623270
KH
87752013-09-12 Kenichi Handa <handa@gnu.org>
8776
ae5e4c48 8777 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8778
30213927
GM
87792013-09-12 Glenn Morris <rgm@gnu.org>
8780
be94d713 8781 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8782 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8783
44915370
GM
8784 * subr.el (do-after-load-evaluation): Also give compiler warnings
8785 when obsolete files are used (except by obsolete files).
8786
a6ae021f
GM
8787 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8788 in the status output, assume `filename' is the first. (Bug#15322)
8789
40e64f0c
GM
8790 * vc/vc.el (vc-deduce-fileset): Doc fix.
8791
16d9f896
GM
8792 * calc/calc-help.el (Info-goto-node):
8793 * progmodes/cperl-mode.el (Info-find-node):
8794 * vc/ediff.el (Info-goto-node): Update declarations.
8795
dea01c6e
GM
8796 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8797
759880bf 8798 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8799 (vc-bzr-pull): Require vc-dispatcher.
8800 * vc/vc-git.el (vc-compilation-mode): Declare.
8801 (vc-git-pull): Require vc-dispatcher.
8802
08d66420
GM
8803 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8804
30b626e9
GM
8805 * progmodes/octave.el (help-button-action): Declare.
8806
8c05cb10
GM
8807 * shell.el (shell-directory-tracker): Output error as a message
8808 rather than just returning it as a string.
8809 (shell-process-pushd): Remove useless use of message.
8810
30213927
GM
8811 * dframe.el (dframe-timer-fn):
8812 * files.el (dir-locals-read-from-file):
8813 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8814 (mpc-format):
8815 * reveal.el (reveal-post-command):
8816 * saveplace.el (load-save-place-alist-from-file):
8817 * shell.el (shell-resync-dirs):
8818 * w32-common-fns.el (x-get-selection-value):
8819 * emacs-lisp/copyright.el (copyright-find-copyright):
8820 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8821 * emulation/tpu-edt.el (tpu-copy-keyfile):
8822 * play/bubbles.el (bubbles--mark-neighbourhood):
8823 * progmodes/executable.el
8824 (executable-make-buffer-file-executable-if-script-p):
8825 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8826
d3b049e6
SM
88272013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8828
170266d0
SM
8829 Cleanup Eshell to rely less on dynamic scoping.
8830 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8831 last-value, and ext-command here. Bind `args' closer to `body'.
8832 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8833 (eshell--args): Declare new dynamic var.
8834 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8835 last-value, and ext-command. Pass `args' to `body'.
8836 (eshell-process-args): Bind eshell--args.
8837 (eshell-set-option): Use eshell--args.
8838 * eshell/eshell.el (eshell): Use derived-mode-p.
8839 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8840 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8841 (eshell-glob-function): Declare.
8842 * eshell/esh-util.el: Require cl-lib.
8843 (eshell-read-hosts-file): Avoid add-to-list.
8844 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8845 `err'.
8846 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8847 Declare.
8848 (eshell/diff): Remove unused var `err'.
8849 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8850 `killflag'.
8851 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8852 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8853 first use.
8854 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8855 Move declaration before first use.
8856 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8857 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8858 rely on cl-return.
8859
56834f3b
GM
88602013-09-12 Glenn Morris <rgm@gnu.org>
8861
8862 * term/ns-win.el (global-map): Remove binding for ispell-next,
8863 deleted 1999-05-29. (Bug#15357)
8864
5c91a2b8
GM
88652013-09-11 Glenn Morris <rgm@gnu.org>
8866
da712f22
GM
8867 * echistory.el (electric-command-history): Remove call to deleted func.
8868
512e4cdc
GM
8869 * play/landmark.el (landmark-mode): Fix typos.
8870
d3506ca5
GM
8871 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8872 Check cvs-sort-ignore-file is bound.
8873
5c91a2b8
GM
8874 * savehist.el: No need for cl when compiling on Emacs.
8875
feeff482
SM
88762013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8877
656bd483
SM
8878 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8879 (bug#15338).
d3b049e6
SM
8880 (eshell-self-insert-command, eshell-send-invisible):
8881 Remove unused argument.
656bd483
SM
8882 (eshell-handle-control-codes): Remove unused var `orig'.
8883 Avoid delete-backward-char.
8884
feeff482
SM
8885 * files.el (set-auto-mode): Simplify a bit further.
8886
2a08047a
GM
88872013-09-11 Glenn Morris <rgm@gnu.org>
8888
8889 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8890 (set-auto-mode): Don't regexp-quote elements.
8891 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8892 * progmodes/cc-mode.el (interpreter-mode-alist):
8893 * progmodes/ruby-mode.el (interpreter-mode-alist):
8894 Revert previous change.
8895
34675540
SM
88962013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8897
1b3b87df
SM
8898 * play/snake.el (snake-mode):
8899 * play/mpuz.el (mpuz-mode):
8900 * play/landmark.el (lm-mode):
8901 * play/blackbox.el (blackbox-mode):
8902 * play/5x5.el (5x5-mode):
8903 * obsolete/options.el (Edit-options-mode):
8904 * net/quickurl.el (quickurl-list-mode):
8905 * net/newst-treeview.el (newsticker-treeview-mode):
8906 * mail/rmailsum.el (rmail-summary-mode):
8907 * mail/mspools.el (mspools-mode):
8908 * locate.el (locate-mode):
8909 * ibuffer.el (ibuffer-mode):
8910 * emulation/ws-mode.el (wordstar-mode):
8911 * emacs-lisp/debug.el (debugger-mode):
8912 * array.el (array-mode):
8913 * net/eudc.el (eudc-mode): Use define-derived-mode.
8914 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8915 Move initialization into declaration.
8916 (mairix-searches-mode): Use define-derived-mode.
8917 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8918 (eudc-edit-hotlist): Use dolist.
8919 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8920 (Man-mode): Use define-derived-mode.
8921 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8922 (Info-edit-mode): Use define-derived-mode.
8923 (Info-cease-edit): Use Info-mode.
8924 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8925 into declaration.
8926 (eshell-mode): Use define-derived-mode.
8927 * chistory.el (command-history-mode-map): Rename from
8928 command-history-map.
8929 (command-history-mode): Use define-derived-mode.
da712f22 8930 (Command-history-setup): Remove function.
1b3b87df
SM
8931 * calc/calc.el (calc-trail-mode-map): New var.
8932 (calc-trail-mode): Use define-derived-mode.
8933 (calc-trail-buffer): Set calc-main-buffer manually.
8934 * bookmark.el (bookmark-insert-annotation): New function.
8935 (bookmark-edit-annotation): Use it.
8936 (bookmark-edit-annotation-mode): Make it a proper major mode.
8937 (bookmark-send-edited-annotation): Use derived-mode-p.
8938 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8939 closer to its ideal place. Use \' to match EOS.
8940
34675540
SM
8941 * profiler.el (profiler-calltree-find): Use function-equal.
8942
6a5c15d9
GM
89432013-09-10 Glenn Morris <rgm@gnu.org>
8944
1af4c220
GM
8945 * files.el (interpreter-mode-alist): Convert to regexps.
8946 (set-auto-mode): Adapt for this. (Bug#15306)
8947 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8948 Comment out unused variable.
8949 * progmodes/cc-mode.el (interpreter-mode-alist):
8950 * progmodes/python.el (interpreter-mode-alist):
8951 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8952 * progmodes/sh-script.el (sh-set-shell):
8953 No longer use interpreter-mode-alist to get list of shells.
8954
6a5c15d9
GM
8955 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8956
8c27f5ff
SM
89572013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8958
02ef6c1a 8959 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8960 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8961 Bind switch-frame explicitly. Replace universal-argument-minus with
8962 a conditional binding.
8963 (universal-argument-num-events, saved-overriding-map): Remove.
8964 (restore-overriding-map): Remove.
8965 (universal-argument--mode): Rename from save&set-overriding-map,
8966 and rewrite.
8967 (universal-argument, universal-argument-more, negative-argument)
8968 (digit-argument): Adjust accordingly.
8969 (universal-argument-minus): Remove.
8970 (universal-argument-other-key): Remove.
8971
8c27f5ff
SM
8972 * subr.el (with-demoted-errors): Add `format' argument.
8973
6480194c
MA
89742013-09-10 Michael Albinus <michael.albinus@gmx.de>
8975
8976 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8977 `tramp-cleanup-connection'.
8978
8979 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8980 parameters KEEP-DEBUG and KEEP-PASSWORD.
8981
8982 * net/tramp.el (tramp-file-name-handler):
8983 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8984 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8985 (tramp-maybe-open-connection):
8c27f5ff
SM
8986 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8987 Use `tramp-cleanup-connection'.
6480194c 8988
8c27f5ff
SM
8989 * net/tramp-sh.el (tramp-maybe-open-connection):
8990 Catch 'uname-changed inside the progress reporter.
6480194c 8991
e5e916d8
GM
89922013-09-10 Glenn Morris <rgm@gnu.org>
8993
9a2c9b47
GM
8994 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8995
e5e916d8
GM
8996 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8997 returns "alternate access method" in mode (eg "-rw-r--r--.").
8998
144e38fe
GM
89992013-09-08 Glenn Morris <rgm@gnu.org>
9000
9001 * saveplace.el (load-save-place-alist-from-file):
9002 Demote errors. (Bug#15305)
9003
af9ff9e8
MA
90042013-09-08 Michael Albinus <michael.albinus@gmx.de>
9005
9006 Improve compatibility with older Emacsen, and XEmacs.
9007
9008 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9009 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
9010 (with-tramp-progress-reporter): Do not let-bind `result'.
9011 This yields to scoping errors in XEmacs.
af9ff9e8
MA
9012 (tramp-handle-make-auto-save-file-name): New function, moved from
9013 tramp-sh.el.
9014
9015 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9016 for `make-auto-save-file-name'.
8c27f5ff
SM
9017 (tramp-adb--gnu-switches-to-ash):
9018 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9019
9020 * net/tramp-cache.el (tramp-cache-print): Call
9021 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9022
9023 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9024 bound. It isn't for XEmacs.
9025
8c27f5ff
SM
9026 * net/tramp-compat.el (tramp-compat-copy-file):
9027 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
9028 (tramp-compat-replace-regexp-in-string): New defun.
9029
9030 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9031 for `make-auto-save-file-name'.
9032 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9033 `copy-file'.
9034 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9035 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9036 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9037
8c27f5ff
SM
9038 * net/tramp-gw.el (tramp-gw-open-network-stream):
9039 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 9040
8c27f5ff
SM
9041 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9042 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
9043 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9044 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
9045 (tramp-sh-file-inotifywait-process-filter):
9046 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9047 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9048
9049 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9050 for `make-auto-save-file-name'.
8c27f5ff
SM
9051 (tramp-smb-handle-copy-directory):
9052 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
9053 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9054 (tramp-smb-handle-copy-file): Improve error message.
9055 (tramp-smb-handle-rename-file): Rename directly only in case
9056 `newname' does not exist yet. This is a restriction of smbclient.
9057 (tramp-smb-maybe-open-connection): Rerun the function only when
9058 `auth-sources' is non-nil.
9059
0ca754d0
KH
90602013-09-08 Kenichi Handa <handa@gnu.org>
9061
e0eb0550 9062 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
9063 more characters.
9064
e8dd0787
AM
90652013-09-07 Alan Mackenzie <acm@muc.de>
9066
9067 Correctly fontify Java class constructors.
9068 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9069 in Java Mode.
9070 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
9071 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9072 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
9073 "typeless" declaration there.
9074
f2f248e7
RW
90752013-09-07 Roland Winkler <winkler@gnu.org>
9076
9077 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9078 field subtitle for entry type book.
9079
67982e2b
SM
90802013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * minibuffer.el: Make minibuffer-complete call completion-in-region
9083 rather than other way around.
9084 (completion--some, completion-pcm--find-all-completions):
9085 Don't delay signals when debugging.
9086 (minibuffer-completion-contents): Beware fields within the
9087 minibuffer contents.
9088 (completion-all-sorted-completions): Use defvar-local.
9089 (completion--do-completion, completion--cache-all-sorted-completions)
9090 (completion-all-sorted-completions, minibuffer-force-complete):
9091 Add args `beg' and `end'.
9092 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9093 (minibuffer-complete): Use completion-in-region.
9094 (completion-complete-and-exit): New fun, extracted from
9095 minibuffer-complete-and-exit.
9096 (minibuffer-complete-and-exit): Use it.
9097 (completion--complete-and-exit): Rename from
9098 minibuffer--complete-and-exit.
9099 (completion-in-region--single-word): New function, extracted from
9100 minibuffer-complete-word.
9101 (minibuffer-complete-word): Use it.
9102 (display-completion-list): Make `common-substring' argument obsolete.
9103 (completion--in-region): Call completion--in-region-1 instead of
9104 minibuffer-complete.
9105 (completion-help-at-point): Pass boundaries to
9106 minibuffer-completion-help as args rather than via an overlay.
9107 (completion-pcm--string->pattern): Use `any-delim'.
9108 (completion-pcm--optimize-pattern): New function.
9109 (completion-pcm--pattern->regex): Handle `any-delim'.
9110 * icomplete.el (icomplete-forward-completions)
9111 (icomplete-backward-completions, icomplete-completions):
9112 Adjust calls to completion-all-sorted-completions and
9113 completion--cache-all-sorted-completions.
9114 (icomplete-with-completion-tables): Default to t.
9115 * emacs-lisp/crm.el (crm--current-element): Rename from
9116 crm--select-current-element. Don't put an overlay but return the
9117 boundaries instead.
9118 (crm--completion-command): Take two new args to bind to the boundaries.
9119 (crm-completion-help): Adjust accordingly.
9120 (crm-complete): Use completion-in-region.
9121 (crm-complete-word): Use completion-in-region--single-word.
9122 (crm-complete-and-exit): Use completion-complete-and-exit.
9123
e17d94a5
SM
91242013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9127 than dynamically.
9128
96727100
JL
91292013-09-06 Juri Linkov <juri@jurta.org>
9130
9131 * info.el (Info-display-images-node): When image file doesn't exist
9132 display text version of the image if it's provided in the Info file.
9133 Otherwise, display the location of missing image from SRC attribute.
9134 Add help-echo text property from ALT attribute. (Bug#15279)
9135
86cf7329
SM
91362013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9139 (edit-abbrevs-mode): Use define-derived-mode.
9140
9141 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9142 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9143 that it's defined.
9144 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9145 Use define-derived-mode.
9146
9147 * epg.el (epg-start-encrypt): Minor CSE simplification.
9148
816244a2
WX
91492013-09-06 William Xu <william.xwl@gmail.com>
9150
9151 * arc-mode.el: Add support for 7za (bug#15264).
9152 (archive-7z-program): New var.
9153 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9154 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9155 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9156
1486fa31
MA
91572013-09-06 Michael Albinus <michael.albinus@gmx.de>
9158
9159 Remove URL syntax.
9160
9161 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9162 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9163 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9164 (tramp-postfix-host-format, tramp-file-name-regexp)
9165 (tramp-completion-file-name-regexp)
9166 (tramp-completion-dissect-file-name)
9167 (tramp-handle-substitute-in-file-name): Remove 'url case.
9168 (tramp-file-name-regexp-url)
9169 (tramp-completion-file-name-regexp-url): Remove constants.
9170
39785324
GM
91712013-09-06 Glenn Morris <rgm@gnu.org>
9172
9173 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9174
1f896cb7
DG
91752013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9176
9177 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9178 keywords" below "here-doc beginnings" (Bug#15270).
9179
c0458e0b
SM
91802013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9181
9182 * subr.el (pop): Use `car-safe'.
9183 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9184 to detect unused `pop' return value.
9185
9186 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9187 var `block-regexp'.
9188 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9189 (python-fill-string): Remove unused var `marker'.
9190 (python-skeleton-add-menu-items): Remove unused var `items'.
9191
9192 * international/mule-cmds.el: Require CL.
9193 (find-coding-systems-for-charsets): Avoid add-to-list.
9194 (sanitize-coding-system-list): New function, extracted from
9195 select-safe-coding-system-interactively.
9196 (select-safe-coding-system-interactively): Use it.
9197 (read-input-method-name): Accept symbols for `default'.
9198
9199 * emacs-lisp/advice.el (defadvice): Add indent rule.
9200
6c42fc3e
DH
92012013-09-05 Daniel Hackney <dan@haxney.org>
9202
9203 * dired-x.el:
9204 * net/ange-ftp.el:
9205 * net/browse-url.el:
9206 * net/dbus.el:
9207 * net/eudc.el:
9208 * net/eudcb-ldap.el:
9209 * net/eww.el:
9210 * net/imap.el:
9211 * printing.el:
9212 * vc/ediff-diff.el:
9213 * vc/ediff-init.el:
9214 * vc/ediff-merg.el:
9215 * vc/ediff-mult.el:
9216 * vc/ediff-util.el:
9217 * vc/ediff-wind.el:
9218 * vc/ediff.el:
9219 * vc/emerge.el:
9220 * vc/pcvs.el:
9221 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9222 byte compiler. Remove some unused let-bound variables.
9223
4c528aab
SM
92242013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9227 a "ref-cell", since it gets better optimized (bug#14883).
9228
bd15c390
GM
92292013-09-05 Glenn Morris <rgm@gnu.org>
9230
9231 * progmodes/cc-awk.el (c-forward-sws): Declare.
9232
1c3ac2e5
GM
92332013-09-04 Glenn Morris <rgm@gnu.org>
9234
9235 * generic-x.el [rul-generic-mode]: Require cc-mode.
9236 (c++-mode-syntax-table): Declare.
9237 (rul-generic-mode-syntax-table): Init in the defvar.
9238
52b1cc79
SM
92392013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9240
c828af56
SM
9241 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9242 (vc-do-command, vc-set-async-update):
9243 * vc/vc-mtn.el (vc-mtn-dir-status):
9244 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9245 (vc-hg-pull, vc-hg-merge-branch):
9246 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9247 (vc-git-merge-branch):
9248 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9249 (vc-cvs-dir-status-files):
9250 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9251 (vc-bzr-dir-status-files):
9252 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9253 * vc/vc-annotate.el: Use lexical-binding.
9254 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9255 (vc-sentinel-movepoint): Declare.
9256 (vc-annotate): Don't use `goto-line'.
9257 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9258 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9259 (vc-sentinel-movepoint): Declare.
9260 * vc/vc-svn.el: Use lexical-binding.
9261 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9262 * vc/vc-sccs.el:
9263 * vc/vc-rcs.el: Use lexical-binding.
9264
abae272c
SM
9265 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9266 `deleted'. Don't drop errors silently.
9267
52b1cc79
SM
9268 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9269
63191d9f
XF
92702013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9271
9272 * vc/vc.el (vc-ignore): Rewrite.
9273 (vc-default-ignore): New function.
9274 (vc-default-ignore-completion-table): Use find-ignore-file.
9275
9276 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9277 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9278 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9279 Remove. Most code moved to vc.el.
9280
9d3f707c
SM
92812013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9282
abae272c 9283 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
9284 * net/tramp-smb.el (tramp-smb-get-file-entries):
9285 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9286 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9287
fde38d49
SM
9288 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9289 Update call to it.
9290 (eww-change-select): Remove unused var `properties'.
9291 (eww-make-unique-file-name): Remove unused var `base'.
9292
9293 * finder.el (finder-compile-keywords): Don't mess with windows.
9294
84032db7
SM
9295 * calculator.el (calculator-funcall): Fix typo in last change.
9296
724f5e41
SM
9297 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9298
14b511d4
SM
9299 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9300 <pkg>-autoloads.el file stop us.
9301
9d3f707c 9302 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 9303 warnings, and factor out common code.
9d3f707c 9304
88527bc0
DG
93052013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9306
9307 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9308 two-character operators and whether the character preceding them
9309 changes their meaning (Bug#15208).
9310
96edb677
FEG
93112013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9312
9313 Format code sent to Python shell for robustness.
9d3f707c
SM
9314 * progmodes/python.el (python-shell-buffer-substring):
9315 New function.
96edb677
FEG
9316 (python-shell-send-region, python-shell-send-buffer): Use it.
9317
95beaef3
MA
93182013-09-02 Michael Albinus <michael.albinus@gmx.de>
9319
9320 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9321 * net/tramp.el (tramp-user-error): ... here.
9322 (tramp-find-method, tramp-check-proper-host)
9323 (tramp-dissect-file-name, tramp-debug-message)
9324 (tramp-handle-shell-command):
9325 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9326 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9327
9328 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9329
f167c27b
MR
93302013-09-02 Martin Rudalics <rudalics@gmx.at>
9331
9332 * avoid.el (mouse-avoidance-point-position)
9333 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9334 returns nil.
9335
cd16c5f1
FEG
93362013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9337
9338 * progmodes/python.el (python-shell-completion-get-completions):
9339 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 9340 (python-nav-if-name-main): New command.
cd16c5f1 9341
e73c3a0d
GM
93422013-09-01 Glenn Morris <rgm@gnu.org>
9343
f8ccce03
GM
9344 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9345 Avoid leading space in $wins. Otherwise the sed command used by
9346 eg compile-main ends up containing "/*.el". (Bug#15170)
9347
e73c3a0d
GM
9348 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9349
415f808e
GM
93502013-08-30 Glenn Morris <rgm@gnu.org>
9351
9352 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9353 Fix is-this-a-directory logic. (Bug#15220)
9354
f069bba8
SM
93552013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9356
112798c1
SM
9357 * textmodes/css-mode.el: Use SMIE.
9358 (css-smie-grammar): New var.
9359 (css-smie--forward-token, css-smie--backward-token)
9360 (css-smie-rules): New functions.
9361 (css-mode): Use them.
9362 (css-navigation-syntax-table): Remove var.
9363 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9364 (css-indent-calculate, css-indent-line): Remove functions.
9365
9366 Misc changes to reduce use of `(lambda...); and other cleanups.
9367 * cus-edit.el: Use lexical-binding.
9368 (customize-push-and-save, customize-apropos)
9369 (custom-buffer-create-internal): Use closures.
9370 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9371 * progmodes/ada-xref.el: Use setq.
9372 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9373 * dframe.el: Use lexical-binding.
9374 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9375 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9376 * descr-text.el: Use lexical-binding.
9377 (describe-text-widget, describe-text-sexp, describe-property-list):
9378 Use closures.
9379 * comint.el (comint-history-isearch-push-state): Use a closure.
9380 * calculator.el: Use lexical-binding.
9381 (calculator-number-to-string): Make it work with lexical-binding.
9382 (calculator-funcall): Same and use cl-letf.
9383
2da4c3ab
SM
9384 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9385 (lisp--company-doc-string, lisp--company-location): New functions.
9386 (lisp-completion-at-point): Use them to improve Company support.
9387
f069bba8
SM
9388 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9389 params of lambda expressions.
9390 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9391 (ruby-smie--opening-pipe-p): New function.
9392 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9393 symbols and matched |...| for formal params.
9394 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9395 from being treated as hanging. Handle "rescue".
9396
6758b6a8
GM
93972013-08-29 Glenn Morris <rgm@gnu.org>
9398
9399 * progmodes/cc-engine.el (c-pull-open-brace):
9400 Move definition before use.
9401
e8dfd197
SM
94022013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9405 are immutable. Don't use `unsafe' any more.
9406 (cl--defsubst-expand): Don't substitute at the same time as keeping
9407 a residual unused let-binding. Don't use `unsafe' any more.
9408
cc585c96
GM
94092013-08-29 Glenn Morris <rgm@gnu.org>
9410
ba579ea6
GM
9411 * calendar/cal-china.el (calendar-chinese-year-cache):
9412 Recenter on 2015.
9413
8201a87e
GM
9414 * nxml/nxml-util.el (nxml-debug-clear-inside):
9415 Use cl-loop rather than loop.
9416
6ee877c7
GM
9417 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9418
cc585c96
GM
9419 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9420
27be8d39
GM
94212013-08-28 Glenn Morris <rgm@gnu.org>
9422
397440a1
GM
9423 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9424
2bb762d4
GM
9425 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9426
27be8d39
GM
9427 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9428
2d69b99e
SM
94292013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9430
f663baa7
SM
9431 * simple.el (repeat-complex-command--called-interactively-skip):
9432 New function.
9433 (repeat-complex-command): Use it (bug#14136).
9434
dd4f8b74
SM
9435 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9436 (c-define-abbrev-table): Add `doc' argument.
9437 (c-mode-abbrev-table, c++-mode-abbrev-table)
9438 (objc-mode-abbrev-table, java-mode-abbrev-table)
9439 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9440 (awk-mode-abbrev-table): Use it.
9441 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9442 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9443 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9444 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9445 Move initialization into the declaration; and remove any
9446 autoload cookie.
9447
b58969f7
SM
9448 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9449 and dynamic let binding.
9450
4021d6a6
SM
9451 * vc/smerge-mode.el: Remove redundant :group args.
9452
2d69b99e
SM
9453 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9454 to load-path.
9455
274919fd
JL
94562013-08-28 Juri Linkov <juri@jurta.org>
9457
9458 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9459 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9460 (isearch-other-meta-char): Handle an undefined shifted printing
9461 character by downshifting it. (Bug#15200)
9462
121f8c95
JL
94632013-08-28 Juri Linkov <juri@jurta.org>
9464
9465 * isearch.el (isearch-search): Change regexp error message for
9466 non-regexp searches. (Bug#15166)
9467
50b13cde
PE
94682013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9469
9470 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9471 for portability to hosts where /bin/sh has problems.
9472
95888bca
SM
94732013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9475 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9476
bbe558f1
JL
94772013-08-27 Juri Linkov <juri@jurta.org>
9478
9479 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9480 in the keyboard macro. (Bug#15126)
9481
26f98a7d
JL
94822013-08-27 Juri Linkov <juri@jurta.org>
9483
9484 * isearch.el (isearch-quote-char): Comment out converting unibyte
9485 to multibyte, thus syncing with its `quoted-insert' counterpart.
9486 (Bug#15166)
9487
7c97d35e
MR
94882013-08-27 Martin Rudalics <rudalics@gmx.at>
9489
9490 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
9491 argument in call of get-largest-window (Bug#15185).
9492 Reported by Stephen Leake.
7c97d35e 9493
a0b5606e 94942013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
9495
9496 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9497
9e89d835
SM
94982013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9501 from a matcher-function unless there's no more matches (bug#15161).
9502
78fc2530
MA
95032013-08-26 Michael Albinus <michael.albinus@gmx.de>
9504
9505 * minibuffer.el: Revert change from 2013-08-20.
9506
9507 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9508 with text property `tramp-default', if appropriate.
9509 (tramp-check-proper-host): New defun.
9510 (tramp-dissect-file-name): Do not check hostname. Revert change
9511 of 2013-03-18.
9512 (tramp-backtrace): Make VEC-OR-PROC optional.
9513
9514 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9515 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9516 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
9517 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9518 Apply `tramp-check-proper-host'.
78fc2530 9519
edca97cd
TH
95202013-08-26 Tassilo Horn <tsdh@gnu.org>
9521
9522 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9523 lambda expression in order to have `describe-variable' display it.
9524
df54bcbd
MA
95252013-08-26 Michael Albinus <michael.albinus@gmx.de>
9526
9527 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9528 BUF can be optional. (Bug#15186)
9529
eed99101
XF
95302013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9531
9532 * progmodes/flymake.el (flymake-get-real-file-name-function):
9533 Fix broken customization. (Bug#15184)
9534
b5eb9035
AM
95352013-08-25 Alan Mackenzie <acm@muc.de>
9536
8a51e842
AM
9537 Improve indentation of bracelists defined by macros (without "=").
9538
9539 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9540 expansion begins with "{", regard it as bracelist when it doesn't
9541 contain a ";".
9542
869455d4
AM
9543 Parse C++ inher-intro when there's a template split over 2 lines.
9544
9545 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9546 rigorously the search for "class" etc. followed by ":".
9547
9548 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9549 random languages a regexp which never matches rather than nil.
9550
b5eb9035
AM
9551 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9552
9553 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9554 (c-awk-regexp-one-line-possibly-open-char-list-re)
9555 (c-awk-one-line-possibly-open-regexp-re)
9556 (c-awk-one-line-non-syn-ws*-re): Remove.
9557 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9558 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9559 (c-awk-space*-unclosed-regexp-/-re): New constants.
9560 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9561 aren't regexp delimiters.
9562
9563 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9564 handling for a rare situation in AWK Mode involving unterminated
9565 strings/regexps.
9566
61611d54
GM
95672013-08-23 Glenn Morris <rgm@gnu.org>
9568
2d85dc34
GM
9569 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9570
cb8d2612
GM
9571 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9572
bb35f42f
GM
9573 * files.el (create-file-buffer): If the result would begin with
9574 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 9575
b9808e77
SM
95762013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9577
e3a66363
SM
9578 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9579 text-properties (bug#15155).
9580
b9808e77
SM
9581 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9582 exist any more.
9583 (calc-keypad-redraw): Remove unused var `pad'.
9584 (calc-keypad-press): Remove unused var `menu'.
9585
7fd5f65e
MR
95862013-08-23 Martin Rudalics <rudalics@gmx.at>
9587
b9808e77
SM
9588 * window.el (display-buffer-pop-up-frame):
9589 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
9590 use it as the new frame's buffer (Bug#15133).
9591
8352b530
SM
95922013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * calendar/timeclock.el: Minor cleanups.
9595 (timeclock-ask-before-exiting, timeclock-use-display-time):
9596 Use `symbol'.
9597 (timeclock-modeline-display): Define as alias before the
9598 actual definition.
9599 (timeclock-mode-line-display): Use define-minor-mode.
9600 (timeclock-day-list-template): Make it a function, add an argument.
9601 (timeclock-day-list-required, timeclock-day-list-length)
9602 (timeclock-day-list-debt, timeclock-day-list-span)
9603 (timeclock-day-list-break): Adjust calls accordingly.
9604
9f7b1925
SM
96052013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9606
9607 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9608 Use read--expression so that completion works again.
9609
6e50e983
SS
96102013-08-21 Sam Steingold <sds@gnu.org>
9611
9612 Add rudimentary inferior shell interaction
9613 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9614 (sh-set-shell): Reset it.
9f7b1925
SM
9615 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9616 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9617
dbb0d350
SM
96182013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * align.el: Use lexical-binding.
9621 (align-region): Simplify accordingly.
9622
c88586a9
MA
96232013-08-20 Michael Albinus <michael.albinus@gmx.de>
9624
9625 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9626
9627 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9628 `non-essential' up.
9629
f95527c8
MA
96302013-08-17 Michael Albinus <michael.albinus@gmx.de>
9631
9632 * net/tramp.el:
9633 * net/tramp-adb.el:
9634 * net/tramp-cmds.el:
9635 * net/tramp-ftp.el:
9636 * net/tramp-gvfs.el:
9637 * net/tramp-gw.el:
9638 * net/tramp-sh.el: Don't wrap external variable declarations by
9639 `eval-when-compile'.
9640
4b5fe4ee
LMI
96412013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9642
9643 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9644 now that Emacs supports ImageMagick animations.
9645
13c366c9
MA
96462013-08-16 Michael Albinus <michael.albinus@gmx.de>
9647
9648 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9649 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9650
3dfc5cd6
MR
96512013-08-16 Martin Rudalics <rudalics@gmx.at>
9652
9653 * window.el (mouse-autoselect-window-select): Do autoselect when
9654 mouse pointer is on margin.
9655
4bbb4381
WP
96562013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9657
9658 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9659
3a2ddc2d
GM
96602013-08-16 Glenn Morris <rgm@gnu.org>
9661
e8bedf5a
GM
9662 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9663 Handle "Remote Directory" response of some clients. (Bug#15058)
9664
58c4682f
GM
9665 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9666 Tweak warning. (Bug#14926)
9667
57953f49
GM
9668 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9669 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9670
3a2ddc2d
GM
9671 * image-mode.el (image-mode-map): Add menu items to reverse,
9672 increase, decrease, reset animation speed.
9673 (image--set-speed, image-increase-speed, image-decrease-speed)
9674 (image-reverse-speed, image-reset-speed): New functions.
9675 (image-mode-map): Add bindings for speed commands.
9676
9677 * image.el (image-animate-get-speed, image-animate-set-speed):
9678 New functions.
9679 (image-animate-timeout): Respect image :speed property.
9680
10fa0ed3
SM
96812013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9682
9683 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9684 previous line (bug#15101).
9685 (debugger-eval-expression, debugger-record-expression):
9686 Use read--expression (bug#15102).
9687
5d89d9d2
MA
96882013-08-15 Michael Albinus <michael.albinus@gmx.de>
9689
9690 Remove byte compiler warnings, visible when compiling with
9691 `byte-compile-force-lexical-warnings' set to t.
9692
9693 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9694 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9695 (tramp-handle-unhandled-file-name-directory)
9696 (tramp-handle-file-notify-add-watch, tramp-action-login)
9697 (tramp-action-succeed, tramp-action-permission-denied)
9698 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9699 arguments with "_".
9700
9701 * net/tramp-adb.el (tramp-adb-parse-device-names)
9702 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9703 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9704 (tramp-adb-handle-file-truename): Remove unused arguments.
9705
9706 * net/tramp-cache.el (tramp-flush-directory-property)
9707 (tramp-flush-connection-property, tramp-list-connections)
9708 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9709
10fa0ed3
SM
9710 * net/tramp-compat.el (tramp-compat-make-temp-file):
9711 Rename FILENAME to F.
5d89d9d2
MA
9712
9713 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9714 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9715 (tramp-zeroconf-parse-workstation-device-names)
9716 (tramp-zeroconf-parse-webdav-device-names)
9717 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9718
9719 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9720 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9721
9722 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9723 arguments.
9724 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9725 (tramp-sh-handle-insert-file-contents-literally)
9726 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9727 with "_".
9728 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9729 Remove unused variables.
9730
9731 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9732 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9733 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9734
9735 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9736 Make them a defconst.
9737 (tramp-uuencode-region): Remove unused variable.
9738
62f33bae
JB
97392013-08-14 Juanma Barranquero <lekktu@gmail.com>
9740
9741 * frameset.el (frameset--prop-setter): New function.
9742 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9743 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9744 parameter was already set in FILTERED. Doc fix.
9745 (frameset--record-minibuffer-relationships): Allow saving a
9746 minibufferless frame without its corresponding minibuffer frame.
9747 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9748 frame, if the frame id matches.
9749 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9750 frames before orphaned ones.
9751 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9752
c660a885
MR
97532013-08-14 Martin Rudalics <rudalics@gmx.at>
9754
9755 * window.el (window-make-atom): Don't overwrite parameter
9756 already present.
9757 (display-buffer-in-atom-window): Handle special case where we
9758 split an already atomic window.
9759 (window--major-non-side-window, display-buffer-in-side-window)
9760 (window--side-check): Ignore minibuffer window when walking
9761 window tree.
9762 (window-deletable-p): Return 'frame only if no other frame uses
9763 our minibuffer window.
9764 (record-window-buffer): Run buffer-list-update-hook.
9765 (split-window): Make sure window--check-frame won't destroy an
9766 existing atomic window in case the new window gets nested
9767 inside.
9768 (display-buffer-at-bottom): Ignore minibuffer window when
9769 walking window tree. Don't split a side window.
9770 (pop-to-buffer): Don't set-buffer here, the select-window call
9771 should do that.
9772 (mouse-autoselect-window-select): Autoselect only if we are in the
9773 text portion of the window.
9774
8259030d
LMI
97752013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9776
21c58ae2
LMI
9777 * net/shr.el (shr-parse-image-data): New function to grab both the
9778 data itself and the Content-Type.
9779 (shr-put-image): Use it.
9780
9781 * net/eww.el (eww-display-image): Ditto.
9782
8259030d
LMI
9783 * image.el (image-content-type-suffixes): New variable.
9784
ad756449
FEG
97852013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9786
9787 * progmodes/python.el (python-imenu--build-tree)
9788 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9789
f73f4ce6
XF
97902013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9791
9792 * simple.el (backward-word): Mention the optional argument.
9793
1f585e65
SM
97942013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * frameset.el (frameset--make): Rename constructor from make-frameset.
9797 (frameset-p, frameset-valid-p): Don't autoload.
9798 (frameset-valid-p): Use normal accessors.
9799
af1c6c84
GM
98002013-08-13 Glenn Morris <rgm@gnu.org>
9801
55e47f95
GM
9802 * progmodes/compile.el (compile-command): Tweak example in doc.
9803 * obsolete/scribe.el (scribe-mode):
9804 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9805
f0024d8c
GM
9806 * mail/feedmail.el (feedmail-confirm-outgoing)
9807 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9808
9809 * cus-start.el (truncate-partial-width-windows): Fix type.
9810
9811 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9812
af1c6c84
GM
9813 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9814
5514cc4c
SM
98152013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * emacs-lisp/timer.el (timer--time-setter): New function.
9818 (timer--time): Use it as gv-setter.
9819
9820 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9821 setter is not a symbol.
9822
7997a2f1
GJ
98232013-08-12 Grégoire Jadi <daimrod@gmail.com>
9824
9825 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9826 if sending fails. This makes debugging easier.
9827
01f1a9ab
JB
98282013-08-12 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9831 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9832 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9833
594a4307
EZ
98342013-08-12 Eli Zaretskii <eliz@gnu.org>
9835
9836 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9837
7a22490f 98382013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9839
9840 * format.el (format-annotate-function):
9841 Handle read-only text properties in the source. (Bug#14887)
9842
3e41a054
LMI
98432013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9844
5514cc4c
SM
9845 * net/eww.el (eww-display-html): Ignore coding system errors.
9846 One web site uses "utf-8lias" as the coding system.
3e41a054 9847
7ec326db
JB
98482013-08-11 Juanma Barranquero <lekktu@gmail.com>
9849
9850 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9851
5660113b
JB
98522013-08-10 Juanma Barranquero <lekktu@gmail.com>
9853
9a4ebc74
JB
9854 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9855 (tutorial--detailed-help): Remove unused local variables.
9856 (tutorial--save-tutorial-to): Use ignore-errors.
9857 (help-with-tutorial): Use looking-at-p.
9858
9859 * view.el (view-buffer-other-window, view-buffer-other-frame):
9860 Mark unused arguments.
9861
9862 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9863 (woman-select-symbol-fonts, woman, woman-find-file)
9864 (woman-insert-file-contents, woman-non-underline-faces):
9865 Use string-match-p.
9866 (woman1-unquote): Move declaration.
9867
9868 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9869 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9870 argument. Remove unused local variable.
9871 (xml-parse-elem-type): Use string-match-p.
9872 (xml-substitute-numeric-entities): Use ignore-errors.
9873
45fdb482
JB
9874 * calculator.el (calculator): Mark unused argument.
9875 (calculator-paste, calculator-quit, calculator-integer-p):
9876 Use ignore-errors.
9877 (calculator-string-to-number, calculator-decimal, calculator-exp)
9878 (calculator-op-or-exp): Use string-match-p.
9879
9880 * dired.el (dired-buffer-more-recently-used-p): Declare.
9881 (dired-insert-set-properties, dired-insert-old-subdirs):
9882 Use ignore-errors.
9883
9884 * dired-aux.el (dired-compress): Use ignore-errors.
9885 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9886 (dired-do-async-shell-command, dired-do-shell-command)
9887 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9888 (dired-insert-subdir-validate): Use string-match-p.
9889 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9890 (dired-add-entry): Use string-match-p, looking-at-p.
9891 (dired-insert-subdir-newpos): Remove unused local variable.
9892
9893 * filenotify.el (file-notify-callback): Remove unused local variable.
9894
9895 * filesets.el (filesets-error): Mark unused argument.
9896 (filesets-which-command-p, filesets-filter-dir-names)
9897 (filesets-directory-files, filesets-get-external-viewer)
9898 (filesets-ingroup-get-data): Use string-match-p.
9899
9900 * find-file.el (ff-other-file-name, ff-other-file-name)
9901 (ff-find-the-other-file, ff-cc-hh-converter):
9902 Remove unused local variables.
9903 (ff-get-file-name): Use string-match-p.
9904 (ff-all-dirs-under): Use ignore-errors.
9905
9906 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9907 (follow-select-if-visible): Remove unused local variable.
9908
9909 * forms.el (read-file-filter): Move declaration.
9910 (forms--make-format, forms--make-parser, forms-insert-record):
9911 Quote function with #'.
9912 (forms--update): Use string-match-p. Quote function with #'.
9913
9914 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9915 (help-make-xrefs): Use looking-at-p.
9916 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9917
9918 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9919 (ibuffer-confirm-operation-on): Use string-match-p.
9920
9921 * msb.el (msb-item-handler, msb-dired-item-handler):
9922 Mark unused arguments.
9923
9924 * ses.el (ses-decode-cell-symbol)
9925 (ses-kill-override): Remove unused local variable.
9926 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9927 (ses-load): Use ignore-errors, looking-at-p.
9928 (ses-jump-safe): Use ignore-errors.
9929 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9930
9931 * tabify.el (untabify, tabify): Mark unused arguments.
9932
9933 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9934 Mark unused argument.
9935 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9936 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9937
c880af52
JB
9938 * emacs-lisp/timer.el (timer--time): Define setter with
9939 gv-define-setter to avoid deprecation warning.
9940
5660113b 9941 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9942 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9943 (cmpl-statistics-block): Remove (body was commented out).
9944 All callers changed.
9945 (add-completions-from-buffer, load-completions-from-file):
9946 Remove unused variables.
9947
156aab80
JB
99482013-08-09 Juanma Barranquero <lekktu@gmail.com>
9949
5c5dee78
JB
9950 * filecache.el (file-cache-delete-file-list):
9951 Print message only when told so.
9952 (file-cache-files-matching): Use #' in mapconcat argument.
9953
156aab80
JB
9954 * ffap.el (ffap-url-at-point): Fix reference to variable
9955 thing-at-point-default-mail-uri-scheme.
9956
ad9dcd70
SM
99572013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9958
54bd972f
SM
9959 * subr.el (define-error): New function.
9960 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9961 error-file-not-found and define with define-error.
9962 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9963 and define with define-error.
9964 * userlock.el (file-locked, file-supersession):
9965 * simple.el (mark-inactive):
9966 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9967 * progmodes/ada-mode.el (ada-mode-errors):
9968 * play/life.el (life-extinct):
9969 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9970 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9971 * nxml/rng-util.el (rng-error):
9972 * nxml/rng-uri.el (rng-uri-error):
9973 * nxml/rng-match.el (rng-compile-error):
9974 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9975 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9976 * nxml/nxml-rap.el (nxml-scan-error):
9977 * nxml/nxml-outln.el (nxml-outline-error):
9978 * net/soap-client.el (soap-error):
9979 * net/gnutls.el (gnutls-error):
9980 * net/ange-ftp.el (ftp-error):
9981 * mpc.el (mpc-proc-error):
9982 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9983 (json-number-format, json-string-escape, json-string-format)
9984 (json-key-format, json-object-format):
9985 * jka-compr.el (compression-error):
9986 * international/quail.el (quail-error):
9987 * international/kkc.el (kkc-error):
9988 * emacs-lisp/ert.el (ert-test-failed):
9989 * calc/calc.el (calc-error, inexact-result, math-overflow)
9990 (math-underflow):
9991 * bookmark.el (bookmark-error-no-filename):
9992 * epg.el (epg-error): Define with define-error.
9993
0ea9e53a
SM
9994 * time.el (display-time-event-handler)
9995 (display-time-next-load-average): Don't call sit-for since it seems
9996 unnecessary (bug#15045).
9997
b0429158
SM
9998 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9999 Use #' instead of ' to quote functions.
10000 (checkdoc-output-mode): Use setq-local.
10001 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10002 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10003 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10004 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10005 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10006 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10007 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10008 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10009
ad9dcd70
SM
10010 * ido.el (ido-completion-help): Fix up compiler warning.
10011
77187e6f
JB
100122013-08-09 Juanma Barranquero <lekktu@gmail.com>
10013
10014 * frameset.el (frameset-p): Add autoload cookie.
10015 (frameset--jump-to-register): New function, based on code moved from
10016 register.el.
10017 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10018
10019 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10020 (frameset-restore, frameset-save, frameset-session-filter-alist):
10021 Remove declarations.
10022 (register-alist): Doc fix.
10023 (frameset-to-register): Move to frameset.el.
10024 (jump-to-register, describe-register-1): Remove frameset-specific code.
10025
9d3aa82c
JB
100262013-08-08 Juanma Barranquero <lekktu@gmail.com>
10027
10028 * allout-widgets.el (allout-widgets-pre-command-business)
10029 (allout-widgets-post-command-business)
10030 (allout-widgets-after-change-handler)
10031 (allout-decorate-item-and-context, allout-set-boundary-marker)
10032 (allout-body-modification-handler)
10033 (allout-graphics-modification-handler): Mark ignored arguments.
10034 (allout-widgets-post-command-business)
10035 (allout-widgets-exposure-change-processor)
10036 (allout-widgets-exposure-undo-processor)
10037 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10038 (allout-parse-item-at-point, allout-decorate-item-guides)
10039 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10040 * allout.el (epa-passphrase-callback-function): Declare.
10041 (allout-overlay-insert-in-front-handler)
10042 (allout-overlay-interior-modification-handler)
10043 (allout-isearch-end-handler, allout-chart-siblings)
10044 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10045 (allout-yank-processing, allout-process-exposed)
10046 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 10047 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
10048 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10049 (lisp-indent-defform): Mark ignored arguments.
10050 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10051 (calculate-lisp-indent): Remove unused variables.
10052 * international/characters.el (indian-2-column, arabic-2-column)
10053 (tibetan): Mark ignored arguments.
10054 (use-cjk-char-width-table): Mark ignored arguments.
10055 Remove unused variables.
10056 * international/fontset.el (build-default-fontset-data)
10057 (x-compose-font-name, create-fontset-from-fontset-spec):
10058 Mark ignored arguments.
10059 (fontset-plain-name): Remove unused variables.
10060 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10061 (keyboard-coding-system): Mark ignored arguments.
10062 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10063 * help.el (resize-temp-buffer-window):
10064 * window.el (display-buffer-in-major-side-window)
10065 (display-buffer-in-side-window, display-buffer-in-previous-window):
10066 Remove unused variables.
10067 * isearch.el (isearch-forward-symbol):
10068 * version.el (emacs-bzr-version-bzr):
10069 * international/mule-cmds.el (current-language-environment):
10070 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10071 (x-handle-display):
10072 * term/pc-win.el (x-list-fonts, x-display-planes)
10073 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10074 (x-server-version, x-display-screens, x-display-mm-height)
10075 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10076 (x-selection-owner-p, x-own-selection-internal)
10077 (x-disown-selection-internal, x-get-selection-internal)
10078 (msdos-initialize-window-system):
10079 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10080 * term/x-win.el (x-handle-no-bitmap-icon):
10081 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10082 (vc-default-find-file-hook, vc-default-extra-menu):
10083 Mark ignored arguments.
10084
0ca3f70e
SM
100852013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10088 break-condition in the context of the debugged code (bug#12685).
10089
74c5d24c
CS
100902013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10091
10092 * comint.el:
10093 Do not use an overlay to highlight the last prompt. (Bug#14744)
10094 (comint-mode): Make comint-last-prompt buffer local.
10095 (comint-last-prompt): New variable.
10096 (comint-last-prompt-overlay): Remove. Superseded by
10097 comint-last-prompt.
0ca3f70e
SM
10098 (comint-snapshot-last-prompt, comint-output-filter):
10099 Use comint-last-prompt.
74c5d24c 10100
c03c02ee
JB
101012013-08-08 Juanma Barranquero <lekktu@gmail.com>
10102
a3738d20 10103 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
10104 (frameset-save): Check validity of the resulting frameset.
10105
04263d23
XF
101062013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10107
10108 * ido.el (ido-record-command): Add doc string.
10109
76c5e5ab
JB
101102013-08-08 Juanma Barranquero <lekktu@gmail.com>
10111
10112 * frameset.el (frameset): Do not disable creation of the default
10113 frameset-p predicate. Doc fix.
10114 (frameset-valid-p): New function, copied from the old predicate-p.
10115 Add additional checks.
10116 (frameset-restore): Check with frameset-valid-p.
10117 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10118 (frameset-name, frameset-description, frameset-properties)
10119 (frameset-states): Add docstring.
f9dbf1cb
JB
10120 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10121 (frameset-filter-alist): Doc fixes.
76c5e5ab 10122
bd0c3c0b
JB
101232013-08-08 Juanma Barranquero <lekktu@gmail.com>
10124
10125 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10126
c735544c
SM
101272013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10130 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10131 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10132 (byte-compile-normal-call): Remove obsolescence check.
10133
2805a651
JB
101342013-08-08 Juanma Barranquero <lekktu@gmail.com>
10135
3677ffeb
JB
10136 * frameset.el (frameset-restore): Doc fix.
10137
2805a651
JB
10138 * register.el (frameset-frame-id, frameset-frame-with-id)
10139 (frameset-p, frameset-restore, frameset-save): Declare.
10140 (register-alist): Document framesets.
10141 (frameset-session-filter-alist): Declare.
10142 (frameset-to-register): New function.
10143 (jump-to-register): Implement jumping to framesets. Doc fix.
10144 (describe-register-1): Describe framesets.
10145
10146 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10147
a912c016
JB
101482013-08-07 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10151 Use lexical-binding.
10152
10153 * frameset.el (frameset): Use type vector, not list (incompatible
10154 change). Do not declare a new constructor, use the default one.
10155 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10156 `name' and `description', respectively, and add read-only slot
10157 `timestamp'. Doc fixes.
10158 (frameset-copy, frameset-persistent-filter-alist)
10159 (frameset-filter-alist, frameset-switch-to-gui-p)
10160 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10161 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10162 (frameset-filter-iconified, frameset-keep-original-display-p):
10163 Doc fixes.
10164 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10165 Rename from frameset-filter-(save|restore)-param. All callers changed.
10166 Doc fix.
10167 (frameset-p): Adapt to change to vector and be more thorough.
10168 Change arg name to OBJECT. Doc fix.
10169 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10170 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10171 All callers changed.
10172 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10173 All callers changed.
10174 (frameset--record-minibuffer-relationships): Rename from
10175 frameset--process-minibuffer-frames. All callers changed.
10176 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10177 Use new default constructor (again). Doc fix.
c295fc18 10178 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
10179 All callers changed.
10180 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10181 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10182 Doc fix.
10183 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10184 PARAMETERS and WINDOW-STATE, respectively.
10185 (frameset-restore): Add new keyword argument PREDICATE.
10186 Reset frameset--target-display to nil. Doc fix.
10187
bb41480a
SM
101882013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10189
f001e98e
SM
10190 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10191 (bat-mode): Use it.
10192 (bat-mode-syntax-table): Mark \n as end-of-comment.
10193 (bat-font-lock-keywords): Remove comment rule.
10194
7679edb1
SM
10195 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10196 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10197
bb41480a
SM
10198 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10199 (byte-compile-callargs-warn): Use `push'.
10200 (byte-compile-arglist-warn): Ignore higher-order "calls".
10201 (byte-compile-file-form-autoload): Use `pcase'.
10202 (byte-compile-function-form): If quoting a symbol, check that it exists.
10203
cdc1ebb9
EZ
102042013-08-07 Eli Zaretskii <eliz@gnu.org>
10205
10206 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10207 and add a few popular commands found in batch files.
10208 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10209 (dos-mode): Doc fixes.
10210
312b1740
SM
102112013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10214 (dos-mode): Use setq-local. Add space after "rem".
10215 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10216 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10217
400a3178
AM
102182013-08-07 Arni Magnusson <arnima@hafro.is>
10219
10220 * progmodes/dos.el: New file.
10221 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10222 dos-mode.
10223
3b5c03d3
GM
102242013-08-06 Glenn Morris <rgm@gnu.org>
10225
10226 * calendar/calendar.el: Add new faces, and day-header-array.
10227 (calendar-weekday-header, calendar-weekend-header)
10228 (calendar-month-header): New faces.
10229 (calendar-day-header-construct): New function.
10230 (calendar-day-header-width): Also :set calendar-day-header-array.
10231 (calendar-american-month-header, calendar-european-month-header)
10232 (calendar-iso-month-header): Use calendar- faces.
10233 (calendar-generate-month):
10234 Use calendar-day-header-array for day headers; apply faces to them.
10235 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10236 (calendar-abbrev-construct): Add optional maxlen argument.
10237 (calendar-day-name-array): Doc fix.
10238 (calendar-day-name-array, calendar-abbrev-length)
10239 (calendar-day-abbrev-array):
10240 Also :set calendar-day-header-array, and maybe redraw.
10241 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 10242 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
10243 (calendar-day-name): Add option to use header array.
10244
ec6a2d7a
LMI
102452013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10246
10247 * net/shr.el (shr-render-td): Remove debugging.
10248 (shr-render-td): Make width computation consistent by defaulting
10249 all zero-width columns to 10 characters. This may not be optimal,
10250 but it's at least consistent.
2122cb6d
LMI
10251 (shr-make-table-1): Redo last change to fix the real problem in
10252 colspan handling.
ec6a2d7a 10253
ed4fd9c5
DA
102542013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10255
0ca3f70e
SM
10256 * files.el (cache-long-line-scans):
10257 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 10258
64e22afe
JB
102592013-08-06 Juanma Barranquero <lekktu@gmail.com>
10260
024b38fc
JB
10261 * frameset.el (frameset, frameset-filter-alist)
10262 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10263 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10264 (frameset-compute-pos): Rename from frameset--compute-pos,
10265 and add docstring.
10266 (frameset-move-onscreen): Use frameset-compute-pos.
10267 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10268
64e22afe
JB
10269 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10270 Fix typos in docstrings.
10271
c8c2aca8
DA
102722013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10273
10274 * frame.el (get-other-frame): Tiny cleanup.
10275
1d237bba
JB
102762013-08-06 Juanma Barranquero <lekktu@gmail.com>
10277
8951efef
JB
10278 * vc/vc.el (vc-default-ignore-completion-table):
10279 Silence byte-compiler warning.
10280
307764cc 10281 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 10282 slot, which can indeed be nil.
307764cc
JB
10283 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10284 Move entry for `left' from persistent to live filter alist.
10285 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10286 Doc fixes.
10287 (frameset-filter-params): When restoring a frame, copy items added to
10288 `filtered', to avoid unwittingly modifying the original parameters.
10289 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10290 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10291
1d237bba
JB
10292 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10293 to use looking-at-p instead of looking-at. (Bug#15028)
10294
dc6c0eda
SM
102952013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 Revert introduction of isearch-filter-predicates (bug#14714).
10298 Rely on add-function instead.
10299 * isearch.el (isearch-filter-predicates): Rename it back to
10300 isearch-filter-predicate.
10301 (isearch-message-prefix): Use advice-function-mapc and advice
10302 properties to get the isearch-message-prefix.
10303 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10304 instead of run-hook-with-args-until-failure.
10305 (isearch-filter-visible): Not obsolete any more.
10306 * loadup.el: Preload nadvice.
10307 * replace.el (perform-replace): Revert to funcall
10308 instead of run-hook-with-args-until-failure.
10309 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10310 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10311 dired-isearch-filenames-toggle; make it into a proper minor mode.
10312 Use add/remove-function.
10313 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10314 Call the minor-mode rather than add/remove-hook.
10315 (dired-isearch-filter-filenames):
10316 Remove isearch-message-prefix property.
10317 * info.el (Info--search-loop): New function, extracted from Info-search.
10318 Funcall isearch-filter-predicate instead of
10319 run-hook-with-args-until-failure isearch-filter-predicates.
10320 (Info-search): Use it.
10321 (Info-mode): Use isearch-filter-predicate instead of
10322 isearch-filter-predicates.
10323
290d5b58
DA
103242013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10325
10326 Do not call to `selected-window' where it is assumed by default.
10327 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10328 `window-hscroll', `window-width', `window-height', `window-buffer',
10329 `window-frame', `window-start', `window-point', `next-window'
10330 and `window-display-table'.
10331 * abbrev.el (abbrev--default-expand):
10332 * bs.el (bs--show-with-configuration):
10333 * buff-menu.el (Buffer-menu-mouse-select):
10334 * calc/calc.el (calc):
10335 * calendar/calendar.el (calendar-generate-window):
10336 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10337 (diary-make-entry):
10338 * comint.el (send-invisible, comint-dynamic-complete-filename)
10339 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10340 * completion.el (complete):
10341 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10342 * disp-table.el (describe-current-display-table):
10343 * doc-view.el (doc-view-insert-image):
10344 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10345 * ehelp.el (with-electric-help):
10346 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10347 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10348 * emacs-lisp/helper.el (Helper-help-scroller):
10349 * emulation/cua-base.el (cua--post-command-handler-1):
10350 * eshell/esh-mode.el (eshell-output-filter):
10351 * ffap.el (ffap-gnus-wrapper):
10352 * help-macro.el (make-help-screen):
10353 * hilit-chg.el (highlight-compare-buffers):
10354 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10355 * hl-line.el (global-hl-line-highlight):
10356 * icomplete.el (icomplete-simple-completing-p):
10357 * isearch.el (isearch-done):
10358 * jit-lock.el (jit-lock-stealth-fontify):
10359 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 10360 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
10361 * mpc.el (mpc-tagbrowser, mpc):
10362 * net/rcirc.el (rcirc-any-buffer):
10363 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10364 * play/landmark.el (landmark-max-width, landmark-max-height):
10365 * play/zone.el (zone):
10366 * progmodes/compile.el (compilation-goto-locus):
10367 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10368 * progmodes/etags.el (find-tag-other-window):
10369 * progmodes/fortran.el (fortran-column-ruler):
10370 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10371 * progmodes/verilog-mode.el (verilog-point-text):
10372 * reposition.el (reposition-window):
10373 * rot13.el (toggle-rot13-mode):
10374 * server.el (server-switch-buffer):
10375 * shell.el (shell-dynamic-complete-command)
10376 (shell-dynamic-complete-environment-variable):
10377 * simple.el (insert-buffer, set-selective-display)
10378 (delete-completion-window):
10379 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10380 (speedbar-recenter):
10381 * startup.el (fancy-splash-head):
10382 * textmodes/ispell.el (ispell-command-loop):
10383 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10384 * tutorial.el (help-with-tutorial):
10385 * vc/add-log.el (add-change-log-entry):
10386 * vc/compare-w.el (compare-windows):
10387 * vc/ediff-help.el (ediff-indent-help-message):
10388 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10389 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10390 (ediff-setup-control-frame):
10391 * vc/emerge.el (emerge-position-region):
10392 * vc/pcvs-util.el (cvs-bury-buffer):
10393 * window.el (walk-windows, mouse-autoselect-window-select):
10394 * winner.el (winner-set-conf, winner-undo): Related users changed.
10395
38276e01
JB
103962013-08-05 Juanma Barranquero <lekktu@gmail.com>
10397
10398 * frameset.el (frameset--set-id): Doc fix.
10399 (frameset-frame-id, frameset-frame-id-equal-p)
10400 (frameset-locate-frame-id): New functions.
10401 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10402 (frameset-restore): Use them.
10403
12b4c0ea
DA
104042013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10405
10406 Do not call to `selected-frame' where it is assumed by default.
10407 Affected functions are `raise-frame', `redraw-frame',
10408 `frame-first-window', `frame-terminal' and `delete-frame'.
10409 * calendar/appt.el (appt-disp-window):
10410 * epg.el (epg-wait-for-completion):
10411 * follow.el (follow-delete-other-windows-and-split)
10412 (follow-avoid-tail-recenter):
10413 * international/mule.el (set-terminal-coding-system):
10414 * mail/rmail.el (rmail-mail-return):
10415 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10416 * progmodes/f90.el (f90-add-imenu-menu):
10417 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10418 * server.el (server-switch-buffer):
10419 * simple.el (delete-completion-window):
10420 * talk.el (talk):
10421 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10422 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10423 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10424 * vc/ediff.el (ediff-documentation): Related users changed.
10425 * frame.el (selected-terminal): Remove the leftover.
10426
17f25e76
GM
104272013-08-05 Glenn Morris <rgm@gnu.org>
10428
10429 * calendar/calendar.el (calendar-generate-month):
10430 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
10431 (calendar-generate-month, calendar-font-lock-keywords):
10432 Fix for calendar-day-header-width > length of any day name.
17f25e76 10433
063233c3
JB
104342013-08-05 Juanma Barranquero <lekktu@gmail.com>
10435
10436 * desktop.el (desktop-clear): Use new name of sort predicate.
10437
10438 * frameset.el (frameset): Add docstring. Move :version property to its
10439 own `version' slot.
10440 (frameset-copy): Rename from copy-frameset.
10441 (frameset-p): Check more thoroughly.
10442 (frameset-prop): Do not check for :version, which is no longer a prop.
10443 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10444 Use new :never value instead of t.
10445 (frameset-filter-alist): Expand and clarify docstring.
10446 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10447 (frameset-filter-minibuffer, frameset-filter-save-param)
10448 (frameset-filter-restore-param, frameset-filter-iconified):
10449 Add pointer to docstring of frameset-filter-alist.
10450 (frameset-filter-params): Rename filter values to be more meaningful:
10451 :never instead of t, and reverse the meanings of :save and :restore.
10452 (frameset--process-minibuffer-frames): Clarify error message.
10453 (frameset-save): Avoid unnecessary and confusing call to framep.
10454 Use new BOA constructor for framesets.
10455 (frameset--reuse-list): Doc fix.
10456 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10457 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10458 (frameset-minibufferless-first-p): Doc fix.
10459 Rename from frameset-sort-frames-for-deletion.
10460 (frameset-restore): Doc fixes. Use new function names.
10461 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10462
d5671a82
JB
104632013-08-04 Juanma Barranquero <lekktu@gmail.com>
10464
10465 * desktop.el (desktop-restore-forces-onscreen)
10466 (desktop-restore-reuses-frames): Document :keyword constant values.
10467 (desktop-filter-parameters-alist): Remove, now identical to
10468 frameset-filter-alist.
10469 (desktop--filter-tty*): Remove, moved to frameset.el.
10470 (desktop-save-frameset, desktop-restore-frameset):
10471 Do not pass :filters argument.
10472
10473 * frameset.el (frameset-live-filter-alist)
10474 (frameset-persistent-filter-alist): New variables.
10475 (frameset-filter-alist): Use them. Add autoload cookie.
10476 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10477 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10478 `frameset--id' (it's supposed to be internal to frameset.el).
10479 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10480 (frameset--initial-params): New function.
10481 (frameset--get-frame): Use it. Doc fix.
10482 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10483 Accept :all, not 'all.
10484 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10485 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10486 with fbound symbols. Fix frame id matching, and remove matching ids if
10487 the frame being restored is deleted. Obey :delete.
10488
671d5c16
SM
104892013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * subr.el (macrop): New function.
10492 (text-clone--maintaining): New var.
10493 (text-clone--maintain): Rename from text-clone-maintain. Use it
10494 instead of inhibit-modification-hooks.
10495
10496 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10497 a proxy, so as handle autoloads and redefinitions of the target.
10498 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10499
10500 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10501 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10502 (pcase--mutually-exclusive-p): New function.
10503 (pcase--split-consp): Use it.
10504 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10505 mutually exclusive with the current predicate.
10506
10507 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10508 (edebug-macrop): Remove. Use `macrop' instead.
10509 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10510 (ad-macro-p):
10511 * eshell/esh-cmd.el (eshell-macrop):
10512 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10513
1d44e9dc
SM
105142013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10517 (advice-mapc): New function, using it.
10518 (advice-function-member-p): New function.
10519 (advice--normalize): Store the cdr in advice--saved-rewrite since
10520 that's the part that will be changed.
10521 (advice--symbol-function): New function.
10522 (advice-remove): Handle removal before the function is defined.
10523 Adjust to new advice--saved-rewrite.
10524 (advice-member-p): Use advice-function-member-p and
10525 advice--symbol-function.
10526
5414a283
JB
105272013-08-04 Juanma Barranquero <lekktu@gmail.com>
10528
51d30f2c
JB
10529 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10530 (frameset-filter-minibuffer): Doc fix.
10531 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
10532 (frameset--set-id, frameset--process-minibuffer-frames)
10533 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10534 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 10535
5414a283
JB
10536 * desktop.el (desktop-clear): Only delete frames when called
10537 interactively and desktop-restore-frames is non-nil. Doc fix.
10538 (desktop-read): Set desktop-saved-frameset to nil.
10539
ab419665
XF
105402013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10541
10542 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 10543 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
10544 (vc--add-line, vc--remove-regexp): New functions.
10545
10546 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10547 (vc-svn-ignore-completion-table): New function.
10548
10549 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 10550 (vc-hg-ignore-completion-table)
ab419665
XF
10551 (vc-hg-find-ignore-file): New functions.
10552
10553 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 10554 (vc-git-ignore-completion-table)
ab419665
XF
10555 (vc-git-find-ignore-file): New functions.
10556
10557 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10558
10559 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 10560 (vc-bzr-ignore-completion-table)
ab419665
XF
10561 (vc-bzr-find-ignore-file): New functions.
10562
2613dea2
JB
105632013-08-03 Juanma Barranquero <lekktu@gmail.com>
10564
10565 * frameset.el (frameset-prop): New function and setter.
10566 (frameset-save): Do not modify frame list passed by the caller.
10567
9c959872
SM
105682013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10569
10570 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10571
a104f656
SM
105722013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10573
70122acf
SM
10574 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10575 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10576
a104f656
SM
10577 * custom.el (custom-initialize-default, custom-initialize-set)
10578 (custom-initialize-reset, custom-initialize-changed): Affect the
10579 toplevel-default-value (bug#6275, bug#14586).
10580 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10581 for bug#6275.
10582
f078d570
JB
105832013-08-02 Juanma Barranquero <lekktu@gmail.com>
10584
185e3b5a
JB
10585 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10586 Add cl-def* expressions.
10587
f078d570
JB
10588 * frameset.el (frameset-filter-params): Fix order of arguments.
10589
9421876d
JB
105902013-08-02 Juanma Barranquero <lekktu@gmail.com>
10591
10592 Move code related to saving frames to frameset.el.
10593 * desktop.el: Require frameset.
10594 (desktop-restore-frames): Doc fix.
10595 (desktop-restore-reuses-frames): Rename from
10596 desktop-restoring-reuses-frames.
10597 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10598 (desktop-clear): Clear frames too.
10599 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10600 (desktop--filter-tty*, desktop-save, desktop-read):
10601 Use frameset functions.
10602 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10603 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10604 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10605 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10606 (desktop--process-minibuffer-frames, desktop-save-frames)
10607 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10608 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10609 (desktop--sort-states, desktop-restoring-frames-p)
10610 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10611 (desktop-restoring-frameset-p, desktop-restore-frameset)
10612 (desktop--check-dont-save, desktop-save-frameset): New functions.
10613 (desktop--app-id): New constant.
10614 (desktop-first-buffer, desktop-buffer-ok-count)
10615 (desktop-buffer-fail-count): Move before first use.
10616 * frameset.el: New file.
10617
76dc5996
SM
106182013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10619
10620 * files.el: Use lexical-binding.
10621 (dir-locals-read-from-file): Remove unused `err' variable.
10622 (hack-dir-local-variables--warned-coding): New var.
10623 (hack-dir-local-variables): Use it to avoid repeated warnings.
10624 (make-backup-file-name--default-function): New function.
10625 (make-backup-file-name-function): Use it as default.
10626 (buffer-stale--default-function): New function.
10627 (buffer-stale-function): Use it as default.
10628 (revert-buffer-insert-file-contents--default-function): New function.
10629 (revert-buffer-insert-file-contents-function): Use it as default.
10630 (insert-directory): Avoid add-to-list.
10631
10632 * autorevert.el (auto-revert-handler): Simplify.
10633 Use buffer-stale--default-function.
10634
06d36e2b
TH
106352013-08-01 Tassilo Horn <tsdh@gnu.org>
10636
5f648ab4
TH
10637 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10638
06d36e2b
TH
10639 * whitespace.el (whitespace-ensure-local-variables): New function.
10640 (whitespace-cleanup-region): Call it.
10641 (whitespace-turn-on): Call it.
10642
a43dc424
MA
106432013-08-01 Michael Albinus <michael.albinus@gmx.de>
10644
10645 Complete file name handlers.
10646
10647 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10648 (tramp-handle-verify-visited-file-modtime)
10649 (tramp-handle-file-notify-rm-watch): New functions.
10650 (tramp-call-process): Do not bind `default-directory'.
10651
44e18199
JB
10652 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10653 Order alphabetically.
afe1e4c8
GM
10654 <access-file, add-name-to-file, dired-call-process>:
10655 <dired-compress-file, file-acl, file-notify-rm-watch>:
10656 <file-ownership-preserved-p, file-selinux-context>:
10657 <make-directory-internal, make-symbolic-link, set-file-acl>:
10658 <set-file-selinux-context, set-visited-file-modtime>:
10659 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10660 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10661
10662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10663 <file-notify-add-watch, file-notify-rm-watch>:
10664 <set-file-times, set-visited-file-modtime>:
10665 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10666 (with-tramp-gvfs-error-message)
10667 (tramp-gvfs-handle-set-visited-file-modtime)
10668 (tramp-gvfs-fuse-file-name): Remove.
10669 (tramp-gvfs-handle-file-notify-add-watch)
10670 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10671 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10672
44e18199
JB
10673 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10674 Order alphabetically.
afe1e4c8
GM
10675 <file-notify-rm-watch>: Use default Tramp handler.
10676 <executable-find>: Remove private handler.
a43dc424
MA
10677 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10678 `default-directory'.
10679 (tramp-sh-handle-executable-find)
10680 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10681 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10682 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10683 Do not use `format' in `tramp-message'.
10684
10685 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10686 <file-notify-rm-watch, set-visited-file-modtime>:
10687 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10688 (tramp-smb-call-winexe): Do not bind `default-directory'.
10689
7188b515
XF
106902013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10691
10692 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10693
2412ee1a
DG
106942013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10695
10696 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10697 use it.
10698 (log-view-diff-changeset): Same.
10699 (log-view-diff-common): Call backend command `previous-revision'
10700 to find out the previous revision, in both cases. Swap the
10701 variables `to' and `fr', so that `fr' usually refers to the
10702 earlier revision (Bug#14989).
10703
5002a754
KRC
107042013-07-31 Kan-Ru Chen <kanru@kanru.info>
10705
10706 * ibuf-ext.el (ibuffer-filter-by-filename):
10707 Make it work with dired buffers too.
10708
44e18199 107092013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10710
10711 * emacs-lisp/re-builder.el (reb-color-display-p):
10712 * files.el (save-buffers-kill-terminal):
10713 * net/browse-url.el (browse-url):
10714 * server.el (server-save-buffers-kill-terminal):
10715 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10716 Prefer nil to selected-frame for the first arg of frame-parameter.
10717
aeca3fbb
XF
107182013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10719
10720 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10721
158bc55c
SB
107222013-07-30 Stephen Berman <stephen.berman@gmx.net>
10723
10724 * minibuffer.el (completion--twq-all): Try and preserve each
10725 completion's case choice (bug#14907).
10726
d50fceab
LMI
107272013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10728
ac38e731
LMI
10729 * net/network-stream.el (open-network-stream): Mention the new
10730 :nogreeting parameter.
10731 (network-stream-open-starttls): Use the :nogreeting parameter
10732 (bug#14938).
10733
1211de50
LMI
10734 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10735
997798bf
LMI
10736 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10737 more natural than popping.
10738
d50fceab 10739 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10740 (shr-urlify): Highlight under mouse.
d50fceab 10741
5c09de04
XF
107422013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10743
207d1d04
XF
10744 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10745
10746 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10747
5c09de04
XF
10748 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10749 buffer for output.
10750
3cd51eaa
XF
10751 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10752 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10753
44e18199 10754 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10755 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10756
10757 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10758
10759 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10760 buffer for output.
10761
35a89bdd
EZ
107622013-07-29 Eli Zaretskii <eliz@gnu.org>
10763
10764 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10765 initial frame is minibuffer-less. (Bug#14841)
10766
78822e94
MA
107672013-07-29 Michael Albinus <michael.albinus@gmx.de>
10768
10769 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10770 option.
10771
10772 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10773 (tramp-maybe-open-connection): Use it.
10774
9503c190
JB
107752013-07-28 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10778 minimal set of parameters passed when creating a frame, because
10779 the minibuffer status of a frame cannot be changed later.
10780
d5a845b4
SB
107812013-07-28 Stephen Berman <stephen.berman@gmx.net>
10782
10783 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10784 replace-regexp-in-string and inadvertent omissions in previous change.
10785 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10786 name of filtered items buffer.
d5a845b4 10787
ddeffb17
JB
107882013-07-28 Juanma Barranquero <lekktu@gmail.com>
10789
10790 * desktop.el: Optionally force offscreen frames back onscreen.
10791 (desktop-restoring-reuses-frames): New option.
10792 (desktop--compute-pos, desktop--move-onscreen): New functions.
10793 (desktop--make-frame): Use desktop--move-onscreen.
10794
f5950f7a
AM
107952013-07-27 Alan Mackenzie <acm@muc.de>
10796
10797 Fontify a Java generic method as a function.
10798 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10799 value to t.
10800
ae43b66a
SB
108012013-07-27 Stephen Berman <stephen.berman@gmx.net>
10802
10803 * calendar/todo-mode.el: Add command to rename todo files.
10804 (todo-rename-file): New command.
10805 (todo-key-bindings-t): Add key binding for it. Change the
10806 bindings of todo-filter-regexp-items(-multifile) to use `x'
10807 instead of `r', since the latter is better suited to the new
10808 renaming command.
10809
5ab78d3d
AM
108102013-07-27 Alan Mackenzie <acm@muc.de>
10811
10812 Make Java try-with-resources statement parse properly.
10813 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10814 (c-block-stmt-1-2-key): New language constants/variables.
10815 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10816 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10817 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10818 with c-block-stmt-1-2-key.
5ab78d3d 10819
d85c4d50
JB
108202013-07-27 Juanma Barranquero <lekktu@gmail.com>
10821
10822 * desktop.el (desktop--make-frame): Apply most frame parameters after
10823 creating the frame to force (partially or totally) offscreen frames to
10824 be restored as such.
10825
e4c467f9
XF
108262013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10827
10828 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10829 (Bug#14948)
e4c467f9 10830
7ced0d04
SM
108312013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10834 `base' arg of backtrace-frame.
10835
fec92060
EZ
108362013-07-26 Eli Zaretskii <eliz@gnu.org>
10837
10838 * simple.el (list-processes): Doc fix.
10839
d58d31fb
JB
108402013-07-26 Juanma Barranquero <lekktu@gmail.com>
10841
10842 * desktop.el (desktop--select-frame):
d85c4d50 10843 Try harder to reuse existing frames.
d58d31fb 10844
53ff3e77
SM
108452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10848 (edebug-eval): Use backtrace-eval.
10849 (edebug--display, edebug--recursive-edit): Don't let-bind the
10850 edebug-outer-* vars that keep track of variables we locally let-bind.
10851 (edebug-outside-excursion): Don't restore outside values of locally
10852 let-bound vars.
10853 (edebug--display): Use user-error.
10854 (cl-lexical-debug, cl-debug-env): Remove.
10855
045f7a53
JB
108562013-07-26 Juanma Barranquero <lekktu@gmail.com>
10857
10858 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10859 are restored to be sure that they are visible before deleting any
10860 remaining ones.
10861
59070b32
MM
108622013-07-26 Matthias Meulien <orontee@gmail.com>
10863
742a3501
XF
10864 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10865 vc-print-root-log. (Bug#14948)
59070b32 10866
b1fb3596
RS
108672013-07-26 Richard Stallman <rms@gnu.org>
10868
10869 Add aliases for encrypting mail.
10870 * epa.el (epa-mail-aliases): New option.
10871 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10872 Bind inhibit-read-only so read-only text doesn't ruin everything.
10873 (epa-mail-default-recipients): New subroutine broken out.
10874 Handle epa-mail-aliases.
10875
56ea7291
SM
108762013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10877
10878 Add support for lexical variables to the debugger's `e' command.
10879 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10880 vars, except for debugger-outer-match-data.
10881 (debugger-frame-number): Move check for "on a function call" from
10882 callers into it. Add `skip-base' argument.
10883 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10884 (debugger-env-macro): Only reset the state stored in non-variables,
10885 i.e. current-buffer and match-data.
10886 (debugger-eval-expression): Rewrite using backtrace-eval.
10887 * subr.el (internal--called-interactively-p--get-frame): Remove.
10888 (called-interactively-p):
10889 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10890 `base' arg of backtrace-frame instead.
10891
15ac32d5
GM
108922013-07-26 Glenn Morris <rgm@gnu.org>
10893
8358a09d
GM
10894 * align.el (align-regexp): Doc fix. (Bug#14857)
10895 (align-region): Explicit error if subexpression missing/does not match.
10896
15ac32d5
GM
10897 * simple.el (global-visual-line-mode):
10898 Do not duplicate the mode lighter. (Bug#14858)
10899
f47ad11b
MR
109002013-07-25 Martin Rudalics <rudalics@gmx.at>
10901
10902 * window.el (display-buffer): In display-buffer bind
10903 split-window-keep-point to t, bug#14829.
10904
02530987
JB
109052013-07-25 Juanma Barranquero <lekktu@gmail.com>
10906
10907 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10908 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10909 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10910 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10911 Change accordingly.
f63ebeb5
JB
10912 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10913 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10914
6ccb9cab 109152013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10916
6ccb9cab 10917 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10918
cb3a56d2
JB
109192013-07-25 Juanma Barranquero <lekktu@gmail.com>
10920
10921 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10922 parameter to modify-frame-parameters if the value has not changed;
10923 this is a workaround for bug#14949.
10924 (desktop--make-frame): On cl-delete-if call, check parameter name,
10925 not full parameter.
10926
7aa7fff0
XF
109272013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10928
10929 * vc/vc.el (vc-ignore): New function.
10930
10931 * vc/vc-svn.el (vc-svn-ignore): New function.
10932
10933 * vc/vc-hg.el (vc-hg-ignore): New function.
10934
10935 * vc/vc-git.el (vc-git-ignore): New function.
10936
10937 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10938 (vc-dir-ignore): New function.
10939
10940 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10941 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10942
10943 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10944
10945 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10946
889acc5c
JB
109472013-07-24 Juanma Barranquero <lekktu@gmail.com>
10948
10949 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10950 (desktop-restore-frames): Warn when deleting an existing frame failed.
10951
86c40970
GM
109522013-07-24 Glenn Morris <rgm@gnu.org>
10953
10954 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10955
d5d3c58a
MA
109562013-07-24 Michael Albinus <michael.albinus@gmx.de>
10957
10958 * filenotify.el (file-notify-supported-p):
10959 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10960 Remove functions.
10961
35e951cd 10962 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10963 (auto-revert-notify-add-watch):
10964 * net/tramp.el (tramp-file-name-for-operation):
10965 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10967 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10969 Remove `file-notify-supported-p' entry.
10970
d100084b
GM
109712013-07-24 Glenn Morris <rgm@gnu.org>
10972
10973 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10974 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10975
ac93e56b
SM
109762013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10977
249eea30
SM
10978 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10979 checked with memq (bug#14935).
10980
ac93e56b
SM
10981 * files.el (revert-buffer-function): Use a non-nil default.
10982 (revert-buffer-preserve-modes): Declare var to
10983 provide access to the `preserve-modes' argument.
10984 (revert-buffer): Let-bind it.
10985 (revert-buffer--default): New function, extracted from revert-buffer.
10986
2cdeb903
SM
109872013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * lpr.el: Signal print errors more prominently.
10990 (print-region-function): Don't default to nil.
10991 (lpr-print-region): New function, extracted from print-region-1.
10992 Check lpr's return value and signal an error in case of problem.
10993 (print-region-1): Use it.
10994 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10995 versions instead.
10996 (ps-printer-name): Default to nil.
10997 (ps-printer-name-option): Default to lpr-printer-switch.
10998 (ps-print-region-function): Don't default to nil.
10999 (ps-postscript-code-directory): Simplify default.
11000 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11001 (ps-string-list, ps-eval-switch, ps-flatten-list)
11002 (ps-flatten-list-1): Remove.
11003 (ps-multibyte-buffer): Avoid setq.
11004 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11005 (print-region-function, ps-print-region-function): Don't set them here.
11006
73600831
XF
110072013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11008
35e951cd
JB
11009 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11010 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11011 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
11012 (ido-decorations): Doc fix.
11013
73600831
XF
11014 * ansi-color.el: Fix old URL.
11015
3d012865
MM
110162013-07-23 Michael R. Mauger <michael@mauger.com>
11017
e903c210 11018 * progmodes/sql.el: Version 3.3
3d012865
MM
11019 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11020 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11021 (sql-interactive-remove-continuation-prompt): Rewrite, use
11022 functions above. Fix continuation prompt and complete output line
11023 handling.
11024 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11025 redirected output buffer.
11026 (sql-mode): Restore deleted code (Bug#13591).
11027
da77a2e2
JB
110282013-07-23 Juanma Barranquero <lekktu@gmail.com>
11029
11030 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11031
80ff0c71
MA
110322013-07-23 Michael Albinus <michael.albinus@gmx.de>
11033
11034 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11035
11036 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11037 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11038 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11039
b61d71e4
JB
110402013-07-23 Juanma Barranquero <lekktu@gmail.com>
11041
11042 * desktop.el (desktop-clear): Simplify; remove useless checks
11043 against invalid buffer names.
11044 (desktop-list*): Use cl-list*.
11045 (desktop-buffer-info, desktop-create-buffer): Simplify.
11046
c3512092
LL
110472013-07-23 Leo Liu <sdl.web@gmail.com>
11048
11049 * bookmark.el (bookmark-make-record): Restore NAME as a default
11050 value. (Bug#14933)
11051
0ac26976
SM
110522013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11053
7d22ce18
SM
11054 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11055 extracted from autoload--insert-text.
11056 (autoload--insert-text): Remove.
11057 (autoload--print-cookie-text): New function, extracted from
11058 autoload--insert-cookie-text.
11059 (autoload--insert-cookie-text): Remove.
11060 (autoload-generate-file-autoloads): Adjust calls accordingly.
11061
9b2607e8
SM
11062 * winner.el (winner-hook-installed-p): Remove.
11063 (winner-mode): Simplify accordingly.
11064
c43a8618
SM
11065 * subr.el (add-to-list): Fix compiler-macro when `append' is
11066 not constant. Don't use `cl-member' for the base case.
11067
0ac26976
SM
11068 * progmodes/subword.el: Fix boundary case (bug#13758).
11069 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11070 own group.
11071 (subword-backward-regexp): Make it a constant.
11072 (subword-forward-internal): Don't treat a trailing capital as the
11073 beginning of a word.
11074
6874724a
AR
110752013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11076
11077 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11078 global value of tabulated-list-revert-hook (bug#14930).
11079
70f1b5e8
JB
110802013-07-22 Juanma Barranquero <lekktu@gmail.com>
11081
a1c80d9d
JB
11082 * desktop.el: Require 'cl-lib.
11083 (desktop-before-saving-frames-functions): New hook.
11084 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11085 for frames being saved. Rename from desktop--save-minibuffer-frames.
11086 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
11087 Do not save frames with non-nil `desktop-dont-save' parameter.
11088 Filter out deleted frames.
a1c80d9d
JB
11089 (desktop--find-frame): Use cl-find-if.
11090 (desktop--select-frame): Use cl-(first|second|third) to access values
11091 of desktop-mini.
11092 (desktop--make-frame): Use cl-delete-if.
11093 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11094 (desktop-restore-frames): Use cl-(first|second|third) to access values
11095 of desktop-mini. Look for visible frame at the end, not while
11096 restoring frames.
11097
70f1b5e8
JB
11098 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11099 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11100 Use string-match-p, looking-at-p (bug#14927).
11101
728dc3cc
JB
111022013-07-21 Juanma Barranquero <lekktu@gmail.com>
11103
56bc453c
JB
11104 * desktop.el (desktop-saved-frame-states):
11105 Rename from desktop--saved-states; all users changed.
11106 (desktop-save-frames): Rename from desktop--save-frames.
11107 Do not save state to desktop file.
11108 (desktop-save): Save desktop-saved-frame-states to desktop file
11109 and reset to nil.
11110 (desktop-restoring-frames-p): New function.
11111 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11112 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11113 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11114
728dc3cc
JB
11115 * desktop.el: Correctly restore iconified frames.
11116 (desktop--filter-iconified-position): New function.
11117 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11118
862f1c9c
GM
111192013-07-20 Glenn Morris <rgm@gnu.org>
11120
c4074c9f
GM
11121 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11122 Let `message' do the formatting.
11123 (def-gdb-preempt-display-buffer): Add explicit format.
11124
d828e5f9
GM
11125 * image-dired.el (image-dired-track-original-file):
11126 Use with-current-buffer.
11127 (image-dired-track-thumbnail): Use with-current-buffer.
11128 Avoid changing point of wrong window.
11129
862f1c9c
GM
11130 * image-dired.el (image-dired-track-original-file):
11131 Avoid changing point of wrong window. (Bug#14909)
11132
f0398ec1 111332013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
11134
11135 * progmodes/gdb-mi.el (gdb-done-or-error):
11136 Guard against "%" in gdb output. (Bug#14127)
11137
1451928f
AS
111382013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11139
763a086d
JB
11140 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11141 (Bug#14826)
f7a03897 11142
1451928f
AS
11143 * international/mule.el (coding-system-iso-2022-flags): Fix last
11144 change.
11145
99107004
KH
111462013-07-20 Kenichi Handa <handa@gnu.org>
11147
763a086d
JB
11148 * international/mule.el (coding-system-iso-2022-flags):
11149 Add `8-bit-level-4'. (Bug#8522)
99107004 11150
48494e06
LMI
111512013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11152
8ba8eec5
LMI
11153 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11154 (bug#14815).
11155
dfbc66e3
LMI
11156 * net/eww.el (eww-process-text-input): Allow inputting when the
11157 point is at the start of the line, as the properties aren't
11158 front-sticky.
11159
48494e06
LMI
11160 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11161 degenerate widths.
11162
77c92cb9
RS
111632013-07-19 Richard Stallman <rms@gnu.org>
11164
aec7da77
RS
11165 * epa.el (epa-popup-info-window): Doc fix.
11166
77c92cb9
RS
11167 * subr.el (split-string): New arg TRIM.
11168
945c5bb1
JB
111692013-07-18 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11172 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11173
e06ec67f
MA
111742013-07-18 Michael Albinus <michael.albinus@gmx.de>
11175
c7064f05 11176 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
11177 `file-notify-support'. Do not autoload. Adapt all uses.
11178 (file-notify-supported-p): New defun.
11179
c7064f05
JB
11180 * autorevert.el (auto-revert-use-notify):
11181 Use `file-notify-supported-p' instead of `file-notify-support'.
11182 Adapt docstring.
e06ec67f
MA
11183 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11184
11185 * net/tramp.el (tramp-file-name-for-operation):
11186 Add `file-notify-supported-p'.
11187
11188 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11189 New defun.
11190 (tramp-sh-file-name-handler-alist): Add it as handler for
11191 `file-notify-supported-p '.
11192
11193 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11194 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11195 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11196 Add `ignore' as handler for `file-notify-*' functions.
11197
5dc8a629
EZ
111982013-07-17 Eli Zaretskii <eliz@gnu.org>
11199
11200 * simple.el (line-move-partial, line-move): Don't start vscroll or
11201 scroll-up if the current line is not taller than the window.
11202 (Bug#14881)
11203
77aea2fb
DG
112042013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11205
11206 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11207 highlight question marks in the method names as strings.
ac72c08d
DG
11208 (ruby-block-beg-keywords): Inline.
11209 (ruby-font-lock-keyword-beg-re): Extract from
11210 `ruby-font-lock-keywords'.
77aea2fb 11211
18c26d81
JD
112122013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11213
11214 * frame.el (blink-cursor-blinks): New defcustom.
11215 (blink-cursor-blinks-done): New defvar.
11216 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11217 (blink-cursor-timer-function): Check if number of blinks has been
11218 done on X and NS.
11219 (blink-cursor-suspend, blink-cursor-check): New defuns.
11220
da48522e
GM
112212013-07-15 Glenn Morris <rgm@gnu.org>
11222
11223 * edmacro.el (edmacro-format-keys): Fix previous change.
11224
0463c1ef
PE
112252013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11226
11227 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11228 The hack didn't work outside English locales anyway.
11229
b43f6451
JB
112302013-07-15 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * simple.el (define-alternatives): Rename from alternatives-define,
11233 per RMS' suggestion.
11234
b958c0ad
JB
112352013-07-14 Juanma Barranquero <lekktu@gmail.com>
11236
11237 * desktop.el (desktop-restore-frames): Change default to t.
11238 (desktop-restore-in-current-display): Now offer more options.
11239 (desktop-restoring-reuses-frames): New customization option.
11240 (desktop--saved-states): Doc fix.
11241 (desktop-filter-parameters-alist): New variable, renamed and expanded
11242 from desktop--excluded-frame-parameters.
11243 (desktop--target-display): New variable.
11244 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11245 (desktop--filter-tty*, desktop--filter-*-color)
11246 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11247 (desktop--filter-save-desktop-parm)
11248 (desktop-restore-in-original-display-p): New functions.
11249 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11250 (desktop--save-minibuffer-frames): New function, inspired by a similar
11251 function from Martin Rudalics.
11252 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11253 (desktop--restore-in-this-display-p): Remove.
11254 (desktop--find-frame): Rename from desktop--find-frame-in-display
11255 and add predicate argument.
11256 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11257 (desktop--reuse-list): New variable.
11258 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11259 New functions.
11260 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11261
f6dd8b36
MA
112622013-07-14 Michael Albinus <michael.albinus@gmx.de>
11263
11264 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11265
2ce3c565
DG
112662013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11267
763a086d
JB
11268 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11269 Highlight conversion methods on Kernel.
2ce3c565 11270
2cdb7698
AM
112712013-07-13 Alan Mackenzie <acm@muc.de>
11272
11273 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11274 and comment it out. This out-commenting enables certain C++
11275 declarations to be parsed correctly.
11276
1a67b811
EZ
112772013-07-13 Eli Zaretskii <eliz@gnu.org>
11278
1b796d6b
EZ
11279 * international/mule.el (define-coding-system): Doc fix.
11280
1a67b811
EZ
11281 * simple.el (default-font-height): Don't call font-info if the
11282 frame's default font didn't change since the frame was created.
11283 (Bug#14838)
11284
58fbe886
LL
112852013-07-13 Leo Liu <sdl.web@gmail.com>
11286
11287 * ido.el (ido-read-file-name): Guard against non-symbol value.
11288
1f0480d4
FEG
112892013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11290
11291 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11292 in nested defuns.
11293
97ead0e5
LL
112942013-07-13 Leo Liu <sdl.web@gmail.com>
11295
11296 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11297 ido-set-matches call. (Bug#6852)
11298
0880a952
DG
112992013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11300
35e951cd 11301 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
11302 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11303 Ruby 2.0.
11304 (ruby-font-lock-keywords): Distinguish calls to functions with
11305 module-like names from module references. Highlight character
11306 literals.
11307
a7d8babb
SDJ
113082013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11309
11310 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 11311 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 11312
acfcc8c5
JB
113132013-07-12 Juanma Barranquero <lekktu@gmail.com>
11314
11315 * desktop.el (desktop--v2s): Remove unused local variable.
11316 (desktop-save-buffer): Make defvar-local; adjust docstring.
11317 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11318 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11319
051f2775
AS
113202013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11321
11322 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11323
f24e7572
GM
113242013-07-12 Eli Zaretskii <eliz@gnu.org>
11325
11326 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11327 (Bug#14842)
11328
539a920c
GM
113292013-07-12 Glenn Morris <rgm@gnu.org>
11330
11331 * doc-view.el: Require cl-lib at runtime too.
11332 (doc-view-remove-if): Remove.
11333 (doc-view-search-next-match, doc-view-search-previous-match):
11334 Use cl-remove-if.
11335
11336 * edmacro.el: Require cl-lib at runtime too.
11337 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11338 (edmacro-mismatch, edmacro-subseq): Remove.
11339
11340 * shadowfile.el: Require cl-lib.
11341 (shadow-remove-if): Remove.
11342 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11343 Use cl-remove-if.
11344
11345 * wid-edit.el: Require cl-lib.
11346 (widget-choose): Use cl-remove-if.
11347 (widget-remove-if): Remove.
11348
11349 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11350 (ebrowse-delete-if-not): Remove.
11351 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11352 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11353 Use cl-delete-if-not.
11354
1048af7c
JB
113552013-07-12 Juanma Barranquero <lekktu@gmail.com>
11356
11357 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11358 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11359
6c0674ee
LL
113602013-07-12 Leo Liu <sdl.web@gmail.com>
11361
11362 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11363
a19b3c2d
GM
113642013-07-11 Glenn Morris <rgm@gnu.org>
11365
4582a01c
GM
11366 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11367 (edebug-gensym-index, edebug-gensym):
11368 Remove reimplementation of cl-gensym.
11369 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11370
11371 * thumbs.el: Require cl-lib at run-time too.
11372 (thumbs-gensym-counter, thumbs-gensym):
11373 Remove reimplementation of cl-gensym.
11374 (thumbs-temp-file): Use cl-gensym.
11375
a19b3c2d
GM
11376 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11377 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11378 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11379 (ert--union, ert--gensym-counter, ert--gensym-counter)
11380 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11381 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11382 (ert-make-test-unbound, ert--expand-should-1)
11383 (ert--expand-should, ert--should-error-handle-error)
11384 (should-error, ert--explain-equal-rec)
11385 (ert--plist-difference-explanation, ert-select-tests)
11386 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11387 Use cl-lib functions rather than reimplementations.
11388
88f6a933
MA
113892013-07-11 Michael Albinus <michael.albinus@gmx.de>
11390
11391 * net/tramp.el (tramp-methods): Extend docstring.
11392 (tramp-connection-timeout): New defcustom.
11393 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11394 (with-tramp-progress-reporter): Simplify.
11395 (tramp-process-actions): Improve messages.
11396
11397 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11398 * net/tramp-sh.el (tramp-maybe-open-connection):
11399 Use `tramp-connection-timeout'.
afe1e4c8 11400 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
11401 (Bug#14808)
11402
a43d577e
LL
114032013-07-11 Leo Liu <sdl.web@gmail.com>
11404
11405 * ido.el (ido-read-file-name): Conform to the requirements of
11406 read-file-name. (Bug#11861)
11407 (ido-read-directory-name): Conform to the requirements of
11408 read-directory-name.
11409
d77974bf
JB
114102013-07-11 Juanma Barranquero <lekktu@gmail.com>
11411
11412 * subr.el (delay-warning): New function.
11413
35cb8a3e
EZ
114142013-07-10 Eli Zaretskii <eliz@gnu.org>
11415
11416 * simple.el (default-line-height): New function.
11417 (line-move-partial, line-move): Use it instead of computing the
11418 line height inline.
11419 (line-move-partial): Always compute ROWH. If the last line is
11420 partially-visible, but its text is completely visible, allow
11421 cursor to enter such a partially-visible line.
11422
525c5c77
MA
114232013-07-10 Michael Albinus <michael.albinus@gmx.de>
11424
11425 Improve error messages. (Bug#14808)
11426
11427 * net/tramp.el (tramp-current-connection): New defvar, moved from
11428 tramp-sh.el.
0ac26976 11429 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 11430 needed anymore.
0ac26976
SM
11431 (tramp-error-with-buffer): Show message in minibuffer.
11432 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
11433 (with-tramp-progress-reporter): Improve messages.
11434 (tramp-process-actions): Use progress reporter. Delete process in
11435 case of error. Improve messages.
11436
763a086d
JB
11437 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11438 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 11439 (tramp-current-connection): Remove.
525c5c77
MA
11440 (tramp-maybe-open-connection): The car of
11441 `tramp-current-connection' are the first 3 slots of the vector.
11442
c7a4d368
TZ
114432013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11444
11445 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11446 inside continued strings.
11447
954b166e
PE
114482013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11449
11450 Timestamp fixes for undo (Bug#14824).
11451 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11452
56973319
LL
114532013-07-10 Leo Liu <sdl.web@gmail.com>
11454
11455 * files.el (require-final-newline): Allow safe local value.
11456 (Bug#14834)
11457
5550a72c
LL
114582013-07-09 Leo Liu <sdl.web@gmail.com>
11459
11460 * ido.el (ido-read-directory-name): Handle fallback.
11461 (ido-read-file-name): Update DIR to ido-current-directory.
11462 (Bug#1516)
c28b9050 11463 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 11464
70c46b28
DG
114652013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11466
11467 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11468 "autoload". Remove "warn lower camel case" section, previously
11469 commented out. Highlight negation char. Do not highlight the
11470 target in singleton method definitions.
11471
0b64b838
SM
114722013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11473
7fd72e2c
SM
11474 * faces.el (tty-setup-hook): Declare the hook.
11475
0b64b838
SM
11476 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11477 and detect when a guard/pred depends on local vars (bug#14773).
11478 (pcase--u1): Adjust caller.
11479
ab49d60b
EZ
114802013-07-08 Eli Zaretskii <eliz@gnu.org>
11481
11482 * simple.el (line-move-partial, line-move): Account for
11483 line-spacing.
701d79aa
EZ
11484 (line-move-partial): Avoid setting vscroll when the last
11485 partially-visible line in window is of default height.
ab49d60b 11486
2d756ae0
LMI
114872013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11488
11489 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11490 been used a while.
11491
ed095bd7
JB
114922013-07-07 Juanma Barranquero <lekktu@gmail.com>
11493
11494 * subr.el (read-quoted-char): Remove unused local variable `char'.
11495
f1e6674b
MK
114962013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11497
584ee3fc
GM
11498 * ediff.el (ediff-version): Version update.
11499 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11500 (ediff-merge-with-ancestor-command, ediff-directories-command)
11501 (ediff-directories3-command, ediff-merge-directories-command)
11502 (ediff-merge-directories-with-ancestor-command): New functions.
11503 All are command-line interfaces to ediff: to facilitate calling
11504 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
11505
11506 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11507 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 11508
584ee3fc
GM
11509 * viper.el (viper-version): Version update.
11510 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 11511
584ee3fc
GM
115122013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11513
11514 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11515 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11516 (viper-intercept-ESC-key): Simplify.
11517 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11518 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11519 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11520 (viper-setup-ESC-to-escape): New functions.
11521 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11522 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 11523
9aff9b38
EZ
115242013-07-07 Eli Zaretskii <eliz@gnu.org>
11525
5165d44a
JB
11526 * simple.el (default-font-height, window-screen-lines):
11527 New functions.
9aff9b38
EZ
11528 (line-move, line-move-partial): Use them instead of
11529 frame-char-height and window-text-height. This makes scrolling
11530 text smoother when the buffer's default face uses a font that is
11531 different from the frame's default font.
11532
1afb1d07
JD
115332013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11534
11535 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 11536 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 11537
23de972a
EZ
115382013-07-06 Eli Zaretskii <eliz@gnu.org>
11539
11540 * simple.el (line-move-partial): Adjust the row returned by
11541 posn-at-point for the current window-vscroll. (Bug#14567)
11542
54a42486
MA
115432013-07-06 Michael Albinus <michael.albinus@gmx.de>
11544
35e951cd 11545 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
11546 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11547 spaces.
11548
34ada5f4
MR
115492013-07-06 Martin Rudalics <rudalics@gmx.at>
11550
11551 * window.el (window-state-put-stale-windows): New variable.
11552 (window--state-put-2): Save list of windows without matching buffer.
11553 (window-state-put): Remove "bufferless" windows if possible.
11554
11e03d89
JB
115552013-07-06 Juanma Barranquero <lekktu@gmail.com>
11556
11557 * simple.el (alternatives-define): Remove leftover :group keyword.
11558 Tweak docstring.
11559
3504a4be
LL
115602013-07-06 Leo Liu <sdl.web@gmail.com>
11561
11562 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11563 (ido-enable-virtual-buffers): New variable.
11564 (ido-buffer-internal, ido-toggle-virtual-buffers)
11565 (ido-make-buffer-list): Use it.
11566 (ido-exhibit): Support turning on and off virtual buffers
11567 automatically.
11568
61e56e2c
JB
115692013-07-06 Juanma Barranquero <lekktu@gmail.com>
11570
11571 * simple.el (alternatives-define): New macro.
11572
321e1a9c
SM
115732013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11574
11575 * subr.el (read-quoted-char): Use read-key.
11576 (sit-for): Let read-event decode tty input (bug#14782).
11577
d610f6dd
SB
115782013-07-05 Stephen Berman <stephen.berman@gmx.net>
11579
11580 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
11581 mode command and externally. Fix various related bugs.
11582 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
11583 (todo-delete-file): New command.
11584 (todo-check-file): New function.
11585 (todo-show): Handle external deletion of the file we're trying to
11586 show (bug#14688). Replace called-interactively-p by an optional
11587 prefix argument to avoid problematic interaction with catch form
11588 when byte compiled (bug#14702).
11589 (todo-quit): Handle external deletion of the archive's todo file.
11590 Make sure the buffer that was visiting the archive file is still
11591 live before trying to bury it.
11592 (todo-category-completions): Handle external deletion of any
11593 category completion files.
11594 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11595 of todo files, in case of external deletion.
11596 (todo-add-file): Replace unnecessary setq by let-binding.
11597 (todo-find-archive): Check whether there are any archives.
11598 Replace unnecessary setq by let-binding.
11599 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
11600 archive buffer whether or not the archive already exists.
11601 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
11602 check if the archive is new; if it is, update list of archives.
11603 (todo-default-todo-file): Allow nil to be a valid value for when
11604 there are no todo files.
11605 (todo-reevaluate-default-file-defcustom): Use corrected definition
11606 of todo-default-todo-file.
11607 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11608 (todo-delete-category, todo-show-categories-table)
11609 (todo-category-number): Clarify comment.
11610 (todo-filter-items): Clarify documentation string.
11611 (todo-show-current-file, todo-display-as-todo-file)
11612 (todo-reset-and-enable-done-separator): Tweak documentation string.
11613 (todo-done-separator): Make separator length window-width, since
11614 bug#2749 is now fixed.
11615
ddbdfd6f
MA
116162013-07-05 Michael Albinus <michael.albinus@gmx.de>
11617
321e1a9c
SM
11618 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11619 Support both "gvfs-monitor-dir" and "inotifywait".
11620 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11621 `tramp-sh-file-notify-process-filter'.
11622 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11623 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11624
96eb829a
LL
116252013-07-05 Leo Liu <sdl.web@gmail.com>
11626
11627 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11628
cf13177e
YM
116292013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11630
11631 * frame.el (display-pixel-height, display-pixel-width)
11632 (display-mm-height, display-mm-width): Mention behavior on
11633 multi-monitor setups in docstrings.
11634 (w32-display-monitor-attributes-list): Declare function.
11635 (display-monitor-attributes-list): Use it.
11636
864c58ca
MA
116372013-07-04 Michael Albinus <michael.albinus@gmx.de>
11638
11639 * filenotify.el: New package.
11640
11641 * autorevert.el (top): Require filenotify.el.
11642 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11643 instead.
11644 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11645 (auto-revert-notify-handler): Use `file-notify-*' functions.
11646
11647 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11648
321e1a9c
SM
11649 * net/tramp.el (tramp-file-name-for-operation):
11650 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11651
11652 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11653 for `file-notify-add-watch' and `file-notify-rm-watch'.
11654 (tramp-process-sentinel): Improve trace.
11655 (tramp-sh-handle-file-notify-add-watch)
11656 (tramp-sh-file-notify-process-filter)
11657 (tramp-sh-handle-file-notify-rm-watch)
11658 (tramp-get-remote-inotifywait): New defuns.
11659
96673afe
JL
116602013-07-03 Juri Linkov <juri@jurta.org>
11661
11662 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11663 call of `occur-read-primary-args' to interactive spec.
11664
11665 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11666 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11667
924494f4
MM
116682013-07-03 Matthias Meulien <orontee@gmail.com>
11669
11670 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11671 `Buffer-menu-multi-occur'. Add it to the menu.
11672 (Buffer-menu-mode): Document it in docstring.
11673 (Buffer-menu-multi-occur): New command. (Bug#14673)
11674
56f75efc
DG
116752013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11676
11677 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11678 keywords and built-ins.
11679
9b057d61
GM
116802013-07-03 Glenn Morris <rgm@gnu.org>
11681
208dee4d
GM
11682 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11683
9b057d61
GM
11684 Make info-xref checks case-sensitive by default
11685 * info.el (Info-find-node, Info-find-in-tag-table)
11686 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11687 Add option for exact case matching of nodes.
11688 * info-xref.el (info-xref): New custom group.
11689 (info-xref-case-fold): New option.
11690 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11691
e01aa29c
LL
116922013-07-03 Leo Liu <sdl.web@gmail.com>
11693
11694 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11695
3086ca2e
DG
116962013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11697
11698 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11699 middle of block statement initially, lower the depth. Remove
11700 FIXME comment, not longer valid. Remove middle of block statement
11701 detection, no need to do that anymore since we've been using
11702 `ruby-parse-region' here.
11703
a3b49114
JD
117042013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11705
11706 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11707
08e5c823 117082013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11709
11710 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11711
2addf922
JB
117122013-07-01 Juanma Barranquero <lekktu@gmail.com>
11713
11714 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11715 (desktop-restore-in-current-display): New customization option.
11716 (desktop--excluded-frame-parameters): Add `font'.
11717 (desktop--save-frames): Rename from desktop--save-windows.
11718 (desktop--restore-in-this-display-p): New function.
11719 (desktop--make-full-frame): Remove unwanted width/height from
11720 full(width|height) frames.
11721 (desktop--restore-frames): Rename from desktop--restore-windows.
11722 Obey desktop-restore-current-display. Do not delete old frames or
11723 select a new frame unless we were able to restore at least one frame.
11724
ef099a94
MN
117252013-06-30 Michal Nazarewicz <mina86@mina86.com>
11726
11727 * files.el (find-file-noselect): Simplify conditional expression.
11728
a12bf61e 11729 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11730 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11731
11732 Add `remember-notes' function to store random notes across Emacs
11733 restarts.
3fcfc4ee
JB
11734 * textmodes/remember.el (remember-data-file): Add :set callback to
11735 affect notes buffer (if any).
ef099a94
MN
11736 (remember-notes): New command.
11737 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11738 New defcustoms for the `remember-notes' function.
11739 (remember-notes-save-and-bury-buffer): New command.
11740 (remember-notes-mode-map): New variable.
11741 (remember-mode): New minor mode.
11742 (remember-notes--kill-buffer-query): New function.
11743 * startup.el (initial-buffer-choice): Add notes to custom type.
11744
0865d506
EZ
117452013-06-30 Eli Zaretskii <eliz@gnu.org>
11746
0ba54312
EZ
11747 * bindings.el (right-char, left-char): Don't call sit-for, this is
11748 no longer needed. Use arithmetic comparison only for numerical
11749 arguments.
11750
ef099a94
MN
11751 * international/mule-cmds.el (select-safe-coding-system):
11752 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11753
2fae38e5
LMI
117542013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11755
11756 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11757 progression on degenerate tables.
ef099a94 11758 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11759
a47cbd64
JB
117602013-06-30 Juanma Barranquero <lekktu@gmail.com>
11761
11762 Some fixes and improvements for desktop frame restoration.
11763 It is still experimental and disabled by default.
11764 * desktop.el (desktop--save-windows): Put the selected frame at
11765 the head of the list.
11766 (desktop--make-full-frame): New function.
11767 (desktop--restore-windows): Try to re-select the frame that was
11768 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11769 just show an error message and continue. Set up maximized frames
11770 so they have default non-maximized dimensions.
a47cbd64 11771
6dbafa30
DG
117722013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11773
ef099a94
MN
11774 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11775 Don't start heredoc inside a string or comment.
6dbafa30 11776
4c672a0f
EZ
117772013-06-29 Eli Zaretskii <eliz@gnu.org>
11778
11779 * bindings.el (visual-order-cursor-movement): New defcustom.
11780 (right-char, left-char): Provide visual-order cursor motion by
11781 calling move-point-visually. Update the doc strings.
11782
50960f36
KH
117832013-06-28 Kenichi Handa <handa@gnu.org>
11784
11785 * international/mule.el (define-coding-system): New coding system
11786 properties :inhibit-null-byte-detection,
11787 :inhibit-iso-escape-detection, and :prefer-utf-8.
11788 (set-buffer-file-coding-system): If :charset-list property of
11789 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11790 appropriate for setting.
11791
c1ea3abf
JB
11792 * international/mule-cmds.el (select-safe-coding-system):
11793 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11794 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11795
11796 * international/mule-conf.el (prefer-utf-8): New coding system.
11797 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11798 files.
11799
75dbaf9d
IK
118002013-06-28 Ivan Kanis <ivan@kanis.fr>
11801
eadb6068
IK
11802 * net/shr.el (shr-render-region): New function.
11803
75dbaf9d
IK
11804 * net/eww.el: Autoload `eww-browse-url'.
11805
9ea5cf9f
DG
118062013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11807
c1ea3abf
JB
11808 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11809 Adapt to `package-desc-version' being a list.
11810 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11811 archive element.
11812
39c0e36f
JB
118132013-06-27 Juanma Barranquero <lekktu@gmail.com>
11814
11815 New experimental feature to save&restore window and frame setup.
11816 * desktop.el (desktop-save-windows): New defcustom.
11817 (desktop--saved-states): New var.
11818 (desktop--excluded-frame-parameters): New defconst.
11819 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11820 (desktop--restore-windows, desktop--save-windows): New functions.
11821 (desktop-save): Call `desktop--save-windows'.
11822 (desktop-read): Call `desktop--restore-windows'.
11823
7f13406b
LMI
118242013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
ef099a94 11826 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11827
1e072639
SB
118282013-06-27 Stephen Berman <stephen.berman@gmx.net>
11829
11830 * info.el (Info-try-follow-nearest-node): Move search for footnote
11831 above search for node name to prevent missing a footnote (bug#14717).
11832
f3e2cbde
SB
118332013-06-27 Stephen Berman <stephen.berman@gmx.net>
11834
11835 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11836
99906aa0
LL
118372013-06-27 Leo Liu <sdl.web@gmail.com>
11838
11839 * net/eww.el (eww-read-bookmarks): Check file size.
11840
539f75f4
SM
118412013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11844 advice--pending if newdef is nil or an autoload (bug#13820).
11845 (advice-mapc): New function.
11846
843571cb
LMI
118472013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11848
11849 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11850 probably.
23a75d7f 11851 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11852 (eww-add-bookmark): New command.
11853 (eww-bookmark-mode): New mode and commands.
a285ce99 11854 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11855 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11856
f2136e1e
GM
118572013-06-26 Glenn Morris <rgm@gnu.org>
11858
eab35f39
GM
11859 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11860 (hfy-size): Handle ttys. (Bug#14668)
11861
f2136e1e
GM
11862 * info-xref.el: Update for Texinfo 5 change in *note format.
11863 (info-xref-node-re, info-xref-note-re): New constants.
11864 (info-xref-check-buffer): Use info-xref-note-re.
11865
a49ff80c
SM
118662013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11867
a343d218
SM
11868 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11869
a49ff80c
SM
11870 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11871 nil terminate the loop (bug#14718).
11872
8308f184
LMI
118732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11874
11875 * net/eww.el: Rework history traversal. When going forward/back,
11876 put these actions into the history, too, so that they can be
11877 replayed.
26bf2b82 11878 (eww-render): Move the history reset to the correct buffer.
8308f184 11879
ec64c273
JL
118802013-06-25 Juri Linkov <juri@jurta.org>
11881
11882 * files-x.el (modify-dir-local-variable): Change the header comment
11883 in the file with directory local variables. (Bug#14692)
11884
e080a9d7
JL
11885 * files-x.el (read-file-local-variable-value): Add `default'.
11886 (Bug#14710)
11887
bfbc93a1
IK
118882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11889
11890 * net/eww.el (eww-make-unique-file-name): Create a unique file
11891 name before saving to entering `y' accidentally asynchronously.
11892
118932013-06-25 Ivan Kanis <ivan@kanis.fr>
11894
11895 * net/eww.el (eww-download): New command and keystroke.
11896
16f74f10
LMI
118972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11898
a49ff80c 11899 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11900
11901 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11902 be more consistent with Info and dired.
11903
11904 * net/eww.el (eww-mode-map): Ditto.
11905
12059709
SM
119062013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11907
11908 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11909 packages from archives.
11910 (package-archive-contents): Change format; include obsolete packages.
11911 (package-desc): Use `dir' to mark builtin packages.
11912 (package--from-builtin): Set the `dir' field to `builtin'.
11913 (generated-autoload-file, version-control): Declare.
11914 (package-compute-transaction): Change first arg and return value to be
11915 lists of package-descs. Adjust to new package-archive-contents format.
11916 (package--add-to-archive-contents): Adjust to new
11917 package-archive-contents format.
11918 (package-download-transaction): Arg is now a list of package-descs.
11919 (package-install): If `pkg' is a package name, pass it as
11920 a requirement, so it is subject to the usual (e.g. disabled) checks.
11921 (describe-package): Accept package-desc as well.
11922 (describe-package-1): Describe a specific package-desc. Add links to
11923 other package-descs for the same package name.
11924 (package-menu-describe-package): Pass the actual package-desc.
11925 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11926 works correctly.
11927 (package-desc-status): New function.
11928 (package-menu--refresh): New function, extracted
11929 from package-menu--generate.
11930 (package-menu--generate): Use it.
11931 (package-delete): Update package-alist.
11932 (package-menu-execute): Don't call package-initialize.
11933
11934 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11935 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11936 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11937 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11938 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11939 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11940
8bbdea0f
MR
119412013-06-25 Martin Rudalics <rudalics@gmx.at>
11942
11943 * window.el (window--state-get-1): Workaround for bug#14527.
11944 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11945
e82b0991
LMI
119462013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11947
11948 * net/eww.el (eww-back-url): Implement the history by stashing all
11949 the data into a list.
d3f0f918 11950 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11951
c763842b
SM
119522013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11955 for values and use read--expression for expressions (bug#14710).
11956 (read-file-local-variable): Avoid setq.
11957 (read-file-local-variable-mode): Use minor-mode-list.
11958
bceff189
RW
119592013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11960
864c58ca 11961 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11962 for DOI URLs.
11963
45f431c6
RW
119642013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11965
864c58ca 11966 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11967 Update imenu-support when dialect changes.
11968
f42d8237
LL
119692013-06-25 Leo Liu <sdl.web@gmail.com>
11970
11971 * ido.el (ido-read-internal): Allow forward slash on windows.
11972
be549ce6
LMI
119732013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11974
11975 * net/eww.el (eww): Start of strings is \\`, not ^.
11976
71d4c19d
IK
119772013-06-24 Ivan Kanis <ivan@kanis.fr>
11978
5196f88a
IK
11979 * net/shr.el (shr-browse-url): Fix interactive spec.
11980
71d4c19d
IK
11981 * net/eww.el (eww): Add a trailing slash to domain names.
11982
ae36ca55
JB
119832013-06-24 Juanma Barranquero <lekktu@gmail.com>
11984
11985 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11986
0ebd92a3
LMI
119872013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11988
bdaa086b
LMI
11989 * net/shr.el (shr-browse-url): Use an external browser if given a
11990 prefix.
11991
c763842b 11992 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11993
b89fc156
IK
119942013-06-24 Ivan Kanis <ivan@kanis.fr>
11995
11996 * net/eww.el (eww): Work more correctly for file: URLs.
11997 (eww-detect-charset): Allow quoted charsets.
11998 (eww-yank-page-url): New command and keystroke.
11999
18eb4bca
DU
120002013-06-24 Daiki Ueno <ueno@gnu.org>
12001
12002 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12003 file name of gpg executable.
12004 (epg-context-program): New function.
12005 (epg-context-home-directory): New function.
12006 (epg-context-set-program): New function.
12007 (epg-context-set-home-directory): New function.
12008 (epg--start): Use `epg-context-program' instead of
12009 'epg-gpg-program'.
12010 (epg--list-keys-1): Likewise.
12011
6c6268c8
LL
120122013-06-24 Leo Liu <sdl.web@gmail.com>
12013
12014 * ido.el (ido-read-internal): Fix bug#14620.
12015
5e400cb3
JB
120162013-06-23 Juanma Barranquero <lekktu@gmail.com>
12017
12018 * faces.el (face-documentation): Simplify.
12019 (read-face-attribute, tty-find-type, x-resolve-font-name):
12020 Use `string-match-p'.
12021 (list-faces-display): Use `string-match-p'. Simplify.
12022 (face-spec-recalc): Check face to avoid face alias loops.
12023 (read-color): Use `string-match-p' and non-capturing parenthesis.
12024
f3f9606c
LMI
120252013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12026
12027 * net/shr.el (shr-rescale-image): Use the new
12028 :max-width/:max-height functionality.
12029
a3ca09b9
IK
120302013-06-23 Ivan Kanis <ivan@kanis.fr>
12031
12032 * net/eww.el (eww-search-prefix): New variable.
12033 (eww): Use it.
f865b474
IK
12034 (eww-external-browser): New variable.
12035 (eww-mode-map): New keystroke.
12036 (eww-browse-with-external-browser): New command.
a3ca09b9 12037
e854cfc7
IK
12038 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12039
18bb9e21
JB
120402013-06-23 Juanma Barranquero <lekktu@gmail.com>
12041
12042 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12043 Don't skip aligning the next header field when padding is 0;
12044 otherwise, field width is not respected unless the title is as
12045 wide as the field.
12046
5b165ade
SM
120472013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12048
12049 * emacs-lisp/package.el (package-el-version): Remove.
12050 (package-process-define-package): Fix inf-loop.
12051 (package-install): Allow symbols as arguments again.
12052
12adebe9
DG
120532013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12054
12055 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12056 add some more keyword-like methods.
12057 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12058
388573ee
JB
120592013-06-22 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * bs.el (bs-buffer-show-mark): Make defvar-local.
12062 (bs-mode): Use setq-local.
12063
12064 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12065 (emacs-lock--try-unlocking): Make defvar-local.
12066
4582a01c 120672013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 12068
2663dd23
GM
12069 * play/cookie1.el (cookie-apropos): Minor simplification.
12070
3d94f3ad
GM
12071 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12072
f72e2fdb
DG
120732013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12074
12075 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12076 `regexp-opt', it breaks the build during dumping.
12077
73eab938
DG
120782013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12079
c763842b
SM
12080 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12081 Highlight keyword-like methods on Kernel and Module with
73eab938 12082 font-lock-builtin-face.
5cf8176d
DG
12083 (auto-mode-alist): Consolidate different entries into one regexp
12084 and add more *file-s.
73eab938 12085
d26255f6
SB
120862013-06-21 Stephen Berman <stephen.berman@gmx.net>
12087
12088 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12089
12090 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12091 (diary-entry): Use it in the action of this button type instead of
12092 diary-goto-entry.
12093
12094 * calendar/todo-mode.el: New version.
12095 (todo-add-category): Append new category to end of file and give
12096 it the highest number, instead of putting it at the beginning and
12097 giving it 0. Incorporate noninteractive functionality.
12098 (todo-forward-category): Adapt to 1-based category numbering.
12099 Allow skipping over archived categories.
12100 (todo-backward-category): Derive from todo-forward-category.
12101 (todo-backward-item, todo-forward-item): Make noninteractive and
12102 delegate interactive part to new commands. Make sensitive to done items.
12103 (todo-categories): Make value an alist of category names and
12104 vectors of item counts.
12105 (todo-category-beg): Make a defconst.
12106 (todo-category-number): Use 1 instead of 0 as initial value.
12107 (todo-category-select): Make sensitive to overlays, optional item
12108 highlighting and done items.
12109 (todo-delete-item): Make sensitive to overlays and marked and done items.
12110 (todo-edit-item): Make sensitive to overlays and editing of
12111 date/time header optional. Add format checks.
12112 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12113 no-op if point is not on an item. Advertise using todo-edit-quit.
12114 (todo-edit-mode): Make sensitive to new format, font-locking, and
12115 multiple todo files.
12116 (todo-insert-item, todo-insert-item-here): Derive from
12117 todo-basic-insert-item and extend functionality.
12118 (todo-item-end, todo-item-start): Make sensitive to done items.
12119 (todo-item-string): Don't return text properties. Restore point.
12120 (todo-jump-to-category): Make sensitive to multiple todo files and
12121 todo archives. Use extended category completion.
12122 (todo-lower-item, todo-raise-item): Rename to *-priority and
12123 derive from todo-set-item-priority.
12124 (todo-mode): Derive from special-mode. Make sensitive to new
12125 format, font-locking and multiple todo files. Make read-only.
12126 (todo-mode-map): Don't suppress digit keys, so they can supply
12127 prefix arguments. Add many new key bindings.
12128 (todo-prefix): Insert as an overlay instead of file text.
12129 Change semantics from diary date expression to purely visual mark.
12130 (todo-print): Rename to todo-print-buffer. Make buffer display
12131 features printable. Remove option to restrict number of items
12132 printed. Add option to print to file.
12133 (todo-print-function): Rename to todo-print-buffer-function.
12134 (todo-quit): Extend to handle exiting new todo modes.
12135 (todo-remove-item): Make sensitive to overlays.
12136 (todo-save): Extend to buffers of filtered items.
12137 (todo-show): Make sensitive to done items, multiple todo files and
12138 new todo modes. Offer to convert legacy todo file before creating
12139 first new todo file.
12140 (todo-show-priorities): Rename to todo-top-priorities.
12141 Change semantics of value 0.
12142 (todo-top-priorities): Rename to todo-filter-top-priorities,
12143 derive from todo-filter-items and extend functionality.
12144 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12145 and extend functionality to other types of filtered items.
12146 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12147 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12148 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12149 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12150 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12151 (todo-edit-mode-hook, todo-entry-prefix-function)
12152 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12153 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12154 (todo-initials, todo-insert-threshold, todo-item-string-start)
12155 (todo-line-string, todo-menu, todo-mode-hook)
12156 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12157 (todo-print-priorities, todo-remove-separator)
12158 (todo-save-top-priorities-too, todo-string-count-lines)
12159 (todo-string-multiline-p, todo-time-string-format)
12160 (todo-tmp-buffer-name): Remove.
12161 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12162 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12163 (todo-edit-category-diary-inclusion)
12164 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12165 (todo-edit-file, todo-edit-item-date-day)
12166 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12167 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12168 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12169 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12170 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12171 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12172 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12173 (todo-filter-top-priorities-multifile, todo-find-archive)
12174 (todo-find-filtered-items-file, todo-go-to-source-item)
12175 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12176 (todo-jump-to-archive-category, todo-lower-category)
12177 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12178 (todo-move-category, todo-move-item, todo-next-button)
12179 (todo-next-item, todo-padded-string, todo-powerset)
12180 (todo-previous-button, todo-previous-item)
12181 (todo-print-buffer-to-file, todo-raise-category)
12182 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12183 (todo-set-category-number, todo-set-item-priority)
12184 (todo-set-top-priorities-in-category)
12185 (todo-set-top-priorities-in-file, todo-show-categories-table)
12186 (todo-sort-categories-alphabetically-or-numerically)
12187 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12188 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12189 (todo-toggle-item-header, todo-toggle-item-highlighting)
12190 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12191 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12192 (todo-unarchive-items, todo-unmark-category): New commands.
12193 (todo-absolute-file-name, todo-add-to-buffer-list)
12194 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12195 (todo-basic-insert-item, todo-category-completions)
12196 (todo-category-number, todo-category-string-matcher-1)
12197 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12198 (todo-check-format, todo-clear-matches)
12199 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12200 (todo-current-category, todo-date-string-matcher)
12201 (todo-define-insertion-command, todo-diary-expired-matcher)
12202 (todo-diary-goto-entry, todo-diary-item-p)
12203 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12204 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12205 (todo-done-item-section-p, todo-done-separator)
12206 (todo-done-string-matcher, todo-files, todo-filter-items)
12207 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12208 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12209 (todo-insert-category-line, todo-insert-item-from-calendar)
12210 (todo-insert-sort-button, todo-insert-with-overlays)
12211 (todo-insertion-command-name, todo-insertion-key-bindings)
12212 (todo-label-to-key, todo-longest-category-name-length)
12213 (todo-make-categories-list, todo-mode-external-set)
12214 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12215 (todo-modes-set-3, todo-multiple-filter-files)
12216 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12217 (todo-read-category, todo-read-date, todo-read-dayname)
12218 (todo-read-file-name, todo-read-time)
12219 (todo-reevaluate-category-completions-files-defcustom)
12220 (todo-reevaluate-default-file-defcustom)
12221 (todo-reevaluate-filelist-defcustoms)
12222 (todo-reevaluate-filter-files-defcustom)
12223 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12224 (todo-reset-done-separator, todo-reset-done-separator-string)
12225 (todo-reset-done-string, todo-reset-global-current-todo-file)
12226 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12227 (todo-reset-prefix, todo-set-categories)
12228 (todo-set-date-from-calendar, todo-set-show-current-file)
12229 (todo-set-top-priorities, todo-short-file-name)
12230 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12231 (todo-total-item-counts, todo-update-buffer-list)
12232 (todo-update-categories-display, todo-update-categories-sexp)
12233 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12234 New functions.
12235 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12236 New major modes.
12237 (todo-categories, todo-display, todo-edit, todo-faces)
12238 (todo-filtered): New defgroups.
12239 (todo-archived-only, todo-button, todo-category-string, todo-date)
12240 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12241 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12242 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12243 (todo-add-item-if-new-category, todo-always-add-time-string)
12244 (todo-categories-align, todo-categories-archived-label)
12245 (todo-categories-category-label, todo-categories-diary-label)
12246 (todo-categories-done-label, todo-categories-number-separator)
12247 (todo-categories-todo-label, todo-categories-totals-label)
12248 (todo-category-completions-files, todo-completion-ignore-case)
12249 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12250 (todo-done-separator-string, todo-done-string)
12251 (todo-files-function, todo-filter-done-items, todo-filter-files)
12252 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12253 (todo-initial-category, todo-initial-file, todo-item-mark)
12254 (todo-legacy-date-time-regexp, todo-mode-line-function)
12255 (todo-nondiary-marker, todo-number-prefix)
12256 (todo-print-buffer-function, todo-show-current-file)
12257 (todo-show-done-only, todo-show-first, todo-show-with-done)
12258 (todo-skip-archived-categories, todo-top-priorities-overrides)
12259 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12260 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12261 New defcustoms.
12262 (todo-category-done, todo-date-pattern, todo-date-string-start)
12263 (todo-diary-items-buffer, todo-done-string-start)
12264 (todo-filtered-items-buffer, todo-item-start)
12265 (todo-month-abbrev-array, todo-month-name-array)
12266 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12267 (todo-top-priorities-buffer): New defconsts.
12268 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12269 (todo-categories-with-marks, todo-category-string-face)
12270 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12271 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12272 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12273 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12274 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12275 (todo-font-lock-keywords, todo-global-current-todo-file)
12276 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12277 (todo-insertion-commands-args)
12278 (todo-insertion-commands-args-genlist)
12279 (todo-insertion-commands-names, todo-insertion-map)
12280 (todo-key-bindings-t, todo-key-bindings-t+a)
12281 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12282 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12283 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12284 (todo-visited): New variables.
12285
cad5d1cb
GM
122862013-06-21 Glenn Morris <rgm@gnu.org>
12287
12288 * play/cookie1.el (cookie-apropos): Add optional display argument.
12289 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12290 (psychoanalyze-pinhead): Use cookie-doctor.
12291
9e277302
JB
122922013-06-21 Juanma Barranquero <lekktu@gmail.com>
12293
12294 * emacs-lisp/package.el (tar-get-file-descriptor)
12295 (tar--extract): Declare.
12296
c5b0993e
EW
122972013-06-21 Eduard Wiebe <usenet@pusto.de>
12298
12299 Extend flymake's warning predicate to be a function (bug#14217).
12300 * progmodes/flymake.el (flymake-warning-predicate): New.
12301 (flymake-parse-line): Use it.
12302 (flymake-warning-re): Make obsolete alias to
12303 `flymake-warning-predicate'.
12304
a7d2d465
SM
123052013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12308 (package-obsolete-list): Remove.
12309 (package-activate): Remove min-version argument. Add `force' argument.
12310 Adjust to new package-alist format.
12311 (package-mark-obsolete): Remove.
12312 (package-unpack): Force reload of the package's autoloads.
12313 (package-installed-p): Check builtins if the installed package is not
12314 recent enough.
12315 (package-initialize): Don't reset package-obsolete-list.
12316 Don't specify which package version to activate.
12317 (package-process-define-package, describe-package-1)
12318 (package-menu--generate): Adjust to new package-alist format.
12319
cedf5c9d
JB
123202013-06-21 Juanma Barranquero <lekktu@gmail.com>
12321
12322 * allout-widgets.el (allout-widgets-mode-off)
12323 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12324 (allout-widgets-post-command-business)
12325 (allout-widgets-after-copy-or-kill-function)
12326 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12327 (allout-decorate-item-and-context)
12328 (allout-graphics-modification-handler): Fix typos in docstrings.
12329 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12330
12331 * cmuscheme.el (scheme-start-file): Doc fix.
12332 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12333 (scheme-input-filter): Use `string-match-p'.
12334
12335 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12336
12337 * dired-x.el: Use Dired consistently in docstrings.
12338
12339 * dired.el: Use Dired consistently in docstrings.
12340 (dired-readin, dired-mode): Use `setq-local'.
12341 (dired-switches-alist): Make defvar-local.
12342 (dired-buffers-for-dir): Use `zerop'.
12343 (dired-safe-switches-p, dired-switches-escape-p)
12344 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12345 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 12346 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
12347 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12348 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12349 (dired-toggle-marks, dired-mark-files-containing-regexp)
12350 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12351 (dired-flag-auto-save-files, dired-flag-backup-files):
12352 Use `looking-at-p'.
12353 (dired-mark-files-regexp, dired-build-subdir-alist):
12354 Use `string-match-p', `looking-at-p'.
12355
12356 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12357 (direct-print-region-helper): Use `string-match-p'.
12358
aed838b5
LL
123592013-06-21 Leo Liu <sdl.web@gmail.com>
12360
cedf5c9d
JB
12361 * comint.el (comint-redirect-results-list-from-process):
12362 Fix infinite loop.
aed838b5 12363
d80a808f
LMI
123642013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12365
12366 * net/eww.el (eww-update-header-line-format): Quote % characters.
12367
e7a526e3
GM
123682013-06-21 Glenn Morris <rgm@gnu.org>
12369
12370 * play/cookie1.el (cookie): New custom group.
12371 (cookie-file): New option.
12372 (cookie-check-file): New function.
12373 (cookie): Make it interactive. Make start and end messages optional.
12374 Interactively, display the result. Default to cookie-file.
12375 (cookie-insert): Default to cookie-file.
12376 (cookie-snarf): Make start and end messages optional.
12377 Default to cookie-file. Use with-temp-buffer.
12378 (cookie-read): Rename from read-cookie.
12379 Make start and end messages optional. Default to cookie-file.
12380 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 12381 Do not autoload it.
e7a526e3
GM
12382 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12383 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12384
62efb35e
LL
123852013-06-21 Leo Liu <sdl.web@gmail.com>
12386
12387 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12388
21e3f963
GM
123892013-06-21 Glenn Morris <rgm@gnu.org>
12390
12391 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12392
fd846ab4
SM
123932013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12394 Daniel Hackney <dan@haxney.org>
12395
12396 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12397 Consolidate the single-file vs tarball code.
12398 (package-desc-suffix): New function.
12399 (package-desc-full-name): Don't bother inlining it.
12400 (package-load-descriptor): Return the new package-desc.
12401 (package-mark-obsolete): Remove unused arg `package'.
12402 (package-unpack): Make it work for single files as well.
12403 Make it update package-alist.
12404 (package--make-autoloads-and-stuff): Rename from
12405 package--make-autoloads-and-compile. Don't compile any more.
12406 (package--compile): New function.
12407 (package-generate-description-file): New function, extracted from
12408 package-unpack-single.
12409 (package-unpack-single): Remove.
12410 (package--with-work-buffer): Add indentation and debugging info.
12411 (package-download-single): Remove.
12412 (package-install-from-archive): Rename from package-download-tar, make
12413 it take a pkg-desc, and make it work for single files as well.
12414 (package-download-transaction): Simplify.
12415 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12416 external tar program.
12417 (package-install-from-buffer): Remove `pkg-desc' argument.
12418 Use package-tar-file-info for tar-mode buffers.
12419 (package-install-file): Simplify accordingly.
12420 (package-archive-base): Change to take a pkg-desc.
12421 * tar-mode.el (tar--check-descriptor): New function, extracted from
12422 tar-get-descriptor.
12423 (tar-get-descriptor): Use it.
12424 (tar-get-file-descriptor): New function.
12425 (tar--extract): New function, extracted from tar-extract.
12426 (tar--extract): Use it.
12427 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12428 case the summary uses non-ascii. Adjust to new calling convention of
12429 package-tar-file-info.
12430
b7deae5e
LL
124312013-06-21 Leo Liu <sdl.web@gmail.com>
12432
fd846ab4
SM
12433 * comint.el (comint-redirect-results-list-from-process):
12434 Fix random delay. (Bug#14681)
b7deae5e 12435
7a65a0b2
JB
124362013-06-21 Juanma Barranquero <lekktu@gmail.com>
12437
12438 * profiler.el (profiler-format-number): Use log, not log10.
12439
1493c2af
JB
124402013-06-20 Juanma Barranquero <lekktu@gmail.com>
12441
12442 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12443
aff6371e
SM
124442013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12445
12446 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12447 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12448 yet available.
12449 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12450 (AUTOGENEL): ... here.
12451 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12452 (cl--defsubst-expand): Use it.
12453
89561f72
PE
124542013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12455
12456 * subr.el (log10): Move here from C code, and declare as obsolete.
12457 All uses of (log10 X) replaced with (log X 10).
12458
47199123
JB
124592013-06-20 Juanma Barranquero <lekktu@gmail.com>
12460
12461 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12462 Declare with `defvar-local'.
12463 (tabulated-list-use-header-line, tabulated-list-entries)
12464 (tabulated-list-padding, tabulated-list-printer)
12465 (tabulated-list-sort-key): Declare with `defvar-local'.
12466 (tabulated-list-init-header, tabulated-list-print-fake-header):
12467 Use `setq-local'.
12468
4a172eab
MA
124692013-06-20 Michael Albinus <michael.albinus@gmx.de>
12470
47199123
JB
12471 * arc-mode.el (archive-mode): Add `archive-write-file' to
12472 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 12473
5fc0acc0
JB
124742013-06-20 Juanma Barranquero <lekktu@gmail.com>
12475
d5b27848
JB
12476 * cus-edit.el (custom-commands): Fix typos.
12477 (custom-display): Fix tooltip text.
12478 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12479 Fix typos in docstrings.
12480 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12481 (custom-unlispify-menu-entry, custom-magic-value-create)
12482 (custom-add-see-also, custom-group-value-create): Use ?\s.
12483 (custom-guess-type, customize-apropos, editable-field)
12484 (custom-face-value-create): Use `string-match-p'.
12485 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12486
12487 * custom.el (custom-load-symbol): Use `string-match-p'.
12488
a5c581d8
JB
12489 * ansi-color.el: Convert to lexical binding.
12490 (ansi-colors): Fix URL.
12491 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12492 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12493 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12494
970ad972
G
124952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12496
12497 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12498
12499 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12500
125012013-06-19 Tom Tromey <tromey@redhat.com>
12502
12503 * net/eww.el (eww-top-url): Remove.
12504 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12505 (eww-render): Set new variables. Don't set eww-top-url.
12506 (eww-handle-link): Handle "prev", "home", and "contents".
12507 Downcase the rel text.
12508 (eww-top-url): Choose best top URL.
12509
125102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511
12512 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12513 relying in widget.el. Using widget.el leads to too many
12514 user interface inconsistencies.
12515 (eww-self-insert): Implement entering commands in text fields.
12516 (eww-process-text-input): New function to make text input field editing
12517 work.
12518 (eww-submit): Rewrite to use the new-style form methods.
12519 (eww-select-display): Display the correct selected item.
12520 (eww-change-select): Implement changing the select value.
12521 (eww-toggle-checkbox): Implement radio/checkboxes.
12522 (eww-update-field): Fix compilation error.
12523 (eww-tag-textarea): Implement <textarea>.
12524
12525 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12526 we don't shadow mode-specific bindings.
12527
12528 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12529 nothing to push.
12530
12531 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12532
4582a01c 125332013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
12534
12535 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12536
15b263dc
MA
125372013-06-19 Michael Albinus <michael.albinus@gmx.de>
12538
12539 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12540 not needed.
12541
12542 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12543
8f5297f7
LMI
125442013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12545
12546 * net/browse-url.el (browse-url-browser-function):
12547 `eww-browse-url' has the right calling signature, `eww' does not.
12548
011c4552
GM
125492013-06-19 Glenn Morris <rgm@gnu.org>
12550
2285bd27
GM
12551 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12552 Only eval autoloaded macros.
12553 (byte-compile-autoload): Only give the macro warning for macros.
12554
1d653303
GM
12555 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12556 (ps-underlined-faces): Declare.
12557
bdd779ec
GM
12558 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12559 (speedbar-add-supported-extension): Declare.
12560
011c4552
GM
12561 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12562 Don't include a date stamp in the header of the generated file;
12563 it leads to needless differences between output files.
12564
e59dfb0e
MA
125652013-06-19 Michael Albinus <michael.albinus@gmx.de>
12566
c763842b
SM
12567 * net/secrets.el (secrets-struct-secret-content-type):
12568 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 12569 Some servers do not offer introspection.
e59dfb0e 12570
102626e2
SM
125712013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * electric.el (electric-pair-mode): Improve interaction with
12574 electric-layout-mode.
12575 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12576 (electric-pair-syntax): Use text-mode-syntax-table in comments
12577 and strings.
12578 (electric-pair--insert): New function.
12579 (electric-pair-post-self-insert-function): Use it and
12580 electric--after-char-pos.
12581
ad528125
LL
125822013-06-19 Leo Liu <sdl.web@gmail.com>
12583
12584 * progmodes/octave.el (octave-help): Fix regexp.
12585
924d6997
G
125862013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12587
12588 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12589 (shr-table-horizontal-line): Allow nil as a value, and change the
12590 default.
12591 (shr-insert-table-ruler): Respect the nil value.
12592
125932013-06-18 Tom Tromey <tromey@barimba>
12594
12595 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12596 New defvars.
12597 (eww-open-file): New defun.
12598 (eww-render): Initialize new variables.
12599 (eww-display-html): Handle "link" and "a".
12600 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12601 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12602 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
12603 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12604 New defuns.
924d6997 12605
d1bbba4f
DG
126062013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12607
12608 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12609 Distinguish ternary operator tokens from slash symbol and slash
12610 char literal.
12611
14dd22d2
JB
126122013-06-18 Juanma Barranquero <lekktu@gmail.com>
12613
12614 Convert symbol prettification into minor mode and global minor mode.
12615
12616 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12617 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12618 (prettify-symbols--keywords): Rename from
12619 `prog-prettify-symbols-alist' and make a local defvar.
12620 (prettify-symbols--compose-symbol): Rename from
12621 `prog--prettify-font-lock-compose-symbol'.
12622 (prettify-symbols--make-keywords): Rename from
12623 `prog-prettify-font-lock-symbols-keywords' and simplify.
12624 (prog-prettify-install): Remove.
12625 (prettify-symbols-mode): New minor mode, based on
12626 `prog-prettify-install'.
12627 (turn-on-prettify-symbols-mode): New function.
12628 (global-prettify-symbols-mode): New globalized minor mode.
12629
12630 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12631 * progmodes/cfengine.el (cfengine3-mode):
12632 * progmodes/perl-mode.el (perl-mode): Don't call
12633 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12634
292c880c
JL
126352013-06-18 Juri Linkov <juri@jurta.org>
12636
12637 * files-x.el (modify-file-local-variable-message): New function.
12638 (modify-file-local-variable)
12639 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12640 and call `modify-file-local-variable-message' when it's non-nil.
12641 (add-file-local-variable, delete-file-local-variable)
12642 (add-file-local-variable-prop-line)
12643 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12644 and use it. (Bug#9820)
12645
0950aa27
JL
126462013-06-18 Juri Linkov <juri@jurta.org>
12647
12648 * emulation/vi.el (vi-shell-op):
12649 * emulation/vip.el (vip-execute-com, ex-command):
12650 * emulation/viper-cmd.el (viper-exec-bang):
12651 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12652 the call of `shell-command-on-region'. (Bug#14637)
12653
12654 * simple.el (shell-command-on-region): Doc fix.
12655
8fbcca16
SM
126562013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12659 (bug#14633).
12660
dd7426ea
GM
126612013-06-18 Glenn Morris <rgm@gnu.org>
12662
4ba54f7d
GM
12663 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12664
dd7426ea
GM
12665 * newcomment.el (comment-search-forward, comment-search-backward):
12666 Doc fix. (Bug#14376)
12667
58aa805b
JB
126682013-06-18 Juanma Barranquero <lekktu@gmail.com>
12669
12670 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12671 (buffer-face-mode-invoke): Doc fix.
12672
9a08a617
MM
126732013-06-18 Matthias Meulien <orontee@gmail.com>
12674
12675 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12676 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12677
f2f426ca
GM
126782013-06-18 Glenn Morris <rgm@gnu.org>
12679
9445f99b
GM
12680 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12681 Replace obsolete function generic-make-keywords with its expansion.
12682
e0df2d14
GM
12683 * progmodes/python.el (ffap-alist): Declare.
12684
f2f426ca
GM
12685 * textmodes/reftex.el (bibtex-mode-map): Declare.
12686
f7f9a720
SM
126872013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12690 (package-unpack, package-unpack-single): Return the pkg-dir.
12691 (package-download-transaction): Use it to update package-alist.
12692
57ff04e0
LMI
126932013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12694
12695 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12696 possible choice.
12697
c048c022
JL
126982013-06-17 Juri Linkov <juri@jurta.org>
12699
12700 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12701
b5bcaee5
DG
127022013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12703
a020afb9
JB
12704 * emacs-lisp/package.el (package-load-descriptor):
12705 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12706 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12707
551e07e5
JB
127082013-06-17 Juanma Barranquero <lekktu@gmail.com>
12709
12710 * startup.el (command-line): Expand package name returned by
12711 `package--description-file' (bug#14639).
12712
d363bffb
DG
127132013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12714
12715 * emacs-lisp/package.el (package-load-descriptor): Do not call
12716 `emacs-lisp-mode', just use its syntax table.
12717
f612933b
JB
127182013-06-17 Juanma Barranquero <lekktu@gmail.com>
12719
12720 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12721 `font-lock-extra-managed-props' if any prettifying keyword is added.
12722 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12723 (prog-mode): Use `setq-local'.
12724
db3b7db5
SM
127252013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12726
12727 * international/characters.el (standard-case-table): Set syntax of ?»
12728 and ?« to punctuation.
12729
f3d674df
JB
127302013-06-16 Juanma Barranquero <lekktu@gmail.com>
12731
12732 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12733 Save relevant match data before calling `syntax-ppss' (bug#14595).
12734
31489a32
JL
127352013-06-15 Juri Linkov <juri@jurta.org>
12736
12737 * files-x.el (modify-file-local-variable-prop-line): Add local
12738 variables to the end of the existing comment on the first line.
12739 Use `file-auto-mode-skip' to skip interpreter magic line,
12740 and also skip XML declaration.
12741
66bd25ab
SM
127422013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * startup.el (package--builtin-versions): New var.
12745 (package-subdirectory-regexp): Remove.
12746 (package--description-file): Hard code its value instead.
12747
12748 * emacs-lisp/package.el: Don't activate packages older than builtin.
12749 (package-obsolete-list): Rename from package-obsolete-alist, and make
12750 it into a simple list of package-desc.
12751 (package-strip-version): Remove.
12752 (package-built-in-p): Use package--builtin-versions.
12753 (package-mark-obsolete): Simplify.
12754 (package-process-define-package): Mark it obsolete if older than the
12755 builtin version.
12756 (package-handle-response): Use line-end-position.
12757 (package-read-archive-contents, package--download-one-archive):
12758 Simplify.
12759 (package--add-to-archive-contents): Skip if older than the builtin or
12760 installed version.
12761 (package-menu-describe-package): Fix last change.
12762 (package-list-unversioned): New var.
12763 (package-menu--generate): Use it.
12764
12765 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12766 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12767 (autoload-builtin-package-versions): New variable.
12768 (autoload-generate-file-autoloads): Use them.
12769 Remove the list of autoloaded functions/macros from the
12770 (autoload...) comments.
12771
12772 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12773
9583ec36
EZ
127742013-06-15 Eli Zaretskii <eliz@gnu.org>
12775
12776 * simple.el (line-move-partial): Don't jump to the next screen
12777 line as soon as it becomes visible. Instead, continue enlarging
12778 the vscroll until the portion of a tall screen line that's left on
12779 display is about the height of the frame's default font.
12780 (Bug#14567)
12781
f0100d8a
GM
127822013-06-15 Glenn Morris <rgm@gnu.org>
12783
b86a85ca
GM
12784 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12785 compilation-error-regexp-alist void, or local while let-bound.
12786
f0100d8a
GM
12787 * progmodes/make-mode.el (makefile-mode-syntax-table):
12788 Treat "=" as punctuation. (Bug#14614)
12789
05e7ce90
JB
127902013-06-15 Juanma Barranquero <lekktu@gmail.com>
12791
12792 * help-fns.el (describe-variable):
12793 Add extra line for permanent-local variables.
12794
12e5e86e
SH
127952013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12796
12797 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12798 Add export, import, library. (Bug#9164)
12799 (library): Set indent function.
12800
230dcbaf
GM
128012013-06-14 Glenn Morris <rgm@gnu.org>
12802
12803 * term/xterm.el (xterm--query):
12804 Stop after first matching handler. (Bug#14615)
12805
e36b2d20 128062013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12807
12808 Add support for dired in saveplace.
12809 * dired.el (dired-initial-position-hook): New variable.
12810 (dired-initial-position): Call hook to place cursor position.
12811 * saveplace.el (save-place-to-alist): Add dired position.
12812 (save-place-dired-hook): New function.
12813
0b31660d
SM
128142013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12815
bf1e6ae8
SM
12816 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12817 through a symbol rather than letrec.
12818
1b8dff23
SM
12819 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12820 (package-desc): Add `dir' field.
12821 (package-desc-full-name): New function.
12822 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12823 (package-maybe-load-descriptor): Remove.
12824 (package-load-all-descriptors): Just call package-load-descriptor.
12825 (package--disabled-p): New function.
12826 (package-desc-vers, package-desc-doc): Remove aliases.
12827 (package--dir): Remove function.
12828 (package-activate): Check if a package is disabled.
12829 (package-process-define-package): New function, extracted from
12830 define-package.
12831 (define-package): Turn into a place holder.
12832 (package-unpack-single, package-tar-file-info):
12833 Use package--description-file.
12834 (package-compute-transaction): Use package--disabled-p.
12835 (package-download-transaction): Don't call
12836 package-maybe-load-descriptor since they're all loaded anyway.
12837 (package-install): Change argument to be a pkg-desc.
12838 (package-delete): Use a single pkg-desc argument.
12839 (describe-package-1): Use package-desc-dir instead of package--dir.
12840 Use package-desc property instead of package-symbol.
12841 (package-install-button-action): Adjust accordingly.
12842 (package--push): Rewrite.
12843 (package-menu--print-info): Adjust accordingly. Change the ID format
12844 to be a pkg-desc.
12845 (package-menu-describe-package, package-menu-get-status)
12846 (package-menu--find-upgrades, package-menu-mark-upgrades)
12847 (package-menu-execute, package-menu--name-predicate):
12848 Adjust accordingly.
12849 * startup.el (package--description-file): New function.
12850 (command-line): Use it.
12851 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12852 Use package-desc-version.
12853
0b31660d
SM
12854 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12855 (byte-compile-preprocess): Use it.
12856 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12857 can't quite recognize.
12858 (byte-compile-add-to-list): Remove.
12859 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12860 (cconv-closure-convert): Add assertion.
12861
12862 * emacs-lisp/map-ynp.el: Use lexical-binding.
12863 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12864 Factor out some repeated code.
12865
de0503df
SM
128662013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * subr.el (with-eval-after-load): New macro.
12869 (eval-after-load): Allow form to be a function.
12870 take advantage of lexical-binding.
12871 (do-after-load-evaluation): Use dolist and adjust to new format.
12872 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12873
bc5c8c5a
JL
128742013-06-13 Juri Linkov <juri@jurta.org>
12875
12876 * replace.el (perform-replace): Display "symbol " and other search
12877 modes from `isearch-message-prefix' in the *Help* buffer.
12878
12879 * isearch.el (isearch-query-replace): Add " symbol" and other
12880 possible search modes from `isearch-message-prefix' to the prompt.
12881 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12882 when reading a regexp to collect.
12883
a22289f7
JL
128842013-06-13 Juri Linkov <juri@jurta.org>
12885
12886 * isearch.el (word-search-regexp): Match whitespace if the search
12887 string begins or ends in whitespace. The LAX arg is applied to
12888 both ends of the search string. Use `regexp-quote' and explicit
12889 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12890 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12891 boundaries are replaced with symbol boundaries, and characters
12892 between symbols match non-word non-symbol syntax. (Bug#14602)
12893
cb89acab
JL
128942013-06-13 Juri Linkov <juri@jurta.org>
12895
12896 * isearch.el (isearch-del-char): Don't exceed the length of
12897 `isearch-string' by the prefix arg. (Bug#14563)
12898
6e8cfc81
JL
128992013-06-13 Juri Linkov <juri@jurta.org>
12900
12901 * isearch.el (isearch-yank-word, isearch-yank-line)
12902 (isearch-char-by-name, isearch-quote-char)
12903 (isearch-printing-char, isearch-process-search-char):
12904 Add optional count prefix arg. (Bug#14563)
12905
12906 * international/isearch-x.el
12907 (isearch-process-search-multibyte-characters):
12908 Add optional count prefix arg.
12909
c23d55f4
VS
129102013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12913 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12914 lexical-binding.
12915
129162013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12917
12918 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12919
ba947bc4
GM
129202013-06-13 Glenn Morris <rgm@gnu.org>
12921
8baeb37a
GM
12922 * startup.el (tty-handle-args):
12923 Don't just discard "--" and anything after. (Bug#14608)
12924
ba947bc4
GM
12925 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12926
9abefce4
MA
129272013-06-13 Michael Albinus <michael.albinus@gmx.de>
12928
12929 Implement changes in Secret Service API. Make it backward compatible.
12930 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12931 (secrets-create-item): Use it. Prefix properties with interface.
12932
5755011f
MH
129332013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12934
12935 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12936 (term-emulate-terminal): Respect term-suppress-hard-newline.
12937
1261d2da
S
129382013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12939
12940 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12941 Only remove a `thumb-file' overlay. (Bug#14548)
12942
868490bb
GJ
129432013-06-12 Grégoire Jadi <daimrod@gmail.com>
12944
12945 * mail/reporter.el (reporter-submit-bug-report):
12946 Handle missing package-name. (Bug#14600)
12947
79d7167f
TH
129482013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12949
12950 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12951 (reftex-citation-prompt, reftex-default-bibliography)
12952 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12953 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12954 (reftex-bib-sort-author, reftex-bib-sort-year)
12955 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12956 (reftex-extract-bib-entries-from-thebibliography)
12957 (reftex-get-bibkey-default, reftex-get-bib-names)
12958 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12959 (reftex-format-bib-entry, reftex-parse-bibitem)
12960 (reftex-format-bibitem, reftex-do-citation)
12961 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12962 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12963 (reftex-insert-bib-matches, reftex-format-citation)
12964 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12965 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12966 existing comments into docstrings.
12967
5f9dbd7a
XF
129682013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12969
12970 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12971
94df41ab
AS
129722013-06-12 Andreas Schwab <schwab@suse.de>
12973
12974 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12975 for auto-save files.
12976
a7f3fecc
GM
129772013-06-12 Glenn Morris <rgm@gnu.org>
12978
001809f6
GM
12979 * ido.el (ido-delete-ignored-files): Remove.
12980 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12981 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12982
834b5ded
EL
129832013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12984
08c73ed2
EL
12985 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12986
834b5ded
EL
12987 * ido.el (ido-delete-ignored-files): New function,
12988 split from ido-make-file-list-1.
12989 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12990 (ido-make-file-list-1): Use ido-delete-ignored-files.
12991
daabf15a
LL
129922013-06-12 Leo Liu <sdl.web@gmail.com>
12993
12994 * progmodes/octave.el (inferior-octave-startup)
12995 (inferior-octave-completion-table)
12996 (inferior-octave-track-window-width-change)
12997 (octave-eldoc-function-signatures, octave-help)
12998 (octave-find-definition): Use single quoted strings.
12999 (inferior-octave-startup-args): Change default value.
13000 (inferior-octave-startup): Do not hard code "-i" and
13001 "--no-line-editing".
13002 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13003 (inferior-octave-directory-tracker): Use it.
13004 (octave-goto-function-definition): Robustify.
13005 (octave-help): Support highlighting operators in 'See also'.
13006 (octave-find-definition): Find subfunctions only in Octave mode.
13007
cf4e5178
SM
130082013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13009
13010 * help-fns.el (help-fns--compiler-macro): If the handler function is
13011 named, then put a link to it.
13012 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13013 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13014 (cl-typep): Use it.
13015 (cl-eval-when): Simplify debug spec.
13016 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13017 compiler-macro function instead of setting `compiler-macro-file'.
13018
99c81280 130192013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
13020
13021 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13022 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13023
f56be016
SM
130242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13025 Daniel Hackney <dan@haxney.org>
13026
13027 First part of Daniel Hackney's patch to package.el.
13028 * emacs-lisp/package.el: Use defstruct.
13029 (package-desc): New, main struct.
13030 (package--bi-desc, package--ac-desc): New structs, used to describe the
13031 format in external files.
13032 (package-desc-vers): Replace with package-desc-version accessor.
13033 (package-desc-doc): Replace with package-desc-summary accessor.
13034 (package-activate-1): Remove `package' arg since the pkg-vec now
13035 includes the name.
13036 (define-package): Use package-desc-from-define.
13037 (package-unpack-single): Change file-name arg to be a symbol.
13038 (package--add-to-archive-contents): Use package-desc-create and new
13039 accessor functions to package--ac-desc.
13040 (package-buffer-info, package-tar-file-info): Return a package-desc.
13041 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13042 arg to be a package-desc.
13043 (package-install-file): Adjust accordingly. Use \' to match EOS.
13044 (package--from-builtin): New function.
13045 (describe-package-1, package-menu--generate): Use it.
13046 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13047 (package-generate-autoloads): Idem and return the name of the file.
13048 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13049 Change pkg-info arg to be a package-desc.
13050 Use package-make-ac-desc.
13051 (package-upload-file): Use \' to match EOS.
13052 * finder.el (finder-compile-keywords): Use package-make-builtin.
13053
31119d63
SM
130542013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13055
931a2762
SM
13056 * vc/vc.el (vc-deduce-fileset): Change error message.
13057 (vc-read-backend): New function.
13058 (vc-next-action): Use it.
13059
5a3eb0c6
SM
13060 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13061
e3eb1bb7
SM
13062 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13063 (prolog-font-lock-keywords): Use regexp-opt instead.
13064 Don't manually highlight strings.
13065 (prolog-mode-variables): Simplify comment-start-skip.
13066 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13067
31119d63
SM
13068 * emacs-lisp/generic.el (generic--normalise-comments)
13069 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13070 (generic-mode-set-comments): Use them.
13071 (generic-bracket-support): Use setq-local.
13072 (generic-make-keywords-list): Declare obsolete.
13073
7de135d0
GM
130742013-06-11 Glenn Morris <rgm@gnu.org>
13075
13076 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13077 Prettify after setting font-lock-defaults. (Bug#14574)
13078
fa6bc6fd
JB
130792013-06-11 Juanma Barranquero <lekktu@gmail.com>
13080
13081 * replace.el (query-replace, occur-read-regexp-defaults-function)
13082 (replace-search):
13083 * subr.el (declare-function, number-sequence, local-set-key)
13084 (substitute-key-definition, locate-user-emacs-file)
13085 (with-silent-modifications, split-string, eval-after-load):
13086 Fix typos, remove unneeded backslashes and reflow some docstrings.
13087
cf1f9b9a
SM
130882013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13091 default for Elisp files.
13092
56602a4b
GM
130932013-06-11 Glenn Morris <rgm@gnu.org>
13094
13095 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13096 although define-derived-mode was doing this anyway. (Bug#14583)
13097
30ae0b2c
JB
130982013-06-10 Juanma Barranquero <lekktu@gmail.com>
13099
13100 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13101 Fix make-variable-buffer-local call to refer to the correct variable.
13102
fa472906
AG
131032013-06-10 Aidan Gauland <aidalgol@amuri.net>
13104
13105 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
13106 (eshell-visual-subcommands, eshell-visual-options):
13107 Add summary line to docstrings. Add cross-references.
fa472906 13108
ff4871b9
GM
131092013-06-10 Glenn Morris <rgm@gnu.org>
13110
13111 * epa.el (epa-read-file-name): New function. (Bug#14510)
13112 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13113
04fcf1b0
AG
131142013-06-09 Aidan Gauland <aidalgol@amuri.net>
13115
13116 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13117 output redirection to be ignored with visual commands.
13118
88b00caa
AG
131192013-06-09 Aidan Gauland <aidalgol@amuri.net>
13120
13121 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
13122 (eshell-term-initialize): Move long lambda to separate function
13123 eshell-visual-command-p.
27821a89 13124 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
13125 * eshell/em-script.el (eshell-script-initialize):
13126 Add missing #' to lambda.
88b00caa 13127
fda74125
LL
131282013-06-08 Leo Liu <sdl.web@gmail.com>
13129
13130 * progmodes/octave.el (octave-add-log-current-defun): New function.
13131 (octave-mode): Set add-log-current-defun-function.
13132 (octave-goto-function-definition): Do not move point if not found.
13133 (octave-find-definition): Enhance to try subfunctions first.
13134
467f3b33
GM
131352013-06-08 Glenn Morris <rgm@gnu.org>
13136
13137 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13138 (byte-compile-backward-char, byte-compile-backward-word):
13139 Improve previous change, to handle non-explicit nil.
13140
544badc3
SM
131412013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13142
13143 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13144 (smie--opener/closer-at-point): New function.
13145 (smie--matching-block-data): Use it. Don't match from right after an
13146 opener or right before a closer. Obey smie-blink-matching-inners.
13147 Don't signal a mismatch for repeated inners like "switch..case..case".
13148
a175bf33
LL
131492013-06-07 Leo Liu <sdl.web@gmail.com>
13150
13151 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13152 to t. (Bug#14303)
ce8209d4
LL
13153 (octave-function-header-regexp): Fix. (Bug#14570)
13154 (octave-help-mode-finish-hook, octave-help-mode-finish):
13155 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
13156
13157 * newcomment.el (comment-search-backward): Revert last change.
13158 (Bug#14434)
13159
13160 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13161
a822acff
EZ
131622013-06-07 Eli Zaretskii <eliz@gnu.org>
13163
13164 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13165 through xargs, to avoid failure due to MS-Windows limitations on
13166 command-line length.
13167
961166f5
GM
131682013-06-06 Glenn Morris <rgm@gnu.org>
13169
d0341459
GM
13170 * font-lock.el (lisp-font-lock-keywords-2):
13171 Treat user-error like error.
13172
961166f5
GM
13173 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13174 (byte-compile-backward-char, byte-compile-backward-word):
13175 Handle explicit nil arguments. (Bug#14565)
13176
80fa505f
AM
131772013-06-05 Alan Mackenzie <acm@muc.de>
13178
13179 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 13180 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 13181 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 13182 (Bug#9706)
80fa505f 13183
fccdc796
SM
131842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13185
13186 * autorevert.el (auto-revert-notify-handler): Use memq.
13187 Hide assertion failure.
13188
13189 * skeleton.el: Use cl-lib.
13190 (skeleton-further-elements): Use defvar-local.
13191 (skeleton-insert): Use cl-progv.
13192
9bfff84b
TZ
131932013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13194
13195 * progmodes/prog-mode.el (prog-prettify-symbols)
13196 (prog-prettify-install): Update docstrings.
13197
55577e7c
SM
131982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * simple.el: Move all the prog-mode code to prog-mode.el.
13201 * progmodes/prog-mode.el: New file.
13202 * loadup.el: Add prog-mode.el.
13203
8fc57765
TZ
132042013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13205
13206 * simple.el (prog-prettify-symbols): Add version.
13207 (prog-prettify-install): Add convenience function to prettify symbols.
13208
13209 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13210 (perl--augmented-font-lock-keywords-1)
13211 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13212 variables and use it.
13213
13214 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13215 (cfengine3-mode): Remove unneeded variable and use it.
13216
13217 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13218 (lisp--augmented-font-lock-keywords-1)
13219 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13220 Remove unneeded variables and use it.
13221
650645d5 132222013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
13223
13224 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 13225 to point when opening the connection. (Bug#14380)
28f5da6d 13226
781b4af6
SM
132272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * subr.el (load-history-regexp, load-history-filename-element)
13230 (eval-after-load, after-load-functions, do-after-load-evaluation)
13231 (eval-next-after-load, display-delayed-warnings)
13232 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13233 definition of save-match-data.
13234 (overriding-local-map): Remove accidental obsolescence declaration.
13235
13236 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13237
3ca0d0b4
TZ
132382013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13239
13240 Generalize symbol prettify support to prog-mode and implement it
13241 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13242 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13243 (prog--prettify-font-lock-compose-symbol)
13244 (prog-prettify-font-lock-symbols-keywords): New variables and
13245 functions to support symbol prettification.
13246 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13247 (lisp--augmented-font-lock-keywords-1)
13248 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13249 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13250 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
13251 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13252 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
13253 * progmodes/perl-mode.el (perl-prettify-symbols)
13254 (perl--font-lock-compose-symbol)
13255 (perl--font-lock-symbols-keywords): Move to prog-mode.
13256 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13257 (perl-font-lock-keywords-1)
13258 (perl-font-lock-keywords-2): Remove explicit prettify support.
13259 (perl--augmented-font-lock-keywords)
13260 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
13261 (perl--augmented-font-lock-keywords-2, perl-mode):
13262 Implement prettify support.
3ca0d0b4 13263
976cb066
LL
132642013-06-05 Leo Liu <sdl.web@gmail.com>
13265
27821a89 13266 Re-implement SMIE matching block highlight using
976cb066
LL
13267 show-paren-data-function. (Bug#14395)
13268 * emacs-lisp/smie.el (smie-matching-block-highlight)
13269 (smie--highlight-matching-block-overlay)
13270 (smie--highlight-matching-block-lastpos)
13271 (smie-highlight-matching-block)
13272 (smie-highlight-matching-block-mode): Remove.
13273 (smie--matching-block-data-cache): New variable.
13274 (smie--matching-block-data): New function.
13275 (smie-setup): Use smie--matching-block-data for
13276 show-paren-data-function.
13277
13278 * progmodes/octave.el (octave-mode-menu): Fix.
13279 (octave-find-definition): Skip garbage lines.
13280
208d0342
SM
132812013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13282
13283 Fix compilation error with simultaneous dynamic+lexical scoping.
13284 Add warning when a defvar appears after the first let-binding.
13285 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13286 (byte-compile-close-variables): Initialize it.
13287 (byte-compile--declare-var): New function.
13288 (byte-compile-file-form-defvar)
13289 (byte-compile-file-form-define-abbrev-table)
13290 (byte-compile-file-form-custom-declare-variable): Use it.
13291 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13292 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13293 (byte-compile-bind): Handle dynamic bindings that shadow
13294 lexical bindings.
13295 (byte-compile-unbind): Make arg non-optional.
13296 (byte-compile-let): Simplify.
13297 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13298 (cconv--analyse-function, cconv-analyse-form): Populate it.
13299 Protect byte-compile-bound-variables to limit the scope of defvars.
13300 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13301 Remove unneeded rule for `declare'.
13302
13303 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13304 so as to avoid depending on cl-adjoin at run-time.
13305 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13306
13307 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13308 (macroexp--warn-and-return): Use it.
13309
1ac2891e
GM
133102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13311
a12bf61e 13312 * subr.el: Convert to lexical binding.
1ac2891e
GM
13313 (overriding-local-map): Make obsolete.
13314 (add-to-list): Doc fix. Add compiler macro.
13315 (read-key): Swap values of local maps.
13316
2587b005
LL
133172013-06-05 Leo Liu <sdl.web@gmail.com>
13318
13319 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13320
f1da3c88
LL
133212013-06-04 Leo Liu <sdl.web@gmail.com>
13322
13323 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13324 (compilation-auto-jump): Suppress the "Mark set" message to give
13325 way to exit message.
13326
3caa391f
AM
133272013-06-04 Alan Mackenzie <acm@muc.de>
13328
13329 Remove faulty optimisation from indentation calculation.
13330 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13331 search limit based on 2000 characters back from indent-point.
13332
068922a2
TH
133332013-06-03 Tassilo Horn <tsdh@gnu.org>
13334
13335 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13336
1f8fdd53
SM
133372013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13338
bbcc4d97
SM
13339 * emacs-lisp/lisp.el: Use lexical-binding.
13340 (lisp--local-variables-1, lisp--local-variables): New functions.
13341 (lisp--local-variables-completion-table): New var.
208d0342 13342 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 13343
1f8fdd53
SM
13344 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13345 eagerly (bug#14422).
13346
c9628c79
MA
133472013-06-03 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * autorevert.el (auto-revert-notify-enabled)
13350 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13351 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13352 (auto-revert-notify-handler): Handle also gfilenotify.
13353
e7b41c4c 13354 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 13355 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 13356 Remove.
c9628c79 13357
e5e4a942
JL
133582013-06-03 Juri Linkov <juri@jurta.org>
13359
13360 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13361 `M-s h .'. (Bug#14427)
13362
13363 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13364 command `hi-lock-face-symbol-at-point'.
13365 (hi-lock-face-symbol-at-point): New command.
13366 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13367 (hi-lock-menu): Add `highlight-symbol-at-point'.
13368 (hi-lock-mode): Doc fix.
13369
13370 * isearch.el (isearch-forward-symbol-at-point): New command.
13371 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13372 (isearch-highlight-regexp): Add a regexp which matches
13373 words/symbols for word/symbol mode.
13374
13375 * subr.el (find-tag-default-bounds): New function with the body
13376 mostly moved from `find-tag-default'.
13377 (find-tag-default): Move most code to `find-tag-default-bounds',
13378 call it and apply `buffer-substring-no-properties' afterwards.
13379
26b3353a
TH
133802013-06-03 Tassilo Horn <tsdh@gnu.org>
13381
781b4af6
SM
13382 * eshell/em-term.el (eshell-term-initialize):
13383 Use `cl-intersection' rather than `intersection'.
26b3353a 13384
51b60f53
XF
133852013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13386
fe054b63 13387 * vc/log-view.el: Doc fix.
d3ffe17c 13388 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 13389
a0eb10b3 133902013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
13391
13392 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13393 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13394 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13395 (eieio-unbound, eieio-default-superclass)
13396 (eieio--define-field-accessors, method-static, method-before)
13397 (method-primary, method-after, method-num-lists)
13398 (method-generic-before, method-generic-primary)
13399 (method-generic-after, method-num-slots)
13400 (eieio-specialized-key-to-generic-key)
13401 (eieio--check-type, class-v, class-p)
13402 (eieio-class-name, define-obsolete-function-alias)
13403 (eieio-class-parents-fast, eieio-class-children-fast)
13404 (same-class-fast-p, class-constructor, generic-p)
13405 (generic-primary-only-p, generic-primary-only-one-p)
13406 (class-option-assoc, class-option, eieio-object-p)
13407 (class-abstract-p, class-method-invocation-order)
13408 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13409 (eieio-class-un-autoload, eieio-defclass)
13410 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13411 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13412 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13413 (eieio-defgeneric-reset-generic-form)
13414 (eieio-defgeneric-form-primary-only)
13415 (eieio-defgeneric-reset-generic-form-primary-only)
13416 (eieio-defgeneric-form-primary-only-one)
13417 (eieio-defgeneric-reset-generic-form-primary-only-one)
13418 (eieio-unbind-method-implementations)
13419 (eieio--defmethod, eieio--typep)
13420 (eieio-perform-slot-validation, eieio-validate-slot-value)
13421 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13422 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13423 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13424 (eieio-slot-name-index, eieio-class-slot-name-index)
13425 (eieio-set-defaults, eieio-initarg-to-attribute)
13426 (eieio-attribute-to-initarg, eieio-c3-candidate)
13427 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13428 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13429 (eieio-class-precedence-list, eieio-generic-call-methodname)
13430 (eieio-generic-call-arglst, eieio-generic-call-key)
13431 (eieio-generic-call-next-method-list)
13432 (eieio-pre-method-execution-functions, eieio-generic-call)
13433 (eieio-generic-call-primary-only, eieiomt-method-list)
13434 (eieiomt-optimizing-obarray, eieiomt-install)
13435 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13436 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 13437 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
13438 (defclass): Remove `eval-and-compile' from macro.
13439 (call-next-method, shared-initialize): Instead of using
13440 `scoped-class' variable, use new eieio--scoped-class, and
13441 eieio--with-scoped-class.
13442 (initialize-instance): Rename local variable 'scoped-class' to
13443 'this-class' to remove ambiguitity from old global.
13444
13445 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13446 eieio.el.
4f405069
JB
13447 (eieio--scoped-class-stack): New variable.
13448 (eieio--scoped-class): New fcn.
890f7890
DE
13449 (eieio--with-scoped-class): New scoping macro.
13450 (eieio-defclass): Use pushnew instead of add-to-list.
13451 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13452 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13453 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13454 `scoped-class' variable, use new eieio--scoped-class, and
13455 eieio--with-scoped-class.
13456
13457 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13458
d105b0e2
TH
134592013-06-02 Tassilo Horn <tsdh@gnu.org>
13460
13461 * eshell/esh-ext.el (eshell-external-command): Pass args to
13462 `eshell-find-interpreter'.
13463 (eshell-find-interpreter): Add new second parameter ARGS.
13464
13465 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 13466 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13467
13468 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 13469 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13470
13471 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13472 (eshell-visual-options): New defcustom.
13473 (eshell-escape-control-x): Adapt docstring.
13474 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13475 `eshell-visual-options' in addition to `eshell-visual-commands'.
13476 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13477
f46305c8 134782013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
13479
13480 * progmodes/python.el (python-indent-block-enders): Add break,
13481 continue and raise keywords.
13482
d870df21
GM
134832013-06-01 Glenn Morris <rgm@gnu.org>
13484
9133b82e
GM
13485 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13486
02c992ec 13487 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
13488 * progmodes/cc-cmds.el (delete-forward-p):
13489 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13490 * progmodes/cc-engine.el (buffer-syntactic-context):
13491 * progmodes/cc-fonts.el (face-property-instance):
13492 * progmodes/cc-mode.el (set-keymap-parents):
13493 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13494 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13495 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
13496 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13497 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 13498
31e7b090
GM
13499 * progmodes/cc-vars.el (other): Emacs has this widget since
13500 at least 21.1, so don't (re)define it.
13501
d870df21
GM
13502 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13503 Replace the obsolete alias pcomplete-arg-quote-list.
13504
c75c93c7
LL
135052013-06-01 Leo Liu <sdl.web@gmail.com>
13506
13507 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13508 punctuation syntax.
13509 (inferior-octave-minimal-columns)
13510 (inferior-octave-last-column-width): New variables.
13511 (inferior-octave-track-window-width-change): New function.
13512 (inferior-octave-mode): Adjust column width so that Octave output,
13513 for example from 'ls', can fit into the window nicely.
13514
973d1e12
DG
135152013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13516
13517 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13518 Highlight expansions inside regexp literals.
13519
0888c286
GM
135202013-05-31 Glenn Morris <rgm@gnu.org>
13521
e26aac1f
GM
13522 * obsolete/sym-comp.el (symbol-complete):
13523 Replace obsolete completion-annotate-function.
13524
0888c286
GM
13525 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13526
19bb8e62
DG
135272013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13528
781b4af6
SM
13529 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13530 New function, checks if point is inside a literal that allows
19bb8e62
DG
13531 expression expansion.
13532 (ruby-syntax-propertize-expansion): Use it.
13533 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13534 around the body.
13535
01dea85f
JL
135362013-05-30 Juri Linkov <juri@jurta.org>
13537
13538 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13539 to "\M-si".
13540 (isearch-invisible): New variable.
13541 (isearch-forward): Doc fix.
13542 (isearch-mode): Set `isearch-invisible'
13543 to the value of `search-invisible'.
13544 (isearch-toggle-case-fold): Doc fix.
13545 (isearch-toggle-invisible): New command.
13546 (isearch-query-replace): Let-bind `search-invisible'
13547 to the value of `isearch-invisible'.
13548 (isearch-search): Use `isearch-invisible' instead of
13549 `search-invisible'. Let-bind `search-invisible'
13550 to the value of `isearch-invisible'. (Bug#11378)
13551
ab1bdce5
JL
135522013-05-30 Juri Linkov <juri@jurta.org>
13553
13554 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13555 call when `query-flag' is nil and `search-invisible' is non-nil.
13556 (Bug#11746)
13557
d6d236e2
GM
135582013-05-30 Glenn Morris <rgm@gnu.org>
13559
8accd027
GM
13560 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13561
2a8bed1c
GM
13562 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13563 (cc-require): Suppress spurious "noruntime" warnings.
13564 (cc-require-when-compile): Use fboundp, for sake of compiler.
13565
d6d236e2
GM
13566 * progmodes/cc-mode.el: Move load of cc-vars before that of
13567 cc-langs (which in turn loads cc-vars), to quieten compiler.
13568
9190b35b
SM
135692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * paren.el: Simplify the code.
13572 (show-paren-mode): Always start the timer.
13573 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13574 (show-paren--overlay, show-paren--overlay-1): Rename from
13575 show-paren-overlay and show-paren-overlay-1, and initialize to an
13576 overlay rather than to nil.
13577 (show-paren-function): Misc cleanup and simplifications.
13578
4f8d1cf6
SM
135792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * paren.el (show-paren-data-function): New hook.
13582 (show-paren--default): New function, extracted from show-paren-function.
13583 (show-paren-function): Use show-paren-data-function.
13584
02d844b5
GM
135852013-05-30 Glenn Morris <rgm@gnu.org>
13586
d209d4a9
GM
13587 * ielm.el (ielm-map, ielm-complete-symbol):
13588 Use completion-at-point rather than obsolete functions.
13589 (inferior-emacs-lisp-mode): Doc fix.
13590 Set completion-at-point-functions, rather than
13591 comint-dynamic-complete-functions.
13592
2082faa6
GM
13593 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13594 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13595 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13596
dd8620de
GM
13597 * image.el (image-animated-p): Tweak definition.
13598
ceca95b1
GM
13599 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13600 (rlogin-process-connection-type): Tweak default. Add set-after.
13601 (rlogin-host): Doc fix.
13602 (rlogin): Tweak prompt.
13603 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13604
ee9f1acc
GM
13605 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13606 * progmodes/tcl.el (inferior-tcl-mode-map):
13607 Use completion-at-point rather than obsolete alias.
13608
45ce222e
GM
13609 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13610
02d844b5
GM
13611 * minibuffer.el (read-file-name-completion-ignore-case):
13612 Move before completion--in-region, for eager macro expansion.
13613
ac44d6c1
JL
136142013-05-29 Juri Linkov <juri@jurta.org>
13615
13616 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13617 for total count of matching lines. Add `global-matches' for total
13618 count of matches. Rename `matches' to `lines' for count of
13619 matching lines. Add `matches' for count of matches.
13620 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13621 to `prev-line' for line number of prev match endpt.
13622 Increment `matches' for every match. Print the number of
13623 matching lines in the header.
13624 (occur-context-lines): Rename `lines' to `curr-line'.
13625 Rename `prev-lines' to `prev-line'. (Bug#14017)
13626
3c9c9d38
JL
136272013-05-29 Juri Linkov <juri@jurta.org>
13628
13629 * replace.el (perform-replace): Add `skip-read-only-count',
13630 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13631 Increment them for corresponding conditions and report the number
13632 of skipped occurrences in the final message. (Bug#11746)
13633 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13634 (replace-string, replace-regexp): Doc fix.
13635
33e249a2
SM
136362013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13637
8e399682
SM
13638 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13639
33e249a2 13640 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13641 prog-mode-map (bug#14504).
33e249a2 13642
f236dd84
LL
136432013-05-29 Leo Liu <sdl.web@gmail.com>
13644
13645 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13646 (octave-help): Small simplification.
13647
13648 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13649 off the highlight first.
13650
3694d13f
GM
136512013-05-29 Glenn Morris <rgm@gnu.org>
13652
03983bdc
GM
13653 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13654 Handle idlwave-last-system-routine-info-cons-cell being nil.
13655
bc74a74a
GM
13656 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13657 (idlwave-write-paths): Simplify via with-temp-buffer.
13658
8b394200
GM
13659 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13660 * emulation/cua-rect.el: Also load cua-base at run time.
13661
3694d13f
GM
13662 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13663 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13664 (cperl-imenu-on-info): Require imenu.
13665
336d7284
AM
136662013-05-28 Alan Mackenzie <acm@muc.de>
13667
13668 Handle "capitalised keywords" correctly.
33e249a2 13669 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13670
cb29c582
AG
136712013-05-28 Aidan Gauland <aidalgol@amuri.net>
13672
781b4af6 13673 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13674
690e44b2
GM
136752013-05-28 Glenn Morris <rgm@gnu.org>
13676
e658d75c
GM
13677 * vc/vc-arch.el (vc-exec-after): Declare.
13678 (vc-switches): Autoload.
13679 * vc/vc-bzr.el: No need to require vc when compiling.
13680 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13681 (vc-resynch-buffer, vc-dir-refresh): Declare.
13682 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13683 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13684 (vc-resynch-buffer): Declare.
13685 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13686 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13687 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13688 (grep-read-regexp, grep-read-files, grep-expand-template)
13689 (vc-dir-refresh): Declare.
13690 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13691 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13692 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13693 * vc/vc-mtn.el (vc-exec-after): Declare.
13694 (vc-switches): Autoload.
13695 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13696 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13697 (vc-file-tree-walk): Declare.
712b9732
GM
13698 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13699 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13700 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13701 * vc/vc-svn.el (vc-exec-after): Declare.
13702 (vc-switches, vc-setup-buffer): Autoload.
13703 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13704 Autoload.
13705 (vc-resynch-buffer): Declare.
13706
98e87fb3
GM
13707 * obsolete/fast-lock.el (byte-compile-warnings):
13708 Don't warn about obsolete features in this obsolete file.
13709
f5379553
GM
13710 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13711 Move definition before use.
13712
7a20ef83
GM
13713 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13714 (dun-unix-verbs): Remove dun-zippy.
13715 (dun-zippy): Remove function.
13716
690e44b2
GM
13717 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13718
3a52ccf7
JL
137192013-05-27 Juri Linkov <juri@jurta.org>
13720
13721 * replace.el (replace-search): New function with code moved out
13722 from `perform-replace'.
13723 (replace-highlight, replace-dehighlight): Move function definitions
13724 up closer to `replace-search'. (Bug#11746)
13725
d289938a
JL
137262013-05-27 Juri Linkov <juri@jurta.org>
13727
13728 * replace.el (perform-replace): Ignore invisible matches.
13729 In addition to checking `query-replace-skip-read-only', also
13730 filter out matches by calling `run-hook-with-args-until-failure'
13731 on `isearch-filter-predicates', and also check `search-invisible'
13732 for t or call `isearch-range-invisible'.
13733 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13734
66fc57e3
JL
137352013-05-27 Juri Linkov <juri@jurta.org>
13736
13737 * isearch.el (isearch-filter-predicates): Rename from
13738 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13739 (isearch-message-prefix): Display text from the property
13740 `isearch-message-prefix' of the currently active filters.
13741 (isearch-search): Don't compare `isearch-filter-predicate' with
13742 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13743 on `isearch-filter-predicates'. Also check `search-invisible' for t
13744 or call `isearch-range-invisible'.
13745 (isearch-filter-visible): Make obsolete.
13746 (isearch-lazy-highlight-search):
13747 Call `run-hook-with-args-until-failure' on
13748 `isearch-filter-predicates' and use `isearch-range-invisible'.
13749
13750 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13751 `isearch-filter-predicates' instead of `funcall'ing
13752 `isearch-filter-predicate'.
13753 (Info-mode): Set `Info-isearch-filter' to
13754 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13755
13756 * dired-aux.el (dired-isearch-filter-predicate-orig):
13757 Remove variable.
13758 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13759 (dired-isearch-filenames-end): Add and remove
13760 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13761 instead of changing the value of `isearch-filter-predicate'.
13762 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13763 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13764 Put property `isearch-message-prefix' to "filename " on
13765 `dired-isearch-filter-filenames'.
13766
13767 * wdired.el (wdired-change-to-wdired-mode):
13768 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13769 locally instead of changing `isearch-filter-predicate'.
13770 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13771
f1a60a0f
DG
137722013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13773
13774 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13775 return the commit hash (Bug#14459). Also set the
13776 `vc-git-detached' property.
13777 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13778 (vc-git-mode-line-string): Use the same help-echo format whether
13779 in detached mode or not, because we know the actual revision now.
13780 When in detached mode, shorten the revision to 7 chars.
13781
7f17cc40
SM
137822013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * emacs-lisp/easy-mmode.el (define-minor-mode):
13785 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13786 mode hook and provide a docstring.
13787
25c8401c
AM
137882013-05-27 Alan Mackenzie <acm@muc.de>
13789
13790 Remove spurious syntax-table text properties inserted by C-y.
13791 * progmodes/cc-mode.el (c-after-change): Also clear hard
13792 syntax-table property with value nil.
13793
dde84790
MA
137942013-05-27 Michael Albinus <michael.albinus@gmx.de>
13795
13796 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13797 when reading the events; the buffer layout shall not be changed.
13798
837fd9af
LL
137992013-05-27 Leo Liu <sdl.web@gmail.com>
13800
13801 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13802 New variable.
13803 (inferior-octave-directory-tracker): Automatically re-sync
13804 default-directory.
13805 (octave-help): Improve handling of 'See also'.
13806
4fd996b3
SM
138072013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13808
416f1802
SM
13809 * doc-view.el: Minor naming convention tweaks.
13810 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13811
4fd996b3
SM
13812 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13813 even if there's no `display' property yet (bug#14435).
13814
a052ef3b
EZ
138152013-05-25 Eli Zaretskii <eliz@gnu.org>
13816
4fd996b3 13817 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13818
13819 * Makefile.in (custom-deps, finder-data, autoloads)
13820 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13821 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13822 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13823
c9023370
SM
138242013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13827 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13828 Don't burp at EOB.
c9023370 13829
24d699fa
LL
138302013-05-25 Leo Liu <sdl.web@gmail.com>
13831
13832 * comint.el (comint-previous-matching-input): Do not flood the
13833 *Messages* buffer with trivial messages.
13834
17e5c0cc
SM
138352013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * progmodes/flymake.el (flymake-nop): Don't return a string.
13838 (flymake-set-at): Fix typo.
13839
13840 * simple.el (read--expression): New function, extracted from
13841 eval-expression. Set completion-at-point-functions (bug#14465).
13842 (eval-expression, eval-minibuffer): Use it.
13843
5d028165
XF
138442013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13845
13846 * progmodes/flymake.el (flymake-save-buffer-in-file)
13847 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13848 (flymake-selected-frame, flymake-log, flymake-ins-after)
13849 (flymake-set-at, flymake-get-buildfile-from-cache)
13850 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13851 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13852 Refine the doc string.
13853 (flymake-get-file-name-mode-and-masks): Reformat.
13854 (flymake-get-real-file-name-function): Fix a minor bug.
13855
7a1d7ba7
JL
138562013-05-24 Juri Linkov <juri@jurta.org>
13857
13858 * progmodes/grep.el (grep-mode-font-lock-keywords):
13859 Support =linenumber= format used by git-grep for lines with
13860 function names. (Bug#13549)
13861
650cff3d
SM
138622013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13863
13864 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13865 0 after a semi-colon; it works better for smie-auto-fill.
13866 (octave--indent-new-comment-line): New function.
13867 (octave-indent-new-comment-line): Use it (indirectly).
13868 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13869 modify comment-line-break-function.
13870
13871 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13872 (smie-setup): Use add-function to set it.
13873
9631677d
SS
138742013-05-24 Sam Steingold <sds@gnu.org>
13875
13876 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13877 argument (before the `interactive' argument).
13878
50105835
SM
138792013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * image-mode.el (image-mode-winprops): Add winprops to
13882 image-mode-winprops-alist before running
13883 image-mode-new-window-functions.
13884 * doc-view.el (doc-view-new-window-function): Don't delay
13885 doc-view-goto-page via timers (bug#14435).
13886
57b9823e
TH
138872013-05-24 Tassilo Horn <tsdh@gnu.org>
13888
13889 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13890 (doc-view-desktop-save-buffer): New function.
13891 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13892 (desktop-buffer-mode-handlers):
13893 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13894 handler.
13895 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13896 `desktop-save-buffer' function.
13897
91aafa16
MA
138982013-05-24 Michael Albinus <michael.albinus@gmx.de>
13899
13900 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13901 (tramp-gvfs-file-name-handler): Raise a user error when
13902 `tramp-gvfs-enabled' is nil.
13903 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13904 Do not raise a user error when loading package. (Bug#14447)
13905
ec076379
MA
13906 * net/xesam.el: Move to obsolete/.
13907
db785726
GM
139082013-05-24 Glenn Morris <rgm@gnu.org>
13909
af5c7606
GM
13910 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13911
e5d1916a
GM
13912 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13913
ded62b08
GM
13914 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13915 (Info-find-node, Man-getpage-in-background): Declare.
13916
9e614a3f
GM
13917 * mail/unrmail.el (unrmail):
13918 Replace obsolete detect-coding-with-priority.
13919
892f8ca3
GM
13920 * net/socks.el (socks-split-string): Use this rather than split-string.
13921 (socks-nslookup-host): Update for above change.
13922 (dynamic-choice, s5-dynamic-choice-match)
13923 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13924 Comment out unused code.
13925
3c291973
GM
13926 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13927 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13928 (gud-tooltip-echo-area): Make obsolete.
13929 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13930
43cc956b
GM
13931 * progmodes/js.el (js--optimize-arglist): Declare.
13932
dab49a3b
GM
13933 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13934
36b9d085
GM
13935 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13936 (ediff-window-C): Declare.
13937
e354ae76
GM
13938 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13939 Tweak requires to silence compiler.
13940
b8e57bf4
GM
13941 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13942 (he-search-string, he-tried-table, he-expand-list)
13943 (he-init-string, he-string-member, he-substitute-string)
13944 (he-reset-string): Declare.
13945
db785726
GM
13946 * obsolete/options.el (list-options): Use custom-variable-p,
13947 rather than obsolete alias.
13948
b3531901
SS
139492013-05-23 Sam Steingold <sds@gnu.org>
13950
13951 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13952 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13953 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13954
bdda4c66
SM
139552013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * emacs-lisp/smie.el (smie-indent-forward-token)
13958 (smie-indent-backward-token): Handle string tokens (bug#14381).
13959
c43d45f9
TH
139602013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13961
fe1eb856
RS
13962 * ielm.el (ielm-menu): New menu.
13963 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13964
fe1eb856
RS
139652013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13966
a12bf61e 13967 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13968 Fix deactivate action.
13969
a12bf61e 13970 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13971 Add cleveref macros.
074dd971 13972
9b017563
JB
13973 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13974 Accept options for bibliography commands.
a12bf61e 13975 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13976 Add addbibresource. Basic Biblatex support.
13977
7764286e
MA
139782013-05-23 Michael Albinus <michael.albinus@gmx.de>
13979
13980 * net/tramp-gvfs.el (top):
13981 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13982 when loading package. (Bug#14447)
13983
d361bc10
GM
139842013-05-23 Glenn Morris <rgm@gnu.org>
13985
8fa23984
GM
13986 * progmodes/js.el: No need to load comint when compiling.
13987 (ring-insert, comint-send-string, comint-send-input)
13988 (comint-last-input-end, ido-chop): Declare.
13989
a5c7df1a
GM
13990 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13991 * vc/ediff-mult.el: Adjust requires.
13992 (ediff-directories-internal, ediff-directory-revisions-internal)
13993 (ediff-patch-file-internal): Declare.
13994 * vc/ediff-ptch.el: Adjust requires.
13995 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13996 (ediff-find-file): Autoload.
13997 * vc/ediff-util.el: No need to load ediff when compiling.
13998 (ediff-regions-internal): Declare.
13999 * vc/ediff-wind.el: Adjust requires.
14000 (ediff-compute-toolbar-width): Define when compiling.
14001 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14002 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14003 (dired-get-filename, dired-get-marked-files)
14004 (ediff-last-dir-patch, ediff-patch-default-directory)
14005 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14006 (ediff-patch-buffer-internal): Declare.
14007
e2aec513
GM
14008 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14009 (ispell-process, ispell-buffer-local-words, lm-summary)
14010 (lm-section-start, lm-section-end): Declare.
14011 (checkdoc-ispell-init): Simplify.
14012
e68bbd7c
GM
14013 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14014 (he-string-member, he-reset-string, he-substitute-string): Declare.
14015
7efe0991
GM
14016 * eshell/em-ls.el: Adjust requires.
14017 (eshell-glob-regexp): Declare.
f87b1284
GM
14018 * eshell/em-tramp.el: Adjust requires.
14019 (eshell-parse-command): Autoload.
14020 * eshell/em-xtra.el: Adjust requires.
14021 (eshell-parse-command): Autoload.
14022 * eshell/esh-ext.el: Adjust requires.
14023 (eshell-parse-command, eshell-close-handles): Autoload.
14024 * eshell/esh-io.el: Adjust requires.
14025 (eshell-output-filter): Autoload.
14026 * eshell/esh-util.el: No need to load tramp when compiling.
14027 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14028 Declare.
14029 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14030 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14031 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14032 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14033 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14034 * eshell/esh-opt.el, eshell/esh-proc.el:
14035 * eshell/esh-var.el: Adjust requires.
14036 * eshell/eshell.el: Do not require esh-util twice.
14037 (eshell-add-input-to-history): Declare.
14038 (eshell-command): Check history module is active before using it.
14039
d361bc10
GM
14040 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14041
85d090a9
LL
140422013-05-22 Leo Liu <sdl.web@gmail.com>
14043
14044 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14045
5d0acd9d
MA
140462013-05-22 Michael Albinus <michael.albinus@gmx.de>
14047
14048 * autorevert.el (auto-revert-notify-add-watch)
14049 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14050 it indicates changes in file modification time.
14051
0cdffd7d
GM
140522013-05-22 Glenn Morris <rgm@gnu.org>
14053
ca5995ec
GM
14054 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14055 Always delete the autoloaded function from the noruntime and
14056 unresolved functions lists.
14057
6450907e
GM
14058 * allout.el: No need to load epa, epg, overlay when compiling.
14059 (epg-context-set-passphrase-callback, epg-list-keys)
14060 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14061 (epg-key-user-id-list): Declare.
14062
9c6906f6
GM
14063 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14064 (viper-set-parsing-style-toggling-macro)
14065 (viper-set-emacs-state-searchstyle-macros):
14066 Use called-interactively-p on Emacs.
14067 (viper-looking-back): Make it an obsolete alias. Update callers.
14068 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14069 Use looking-back rather than viper-looking-back.
14070 (viper-tmp-insert-at-eob, viper-enlarge-region)
14071 (viper-read-string-with-history, viper-register-to-point)
14072 (viper-append-to-register, viper-change-state-to-vi)
14073 (viper-backward-char-carefully, viper-forward-char-carefully)
14074 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14075 (viper-change-state-to-emacs): Declare.
14076 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14077 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14078 * emulation/viper-mous.el: Do not load viper-cmd.
14079 (viper-backward-char-carefully, viper-forward-char-carefully)
14080 (viper-forward-word, viper-adjust-window): Declare.
14081
5f70c169
GM
14082 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14083
b1b7f300
GM
14084 * progmodes/idlw-help.el (idlwave-help-fontify):
14085 Use called-interactively-p.
14086
f6ebbb46
GM
14087 * term/w32console.el (w32-get-console-codepage)
14088 (w32-get-console-output-codepage): Declare.
14089
0cdffd7d
GM
14090 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14091 Remove unnecessary declarations.
14092 (dframe-message): Doc fix.
14093
14094 * info.el (dframe-select-attached-frame, dframe-current-frame):
14095 Declare.
14096
14097 * speedbar.el (speedbar-message): Make it an obsolete alias.
14098 Update all callers.
14099 (speedbar-with-attached-buffer)
14100 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14101 (speedbar-with-writable): Use backquote.
14102 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14103 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14104 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14105 rather than speedbar- aliases.
14106 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14107 (speedbar-make-specialized-keymap, speedbar-insert-button)
14108 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14109 (speedbar-do-function-pointer): Declare.
14110 (rmail-speedbar-button, rmail-speedbar-find-file)
14111 (rmail-speedbar-move-message):
14112 Use dframe-with-attached-buffer rather than speedbar- alias.
14113 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14114 (dframe-message, speedbar-make-specialized-keymap)
14115 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14116 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14117 (speedbar-insert-button, dframe-select-attached-frame)
14118 (dframe-maybee-jump-to-attached-frame)
14119 (speedbar-change-initial-expansion-list)
14120 (speedbar-previously-used-expansion-list-name): Declare.
14121 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14122 Use dframe-message, dframe-with-attached-buffer rather than
14123 speedbar- aliases.
14124 (gud-sentinel): Silence compiler.
14125 * progmodes/vhdl-mode.el (speedbar-refresh)
14126 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14127 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14128 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14129 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14130 (speedbar-file-lists, speedbar-make-tag-line)
14131 (speedbar-line-directory, speedbar-goto-this-file)
14132 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14133 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14134 (speedbar-make-button, speedbar-reset-scanners)
14135 (speedbar-files-item-info, speedbar-line-text)
14136 (speedbar-find-file-in-frame, speedbar-set-timer)
14137 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14138 (speedbar-with-writable): Do not (re)define it.
14139 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14140 rather than speedbar- alias.
14141
ee44b62a
LL
141422013-05-21 Leo Liu <sdl.web@gmail.com>
14143
14144 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14145 menu items.
14146 (octave-mode): Tweak fill-nobreak-predicate.
14147 (inferior-octave-startup): Check process to avoid infinite loop.
14148 (inferior-octave): Pop to buffer first to show abornmal process
14149 exit information.
14150
640f050f
GM
141512013-05-21 Glenn Morris <rgm@gnu.org>
14152
79458038
GM
14153 * printing.el (pr-menu-bar): Define when compiling.
14154
9cc3e83f
LL
141552013-05-21 Leo Liu <sdl.web@gmail.com>
14156
14157 * progmodes/octave.el (octave-auto-fill): Remove.
14158 (octave-indent-new-comment-line): Improve.
14159 (octave-mode): Use auto fill mode through
4f405069 14160 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 14161 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 14162 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
14163 (octave-help): Show parent directory.
14164
f440830d
GM
141652013-05-21 Glenn Morris <rgm@gnu.org>
14166
14167 * files.el (dired-unmark):
14168 * progmodes/gud.el (gdb-input): Update declarations.
14169
14170 * calculator.el (electric, ehelp): No need to load when compiling.
14171 (Electric-command-loop, electric-describe-mode): Declare.
14172
14173 * doc-view.el (doc-view-current-converter-processes): Move before use.
14174
14175 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14176 Move MODE-set-explicitly definition before use.
14177
14178 * international/mule-diag.el (mule-diag):
14179 Don't use obsolete window-system-version.
14180
14181 * mail/feedmail.el (smtpmail): No need to load when compiling.
14182 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14183
14184 * mail/mail-utils.el (rfc822): No need to load when compiling.
14185 (rfc822-addresses): Autoload it.
14186 (mail-strip-quoted-names): Trivial simplification.
14187
14188 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14189 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14190
14191 * net/snmp-mode.el (tempo): Don't duplicate requires.
14192
14193 * progmodes/prolog.el (info): No need to load when compiling.
14194 (comint): Require before shell requires it.
14195 (Info-goto-node): Autoload it.
14196 (Info-follow-nearest-node): Declare.
14197 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14198
14199 * textmodes/artist.el (picture-mode-exit): Declare.
14200
14201 * textmodes/reftex-parse.el (reftex-parse-from-file):
14202 Trivial rewrite so the compiler can parse it better.
14203
b4da2cbb
LL
142042013-05-20 Leo Liu <sdl.web@gmail.com>
14205
14206 * progmodes/octave.el (octave-help-mode-map)
14207 (octave-help-mode-finish-hook): New variables.
14208 (octave-help-mode, octave-help-mode-finish): New functions.
14209 (octave-help): Use octave-help-mode.
14210
33c0f65b
GM
142112013-05-20 Glenn Morris <rgm@gnu.org>
14212
14213 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14214
1a0a0a8a
DG
142152013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14216
14217 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14218 start at point, so that expansion starting right after opening
14219 slash in a regexp is recognized.
14220 (ruby-syntax-before-regexp-re): New defvar, extracted from
14221 ruby-syntax-propertize-function. Since the value of this regexp
14222 is looked up at runtime now, we should be able to turn
14223 `ruby-syntax-methods-before-regexp' into a defcustom later.
14224 (ruby-syntax-propertize-function): Split regexp matching into two
14225 parts, for opening and closing slashes. That allows us to skip
14226 over string interpolations and support multiline regexps.
14227 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14228 for them, which calls `ruby-syntax-propertize-expansion'.
14229 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14230 call to `ruby-syntax-propertize-function'.
14231 (ruby-syntax-propertize-expansion): Extracted from
14232 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
14233 (ruby-syntax-propertize-percent-literal): Leave point right after
14234 the percent symbol, so that the expression expansion rule can
14235 propertize the contents.
462388b6
DG
14236 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14237 heredoc openers.
14238 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 14239
c1a6c0a4
JL
142402013-05-18 Juri Linkov <juri@jurta.org>
14241
14242 * man.el (Man-default-man-entry): Remove `-' from the end
14243 of the default value. (Bug#14400)
14244
8051fccd
GM
142452013-05-18 Glenn Morris <rgm@gnu.org>
14246
14247 * comint.el (comint-password-prompt-regexp):
14248 Allow "password for XXX" where XXX contains colons (eg https://...).
14249
5e80b74f
LL
142502013-05-18 Leo Liu <sdl.web@gmail.com>
14251
14252 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 14253 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
14254 (octave-source-directories): Don't check process.
14255 (octave-source-directories, octave-find-definition): Doc fix.
14256
521a54c5
GM
142572013-05-18 Glenn Morris <rgm@gnu.org>
14258
86a94b05
GM
14259 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14260 Remove backspace/delete bindings. (Bug#14392)
14261
521a54c5
GM
14262 * cus-dep.el (custom-make-dependencies): Sort the output.
14263 (custom-versions-load-alist): Convert comment to doc.
14264
42caeb89
LL
142652013-05-17 Leo Liu <sdl.web@gmail.com>
14266
14267 * newcomment.el (comment-search-backward): Stricter in finding
14268 comment start. (Bug#14303)
14269
14270 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14271 (octave-comment-start-skip): Properly anchored.
14272
e219dd97
LL
142732013-05-17 Leo Liu <sdl.web@gmail.com>
14274
fe1eb856
RS
14275 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14276 Clean up when turned off. (Bug#14395)
e219dd97
LL
14277 (smie--highlight-matching-block-overlay): No longer buffer-local.
14278 (smie-highlight-matching-block): Adjust.
14279
dc5dcb4b
PE
142802013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14281
14282 Doc string fix for "nanoseconds" (Bug#14406).
14283 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14284 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14285
1db165f0
JB
142862013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14287
14288 * calc/calc-units.el (math-extract-units): Preserve powers
14289 of units.
14290
c7a8fcac
LL
142912013-05-17 Leo Liu <sdl.web@gmail.com>
14292
14293 * subr.el (delete-consecutive-dups): New function.
14294 * ido.el (ido-set-matches-1): Use it.
14295 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14296 * ido.el (ido-remove-consecutive-dups): Remove.
14297
f678b18a
SM
142982013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14299
14300 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14301 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14302 regexp-opt's `words'.
14303
ebfe68e8
LL
143042013-05-16 Leo Liu <sdl.web@gmail.com>
14305
14306 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14307 (smie--highlight-matching-block-overlay)
14308 (smie--highlight-matching-block-lastpos)
14309 (smie--highlight-matching-block-timer): New variables.
14310 (smie-highlight-matching-block): New function.
14311 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14312 (smie-setup): Conditionally enable smie-blink-matching-open.
14313
bc8bc17d
WS
143142013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14315
14316 Sync with upstream verilog-mode r840.
14317 * progmodes/verilog-mode.el (verilog-mode-version)
14318 (verilog-mode-release-date): Update.
14319 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14320 (verilog-sig-tieoff): Fix string error on
14321 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14322 (verilog-read-decls): Fix parameters confusing
14323 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14324
df065a0b
EZ
143252013-05-16 Eli Zaretskii <eliz@gnu.org>
14326
14327 * subr.el (reveal-filename): New function.
14328
14329 * loadup.el: Compute Emacs executable versions on MS-Windows,
14330 where executables have the .exe extension. Add a hard link
14331 emacs-XX.YY.ZZ.exe on MS-Windows.
14332
14333 * Makefile.in (XARGS_LIMIT): New variable.
14334 (custom-deps, finder-data, autoloads)
14335 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14336 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14337 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14338 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14339
2d4bf34b
LL
143402013-05-16 Leo Liu <sdl.web@gmail.com>
14341
14342 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14343 (octave-mode-menu, octave-mode-map): Remove its uses.
14344
6b9c2d85
RZ
143452013-05-16 Reto Zimmermann <reto@gnu.org>
14346
14347 Sync with upstream vhdl mode v3.34.2.
14348 * progmodes/vhdl-mode.el: Use `push' throughout.
14349 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14350 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14351 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14352 (vhdl-actual-generic-name): New option to derive actual generic name.
14353 (vhdl-port-paste-signals): Replace formal by actual generics.
14354 (vhdl-beautify): New name for old group vhdl-align. Update users.
14355 (vhdl-beautify-options): New option.
14356 (vhdl-last-input-event): New compat alias. Use throughout.
14357 (vhdl-goto-line): Replace user level function `goto-line'.
14358 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14359 vhdl-fix-statement-buffer.
14360 (vhdl-create-mode-menu): Add some entries.
14361 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14362 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14363 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14364 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14365 to force statements on one line.
14366 (vhdl-remove-trailing-spaces-region):
14367 New, split from vhdl-remove-trailing-spaces.
14368 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14369 Respect vhdl-beautify-options.
14370 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14371 (vhdl-update-sensitivity-list): Not add with index if exists without.
14372 Not include array index with signal. Ignore keywords in comments.
14373 (vhdl-get-visible-signals): Regexp tweaks.
14374 (vhdl-template-component-inst): Handle empty library.
14375 (vhdl-template-type): Add template for 'enum' type.
14376 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14377 Use vhdl-replace-string.
14378 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14379 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14380 (vhdl-speedbar-initialize): Update for above name change.
14381 (vhdl-compose-wire-components): Fix in handling of constants.
14382 (vhdl-error-regexp-emacs-alist): New variable.
14383 (vhdl-error-regexp-add-emacs): New function;
14384 adds support for new compile.el (Emacs 22+)
14385 (vhdl-generate-makefile-1): Change target order for single lib. units.
14386 Allow use of absolute file names.
14387
9df4ec5e
LL
143882013-05-16 Leo Liu <sdl.web@gmail.com>
14389
14390 * simple.el (prog-indent-sexp): Indent enclosing defun.
14391
f5ba00a6
GM
143922013-05-15 Glenn Morris <rgm@gnu.org>
14393
ed8be7ff
GM
14394 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14395 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14396 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14397 (whitespace-highlight): Move to whitespace group.
14398
14399 * comint.el (comint-source):
14400 * pcmpl-linux.el (pcmpl-linux):
14401 * shell.el (shell-faces):
14402 * eshell/esh-opt.el (eshell-opt):
14403 * international/ccl.el (ccl): Remove empty custom groups.
14404
14405 * completion.el (dynamic-completion-mode):
14406 * jit-lock.el (jit-lock-debug-mode):
14407 * minibuffer.el (completion-in-region-mode):
14408 * type-break.el (type-break-mode-line-message-mode)
14409 (type-break-query-mode):
14410 * emulation/tpu-edt.el (tpu-edt-mode):
14411 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14412 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14413 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14414
14415 * term/xterm.el (xterm): Change parent group to terminals.
14416
14417 * master.el (master): Remove empty custom group.
14418 (master-mode): Remove unused :group argument.
14419 * textmodes/refill.el (refill): Remove empty custom group.
14420 (refill-mode): Remove unused :group argument.
14421
14422 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14423
82a7c41b
GM
14424 * cus-dep.el: Provide a feature.
14425 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
14426 Don't mistakenly ignore files whose basenames match a basename
14427 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 14428 Add a fallback method for getting :group.
f5ba00a6 14429
6d65486d
JL
144302013-05-15 Juri Linkov <juri@jurta.org>
14431
da547b32
JL
14432 * isearch.el (isearch-char-by-name): Rename from
14433 `isearch-insert-char-by-name'. Doc fix.
14434 (isearch-forward): Mention `isearch-char-by-name' in
14435 the docstring. (Bug#13348)
14436
6d65486d
JL
14437 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14438 `exit-minibuffer' instead of
14439 `isearch-nonincremental-exit-minibuffer'.
14440 (isearch-edit-string): Remove mention of
14441 `isearch-nonincremental-exit-minibuffer' from docstring.
14442 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14443 (isearch-forward-exit-minibuffer)
14444 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14445
c9990474
SM
144462013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14447
6e911150
SM
14448 * loadup.el: Just use unversioned DOC.
14449
c9990474
SM
14450 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14451 literals as extending to EOB.
14452 (nxml-last-fontify-end): Remove unused variable.
14453 (nxml-after-change1): Use with-silent-modifications.
14454 (nxml-extend-after-change-region): Simplify.
14455 (nxml-extend-after-change-region1): Remove function.
14456 (nxml-after-change1): Don't adjust for dependent regions.
14457 (nxml-fontify-matcher): Simplify.
14458 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14459 (xmltok-add-dependent): Remove function.
14460 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14461 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14462 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14463 unclosed <[[, <?, comment, and other literals as extending to EOB.
14464 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14465 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14466 Remove functions.
14467 (rng-do-some-validation-1): Don't mark dependent regions.
14468 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14469 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14470 (nxml-clear-dependent-regions): Remove functions.
14471 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14472 (nxml-ensure-scan-up-to-date):
14473 Don't clear&mark dependent regions.
14474
e3772e98
LL
144752013-05-15 Leo Liu <sdl.web@gmail.com>
14476
c9990474
SM
14477 * progmodes/octave.el (octave-goto-function-definition):
14478 Improve and fix callers.
e3772e98 14479
5ac2eb34
SM
144802013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14481
c46c57b0
SM
14482 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14483 the setter (bug#14387).
14484
5ac2eb34
SM
14485 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14486 surrounding group (bug#14402).
14487
180ed218
JL
144882013-05-14 Juri Linkov <juri@jurta.org>
14489
14490 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14491 (Bug#14390)
14492
0ac0fecb
GM
144932013-05-14 Glenn Morris <rgm@gnu.org>
14494
14495 * progmodes/f90.el (f90-imenu-generic-expression):
14496 Fix typo in 2013-05-08 change. (Bug#14402)
14497
2e78e6a7
JPG
144982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14499
5ac2eb34
SM
14500 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14501 Remove signals for which replies are never received.
2e78e6a7 14502
53267cca
JPG
145032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14504
14505 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14506 (gdb-handler-alist, gdb-handler-number): Remove variables.
14507 (gdb-handler-list): New variable.
14508 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14509 (gdb-pending-handler-p, gdb-handle-reply)
14510 (gdb-remove-all-pending-triggers): New functions.
14511 (gdb-discard-unordered-replies): New defcustom.
14512 (gdb-handler): New defstruct.
14513 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14514 instead of gdb-pending-triggers. Update docstring.
14515 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14516 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14517 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14518 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14519 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14520 (gdb-frame-handler): Pending triggers are now automatically managed.
14521 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14522 Remove argument.
14523 (gdb-input): Automatically handles pending triggers. Update docstring.
14524 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14525 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14526 Update comments.
14527 (gdb-done-or-error): Now use gdb-handle-reply.
14528
d04ce803
JPG
145292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14530
14531 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14532 gdb-debug-log.
14533
0114073a
GM
145342013-05-14 Glenn Morris <rgm@gnu.org>
14535
14536 * subr.el (user-emacs-directory-warning): New option.
14537 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14538
4d25fd7e
LL
145392013-05-14 Leo Liu <sdl.web@gmail.com>
14540
14541 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14542 during redisplay.
14543 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
14544 (octave-font-lock-texinfo-comment): Fix invalid search bound
14545 error: wrong side of point.
4d25fd7e 14546
27c8b6eb
GM
145472013-05-14 Glenn Morris <rgm@gnu.org>
14548
61aaeb01
GM
14549 * progmodes/flymake.el (flymake-xml-program): New option.
14550 (flymake-xml-init): Use it.
14551
5bf90bc5
GM
14552 * term/xterm.el: Provide a feature.
14553
14554 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 14555
f4c7dfd2
GM
145562013-05-13 Glenn Morris <rgm@gnu.org>
14557
14558 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14559 Add compat aliases as a hack workaround. (Bug#14384)
14560
2aeb3a1d
LL
145612013-05-13 Leo Liu <sdl.web@gmail.com>
14562
b0e069c2
LL
14563 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14564 ###, and %!.
f5a9432f
LL
14565 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14566 C-M-q.
b0e069c2
LL
14567 (octave-comment-start-skip): Include %!.
14568 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 14569
30ea8374
LL
145702013-05-12 Leo Liu <sdl.web@gmail.com>
14571
14572 * progmodes/octave.el (inferior-octave-startup): Store the value
14573 of __octave_srcdir__ for octave-source-directories.
14574 (inferior-octave-check-process): New function refactored out of
14575 inferior-octave-send-list-and-digest.
14576 (octave-source-directories)
14577 (octave-find-definition-filename-function): New variables.
14578 (octave-source-directories)
14579 (octave-find-definition-default-filename): New functions.
14580 (octave-find-definition): Improve to find functions implemented in C++.
14581
472a3834
GM
145822013-05-12 Glenn Morris <rgm@gnu.org>
14583
14584 * calendar/diary-lib.el (diary-outlook-format-1):
14585 Don't include dayname in the output. (Bug#14349)
14586
3191b52f
GM
145872013-05-11 Glenn Morris <rgm@gnu.org>
14588
0060ac73
GM
14589 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14590
3191b52f
GM
14591 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14592 Treat cc-provide like provide.
14593
e065ba74
KR
145942013-05-11 Kevin Ryde <user42@zip.com.au>
14595
14596 * cus-dep.el (custom-make-dependencies):
14597 Use generated-autoload-load-name for the sake of files such
14598 such cedet/semantic/bovine/c.el, where the base file name
14599 is not in load-path. (Bug#5277)
14600
36f84c37
GM
146012013-05-11 Glenn Morris <rgm@gnu.org>
14602
14603 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14604 Provide features.
14605
c8730c3a
LL
146062013-05-11 Leo Liu <sdl.web@gmail.com>
14607
14608 * progmodes/octave.el (octave-indent-comment): Improve.
14609 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
14610 (octave-eldoc-function-signatures, octave-eldoc-function):
14611 New functions.
c8730c3a
LL
14612 (octave-mode, inferior-octave-mode): Add eldoc support.
14613
212e29f2
RS
146142013-05-11 Richard Stallman <rms@gnu.org>
14615
14616 * epa.el (epa-decrypt-file): Take output file name as argument
14617 and read it using `interactive'.
14618
083fe0d7
LL
146192013-05-11 Leo Liu <sdl.web@gmail.com>
14620
14621 * progmodes/octave.el (octave-beginning-of-line)
14622 (octave-end-of-line): Check before using up-list because it jumps
14623 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14624 (octave-indent-comment): New function.
14625 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14626 (octave-begin-keywords, octave-end-keywords)
14627 (octave-reserved-words, octave-smie-bnf-table)
14628 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14629
8582e4c4
GM
146302013-05-11 Glenn Morris <rgm@gnu.org>
14631
f20def1f
GM
14632 * faces.el (internal-face-x-get-resource):
14633 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14634 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14635 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14636 Fix declarations.
f20def1f 14637
445f95e2
GM
14638 * calc/calc-menu.el: Make it loadable in isolation.
14639
14640 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14641 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14642 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14643 (eudc-bbdb-query-internal): Require 'bbdb.
14644
99fb2756
GM
14645 * lpr.el (lpr-headers-switches):
14646 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14647
14648 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14649
0da7ad96
GM
14650 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14651
8582e4c4
GM
14652 * term.el (term-set-escape-char): Make it idempotent.
14653
f71c50d0
LL
146542013-05-10 Leo Liu <sdl.web@gmail.com>
14655
5ac2eb34
SM
14656 * progmodes/octave.el (inferior-octave-completion-table):
14657 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14658 completion due to bug#11906.
14659 (octave-beginning-of-defun): Re-write to be more general.
14660
d5837773
GM
146612013-05-10 Glenn Morris <rgm@gnu.org>
14662
14663 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14664
027c0f75
SM
146652013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 * comint.el (comint-redirect-send-command-to-process): Use :around
14668 rather than :override for comint-redirect-filter.
14669 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14670 Call it instead of comint-redirect-original-filter-function (which
14671 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14672
4465bfb4
JD
146732013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14674
14675 * frame.el (display-monitor-attributes-list): Add NS case.
14676 (ns-display-monitor-attributes-list): Declare.
14677
2d809ffa 146782013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14679
14680 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14681
e54eeb9b
GM
146822013-05-09 Glenn Morris <rgm@gnu.org>
14683
56cd351d
GM
14684 * international/fontset.el (vertical-centering-font-regexp):
14685 Set standard-value.
14686
d84b6108
GM
14687 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14688
a931698a
GM
14689 * bookmark.el (bookmark-search-delay):
14690 * cus-start.el (vertical-centering-font-regexp):
14691 * ps-mule.el (ps-mule-font-info-database-default):
14692 * ps-print.el (ps-default-fg, ps-default-bg):
14693 * type-break.el (type-break-good-break-interval):
14694 * whitespace.el (whitespace-indentation-regexp)
14695 (whitespace-space-after-tab-regexp):
14696 * emacs-lisp/testcover.el (testcover-1value-functions)
14697 (testcover-noreturn-functions, testcover-progn-functions)
14698 (testcover-prog1-functions):
14699 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14700 * eshell/em-glob.el (eshell-glob-translate-alist):
14701 * play/tetris.el (tetris-tty-colors):
14702 * progmodes/cpp.el (cpp-face-default-list):
14703 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14704 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14705 (idlwave-help-browser-generic-args):
14706 * progmodes/make-mode.el (makefile-special-targets-list):
14707 * progmodes/python.el (python-shell-virtualenv-path):
14708 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14709 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14710 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14711 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14712 * textmodes/reftex-vars.el (reftex-format-label-function):
14713 * textmodes/remember.el (remember-diary-file): Fix custom types.
14714
e54eeb9b
GM
14715 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14716 Add :version.
14717
455851dd
LL
147182013-05-09 Leo Liu <sdl.web@gmail.com>
14719
14720 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14721 Restore file completion. (Bug#14300)
455851dd
LL
14722 (inferior-octave-startup): Fix incorrect highlighting for the
14723 first prompt.
14724
a9e4425b
SM
147252013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14726
14727 * progmodes/ruby-mode.el: First cut at SMIE support.
14728 (ruby-use-smie): New var.
14729 (ruby-smie-grammar): New constant.
14730 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14731 (ruby-smie--forward-token, ruby-smie--backward-token)
14732 (ruby-smie-rules): New functions.
14733 (ruby-mode-variables): Setup SMIE if applicable.
14734
060ca408
EZ
147352013-05-08 Eli Zaretskii <eliz@gnu.org>
14736
14737 * simple.el (line-move-visual): Signal beginning/end of buffer
14738 only if vertical-motion moved less than it was requested. Avoids
14739 silly incorrect error messages when there are display strings with
14740 multiple newlines at EOL.
14741
1d5963cc
SM
147422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14743
14744 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14745 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14746 (prolog-char-quote-workaround):
14747 * progmodes/cperl-mode.el (cperl-under-as-char):
14748 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14749 Mark as obsolete.
14750 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14751 their declaration.
14752 (vhdl-mode-syntax-table-init): Remove.
14753
c9990474
SM
14754 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14755 last change.
1d5963cc
SM
14756
14757 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14758 syntax for "_".
14759 (ld-script-font-lock-keywords):
14760 Change regexps to use things like \_< and \_>.
14761
14762 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14763 Change all regexps to use things like \_< and \_>.
14764
14765 * progmodes/autoconf.el (autoconf-definition-regexp)
14766 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14767 Handle a _ with symbol syntax.
14768 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14769
c9990474
SM
14770 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14771 Consolidate declaration.
1d5963cc
SM
14772 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14773 the declaration.
14774 (ada-create-syntax-table): Remove.
14775 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14776 already has the right syntax nowadays.
14777 (ada-goto-next-word): Don't change the syntax of "_".
14778
14779 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14780 with-wrapper-hook.
14781
72d3cfca
SS
147822013-05-08 Sam Steingold <sds@gnu.org>
14783
14784 * thingatpt.el (thing-at-point): Accept optional second argument
14785 NO-PROPERTIES to strip the text properties from the return value.
14786 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14787 to `thing-at-point' instead of stripping the properties ourselves.
14788 Also, when `thing-at-point' fails to find a url, prepend "http://"
14789 to the filename at point on the assumption that the user is
14790 pointing at something like gnu.org/gnu.
14791
5cb15713
JB
147922013-05-08 Juanma Barranquero <lekktu@gmail.com>
14793
14794 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14795 * faces.el (crm-separator):
14796 Silence byte-compiler.
14797
14798 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14799 (tool-bar-map): Remove unneeded defvars.
14800
ea78b95b
LL
148012013-05-08 Leo Liu <sdl.web@gmail.com>
14802
14803 Re-work a fix for bug#10994 based on Le Wang's patch.
14804 * ido.el (ido-remove-consecutive-dups): New helper.
14805 (ido-completing-read): Use it.
14806 (ido-chop): Revert fix for bug#10994.
14807
dc7466df
AS
148082013-05-08 Adam Spiers <emacs@adamspiers.org>
14809
14810 * cus-edit.el (custom-save-variables):
14811 Pretty-print long values. (Bug#14187)
14812
9ecf672a
GM
148132013-05-08 Glenn Morris <rgm@gnu.org>
14814
14815 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14816 (m4-mode-syntax-table): Init in the defvar.
14817 (m4-mode-abbrev-table): Let define-derived-mode define it.
14818
3f555be8
TT
148192013-05-08 Tom Tromey <tromey@redhat.com>
14820
14821 * progmodes/m4-mode.el (m4-mode-syntax-table):
14822 Do not treat "_" as word constituent. (Bug#14167)
14823
7cc8ae06
GM
148242013-05-07 Glenn Morris <rgm@gnu.org>
14825
4f58bc06
GM
14826 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14827 Remove explicit eshell-isearch-cancel-map.
14828
7cc8ae06
GM
14829 * progmodes/f90.el (f90-smart-end-names): New option.
14830 (f90-smart-end): Doc fix.
14831 (f90-end-block-optional-name): New constant.
14832 (f90-block-match): Respect f90-smart-end-names.
14833
ceb57e59
SM
148342013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14835
14836 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14837 about implicit semi-colons (bug#14218).
14838
4e3f9230
YM
148392013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14840
14841 * frame.el (display-monitor-attributes-list)
14842 (frame-monitor-attributes): New functions.
14843
203a5572
LL
148442013-05-06 Leo Liu <sdl.web@gmail.com>
14845
14846 * progmodes/octave.el (octave-syntax-propertize-function): Change
14847 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14848 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14849 (octave-completion-at-point): Rename from
203a5572
LL
14850 octave-completion-at-point-function.
14851 (inferior-octave-directory-tracker): Robustify.
14852 (octave-text-functions): Remove and fix its uses. No such things
14853 any more.
14854
ee6cff99
SM
148552013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14856
14857 * emacs-lisp/trace.el (trace--display-buffer): New function.
14858 (trace-make-advice): Use it.
14859
32985194
JL
148602013-05-06 Juri Linkov <juri@jurta.org>
14861
14862 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14863 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14864 Doc fix.
14865 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14866 in the help string. (Bug#12985)
14867
a1c700de
KD
148682013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14869
14870 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14871
c67c0839
SM
148722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14873
323885fd
SM
14874 * progmodes/perl-mode.el: Add support for here documents.
14875 (perl-syntax-propertize-function): Match here-doc markers.
14876 (perl-syntax-propertize-special-constructs): Find their end.
14877 (perl-imenu-generic-expression): Use [:alnum:].
14878
c67c0839
SM
14879 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14880 (advice--add-function): Refresh the advice if already present
14881 (bug#14317).
14882
d491e7a8
IA
148832013-05-06 Ivan Andrus <darthandrus@gmail.com>
14884
14885 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14886
ddf9925e
GM
148872013-05-06 Glenn Morris <rgm@gnu.org>
14888
7cc3af27
GM
14889 * w32-fns.el (w32-charset-info-alist): Declare.
14890
16e343d6
GM
14891 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14892 of its defcustom properties.
14893 (eshell-cmpl-initialize): No need to load pcomplete.
14894
7d889a47
GM
14895 * generic-x.el: No need to require comint when compiling.
14896
ddf9925e
GM
14897 * net/eudc-export.el: Make it loadable without bbdb.
14898 (top-level): Use require rather than load-library.
14899 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14900 (eudc-batch-export-records-to-bbdb)
14901 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14902 Require bbdb.
14903
1e2c18df
SM
149042013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14905
14906 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14907 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14908 some tweaks, instead.
14909
02502a5f
LL
149102013-05-05 Leo Liu <sdl.web@gmail.com>
14911
14912 * progmodes/octave.el (octave-font-lock-keywords)
14913 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14914 (inferior-octave-send-list-and-digest): Improve error message.
14915 (octave-mode, inferior-octave-mode): Use setq-local.
14916 (octave-help): Set info-lookup-mode.
14917
0dc04f42
RS
149182013-05-05 Richard Stallman <rms@gnu.org>
14919
6c54491c
RS
14920 * vc/compare-w.el (compare-windows-whitespace):
14921 Treat no-break space as whitespace.
14922
0dc04f42
RS
14923 * mail/rmailsum.el (rmail-summary-rmail-update):
14924 Detect empty summary and don't change selected message.
14925 (rmail-summary-goto-msg): Likewise.
14926
df8f35df
RS
14927 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14928 Doc fixes, rename args.
14929
5356e1a3
AM
149302013-05-05 Alan Mackenzie <acm@muc.de>
14931
14932 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14933
d44014cb
JL
149342013-05-05 Juri Linkov <juri@jurta.org>
14935
14936 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14937 to not add the length of the summary segment to the return value.
14938 (Bug#14125)
14939
c129b51f
LL
149402013-05-05 Leo Liu <sdl.web@gmail.com>
14941
14942 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14943 (inferior-octave-output-filter): Remove.
14944 (octave-send-region, inferior-octave-startup): Fix callers.
14945 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14946 (octave-binary-file-extensions): New user variable.
14947 (octave-find-definition): Confirm if opening binary files.
14948 (octave-help-file): Use octave-find-definition to get the binary
14949 confirmation.
14950 (octave-help): Adjust for octave-help-file change.
14951
aa7dab97
SM
149522013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14953
14954 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14955 Merge the two entries that handle function definitions.
14956 (pascal--syntax-propertize): New const.
14957 (pascal-mode): Use it. Use setq-local.
14958
fd3a9a6b
GM
149592013-05-04 Glenn Morris <rgm@gnu.org>
14960
14961 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14962 (diary-from-outlook): Respect diary-from-outlook-function.
14963
30c7e542
SM
149642013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14965
14966 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14967 Move the declaration from C.
14968 (read-minibuffer, eval-minibuffer): Move from C.
14969 (completion-setup-function): Avoid minibuffer-completion-contents.
14970
b54f978b
LL
149712013-05-03 Leo Liu <sdl.web@gmail.com>
14972
14973 * progmodes/octave.el (octave-font-lock-keywords): Do not
14974 dehighlight 'end' in comments or strings.
30c7e542
SM
14975 (octave-completing-read, octave-goto-function-definition):
14976 New helpers.
d4d0f9b3
LL
14977 (octave-help-buffer): New user variable.
14978 (octave-help-file, octave-help-function): New button types.
14979 (octave-help): New command and bind it to C-h ;.
14980 (octave-find-definition): New command and bind it to M-.
d74a1581 14981 (user-error): Alias to error if not defined.
b54f978b 14982
27135018
LL
149832013-05-02 Leo Liu <sdl.web@gmail.com>
14984
14985 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14986 for \. (bug#14332)
14987 (octave-font-lock-keywords): Include [ and {.
14988
0d634d3a
LL
149892013-05-02 Leo Liu <sdl.web@gmail.com>
14990
14991 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14992 (inferior-octave): Remove calling comint-mode and return the buffer.
14993 (inferior-octave-startup): Cosmetic changes.
14994
b4c8295e
LL
149952013-05-02 Leo Liu <sdl.web@gmail.com>
14996
30c7e542
SM
14997 * progmodes/octave.el (octave-syntax-propertize-function):
14998 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14999
f12ad6ec
GM
150002013-05-02 Glenn Morris <rgm@gnu.org>
15001
15002 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15003 * desktop.el (vc-dir-mode): Just autoload it here.
15004
30cac1e0
AM
150052013-05-02 Alan Mackenzie <acm@muc.de>
15006
15007 Eliminate variable c-standard-font-lock-fontify-region-function.
15008 * progmodes/cc-mode.el
15009 (c-standard-font-lock-fontify-region-function): Remove.
15010 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15011
d8ef28b1
LL
150122013-05-01 Leo Liu <sdl.web@gmail.com>
15013
2640d52e 15014 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 15015 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 15016 variables were removed from Octave in 2007.
d8ef28b1
LL
15017 (inferior-octave-startup): Fix uses.
15018 (comint-line-beginning-position): Remove compatibility code for
15019 emacs 21.
15020
ac63ec89
JL
150212013-05-01 Juri Linkov <juri@jurta.org>
15022
15023 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15024
9e9be37c
JL
150252013-05-01 Juri Linkov <juri@jurta.org>
15026
15027 * comint.el (comint-previous-matching-input): Don't print message
15028 "History item: %d" when `isearch-mode' is active.
15029 (comint-history-isearch-message): Print message "History item: %d"
15030 when `comint-input-ring-index' is not empty and this function is
15031 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15032
9b92c13b
LL
150332013-05-01 Leo Liu <sdl.web@gmail.com>
15034
15035 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15036 definitions. Use completion-at-point to insert keywords.
15037 (octave-abbrev-start): Remove.
15038 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15039
b12d33d7
LL
150402013-04-30 Leo Liu <sdl.web@gmail.com>
15041
15042 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15043 change.
15044
3d1c39fa
AM
150452013-04-30 Alan Mackenzie <acm@muc.de>
15046
15047 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
15048 * progmodes/cc-engine.el (c-back-over-member-initializers):
15049 new function.
3d1c39fa
AM
15050 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15051 (most) member init lists.
15052
5147fc17
RS
150532013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15054
15055 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15056 variable.
15057
5b78d7fc
LL
150582013-04-30 Leo Liu <sdl.web@gmail.com>
15059
15060 * progmodes/octave.el (octave-variables): Remove. No builtin
15061 variables any more. All converted to functions.
15062 (octave-font-lock-keywords, octave-completion-at-point-function):
15063 Fix uses.
15064 (octave-font-lock-texinfo-comment): New user variable.
15065 (octave-texinfo-font-lock-keywords): New variable for texinfo
15066 comment block.
15067 (octave-function-comment-block): New face.
15068 (octave-font-lock-texinfo-comment): New function.
15069 (octave-mode): Font lock texinfo comment block.
15070
38d8527b
LL
150712013-04-29 Leo Liu <sdl.web@gmail.com>
15072
15073 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15074 indexing expression.
15075 (octave-continuation-string): Do not use \.
15076 (inferior-octave-complete-impossible): Remove.
15077 (inferior-octave-completion-table)
15078 (inferior-octave-completion-at-point): Remove its uses.
15079 (inferior-octave-startup): completion_matches was introduced to
15080 Octave in 1996 so safe to assume it.
15081 (octave-function-file-comment): Improve to follow how Octave does it.
15082 (octave-update-function-file-comment): Tweak.
15083
2ec12cb0
LL
150842013-04-29 Leo Liu <sdl.web@gmail.com>
15085
15086 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15087 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15088 (octave-function-file-comment): Fix typo.
15089 (octave-sync-function-file-names): Use read-char-choice.
15090
6eaed048
JB
150912013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15092
15093 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15094 to t for the less important warnings.
15095
3ffa2d4f
DH
150962013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15097
15098 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15099
685c9501
GM
151002013-04-27 Glenn Morris <rgm@gnu.org>
15101
15102 * vc/log-view.el (log-view-current-entry):
15103 Treat "---" separator lines as part of the following rev. (Bug#14169)
15104
0208ede7
JL
151052013-04-27 Juri Linkov <juri@jurta.org>
15106
15107 * subr.el (read-number): Doc fix about using it by interactive
15108 code letter `n'. (Bug#14254)
15109
5db9dace
JL
151102013-04-27 Juri Linkov <juri@jurta.org>
15111
15112 * desktop.el (desktop-auto-save-timeout): New option.
15113 (desktop-file-checksum): New variable.
15114 (desktop-save): Add optional arg `auto-save' and don't auto-save
15115 if nothing changed.
15116 (desktop-auto-save-timer): New variable.
15117 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15118 (after-init-hook): Call `desktop-auto-save-set-timer'.
15119 Suggested by Reuben Thomas <rrt@sc3d.org> in
15120 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15121
b7260dd4
LL
151222013-04-27 Leo Liu <sdl.web@gmail.com>
15123
15124 * progmodes/octave.el (octave-function-file-p)
15125 (octave-skip-comment-forward, octave-function-file-comment)
15126 (octave-update-function-file-comment): New functions.
15127 (octave-mode-map): Bind C-c ; to
15128 octave-update-function-file-comment.
15129 (octave-mode-menu): Add octave-update-function-file-comment.
15130 (octave-mode, inferior-octave-mode): Fix doc-string.
15131 (octave-insert-defun): Conform to Octave's coding convention.
15132 (Bug#14285)
15133
15134 * files.el (basic-save-buffer): Don't let errors in
15135 before-save-hook prevent saving buffer.
15136
c46da669
RW
151372013-04-20 Roland Winkler <winkler@gnu.org>
15138
15139 * faces.el (read-face-name): Use completing-read if arg multiple
15140 is nil.
15141
a81ee1eb
IL
151422013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15143
15144 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
15145 displayed, move point to after the totals line.
15146 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
15147 for the details.
15148
4fac34ce
SM
151492013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15150
15151 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15152 Add current dir to the load-path.
15153 (package-generate-autoloads): Don't rely on
15154 autoload-ensure-default-file.
15155
f6bfc063
RT
151562013-04-26 Reuben Thomas <rrt@sc3d.org>
15157
d40ab5cf
BG
15158 * textmodes/remember.el (remember-store-in-files): Document that
15159 the file name format is passed to `format-time-string'.
f6bfc063 15160
e55d3b04
LL
151612013-04-26 Leo Liu <sdl.web@gmail.com>
15162
15163 * progmodes/octave.el (octave-sync-function-file-names): New function.
15164 (octave-mode): Use it in before-save-hook.
15165
e53052d3
SM
151662013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15167
140ef50c
SM
15168 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15169 (bug#14274).
15170
e53052d3
SM
15171 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15172 \n and comment, even if it's not an implicit ; (bug#14218).
15173
af80458d 151742013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
15175
15176 * subr.el (read-number): Once more use `read' rather than
15177 `string-to-number', to trap non-numeric input. (Bug#14254)
15178
af80458d 151792013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
15180
15181 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15182 Use `syntax-multiline' text property consistently instead of
8a621d53 15183 `font-lock-multiline'. (Bug#14237)
70203c2e 15184
e6ea1f6c
GM
151852013-04-26 Glenn Morris <rgm@gnu.org>
15186
15187 * emacs-lisp/shadow.el (list-load-path-shadows):
15188 No longer necessary to check for duplicate simple.el, since
15189 2012-07-07 change to init_lread to not include installation lisp
15190 directories in load-path when running uninstalled. (Bug#14270)
15191
070ccca4
LL
151922013-04-26 Leo Liu <sdl.web@gmail.com>
15193
15194 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15195 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 15196 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
15197 octave-in-string-or-comment-p.
15198 (octave-in-comment-p, octave-in-string-p)
15199 (octave-in-string-or-comment-p): Replace defsubst with defun.
15200
9d1c5fb6
PE
152012013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15202
15203 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15204
c034abda
BG
152052013-04-25 Bastien Guerry <bzg@gnu.org>
15206
15207 * textmodes/remember.el (remember-data-directory)
15208 (remember-directory-file-name-format): Fix custom types.
15209
584ea277
LL
152102013-04-25 Leo Liu <sdl.web@gmail.com>
15211
e53052d3
SM
15212 * progmodes/octave.el (octave-completion-at-point-function):
15213 Make use of inferior octave process.
584ea277
LL
15214 (octave-initialize-completions): Remove.
15215 (inferior-octave-completion-table): New function.
15216 (inferior-octave-completion-at-point): Use it.
15217 (octave-completion-alist): Remove.
15218
1693b06a
SM
152192013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15220
15221 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15222 (opascal-mode-syntax-table): New var.
15223 (opascal-literal-kind, opascal-is-literal-end)
15224 (opascal-literal-token-at): Rewrite.
15225 (opascal--literal-start-re, opascal-font-lock-keywords)
15226 (opascal--syntax-propertize): New constants.
15227 (opascal-font-lock-defaults): Adjust.
15228 (opascal-mode): Use them. Set comment-<foo> variables as well.
15229 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15230 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15231 (delphi-other-face, opascal-other-face): Remove face variables.
15232 (opascal-save-state): Remove macro.
15233 (opascal-fontifying-progress-step): Remove constant.
15234 (opascal--ignore-changes): Remove var.
15235 (opascal-set-token-property, opascal-parse-next-literal)
15236 (opascal-is-stable-literal, opascal-complete-literal)
15237 (opascal-is-literal-start, opascal-face-of)
15238 (opascal-parse-region, opascal-parse-region-until-stable)
15239 (opascal-fontify-region, opascal-after-change)
15240 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15241 (opascal-debug-parse-region, opascal-debug-parse-window)
15242 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15243 (opascal-debug-fontify-buffer): Remove.
15244 (opascal-debug-mode-map): Adjust accordingly.
15245
be64c05d
LL
152462013-04-25 Leo Liu <sdl.web@gmail.com>
15247
15248 Merge octave-mod.el and octave-inf.el into octave.el with some
15249 cleanups.
15250 * progmodes/octave.el: New file renamed from octave-mod.el.
15251 * progmodes/octave-inf.el: Merged into octave.el.
15252 * progmodes/octave-mod.el: Renamed to octave.el.
15253
d79d37bd
TH
152542013-04-25 Tassilo Horn <tsdh@gnu.org>
15255
15256 * textmodes/reftex-vars.el
15257 (reftex-label-ignored-macros-and-environments): New defcustom.
15258
15259 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15260
ced3fc5d
SM
152612013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15262
15263 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15264 (smie-indent-keyword): Improve the check to ensure that the next
15265 comment is really on the same line.
15266 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15267
15268 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15269 semi-colons if the line is not otherwise empty (bug#14218).
15270
1c141dad
GM
152712013-04-25 Glenn Morris <rgm@gnu.org>
15272
15273 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15274
5058062a
SM
152752013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15276
15277 * progmodes/opascal.el (opascal-set-token-property): Rename from
15278 opascal-set-text-properties and only set `token' (bug#14134).
15279 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15280 (opascal-literal-text-properties): Remove.
15281 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15282 Adjust callers.
15283
5db9dace 152842013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
15285
15286 * textmodes/remember.el (remember-handler-functions): Add an
15287 option for a new handler `remember-store-in-files'.
15288 (remember-data-directory, remember-directory-file-name-format):
15289 New options.
15290 (remember-store-in-files): New function to store remember notes
15291 as separate files within a directory.
15292
4391916c
MH
152932013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15294
15295 * progmodes/compile.el (compilation-next-error-function):
15296 Pass "formats" to compilation-find-file (bug#11777).
15297
bb7cdf58
GM
152982013-04-24 Glenn Morris <rgm@gnu.org>
15299
3b8fe752 15300 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
15301 * vc/vc-hg.el (vc-hg-print-log):
15302 * vc/vc-svn.el (vc-svn-print-log):
15303 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15304
bb7cdf58
GM
15305 * vc/vc-bzr.el (vc-bzr-print-log):
15306 * vc/vc-cvs.el (vc-cvs-print-log):
15307 * vc/vc-git.el (vc-git-print-log):
15308 * vc/vc-hg.el (vc-hg-print-log):
15309 * vc/vc-mtn.el (vc-mtn-print-log):
15310 * vc/vc-rcs.el (vc-rcs-print-log):
15311 * vc/vc-sccs.el (vc-sccs-print-log):
15312 * vc/vc-svn.el (vc-svn-print-log):
15313 * vc/vc.el (vc-print-log-internal): Doc fixes.
15314
b46a056e
GM
153152013-04-23 Glenn Morris <rgm@gnu.org>
15316
15317 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15318 Remove venerable code attempting to avoid substitute-command-keys.
15319
0aecf718
TH
153202013-04-23 Tassilo Horn <tsdh@gnu.org>
15321
4391916c
MH
15322 * textmodes/reftex-vars.el (reftex-label-regexps):
15323 Call `reftex-compile-variables' after changes to this variable.
0aecf718 15324
117f94cf
SM
153252013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15326
4391916c 15327 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
15328 Use lexical-binding.
15329 (jit-lock-force-redisplay): Use markers, check buffer's continued
15330 existence and beware narrowed buffers.
15331 (jit-lock-fontify-now): Adjust call accordingly.
15332
1d829c64
SM
153332013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15334
15335 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15336 to avoid misleading the user.
15337
72d548a9
LL
153382013-04-22 Leo Liu <sdl.web@gmail.com>
15339
15340 * info-look.el: Prefer latex2e.info. (Bug#14240)
15341
d0853629
MA
153422013-04-22 Michael Albinus <michael.albinus@gmx.de>
15343
15344 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15345
15346 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 15347 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
15348 (tramp-set-completion-function, tramp-parse-putty):
15349 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15350 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15351 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15352 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15353 (tramp-call-local-coding-command): Use `tramp-call-process'
15354 instead of `tramp-compat-call-process'.
15355
15356 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15357 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 15358 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 15359 (tramp-find-inline-compress): Improve traces.
d0853629
MA
15360 (tramp-maybe-send-script): Check for Perl binary.
15361 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15362
38cc0210
DU
153632013-04-22 Daiki Ueno <ueno@gnu.org>
15364
15365 * epg.el (epg-context-pinentry-mode): New function.
15366 (epg-context-set-pinentry-mode): New function.
15367 (epg--start): Pass --pinentry-mode option to gpg command.
15368
cc641ee1
XF
153692013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15370
02d844b5 15371 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 15372 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 15373 `completion-at-point'. (Bug#13774)
5d4e5c31 15374
cc641ee1
XF
15375 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15376 default key binding for `describe-distribution' has been moved to
15377 `C-h C-o'. (Bug#13970)
15378
1b42ee43
GM
153792013-04-21 Glenn Morris <rgm@gnu.org>
15380
15381 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15382 Add doc strings.
15383 (vc-print-log): Clarify interactive prompt.
15384
a6d63d97
GM
153852013-04-20 Glenn Morris <rgm@gnu.org>
15386
15387 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15388 No longer include timestamp etc information.
15389
d7f5c16f
RW
153902013-04-20 Roland Winkler <winkler@gnu.org>
15391
15392 * faces.el (read-face-name): Bug fix, return just one face if arg
15393 multiple is nil. (Bug#14209)
15394
bcd7a0a4
SM
153952013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15396
15397 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15398 (remove-function): Autoload.
15399
15400 * comint.el (comint-redirect-original-filter-function): Remove.
15401 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
15402 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15403 (vc-cvs-annotate-command):
bcd7a0a4
SM
15404 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15405 * progmodes/prolog.el (prolog-consult-compile):
15406 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15407 Use add/remove-function instead.
15408 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15409 (gud-tooltip-process-output, gud-tooltip-tips):
15410 Use add/remove-function instead.
15411 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15412 (scheme-interaction-mode, exit-scheme-interaction-mode):
15413 Use add/remove-function instead.
15414
15415 * vc/vc-dispatcher.el: Use lexical-binding.
15416 (vc--process-sentinel): Rename from vc-process-sentinel.
15417 Change last arg to be the code to run. Don't use vc-previous-sentinel
15418 and vc-sentinel-commands any more.
15419 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15420 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15421
e36b2d20 154222013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 15423
bcd7a0a4 15424 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 15425 Handle function names with a single character. (Bug#14111)
4d3268ba 15426
27821a89 154272013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
15428
15429 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15430 for subroutines defined in an eval (bug#14182).
15431
7d688336
TV
154322013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15433
15434 * bookmark.el (bookmark-completing-read): Improve handling of empty
15435 string (bug#14176).
15436
31dcede0
SM
154372013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15438
15439 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15440
adc31213
FEG
154412013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15442
15443 New faster Imenu implementation (bug#14058).
9b017563 15444 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
15445 (python-imenu-format-item-label-function)
15446 (python-imenu-format-parent-item-label-function)
15447 (python-imenu-format-parent-item-jump-label-function):
15448 New vars.
15449 (python-imenu-format-item-label)
15450 (python-imenu-format-parent-item-label)
15451 (python-imenu-format-parent-item-jump-label)
15452 (python-imenu--put-parent, python-imenu--build-tree)
15453 (python-imenu-create-index, python-imenu-create-flat-index)
15454 (python-util-popn): New functions.
15455 (python-mode): Set imenu-create-index-function to
15456 python-imenu-create-index.
15457
cdca8255
SM
154582013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15459
15460 * winner.el (winner-active-region): Use region-active-p, activate-mark
15461 and deactivate-mark (bug#14225).
15462
15463 * simple.el (deactivate-mark): Don't inline it.
15464
beb42340
MA
154652013-04-18 Michael Albinus <michael.albinus@gmx.de>
15466
15467 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15468
fc7f4d7e
TH
154692013-04-18 Tassilo Horn <tsdh@gnu.org>
15470
15471 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15472 file extensions from the archive-mode entry in order to prefer
15473 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15474
29f47822
LL
154752013-04-18 Leo Liu <sdl.web@gmail.com>
15476
15477 * bindings.el (help-event-list): Add ?\?.
15478
d36ed1c8
SM
154792013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * subr.el (with-wrapper-hook): Declare obsolete.
15482 * simple.el (filter-buffer-substring-function): New hook.
15483 (filter-buffer-substring): Use it.
15484 (filter-buffer-substring-functions): Mark obsolete.
15485 * minibuffer.el (completion-in-region-function): New hook.
15486 (completion-in-region): Use it.
15487 (completion-in-region-functions): Mark obsolete.
15488 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15489 * abbrev.el (abbrev-expand-function): New hook.
15490 (expand-abbrev): Use it.
15491 (abbrev-expand-functions): Mark obsolete.
15492 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15493 and :filter-return.
15494
04754d36
FEG
154952013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15496
15497 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15498 and do not care about match data.
15499
dd8791e9
SM
155002013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15501
15502 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15503 completion tables when completing error conditions and
15504 `declare' arguments.
15505 (lisp-complete-symbol, field-complete): Mark as obsolete.
15506 (check-parens): Unmatched parens are user errors.
15507 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15508
ffe54a13
AM
155092013-04-17 Michal Nazarewicz <mina86@mina86.com>
15510
dd8791e9
SM
15511 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15512 command changed buffer (ie. `flyspell-pre-buffer' is not current
15513 buffer), which prevents making decisions based on invalid value of
15514 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15515 cause an error when `flyspell-pre-point' was nil after switching
15516 buffers.
15517 (flyspell-post-command-hook): No longer needs to change buffers when
15518 checking pre-word. While at it remove unnecessary progn.
ffe54a13 15519
ec7e39f2
AM
155202013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15521
15522 * textmodes/ispell.el (ispell-add-per-file-word-list):
15523 Fix `flyspell-correct-word-before-point' error when accepting
15524 words and `coment-padding' is an integer by using
15525 `comment-normalize-vars' (Bug #14214).
15526
083850a6
FEG
155272013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15528
15529 New defun movement commands.
15530 * progmodes/python.el (python-nav--syntactically)
15531 (python-nav--forward-defun, python-nav-backward-defun)
15532 (python-nav-forward-defun): New functions.
15533
619ed6e1
FEG
155342013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15535
15536 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15537 (python-syntax-context): Use named compiler-macro for backwards
15538 compatibility with Emacs 24.x.
15539
7a1beb6c
LL
155402013-04-17 Leo Liu <sdl.web@gmail.com>
15541
15542 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15543 octave-hide-process-buffer.
15544
2d3fa3e5
SM
155452013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15546
15547 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15548 (bug#14216).
15549
7ce5be54
JPG
155502013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15551
15552 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15553 Fix adjustment of offset when receiving incomplete responses from GDB
15554 (bug#14129).
15555
351edece
SM
155562013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15557
15558 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15559 python-mode-abbrev-table.
15560 (python-skeleton-define): Adjust accordingly.
15561 (python-mode-abbrev-table): New table that inherits from it so that
15562 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15563
15564 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15565 (abbrev-symbol): Use it.
15566 (abbrev--before-point): Use it since we already handle inheritance.
15567
613f9481
LL
155682013-04-16 Leo Liu <sdl.web@gmail.com>
15569
15570 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15571 binding to info-lookup-symbol.
15572
51646b62
JB
155732013-04-16 Juanma Barranquero <lekktu@gmail.com>
15574
15575 * minibuffer.el (completion--twq-all):
15576 * term/ns-win.el (ns-initialize-window-system):
15577 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15578
efb3f01d
SM
155792013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15580
36c0a301
SM
15581 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15582 global bindings.
15583
efb3f01d
SM
15584 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15585
fb549d64
DG
155862013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15587
15588 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15589 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15590 to nil.
15591 (ruby-end-of-defun): Remove the unused arg, change the docstring
15592 to reflect that this function is only used as the value of
15593 `end-of-defun-function'.
15594 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15595 to reflect an earlier change that beginning/end-of-defun functions
15596 jump between methods in a class definition, as well as top-level
15597 functions.
15598
21e8fe2f
SM
155992013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15600
15601 * minibuffer.el (minibuffer-complete): Don't just scroll
15602 a *Completions* that's been iconified.
15603 (minibuffer-force-complete): Make sure repetitions do cycle when going
15604 through completion-in-region -> minibuffer-complete.
15605
20e527d0
AM
156062013-04-15 Alan Mackenzie <acm@muc.de>
15607
15608 Correct the placement of c-cpp-delimiters when there're #s not at
15609 col 0.
15610
15611 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15612 place a submatch around the #.
21e8fe2f
SM
15613 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15614 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15615 on the #, not BOL.
15616
dabefae5
SM
156172013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15620 (advice--member-p): New arg `name'.
15621 (advice--add-function, advice-member-p): Use it (bug#14202).
15622
85c9ab64
AM
156232013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15624
15625 Reformulate java imenu-generic-expression.
15626 The old expression contained ill formed regexps.
15627
15628 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15629 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15630 (cc-imenu-java-method-arg-regexp): New defconsts.
15631 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15632 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15633 handling of spaces in the regexp.
15634
0f821d99
AM
156352013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15636
15637 * textmodes/ispell.el (ispell-command-loop): Remove
15638 flyspell highlight of a word when ispell accepts it (bug #14178).
15639
eb922adf
MA
156402013-04-15 Michael Albinus <michael.albinus@gmx.de>
15641
15642 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15643 uses code from the previous `ange-ftp-run-real-handler'.
15644 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15645 only in case that function exist. This is needed for proper
15646 unloading of Tramp.
15647
4d9a0979
TH
156482013-04-15 Tassilo Horn <tsdh@gnu.org>
15649
15650 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15651
15652 * textmodes/reftex.el (reftex-compile-variables): Use it.
15653
a829b0dc
SM
156542013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15655
91e8293c
SM
15656 * files.el (normal-mode): Only use default major-mode if no other mode
15657 was specified.
15658
830aed4d
SM
15659 * emacs-lisp/trace.el (trace-values): New function.
15660
a829b0dc
SM
15661 * files.el: Allow : in local variables (bug#14089).
15662 (hack-local-variable-regexp): New var.
15663 (hack-local-variables-prop-line, hack-local-variables): Use it.
15664
7ae9f0fb
RW
156652013-04-13 Roland Winkler <winkler@gnu.org>
15666
15667 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15668 data before it gets modified by bibtex-beginning-of-entry.
15669
6646e848
RW
156702013-04-13 Roland Winkler <winkler@gnu.org>
15671
15672 * textmodes/bibtex.el (bibtex-url): Doc fix.
15673
156742013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15675
15676 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15677 does not visit a BibTeX file, exclude it from the list of buffers
15678 returned by bibtex-initialize.
15679
0aa3616e
SB
156802013-04-13 Stephen Berman <stephen.berman@gmx.net>
15681
15682 * window.el (split-window): Remove interactive form, since as a
15683 command this function is a special case of split-window-below.
15684 Correct doc string.
15685
011cddd6
RW
156862013-04-12 Roland Winkler <winkler@gnu.org>
15687
15688 * faces.el (read-face-name): Do not override value of arg default.
15689 Allow single faces and strings as default values. Remove those
15690 elements from return value that are not faces.
15691 (describe-face): Simplify.
15692 (face-at-point): New optional args thing and multiple so that this
15693 function can provide the same functionality previously provided by
15694 read-face-name.
15695 (make-face-bold, make-face-unbold, make-face-italic)
15696 (make-face-unitalic, make-face-bold-italic, invert-face)
15697 (modify-face, read-face-and-attribute): Use face-at-point.
15698
15699 * cus-edit.el (customize-face, customize-face-other-window)
15700 * cus-theme.el (custom-theme-add-face)
15701 * face-remap.el (buffer-face-set)
15702 * facemenu.el (facemenu-set-face): Use face-at-point.
15703
f24e0036
MA
157042013-04-12 Michael Albinus <michael.albinus@gmx.de>
15705
15706 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15707
da3cda2d
TH
157082013-04-10 Tassilo Horn <tsdh@gnu.org>
15709
15710 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15711 off leading { and trailing } from field values.
15712
15e54145
SM
157132013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15714
78ce603d
SM
15715 * emacs-lisp/timer.el (timer--check): New function.
15716 (timer--time, timer-set-function, timer-event-handler): Use it.
15717 (timer-set-idle-time): Simplify.
15718 (timer--activate): CSE.
15719 (timer-event-handler): Give more info in error message.
15720 (internal-timer-start-idle): New function, moved from C.
15721
15e54145
SM
15722 * mpc.el (mpc-proc): Add `restart' argument.
15723 (mpc-proc-cmd): Use it.
15724 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15725 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15726 less often.
15727
7144c627
MY
157282013-04-10 Masatake YAMATO <yamato@redhat.com>
15729
15730 * progmodes/sh-script.el: Implement `sh-mode' own
15731 `add-log-current-defun-function' (bug#14112).
15732 (sh-current-defun-name): New function.
15733 (sh-mode): Use the function.
15734
b39792eb
BG
157352013-04-09 Bastien Guerry <bzg@gnu.org>
15736
15737 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15738
8acdeb71
SM
157392013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15740
6fcdab68
SM
15741 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15742
8acdeb71
SM
15743 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15744 timer (bug#14156).
15745
e3e7b504
NF
157462013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15747
15748 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15749 declaration.
15750
201bb296
LL
157512013-04-07 Leo Liu <sdl.web@gmail.com>
15752
15753 * pcmpl-x.el: New file.
15754
ebb19708
DA
157552013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15756
15757 Do not set x-display-name until X connection is established.
15758 This is needed to prevent from weird situation described at
15759 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15760 * frame.el (make-frame): Set x-display-name after call to
15761 window system initialization function, not before.
15762 * term/x-win.el (x-initialize-window-system): Add optional
15763 display argument and use it.
15764 * term/w32-win.el (w32-initialize-window-system):
15765 * term/ns-win.el (ns-initialize-window-system):
15766 * term/pc-win.el (msdos-initialize-window-system):
15767 Add compatible optional display argument.
15768
33bb237a
EZ
157692013-04-06 Eli Zaretskii <eliz@gnu.org>
15770
15771 * files.el (normal-backup-enable-predicate): On MS-Windows and
15772 MS-DOS compare truenames of temporary-file-directory and of the
15773 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15774 don't fail comparison by compare-strings. Also, compare file
15775 names case-insensitively on MS-Windows and MS-DOS.
15776
134abf1f
SM
157772013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15780 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15781
d695cb94
DG
157822013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15783
e3e7b504
NF
15784 * whitespace.el (whitespace-color-on, whitespace-color-off):
15785 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15786
f4ad7ea1 157872013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15788
15789 * ispell.el (ispell-set-spellchecker-params):
15790 Really set `ispell-args' for all equivs.
15791
632556e4
SM
157922013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15793
15794 * ido.el (ido-completions): Use extra elements of ido-decorations
15795 (bug#14143).
15796 (ido-decorations): Update docstring.
15797
2a417372
MA
157982013-04-05 Michael Albinus <michael.albinus@gmx.de>
15799
15800 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15801 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15802 nil during initialization, in order not to miss changes since the
15803 file was opened. (Bug#14140)
15804
fc164b0c
LL
158052013-04-05 Leo Liu <sdl.web@gmail.com>
15806
15807 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15808
0ccecc08
JB
158092013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15810
15811 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15812
51af1aa2
GM
158132013-04-04 Glenn Morris <rgm@gnu.org>
15814
15815 * electric.el (electric-pair-inhibit-predicate): Add :version.
15816
b208ebc6
SM
158172013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15820 when a package is required several times (bug#14082).
15821
f3d3eaf0
RW
158222013-04-04 Roland Winkler <winkler@gnu.org>
15823
15824 * faces.el (read-face-name): Behave as promised by the docstring.
15825 Assume that arg default is a list of faces.
15826 (describe-face): Call read-face-name with list of default faces.
15827
2575da50
TV
158282013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15829
15830 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15831 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15832 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15833 the header.
15834 (bookmark-exit-hook-internal): Save even if list is empty.
15835
397703b4
YH
158362013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15837
15838 * emacs-lisp/package.el (package-pinned-packages): New var.
15839 (package--add-to-archive-contents): Obey it (bug#14118).
15840
691e26ae
AM
158412013-04-03 Alan Mackenzie <acm@muc.de>
15842
8a621d53
JB
15843 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15844 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15845
15846 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15847 parameter `not-in-delimiter'. Handle being inside comment opener.
15848 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15849 character in case we're typing a '*' after a '/'.
15850 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15851 instead by passing the parameter to c-state-pp-to-literal.
15852
15853 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15854 for elt. 7 of a parse state.
15855
4b725a70
PE
158562013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15857
15858 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15859 * international/latin1-disp.el, international/mule-util.el:
15860 * language/cyril-util.el, language/european.el, language/ind-util.el:
15861 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15862 * language/tibetan.el, language/viet-util.el:
15863 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15864
15c579f0
SM
158652013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15866
15867 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15868 (electric-pair-post-self-insert-function): Use it.
15869 (electric-pair-default-inhibit): New function, extracted from
15870 electric-pair-post-self-insert-function.
15871
a77e2924
RW
158722013-03-31 Roland Winkler <winkler@gnu.org>
15873
15874 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15875
2bd8a4a8
SM
158762013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15877
15878 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15879
8d3655be 158802013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15881
15882 Un-indent after "pass" and "return" statements (Bug#13888)
15883 * progmodes/python.el (python-indent-block-enders): New var.
15884 (python-indent-calculate-indentation): Use it.
15885
8d3655be 158862013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15887
15888 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15889 defun. Defining it as defalias could introduce too eager
15890 byte-compiler optimization. (Bug#14030)
15891
8d3655be 158922013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15893
15894 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15895
0b1619da
LL
158962013-03-30 Leo Liu <sdl.web@gmail.com>
15897
15898 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15899 (kmacro-execute-from-register): Pass the keyboard macro to
15900 kmacro-call-macro or repeating won't work correctly.
15901
0b938190
TZ
159022013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15903
15904 * progmodes/subword.el: Back to using `forward-symbol'.
15905
15906 * subr.el (forward-whitespace, forward-symbol)
15907 (forward-same-syntax): Move from thingatpt.el.
15908
35710234
LL
159092013-03-29 Leo Liu <sdl.web@gmail.com>
15910
15911 * kmacro.el (kmacro-to-register): New command.
15912 (kmacro-execute-from-register): New function.
15913 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15914
efc0bb73
SM
159152013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15916
15917 * mpc.el: Use defvar-local and setq-local.
15918 (mpc--proc-connect): Connection failures are not bugs.
15919 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15920 (mpc-volume-map): Bind to the up-events.
15921
75a2f981
TZ
159222013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15923
15924 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15925 instead of `forward-symbol'.
15926
17c781d1
SM
159272013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15930 (edebug--recursive-edit): Use it.
15931 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15932 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15933
f67bfbcf
LL
159342013-03-28 Leo Liu <sdl.web@gmail.com>
15935
15936 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15937
b59f639d
EZ
159382013-03-27 Eli Zaretskii <eliz@gnu.org>
15939
15940 * facemenu.el (list-colors-callback): New defvar.
15941 (list-colors-redisplay): New function.
15942 (list-colors-display): Install list-colors-redisplay as the
15943 revert-buffer-function. (Bug#14063)
15944
f557c1b1
SM
159452013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15946
b1da2957
SM
15947 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15948 and suffixes don't overlap (bug#14061).
15949
f557c1b1
SM
15950 * case-table.el: Use lexical-binding.
15951 (case-table-get-table): New function.
15952 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15953
002668e1
TZ
159542013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15955
15956 * progmodes/subword.el: Add `superword-mode' to do word motion
15957 over symbol_words (parallels and leverages `subword-mode' which
15958 does word motion inside MixedCaseWords).
15959
73572c72
AG
159602013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15961
78b8f320 15962 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15963 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15964
69b2c07e
SM
159652013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15968 Change return value to be a sexp. Delay `get-buffer' to after
15969 restoring the desktop (bug#13951).
15970
08bb5ee2
LL
159712013-03-26 Leo Liu <sdl.web@gmail.com>
15972
15973 * register.el: Move semantic tag handling back to
15974 cedet/semantic/senator.el. (Bug#14052)
15975
8d4c974e
SM
159762013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15977
15978 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15979 into the prompt either (bug#13963).
15980
b234d92c
SM
159812013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15984 part of "(error-foo)".
15985
ddfa3cb4
JL
159862013-03-24 Juri Linkov <juri@jurta.org>
15987
15988 * replace.el (list-matching-lines-prefix-face): New defcustom.
15989 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15990 `occur-engine' if `face-differs-from-default-p' returns t.
15991 (occur-engine): Add `,' inside backquote construct to evaluate
15992 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15993 Pass `prefix-face' to the functions `occur-context-lines' and
15994 `occur-engine-add-prefix'.
15995 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15996 `prefix-face' and propertize the prefix with `prefix-face'.
15997 (Bug#14017)
15998
7b0e2f85
LL
159992013-03-24 Leo Liu <sdl.web@gmail.com>
16000
16001 * nxml/rng-valid.el (rng-validate-while-idle)
16002 (rng-validate-quick-while-idle): Guard against deleted buffer.
16003 (Bug#13999)
16004
16005 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16006 is the last entry in kill-buffer-hook.
16007
16008 * files.el (kill-buffer-hook): Doc fix.
16009
b3082f49
DG
160102013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16011
b234d92c
SM
16012 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16013 Make it safe-local.
bde73d27 16014
b3082f49
DG
16015 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16016
a320a2db
LL
160172013-03-23 Leo Liu <sdl.web@gmail.com>
16018
7e74b0fb
LL
16019 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16020 Remove.
16021
16022 * nxml/rng-valid.el (rng-validate-mode)
16023 (rng-after-change-function, rng-do-some-validation):
16024 * nxml/rng-maint.el (rng-validate-buffer):
16025 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16026 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16027 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16028 (nxml-extend-after-change-region): Use with-silent-modifications.
16029
a320a2db
LL
16030 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16031 timer-idle-list.
16032
16033 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16034 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16035 timer-idle-list. (Bug#13999)
16036
e38e6780
JL
160372013-03-23 Juri Linkov <juri@jurta.org>
16038
16039 * info.el (info-index-match): New face.
16040 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16041 main pattern and add text properties with the new face to matches
16042 in index entries relative to the beginning of the index entry.
16043 (Bug#14015)
16044
e8cc7880
DE
160452013-03-21 Eric Ludlam <zappo@gnu.org>
16046
39c87140 16047 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
16048 Inhibit read only while inserting objects.
16049
9bb0d822
TZ
160502013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16051
16052 * progmodes/cfengine.el: Update docs to mention
16053 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16054 symbol motion. Remove "_" from the word syntax.
16055
aa703640
TZ
160562013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16057
16058 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16059 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16060
afff09d0
JL
160612013-03-20 Juri Linkov <juri@jurta.org>
16062
16063 * info.el (Info-next-reference-or-link)
16064 (Info-prev-reference-or-link): New functions.
16065 (Info-next-reference, Info-prev-reference): Use them.
16066 (Info-try-follow-nearest-node): Handle footnote navigation.
16067 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16068
9a1ff164
SM
160692013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16072 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16073
2667d15d
PE
160742013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16075
16076 Suppress unnecessary non-ASCII chatter during build process.
16077 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16078 (batch-skkdic-convert): Suppress most of the chatter.
16079 It's not needed so much now that machines are faster,
16080 and its non-ASCII component was confusing; see Dmitry Gutov in
16081 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16082
438b0579
LL
160832013-03-20 Leo Liu <sdl.web@gmail.com>
16084
16085 * ido.el (ido-chop): Fix bug#10994.
16086
c128ab07
DG
160872013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16088
16089 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16090 Remove vars.
9a1ff164
SM
16091 (whitespace-color-on, whitespace-color-off):
16092 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 16093
0e6008c5
SM
160942013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16095
16096 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16097 remapping in mode-line.
16098 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16099
627b52b0
DG
161002013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16101
16102 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16103 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
16104 (whitespace-font-lock-keywords): Change description.
16105 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16106 the constructed keywords instead.
16107 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 16108
50c3a20b
LL
161092013-03-19 Leo Liu <sdl.web@gmail.com>
16110
16111 * progmodes/compile.el (compilation-display-error): New command.
16112 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16113 C-o. (Bug#13992)
16114
2aa2157b
PE
161152013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16116
16117 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16118
e477dbfa
JD
161192013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16120
16121 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16122
64ab82d1
MA
161232013-03-18 Michael Albinus <michael.albinus@gmx.de>
16124
16125 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16126
16127 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16128 * net/tramp-gvfs.el (top):
16129 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16130 (tramp-handle-shell-command): Use it.
16131 (tramp-dissect-file-name): Raise an error when hostname is a
16132 method name, and neither method nor user is specified.
16133
16134 * net/trampver.el: Update release number.
16135
33cef733
LL
161362013-03-18 Leo Liu <sdl.web@gmail.com>
16137
16138 Make sure eldoc can be turned off properly.
16139 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16140 eldoc-mode.
16141 (eldoc-display-message-p): Revert last change.
16142 (eldoc-display-message-no-interference-p)
16143 (eldoc-print-current-symbol-info): Tweak.
16144
2167b7b2
TH
161452013-03-18 Tassilo Horn <tsdh@gnu.org>
16146
16147 * doc-view.el (doc-view-new-window-function): Check the new window
16148 overlay's display property instead the char property of the
16149 buffer's first char. Use `with-selected-window' instead of
16150 `save-window-excursion' with `select-window'.
16151 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 16152 display property instead the char property of the buffer's first char.
2167b7b2 16153
982efbcd
PE
161542013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16155
16156 Automate the build of ja-dic.el (Bug#13984).
16157 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16158 from the input, rather than assume that it's been done for us by the
16159 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16160 the current date into a ja-dic.el comment, as that complicates
16161 regression testing.
16162
2fcc7665
SM
161632013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16164
16165 * whitespace.el: Fix double evaluation.
16166 (whitespace-space, whitespace-hspace, whitespace-tab)
16167 (whitespace-newline, whitespace-trailing, whitespace-line)
16168 (whitespace-space-before-tab, whitespace-indentation)
16169 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16170 obsolete defvars.
16171 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16172 (whitespace-color-on): Use a single font-lock-add-keywords call.
16173 Fix double-evaluation of face variables.
16174
67c0a6e6
MA
161752013-03-17 Michael Albinus <michael.albinus@gmx.de>
16176
2fcc7665
SM
16177 * net/tramp-adb.el (tramp-adb-parse-device-names):
16178 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 16179 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 16180
69489f1d
LL
161812013-03-17 Leo Liu <sdl.web@gmail.com>
16182
16183 Extend eldoc to display info in the mode-line. (Bug#13978)
16184 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16185 (eldoc-mode-line-string): New variable.
16186 (eldoc-minibuffer-message): New function.
16187 (eldoc-message-function): New variable.
16188 (eldoc-message): Use it.
16189 (eldoc-display-message-p)
2fcc7665
SM
16190 (eldoc-display-message-no-interference-p):
16191 Support eldoc-post-insert-mode.
69489f1d
LL
16192
16193 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16194 (eval-expression): Run it.
16195
9c44569e
RW
161962013-03-17 Roland Winkler <winkler@gnu.org>
16197
16198 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16199 strings in the list of return values.
16200
327f1f6f
JB
162012013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16202
16203 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16204 radix before checking for HMS forms.
16205
67ed8fcd
LL
162062013-03-16 Leo Liu <sdl.web@gmail.com>
16207
16208 * progmodes/scheme.el: Add indentation and font-locking for λ.
16209 (Bug#13975)
16210
78be8b64 162112013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
16212
16213 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16214 token before point (bug#13942).
16215
78be8b64 162162013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 16217
95b43468 16218 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 16219
98e775e6
EZ
162202013-03-16 Eli Zaretskii <eliz@gnu.org>
16221
16222 * startup.el (command-line-normalize-file-name): Fix handling of
16223 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16224 <xfq.free@gmail.com> in
16225 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16226
2edd6029
MA
162272013-03-15 Michael Albinus <michael.albinus@gmx.de>
16228
16229 Sync with Tramp 2.2.7.
16230
16231 * net/trampver.el: Update release number.
16232
d35f5864
TH
162332013-03-14 Tassilo Horn <tsdh@gnu.org>
16234
e903c210 16235 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
16236 (doc-view-insert-image): Don't modify overlay associated to
16237 non-live windows, and implement horizontal centering of image in
16238 case it's smaller than the window.
16239 (doc-view-new-window-function): Force redisplay of new windows on
16240 doc-view buffers.
d35f5864 16241
1c4a85ed
KF
162422013-03-13 Karl Fogel <kfogel@red-bean.com>
16243
16244 * saveplace.el (save-place-alist-to-file): Don't sort
16245 `save-place-alist', just pretty-print it (bug#13882).
16246
85b66a21
MA
162472013-03-13 Michael Albinus <michael.albinus@gmx.de>
16248
a020afb9
JB
16249 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16250 Check whether `default-file-name-coding-system' is bound.
16251 It isn't in XEmacs.
85b66a21 16252
175600da
SM
162532013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16254
e7f7cb1a
SM
16255 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16256 backquotes for `obsolete' (bug#13929).
16257
175600da
SM
16258 * international/mule.el (find-auto-coding): Include file name in
16259 obsolescence warning (bug#13922).
16260
ca68a22e
TZ
162612013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16262
16263 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16264 for CFEngine 3-specific indentation.
16265 (cfengine3-indent-line): Use it. Fix up category regex.
16266 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16267
940e5099
SM
162682013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16269
16270 * type-break.el (type-break-file-name):
16271 * textmodes/remember.el (remember-data-file):
16272 * strokes.el (strokes-file):
16273 * shadowfile.el (shadow-initialize):
16274 * saveplace.el (save-place-file):
16275 * ps-bdf.el (bdf-cache-file):
16276 * progmodes/idlwave.el (idlwave-config-directory):
16277 * net/quickurl.el (quickurl-url-file):
16278 * international/kkc.el (kkc-init-file-name):
16279 * ido.el (ido-save-directory-list-file):
16280 * emulation/viper.el (viper-custom-file-name):
16281 * emulation/vip.el (vip-startup-file):
16282 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16283 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16284
cc725808
PE
162852013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16286
16287 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16288 * language/thai-word.el: Switch to UTF-8.
16289
a020afb9 16290See ChangeLog.16 for earlier changes.
e3d51b27
MR
16291
16292;; Local Variables:
16293;; coding: utf-8
e3d51b27
MR
16294;; End:
16295
ba318903 16296 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
16297
16298 This file is part of GNU Emacs.
16299
16300 GNU Emacs is free software: you can redistribute it and/or modify
16301 it under the terms of the GNU General Public License as published by
16302 the Free Software Foundation, either version 3 of the License, or
16303 (at your option) any later version.
16304
16305 GNU Emacs is distributed in the hope that it will be useful,
16306 but WITHOUT ANY WARRANTY; without even the implied warranty of
16307 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16308 GNU General Public License for more details.
16309
16310 You should have received a copy of the GNU General Public License
16311 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.