Sync with Tramp 2.2.10.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2
3 Sync with Tramp 2.2.10.
4
5 * net/tramp.el (tramp-methods): Tweak docstring.
6 (tramp-handle-file-accessible-directory-p): Check for
7 `file-readable-p' instead of `file-executable-p'.
8 (tramp-check-cached-permissions): Use
9 `tramp-compat-file-attributes'.
10 (tramp-call-process): Add new argument VEC. Adapt callees in all
11 tramp*.el files.
12
13 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
14 (tramp-adb-maybe-open-connection): Don't set
15 `tramp-current-*' variables.
16
17 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
18 file properties of temporary buffers.
19
20 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
21
22 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
23 (tramp-gvfs-handle-delete-file): Flush file
24 properties, not directory properties.
25 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
26 reading "unix::mode".
27 (tramp-gvfs-handle-file-name-all-completions):
28 Use "-h" option for "gvfs-ls".
29 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
30 (tramp-gvfs-send-command): Simplify traces.
31
32 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
33 (vc-git-program, vc-hg-program): Declare.
34 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
35 (tramp-methods) <nc>: Add new method.
36 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
37 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
38 `tramp-login-args'.
39 (tramp-default-user-alist): Add "nc".
40 (top): Remove completion function for "sftp". Add completion
41 functions for "nc" and "psftp".
42 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
43 Implement support for "nc" method.
44 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
45 (tramp-remote-coding-commands, tramp-call-local-coding-command):
46 Tweak docstring.
47 (tramp-sh-handle-write-region): Tweak error message.
48 (tramp-sh-handle-vc-registered): Remove backends when the remote
49 binary does not exist.
50 (tramp-find-inline-encoding): Do not raise an error.
51 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
52 the "nc" case. Quote result also locally.
53
54 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
55 (tramp-smb-handle-set-file-acl): Use `start-process'.
56 (tramp-smb-handle-insert-directory): Use progress reporter.
57 (tramp-smb-handle-rename-file): Flush also file properties of
58 FILENAME.
59
60 * net/trampver.el: Update release number.
61
62 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
65 add-to-list.
66 (ses-localvars): Remove ses--local-printer-list, unused.
67 (ses--metaprogramming): New macro. Use it to defvar variables.
68 (ses-set-localvars): Simplify.
69 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
70 property-list into an alist.
71 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
72 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
73 Remove; use defstruct accessors/setters instead.
74 (ses-cell-formula-aset, ses-cell-printer-aset)
75 (ses-cell-references-aset): Remove, use setf instead.
76 (ses--alist-get): New function.
77 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
78 Use an alist instead of a plist and don't do move-to-front since the
79 list is always short.
80 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
81 (ses-cell-property-set-fun, ses-cell-property-set)
82 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
83 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
84 (ses--letref): New macro.
85 (ses-cell-property-pop): Rewrite.
86 (ses--cell): Rename from ses-cell and make it into a function.
87 Make `formula' fallback on `value' if nil.
88 (ses--local-printer): Rename from ses-local-printer and make it into
89 a function.
90 (ses-set-cell): Turn it into a macro so finding the accessor from the
91 field name is done at compile time.
92 (ses-repair-cell-reference-all): Test presence of `sym' rather than
93 `ref' before adding `sym' to :ses-repair-reference.
94 (ses-calculate-cell): Use ses--letref rather than
95 ses-cell-property-get-handle.
96 (ses-write-cells): Use a single prin1-to-string.
97 (ses-setter-with-undo): New function.
98 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
99 (ses-unset-with-undo): Remove.
100 (ses-load): Prefer apply' over `eval'.
101 (ses-read-printer, ses-set-column-width): Use standard "(default
102 foo)" format.
103
104 2014-06-15 Glenn Morris <rgm@gnu.org>
105
106 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
107
108 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
109 Replace delete-duplicates and mapcan by cl- versions throughout.
110 And cl-macroexpand-all by macroexpand-all.
111 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
112
113 2014-06-15 Eli Zaretskii <eliz@gnu.org>
114
115 * subr.el (posn-col-row): Doc fix. (Bug#17768)
116
117 2014-06-15 Juri Linkov <juri@jurta.org>
118
119 * bindings.el: Put `ascii-character' property on keypad keys
120 mapped to characters. (Bug#17759)
121
122 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
125 bumping forward into a closing paren (bug#17761).
126
127 * term/xterm.el (xterm--version-handler): Work around for OSX
128 Terminal.app (bug#17607).
129
130 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
131
132 * play/dunnet.el If a lamp is in the room, you won't be eaten by a grue.
133
134 2014-06-13 Glenn Morris <rgm@gnu.org>
135
136 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
137 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
138 (compile-always): GNU make automatically passes
139 command-line arguments to sub-makes.
140
141 * calendar/calendar.el (calendar-generate-window):
142 Remove pointless call to font-lock-fontify-buffer.
143
144 2014-06-13 Matthias Meulien <orontee@gmail.com>
145
146 * simple.el (completion-list-mode-map): Navigate with tab and backtab
147 (bug#17767).
148
149 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * simple.el (set-mark-command): Simplify a bit.
152
153 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
154
155 * help.el (help--key-binding-keymap): New function.
156 (help--binding-locus): New function.
157 (describe-key): Mention the keymap in which the binding was
158 found. (bug#13948)
159
160 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * hippie-exp.el (he--all-buffers): New function.
163 (try-expand-line-all-buffers, try-expand-list-all-buffers)
164 (try-expand-dabbrev-all-buffers): Use it.
165
166 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
167
168 * hippie-exp.el (try-expand-line-all-buffers)
169 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
170 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
171 original buffer, in case they're buffer-local.
172
173 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
174
175 * ses.el (ses-initial-global-parameters-re): New defconst, a
176 specific regexp is needed now that ses.el can handle both
177 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
178 local printers.
179 (ses-localvars): Add local variables needed for local printer handling.
180 (ses-set-localvars): Handle hashmap initialisation.
181 (ses-paramlines-plist): Add param-line for number of local printers.
182 (ses-paramfmt-plist): New defconst, needed for code factorization
183 between functions `ses-set-parameter' and
184 `ses-file-format-extend-paramter-list'
185 (ses-make-local-printer-info): New defsubst.
186 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
187 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
188 (ses-cell-printer-aset): New defmacro.
189 (ses-local-printer-compile): New defun.
190 (ses-local-printer): New defmacro.
191 (ses-printer-validate, ses-call-printer): Add support for local
192 printer functions.
193 (ses-file-format-extend-paramter-list): New defun.
194 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
195 factorization.
196 (ses-load): Add support for local printer functions.
197 (ses-read-printer): Update docstring and add support for local printer
198 functions.
199 (ses-refresh-local-printer, ses-define-local-printer): New defun.
200 (ses-safe-printer): Add support for local printer functions.
201
202 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
203
204 * ffap.el (ffap-lax-url): New var (bug#17723).
205 (ffap-url-at-point): Use it.
206 (ffap-file-at-point): Avoid returning just "/".
207
208 2014-06-12 Matthias Meulien <orontee@gmail.com>
209
210 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
211 (python-mode-map): Bind it.
212
213 * progmodes/python.el (class skeleton): Don't erase last char of class
214 name (bug#17683).
215
216 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
217
218 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
219
220 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
221
222 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
223 (bug#17745).
224
225 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * international/mule-cmds.el: Use lexical-binding.
228 (ucs-names): Simplify.
229
230 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
231
232 * progmodes/python.el (run-python): Use read-shell-command.
233
234 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * rect.el: Make it possible to move bounds past EOL or into TABs.
237 (operate-on-rectangle): Use apply-on-rectangle.
238 (rectangle--mark-crutches): New var.
239 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
240 (rectangle--crutches, rectangle--reset-crutches): New functions.
241 (apply-on-rectangle): Obey crutches. Avoid setq.
242 Fix missing final iteration if end is at EOB&BOL.
243 (rectangle-mark-mode-map): Add remap bindings for
244 exchange-point-and-mark and char/line movements.
245 (rectangle--*-char): New function.
246 (rectangle-exchange-point-and-mark, rectangle-right-char)
247 (rectangle-left-char, rectangle-forward-char)
248 (rectangle-backward-char, rectangle-next-line)
249 (rectangle-previous-line): New commands.
250 (rectangle--place-cursor): New function.
251 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
252
253 2014-06-08 Glenn Morris <rgm@gnu.org>
254
255 * startup.el (initial-buffer-choice): Doc fix.
256 Reset :version (adding an option does not merit a :version bump).
257
258 * bookmark.el (bookmark-load):
259 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
260
261 2014-06-08 Juri Linkov <juri@jurta.org>
262
263 * desktop.el: Activate auto-saving on window configuration changes.
264 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
265 `desktop-auto-save-set-timer' to/from
266 `window-configuration-change-hook'.
267 (desktop-auto-save-set-timer): Change REPEAT arg of
268 `run-with-idle-timer' from t to nil.
269 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
270
271 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
272
273 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
274 vc-hg-command (bug#17570).
275
276 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * international/mule-cmds.el (ucs-names): Add special entry for BEL
279 (bug#17702).
280
281 2014-06-08 Glenn Morris <rgm@gnu.org>
282
283 * startup.el (window-setup-hook): Doc fix.
284
285 * emacs-lisp/package.el (package-check-signature)
286 (package-unsigned-archives): Doc fixes.
287
288 2014-06-08 Martin Rudalics <rudalics@gmx.at>
289
290 * window.el (display-buffer-use-some-window): Don't make window
291 used smaller than it was before (Bug#17671).
292
293 2014-06-08 Eli Zaretskii <eliz@gnu.org>
294
295 * menu-bar.el (menu-bar-open): Fix last change: use the PC
296 'redisplay' instead of '(sit-for 0)'.
297
298 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
299
300 * net/tramp.el (tramp-ssh-controlmaster-options):
301 Improve search regexp. (Bug#17653)
302
303 2014-06-08 Glenn Morris <rgm@gnu.org>
304
305 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
306
307 2014-06-08 Eli Zaretskii <eliz@gnu.org>
308
309 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
310
311 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
312
313 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
314 (bug#17586).
315
316 * vc/vc-hg.el (vc-hg-log-graph): New var.
317 (vc-hg-print-log): Use it.
318 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
319 graph output (bug#17515).
320
321 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * mouse.el (mouse-posn-property): Ignore buffer position info when the
324 even happened elsewhere.
325
326 2014-06-06 Mario Lang <mlang@delysid.org>
327
328 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
329 `recenter' if `current-buffer' is equal to `window-buffer'.
330
331 2014-06-05 Leo Liu <sdl.web@gmail.com>
332
333 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
334
335 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
336
337 * textmodes/tildify.el (tildify-foreach-region-outside-env):
338 New function which calls a callback on portions of the buffer that are
339 outside of ignored environments.
340 (tildify-build-regexp): Remove function since it is now
341 incorporated in `tildify-foreach-region-outside-env' where it is
342 optimised and simplified by the use of `mapconcat'.
343 (tildify-tildify): Return number of substitutions made so that…
344 (tildify-count): …can be removed.
345 (tildify-find-env): Accept a new PAIRS argument which was
346 previously looked up in `tildify-ignored-environments-alist' each
347 time the function was called. With this change, the lookup is
348 performed only once in `tildify-foreach-region-outside-env'.
349 (tildify-region): Greatly simplify the function since now most of
350 the work is done by `tildify-foreach-region-outside-env'.
351 (tildify-mode-alist): Simplify slightly by avoiding if and setq
352 and instead using or.
353
354 * textmodes/tildify.el (tildify-ignored-environments-alist):
355 Optimise environments regexes
356
357 Each time beginning of an environment to ignore is found,
358 `tildify-find-env' needs to identify regexp for the ending
359 of the environment. This is done by trying all the opening
360 regexes on matched text in a loop, so to speed that up, this
361 loop should have fewer things to match, which can be done by
362 using alternatives in the opening regexes.
363
364 Coincidentally, this should make matching of the opening
365 regexp faster as well thanks to the use of `regexp-opt' and
366 having common prefix pulled from many regexes.
367
368 * textmodes/tildify.el (tildify-string-alist)
369 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
370 of supported modes since `xml-mode' is no longer a thing but just
371 an alias to the former. Also include comments and insides of tags
372 in `tildify-ignored-environments-alist' for XML modes. Finally,
373 since XML does not define “&nbsp;”[1], use a numeric reference for
374 a no-break space (namely “&#160;”)
375
376 [1] XML specification defines only a handful of predefined entities.
377 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
378 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
379 >, &, ' and " respectively). This is in contrast to HTML and even
380 XHTML which defined a whole bunch of entities including “&nbsp;”.
381
382 * textmodes/tildify.el (tildify-pattern-alist)
383 (tildify-string-alist, tildify-ignored-environments-alist):
384 Improve defcustom's types by adding more tags explaining what each
385 value means and replace “sexp” used in
386 `tildify-ignored-environments-alist' with a full type declaration.
387
388 * textmodes/tildify.el (tildify-find-env): Fix matched group
389 indexes in end-regex building
390
391 When looking for a start of an ignore-environment, the regex is built
392 by concatenating regexes of all the environments configured in
393 `tildify-ignored-environments-alist'. So for example, the following
394 list could be used to match TeX's \verb and \verb* commands:
395
396 (("\\\\verb\\(.\\)" . (1))
397 ("\\\\verb\\*\\(.\\)" . (1)))
398
399 This would result in the following regex being used to find the start
400 of any of the variants of the \verb command:
401
402 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
403
404 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
405 won't match anything, and thus (match-string 1) will be nil, which
406 will cause building of the end-matching regex to fail.
407
408 Fix this by using capture groups from the time when the opening
409 regexes are matched individually.
410
411 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
412 in `tildify-find-env'
413
414 The `tildify-ignored-environments-alist' allows the end-regex to
415 be provided not as a static string but mix of strings and indexes
416 of groups matched the begin-regex. For example, the “\verb!…!”
417 TeX-command (where “!” is an arbitrary character) is handled
418 using:
419
420 ("\\\\verb\\*?\\(.\\)" . (1))
421
422 In the same way, the following should be supported as well:
423
424 ("open-\\(.\\)" . ("end-" 1))
425
426 However the tildify-find-env function fails at
427
428 (concat result
429 (if (stringp (setq aux (car expression)))
430 expression ; BUG: expression is a list
431 (regexp-quote (match-string aux))))
432
433 where the string part is handled incorrectly.
434
435 The most trivial fix would be to replace `expression' in the
436 true-part of the if-statement with `aux', but instead, this commit
437 optimises `tildify-find-env' by changing it to use `mapconcat'
438 rather than open-coded while-loop.
439
440 2014-06-05 Mario Lang <mlang@delysid.org>
441
442 * woman.el (woman-mapcan): Remove.
443 (woman-parse-colon-path): Use cl-mapcan instead.
444
445 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
446
447 * register.el: Add link to Emacs manual in Commentary.
448
449 2014-06-02 Sam Steingold <sds@gnu.org>
450
451 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
452 (popup-menu): ...here.
453 (menu-bar-open): Use it to avoid an error when `lookup-key'
454 returns a number.
455
456 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
457
458 * net/tramp.el (tramp-call-process): Add traces.
459 (tramp-handle-unhandled-file-name-directory): Return "/".
460
461 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
462
463 Sync with upstream verilog-mode revision 3cd8144.
464 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
465 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
466 (verilog-type-font-keywords): Add nor.
467 (verilog-batch-execute-func): Force reading of Local Variables.
468 Fix printing "no changes to be saved" with verilog-batch.
469 (verilog-auto-arg-ports): Doc fix.
470 Add verilog-auto-arg-format to support newlines in AUTOARG.
471 (verilog-auto-arg): Doc fix.
472
473 2014-06-02 Glenn Morris <rgm@gnu.org>
474
475 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
476 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
477 * emulation/ws-mode.el: Move to obsolete/.
478 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
479
480 2014-06-02 Eli Zaretskii <eliz@gnu.org>
481
482 * simple.el (keyboard-quit): Force update of mode lines, to remove
483 the "Def" indicator, if we were defining a macro. (Bug#17615)
484
485 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * minibuffer.el (minibuffer-force-complete-and-exit):
488 Obey minibuffer-default (bug#17545).
489
490 * progmodes/js.el (js-indent-line): Don't mix columns and chars
491 (bug#17619).
492
493 * subr.el (set-transient-map): Don't wait for some "nested"
494 transient-map to finish if we're only supposed to be active for
495 the next command (bug#17642).
496
497 2014-06-02 Leo Liu <sdl.web@gmail.com>
498
499 * emacs-lisp/gv.el (window-buffer, window-display-table)
500 (window-dedicated-p, window-hscroll, window-point, window-start):
501 Fix gv-expander. (Bug#17630)
502
503 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
506 clicks (bug#17633).
507
508 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
509 for the single comma, since ", " is *very* common in normal French text
510 (bug#17643).
511
512 2014-06-02 Glenn Morris <rgm@gnu.org>
513
514 * emacs-lisp/package.el (package-check-signature)
515 (package-unsigned-archives): Fix :version.
516
517 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * subr.el (sit-for): Don't run input-methods (bug#15614).
520
521 2014-06-02 Glenn Morris <rgm@gnu.org>
522
523 * cus-start.el: Fix some :version numbers.
524
525 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * simple.el (deactivate-mark): Set mark-active to nil even if
528 deactivation is done via setting transient-mark-mode to nil,
529 since one is buffer-local and the other is global.
530
531 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
532 there can't be more than 2 arguments (bug#17584).
533
534 2014-06-02 Glenn Morris <rgm@gnu.org>
535
536 * simple.el (filter-buffer-substring-functions)
537 (filter-buffer-substring-function, buffer-substring-filters)
538 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
539
540 * minibuffer.el (completion-in-region-functions, completion-in-region)
541 (completion--in-region): Doc fixes.
542
543 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
544 (expand-abbrev, abbrev--default-expand): Doc fixes.
545
546 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
547
548 Include sources used to create macuvs.h.
549 * international/README: Refer to the Unicode Terms of Use rather
550 than copying it bodily here, as that simplifies maintenance.
551
552 2014-06-01 Glenn Morris <rgm@gnu.org>
553
554 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
555
556 2014-05-31 Glenn Morris <rgm@gnu.org>
557
558 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
559
560 2014-05-30 Glenn Morris <rgm@gnu.org>
561
562 * loadup.el: Treat `command-line-args' more flexibly.
563
564 2014-05-30 Alan Mackenzie <acm@muc.de>
565
566 Guard (looking-at "\\s!") from XEmacs.
567 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
568
569 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
570
571 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
572 The argument COUNT is now optional, to be more backward-compatible.
573 Doc fix. (Bug#17560)
574
575 2014-05-29 Reuben Thomas <rrt@sc3d.org>
576
577 * whitespace.el (whitespace-report-region):
578 Simplify documentation.
579 (whitespace-report-region): Allow report-if-bogus to take the
580 value `never', for non-interactive use.
581 (whitespace-report): Refer to whitespace-report-region's
582 documentation.
583
584 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * whitespace.el: Use font-lock-flush. Minimize refontifications.
587 Side benefit: it works without jit-lock.
588 (whitespace-point--used): New buffer-local var.
589 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
590 (whitespace-color-off): Use font-lock-flush.
591 (whitespace-point--used, whitespace-point--flush-used): New functions.
592 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
593 (whitespace-empty-at-eob-regexp): Use them.
594 (whitespace-post-command-hook): Rewrite.
595
596 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
597 (font-lock-fontify-buffer): Mark interactive-only.
598 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
599 Make buffer-local.
600 (font-lock-specified-p): Remove redundant boundp check.
601 (font-lock-flush-function, font-lock-ensure-function): New vars.
602 (font-lock-turn-on-thing-lock): Set them.
603 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
604 (font-lock-after-change-function): Make `old-len' optional.
605 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
606 Call font-lock-flush, just in case.
607 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
608 recent Emacsen.
609 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
610 (vera-mode-map, vera-mode-menu): Remove bindings to it.
611 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
612 and with-syntax-table.
613 * textmodes/conf-mode.el (conf-quote-normal):
614 * progmodes/sh-script.el (sh-set-shell):
615 * progmodes/prog-mode.el (prettify-symbols-mode):
616 * progmodes/f90.el (f90-font-lock-n):
617 * progmodes/cwarn.el (cwarn-mode):
618 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
619 * progmodes/compile.el (compilation-setup, compilation--unsetup):
620 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
621 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
622 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
623 font-lock-fontify-buffer-function and
624 font-lock-unfontify-buffer-function.
625 (rmail-unfontify-buffer-function, rmail-fontify-message):
626 Use with-silent-modifications.
627 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
628 and font-lock-ensure.
629 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
630
631 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
632
633 * emacs-lisp/package.el (package-generate-autoloads):
634 Inhibit backup files.
635
636 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
639 (bug#17608).
640
641 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
642
643 * textmodes/tildify.el (tildify-buffer, tildify-region):
644 Add dont-ask option.
645
646 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
649 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
650
651 * subr.el (internal--funcall-interactively): New.
652 (internal--call-interactively): Remove.
653 (called-interactively-p): Detect funcall-interactively instead of
654 call-interactively.
655 * simple.el (repeat-complex-command): Use funcall-interactively.
656 (repeat-complex-command--called-interactively-skip): Remove.
657
658 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * register.el (register-read-with-preview): Don't burp on
661 frame switches (e.g. due to the frame we just popped).
662
663 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
664 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
665
666 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
667
668 * cus-face.el (custom-face-attributes): Add :distant-foreground.
669
670 2014-05-26 Martin Rudalics <rudalics@gmx.at>
671
672 * window.el (window--dump-frame): Remove interactive specification.
673
674 2014-05-26 Glenn Morris <rgm@gnu.org>
675
676 * hippie-exp.el (he-line-search-regexp):
677 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
678
679 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
680
681 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
682 to avoid errors when trying to create or visit a file foo.todo
683 located outside to todo-directory, and to allow having such files
684 without them being tied to Todo mode (bug#17482).
685 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
686 (todo-archive-done-item, todo-find-filtered-items-file)
687 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
688 (todo-category-completions, todo-read-category): When visiting a
689 Todo file, make sure we're in the right mode and the buffer local
690 variables are set.
691 (todo-make-categories-list, todo-reset-nondiary-marker)
692 (todo-reset-done-string, todo-reset-comment-string):
693 After processing all Todo files, kill the buffers of those files that
694 weren't being visited before the processing.
695 (todo-display-as-todo-file, todo-add-to-buffer-list)
696 (todo-visit-files-commands): Comment out.
697 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
698 (auto-mode-alist): Remove add-to-list calls making Todo file
699 extensions unrestrictedly tied to Todo modes.
700
701 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
704 (advice-function-member-p): Tell it to check both names and functions
705 (bug#17531).
706 (advice--add-function): Adjust call accordingly.
707
708 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
709
710 * calendar/todo-mode.el: Miscellaneous bug fixes.
711 (todo-delete-file): When deleting an archive but not its todo
712 file, make sure to update the todo file's category sexp.
713 (todo-move-category): Keep the moved category's name unless the
714 file moved to already has a category with that name. If the
715 numerically last category of the source file was moved, make the
716 first category current to avoid selecting a nonexisting category.
717 (todo-merge-category): Fix implementation to make merging to a
718 category in another file work as documented. Eliminate now
719 insufficient and unnecessary renaming of archive category, correct
720 document string accordingly, and clarify it. If the numerically
721 last category of the source file was merged, make the first
722 category current to avoid selecting a nonexisting category.
723 (todo-archive-done-item): When there are marked items and point
724 happens to be on an unmarked item, ignore the latter. Don't leave
725 point below last item after archiving marked items.
726 (todo-unarchive-items): Fix logic to ensure unarchiving an item
727 from an archive with only one category deletes the archive only
728 when the category is empty after unarchiving. Make sure the todo
729 file's category sexp is updated.
730 (todo-read-file-name): Allow an existing file name even when it is
731 not required (todo-move-category needs this to work as documented).
732 (todo-add-file): Call todo-validate-name to reject the name of an
733 existing todo file (needed due to fix in todo-read-file-name).
734 (todo-reset-nondiary-marker): Also reset in filtered items files.
735 (todo-reset-done-string, todo-reset-comment-string): Also reset in
736 regexp filtered items files.
737 (todo-reset-highlight-item): Also reset in filtered items files.
738 Fix incorrect variable reference in document string.
739
740 2014-05-26 Glenn Morris <rgm@gnu.org>
741
742 * window.el (window--dump-frame): Avoid error in --without-x builds.
743
744 2014-05-26 Glenn Morris <rgm@gnu.org>
745
746 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
747
748 2014-05-26 Eli Zaretskii <eliz@gnu.org>
749
750 * frame.el (set-frame-font): Doc fix.
751
752 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
753
754 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
755
756 * emacs-lisp/package.el (package--download-one-archive):
757 Use `write-region' instead of `save-buffer' to avoid running various
758 hooks. (Bug#17155)
759 (describe-package-1): Same. Insert newline at the end of the
760 buffer if appropriate.
761
762 2014-05-26 Juri Linkov <juri@jurta.org>
763
764 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
765 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
766 Add more modifiers: meta, control, shift, hyper, super, alt.
767 (Bug#17439)
768
769 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
770 to allow changing its value with `set-variable'.
771
772 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
775 #; comments.
776 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
777 New functions.
778 (scheme-mode-variables): Set syntax-propertize-function instead of
779 font-lock-syntactic-face-function.
780 (scheme-font-lock-syntactic-face-function): Delete.
781
782 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
783
784 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
785 (bug#17392).
786
787 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
788
789 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
790 for a temporary file name.
791
792 2014-05-26 Eli Zaretskii <eliz@gnu.org>
793
794 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
795
796 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/dbus.el (dbus-init-bus, dbus-call-method)
799 (dbus-call-method-asynchronously, dbus-send-signal)
800 (dbus-method-return-internal, dbus-method-error-internal):
801 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
802
803 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
804
805 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
806 methods which do not have a doc string. (Bug#17490)
807
808 2014-05-25 Tassilo Horn <tsdh@gnu.org>
809
810 * textmodes/reftex-ref.el (reftex-format-special): Make it work
811 also for AMS Math's \eqref macro.
812
813 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
814
815 Arrange to never byte-compile the generated -pkg.el file.
816
817 * emacs-lisp/package.el (package-generate-description-file):
818 Output first-line comment to set buffer-local var `no-byte-compile'.
819 Suggested by Dmitry Gutov:
820 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
821
822 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
823
824 Fix bug: Properly quote args to generated -pkg.el `define-package'.
825
826 * emacs-lisp/package.el (package-generate-description-file):
827 Inline `package--alist-to-plist'; rewrite to selectively
828 quote alist values that are not self-quoting.
829 (package--alist-to-plist): Delete func.
830
831 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
832
833 * term/xterm.el (xterm-function-map): Add mapping for shifted
834 keypad keys.
835
836 2014-05-24 Daniel Colascione <dancol@dancol.org>
837
838 * progmodes/subword.el (subword-find-word-boundary): Move point to
839 correct spot before search. (Bug#17580)
840
841 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
842 breaking the build.
843
844 2014-05-24 Leo Liu <sdl.web@gmail.com>
845
846 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
847
848 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * minibuffer.el (completion--sreverse): Remove.
851 (completion--common-suffix): Use `reverse' instead.
852 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
853
854 2014-05-22 Glenn Morris <rgm@gnu.org>
855
856 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
857
858 2014-05-21 Daniel Colascione <dancol@dancol.org>
859
860 * files.el (interpreter-mode-alist): Add mksh.
861
862 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
863 derivative.
864 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
865 mksh. Improve custom spec; allow regular expressions.
866 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
867 (sh-after-hack-local-variables): New function.
868 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
869 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
870 the normalization.
871 (sh-canonicalize-shell): Rewrite to support regexes.
872
873 2014-05-21 Leo Liu <sdl.web@gmail.com>
874
875 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
876
877 2014-05-19 Leo Liu <sdl.web@gmail.com>
878
879 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
880
881 2014-05-18 Glenn Morris <rgm@gnu.org>
882
883 * loadup.el:
884 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
885
886 2014-05-14 Sam Steingold <sds@gnu.org>
887
888 * progmodes/python.el (python-shell-get-or-create-process):
889 Do not bind `current-prefix-arg' so that C-c C-z does not talk
890 back unless requested.
891
892 2014-05-14 Glenn Morris <rgm@gnu.org>
893
894 * subr.el (with-file-modes): New macro.
895 * printing.el (pr-save-file-modes): Make obsolete.
896 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
897 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
898 Add with-file-modes.
899 * doc-view.el (doc-view-make-safe-dir):
900 * epg.el (epg--start):
901 * files.el (locate-user-emacs-file, make-temp-file)
902 (backup-buffer-copy, move-file-to-trash):
903 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
904 * eshell/esh-util.el (eshell-with-private-file-modes)
905 (eshell-make-private-directory):
906 * net/browse-url.el (browse-url-mosaic):
907 * obsolete/mailpost.el (post-mail-send-it):
908 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
909 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
910 Use with-file-modes.
911
912 * vc/emerge.el (emerge-make-temp-file): Simplify.
913
914 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
915 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
918 suffix (bug#15419).
919
920 2014-05-14 Glenn Morris <rgm@gnu.org>
921
922 * vc/emerge.el (emerge-temp-file-prefix):
923 Make pointless option obsolete.
924 (emerge-temp-file-mode): Make non-functional option obsolete.
925
926 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
927
928 * net/browse-url.el (browse-url):
929 Use `unhandled-file-name-directory' when setting `default-directory',
930 in order to circumvent stalled remote connections. (Bug#17425)
931
932 2014-05-14 Glenn Morris <rgm@gnu.org>
933
934 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
935 Optimize on Emacs, which has the relevant functions for ages.
936
937 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * simple.el (undo-make-selective-list): Obey undo-no-redo.
940
941 2014-05-12 Sam Steingold <sds@gnu.org>
942
943 * calendar/time-date.el (seconds-to-string): New function to
944 pretty print time delay in seconds.
945
946 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * mpc.el (mpc-format): Trim Date to the year.
949 (mpc-songs-hashcons): Shorten the Date field.
950
951 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
952 into autoloading just because of a silly indirection.
953
954 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
955
956 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
957
958 2014-05-12 Glenn Morris <rgm@gnu.org>
959
960 * emacs-lisp/find-gc.el: Move to ../admin.
961
962 * printing.el (pr-version):
963 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
964
965 * net/browse-url.el (browse-url-mosaic):
966 Create /tmp/Mosaic.PID as a private file.
967
968 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
971 (advice--member-p): If name is given, only compare the name.
972 (advice--remove-function): Don't stop at the first match.
973 (advice--normalize-place): New function.
974 (add-function, remove-function): Use it.
975 (advice--add-function): Pass the name, if any, to
976 advice--remove-function.
977
978 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
979
980 * electric.el (electric-indent-post-self-insert-function): Don't use
981 `pos' after modifying the buffer (bug#17449).
982
983 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
984
985 * calendar/todo-mode.el (todo-insert-item-from-calendar):
986 Correct argument list to conform to todo-insert-item--basic.
987
988 2014-05-12 Glenn Morris <rgm@gnu.org>
989
990 * files.el (cd-absolute): Test if directory is accessible
991 rather than executable. (Bug#17330)
992
993 * progmodes/compile.el (recompile):
994 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
995
996 * net/browse-url.el (browse-url-mosaic):
997 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
998 This is CVE-2014-3423.
999
1000 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * mouse.el: Use the normal toplevel loop while dragging.
1003 (mouse-set-point): Handle multi-clicks.
1004 (mouse-set-region): Handle multi-clicks for drags.
1005 (mouse-drag-region): Update call accordingly.
1006 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1007 Use the normal event loop instead of a local while/read-event loop.
1008 (global-map): Remove redundant bindings for double/triple-mouse-1.
1009 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1010 Generate synthetic down events when the protocol only sends up events.
1011 (xterm-mouse-last): Remove.
1012 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1013 terminal parameter instead.
1014 (xterm-mouse--set-click-count): New function.
1015 (xterm-mouse-event): Detect/generate double/triple clicks.
1016 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1017
1018 * info.el (Info-quoted): New face.
1019 (Info-mode-font-lock-keywords): New var.
1020 (Info-mode): Use it.
1021
1022 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1023 are a hindrance for C-x C-e.
1024
1025 2014-05-11 Leo Liu <sdl.web@gmail.com>
1026
1027 * net/rcirc.el (rcirc-sentinel): Fix last change.
1028
1029 2014-05-08 Sam Steingold <sds@gnu.org>
1030
1031 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1032 (rcirc-sentinel): Auto-reconnect to the server if
1033 `rcirc-reconnect-delay' is non-0 (but not more often than its
1034 value in case the host is off-line).
1035
1036 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1037
1038 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1039
1040 2014-05-09 Glenn Morris <rgm@gnu.org>
1041
1042 * files.el (file-expand-wildcards):
1043 * man.el (Man-support-local-filenames):
1044 * printing.el (pr-i-directory, pr-interface-directory):
1045 * progmodes/grep.el (lgrep, rgrep):
1046 * textmodes/ispell.el (ispell-call-process)
1047 (ispell-call-process-region, ispell-start-process)
1048 (ispell-init-process): Use file-accessible-directory-p.
1049
1050 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1053 (xterm-mouse--read-event-sequence-1000): Return nil if something
1054 looks fishy.
1055 (xterm-mouse-event): Propagate it.
1056 (xterm-mouse-translate-1): Handle it.
1057
1058 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1059
1060 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1061 four slots of the parameter list are filled, make sure to pass it
1062 to the argument list of todo-insert-item--basic.
1063
1064 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1067 Add optional `seen' argument to detect and break infinite loops.
1068
1069 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1070
1071 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1072 (trace-unsafe, trace-use-tree): Make parentheses style be
1073 according to Emacs style.
1074
1075 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * net/tramp-sh.el (tramp-remote-process-environment):
1078 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1079 Add :version entry.
1080 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1081 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1082 extra "PSx=..." commands.
1083 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1084 (Bug#17295)
1085
1086 (tramp-uudecode): Replace the hard-coded temporary file name by a
1087 format specifier.
1088 (tramp-remote-coding-commands): Enhance docstring.
1089 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1090 name. (Bug#17415)
1091 This is CVE-2014-3424.
1092
1093 2014-05-08 Glenn Morris <rgm@gnu.org>
1094
1095 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1096 (find-gc-source-files): Update some names.
1097 (trace-call-tree): Simplify and update.
1098 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1099 This is CVE-2014-3422.
1100
1101 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * minibuffer.el (completion--try-word-completion): Revert fix for
1104 Bug#15980 (bug#17375).
1105
1106 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1107 Always store button numbers in the same way in xterm-mouse-last;
1108 Don't burp is xterm-mouse-last is not set as expected.
1109 Never return negative indices.
1110
1111 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1112
1113 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1114 Backtrack one char if the global/char-literal var matcher hits
1115 inside a string. The next char could be the beginning of an
1116 expression expansion.
1117
1118 2014-05-08 Glenn Morris <rgm@gnu.org>
1119
1120 * help-fns.el (describe-function-1): Test for an autoload before a
1121 macro, since `macrop' works on autoloads. (Bug#17410)
1122
1123 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1126
1127 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1128 Make sure the new point we return is within the new string (bug#17239).
1129
1130 2014-05-05 Daniel Colascione <dancol@dancol.org>
1131
1132 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1133 Port `gnu' pattern to rx.
1134
1135 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1136
1137 Remove unneeded prompt when closing a buffer with active
1138 emacsclient ("Buffer ... still has clients"), #16548.
1139 * server.el (server-start): Remove the only call to:
1140 (server-kill-buffer-query-function): Remove.
1141
1142 2014-05-04 Leo Liu <sdl.web@gmail.com>
1143
1144 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1145 Defvar to pacify compiler.
1146
1147 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1148
1149 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1150
1151 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1154 Use nil rather than `default' for the "default" appearance (bug#17388).
1155 * vc/ediff-util.el (ediff-inferior-compare-regions)
1156 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1157 a misleading `default' value when it's really a boolean.
1158 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1159 overlay is not visible.
1160
1161 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1162
1163 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1164 (todo-menu): Uncomment and update.
1165
1166 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1167
1168 * calendar/todo-mode.el: Reimplement item editing to have the same
1169 basic user interface as item insertion, and make small UI and
1170 larger internal improvements to the latter.
1171 (todo-insert-item): Add reference to the Todo mode user manual to
1172 the documentation string.
1173 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1174 adjust all callers. Change signature to combine diary and
1175 nonmarking arguments. Incorporate functionality of deleted item
1176 copying command and add error checking. Remove detailed
1177 descriptions of the arguments from the documentation string, since
1178 this is treated in the Todo mode user manual.
1179 (todo-copy-item, todo-edit-multiline-item)
1180 (todo-edit-done-item-comment, todo-edit-item-header)
1181 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1182 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1183 (todo-edit-item-date-year, todo-edit-item-date-month)
1184 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1185 Remove.
1186 (todo-edit-item): Reimplement as wrapper command for
1187 todo-edit-item--next-key and make it distinguish done and not done
1188 todo items.
1189 (todo-edit-item--text): New function, replacing old command
1190 todo-edit-item and incorporating deleted commands
1191 todo-edit-multiline-item and todo-edit-done-item-comment.
1192 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1193 Use only numeric value of prefix argument. Remove detailed
1194 descriptions of the arguments from the documentation string, since
1195 this is treated in the Todo mode user manual.
1196 (todo-edit-item--diary-inclusion): New function, replacing old
1197 command todo-edit-item-diary-inclusion and incorporating and fixing
1198 functionality of deleted command todo-edit-item-diary-nonmarking,
1199 making sure to remove todo-nondiary-marker when adding
1200 diary-nonmarking-symbol.
1201 (todo-edit-category-diary-inclusion): Make sure to delete
1202 diary-nonmarking-symbol when adding todo-nondiary-marker.
1203 (todo-edit-category-diary-nonmarking): Fix indentation.
1204 (todo-insert-item--parameters): Group diary and nonmarking
1205 parameters together.
1206 (todo-insert-item--apply-args): Adjust to signature of
1207 todo-insert-item--basic and incorporate copy parameter.
1208 Make small code improvements.
1209 (todo-insert-item--next-param): Improve prompt and adjust it to
1210 new parameter grouping. Remove obsolete code.
1211 (todo-edit-item--param-key-alist)
1212 (todo-edit-item--date-param-key-alist)
1213 (todo-edit-done-item--param-key-alist): New defconsts.
1214 (todo-edit-item--prompt): New variable.
1215 (todo-edit-item--next-key): New function.
1216 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1217 Remove bindings of deleted commands.
1218
1219 2014-05-04 Leo Liu <sdl.web@gmail.com>
1220
1221 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1222
1223 2014-05-04 Glenn Morris <rgm@gnu.org>
1224
1225 * allout-widgets.el (allout-widgets-tally)
1226 (allout-decorate-item-guides):
1227 * menu-bar.el (menu-bar-positive-p):
1228 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1229 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1230 * progmodes/js.el (js--inside-param-list-p)
1231 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1232 * progmodes/prolog.el (region-exists-p):
1233 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1234 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1235 Doc fixes (replace `iff').
1236
1237 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1240
1241 2014-05-04 Leo Liu <sdl.web@gmail.com>
1242
1243 Support Chinese diary entries in calendar and diary. (Bug#17393)
1244 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1245 (calendar-chinese-from-absolute-for-diary)
1246 (calendar-chinese-to-absolute-for-diary)
1247 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1248 (diary-chinese-list-entries): New functions to list and mark
1249 Chinese diary entries in the calendar window.
1250 (diary-chinese-anniversary)
1251 (diary-chinese-insert-anniversary-entry)
1252 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1253 (diary-chinese-insert-yearly-entry): New commands to insert
1254 Chinese diary entries.
1255
1256 * calendar/diary-lib.el (diary-font-lock-keywords):
1257 Support font-locking Chinese dates.
1258
1259 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1260 inserting Chinese diary entries.
1261
1262 * calendar/calendar.el (diary-chinese-entry-symbol):
1263 New customizable variable.
1264 (calendar-mode-map): Add bindings for inserting Chinese diary
1265 entries.
1266
1267 2014-05-03 Juri Linkov <juri@jurta.org>
1268
1269 * dired.el (dired-check-switches, dired-switches-recursive-p):
1270 New functions. (Bug#17218)
1271 (dired-switches-escape-p, dired-move-to-end-of-filename):
1272 Use `dired-check-switches'.
1273 (dired-insert-old-subdirs, dired-build-subdir-alist)
1274 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1275
1276 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1277
1278 * simple.el (undo-make-selective-list): New algorithm fixes
1279 incorrectness of position adjustments when undoing in region.
1280 (Bug#17235)
1281 (undo-elt-crosses-region): Make obsolete.
1282 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1283 New functions to adjust positions using undo-deltas.
1284
1285 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1288 the last consecutive closing paren (bug#17345).
1289
1290 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1291
1292 * dired.el (dired-mode): make terminology for eXpunge command
1293 consistent. (Bug#17276)
1294
1295 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1296
1297 * dired.el (dired-initial-position-hook, dired-initial-position):
1298 Doc string fixes.
1299
1300 2014-04-30 Glenn Morris <rgm@gnu.org>
1301
1302 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1303
1304 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1305
1306 * faces.el (face-spec-recalc): Apply X resources only after the
1307 defface spec has been applied. Thus, X resources are no longer
1308 overriden by the defface spec which also fixes issues on win32 where
1309 the toolbar coloring was wrong because it is set through X resources
1310 and was (wrongfully) overriden. (Bug#16694)
1311
1312 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * textmodes/rst.el (electric-pair-pairs): Declare.
1315 (rst-mode): Set it (bug#17131).
1316
1317 2014-04-30 Juri Linkov <juri@jurta.org>
1318
1319 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1320 and `print-level' to nil. (Bug#17351)
1321
1322 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1323
1324 * battery.el (battery-update): Handle the case where battery
1325 status is "N/A" (bug#17319).
1326
1327 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1330 to syntax-propertize.
1331 (ps-mode-auto-indent): Mark as obsolete.
1332 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1333 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1334 word regexp operators.
1335 (ps-mode-map): Move initialization into declaration. Remove binding
1336 for TAB, RET, >, ], and }.
1337 (ps-mode-syntax-table): Move initialization into declaration.
1338 Don't give word syntax to non-word chars.
1339 (ps-run-mode-map): Move initialization into declaration.
1340 (ps-mode-menu-main): Remove auto-indent entry.
1341 (ps-mode-smie-rules): New function.
1342 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1343 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1344 (ps-mode--string-syntax-table): New const.
1345 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1346 New functions.
1347 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1348 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1349
1350 2014-04-27 Daniel Colascione <dancol@dancol.org>
1351
1352 * term/xterm.el (xterm-paste): Use large finite timeout when
1353 reading event to avoid putting keys in this-command-keys.
1354
1355 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1358 (perl-syntax-propertize-function): Use it. Extend handling of
1359 here-docs to the unquoted case.
1360
1361 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1362
1363 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1364 Use equal-including-properties to compare help-echo strings (bug#17331).
1365
1366 2014-04-25 Leo Liu <sdl.web@gmail.com>
1367
1368 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1369 Fix syntax for @. (Bug#17325)
1370
1371 2014-04-25 Daniel Colascione <dancol@dancol.org>
1372
1373 * emacs-lisp/cl.el (gv): Require gv early to break eager
1374 macro-expansion cycles.
1375
1376 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1377
1378 * simple.el (region-active-p): Check there's a mark (bug#17324).
1379
1380 * simple.el (completion-list-mode-map): Use choose-completion for the
1381 mouse binding as well (bug#17302).
1382 (completion-list-mode, completion-setup-function): Adjust docstring and
1383 echo area message accordingly.
1384 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1385 calling convention of choose-completion.
1386 * comint.el (comint-dynamic-list-completions):
1387 * term.el (term-dynamic-list-completions): Accept choose-completion.
1388
1389 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1390 &, |, +, - and * can't be a division (bug#17317).
1391
1392 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1393 features on gnome-terminal (bug#16988).
1394
1395 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1396
1397 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1398
1399 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1400 the declared object, ignore zero or more parens, not zero or one.
1401
1402 2014-04-24 Leo Liu <sdl.web@gmail.com>
1403
1404 * progmodes/xscheme.el (xscheme-expressions-ring)
1405 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1406 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1407 (xscheme-allow-output-p, xscheme-prompt)
1408 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1409
1410 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1411 Comment out unused functions.
1412
1413 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * info.el: Use lexical-binding and cl-lib.
1416 Use defvar-local and setq-local instead of make-local-variable.
1417 (Info-apropos-matches): Avoid add-to-list.
1418 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1419
1420 2014-04-24 Daniel Colascione <dancol@dancol.org>
1421
1422 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1423
1424 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1427
1428 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1429
1430 * dired.el (dired-insert-set-properties): Do not consider
1431 subdirectory headings and empty lines to be information that
1432 `dired-hide-details-mode' should hide. (Bug#17228)
1433
1434 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1435
1436 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1437 Remove test messages.
1438 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1439 and `target' twice.
1440
1441 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1444 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1445
1446 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1447
1448 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1449
1450 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1451 Set "IFS=" when using read builtin, in order to preserve spaces in
1452 the file name. Add test messages for hunting a bug on hydra.
1453 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1454
1455 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1456
1457 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1458 Don't prettify a word within a symbol.
1459
1460 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1463 possible.
1464
1465 2014-04-22 Daniel Colascione <dancol@dancol.org>
1466
1467 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1468 use defun to define `function-put'.
1469
1470 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1473 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1474 (lisp-mode-variables): Set font-lock-extra-managed-props.
1475
1476 * emacs-lisp/byte-run.el (function-put): New function.
1477 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1478 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1479 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1480 Use them.
1481
1482 2014-04-22 Daniel Colascione <dancol@dancol.org>
1483
1484 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1485 Add `full-p' parameter; when nil, call `macroexpand' instead of
1486 `macroexpand-all'.
1487
1488 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1489 Improve docstrings.
1490
1491 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1492 Use lambda function values, not quoted lambdas.
1493 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1494
1495 * emacs-lisp/cl-macs.el
1496 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1497 (cl-struct-slot-value): Conditionally use aref or nth so that the
1498 compiler produces optimal code.
1499
1500 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1503 (inline): Don't inline cl--set-elt.
1504 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1505 Define as inlinable instead.
1506 (cl-struct-set-slot-value): Remove.
1507
1508 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1509 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1510 Use setf instead.
1511
1512 2014-04-21 Daniel Colascione <dancol@dancol.org>
1513
1514 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1515 last two parameters after all.
1516 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1517 (cl--compiler-macro-assoc,cl-struct-slot-value)
1518 (cl-struct-set-slot-value): Stop using them.
1519
1520 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1523 entry in image-mode-winprops-alist.
1524
1525 2014-04-21 Daniel Colascione <dancol@dancol.org>
1526
1527 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1528 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1529 (byte-compile-toplevel-file-form): Use it.
1530
1531 * emacs-lisp/cl-macs.el:
1532 (cl--loop-let): Properly destructure `while' clauses.
1533
1534 2014-04-20 Daniel Colascione <dancol@dancol.org>
1535
1536 * vc/vc.el (vc-root-dir): New public autoloaded function for
1537 generically finding the current VC root.
1538 * vc/vc-hooks.el (vc-not-supported): New error.
1539 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1540
1541 2014-04-20 Daniel Colascione <dancol@dancol.org>
1542
1543 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1544 argument.
1545 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1546 argument in case we're inside a symbol-macrolet.
1547 (cl--do-arglist, cl--compiler-macro-typep)
1548 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1549 environment to `cl--const-expr-val'.
1550 (cl-struct-sequence-type,cl-struct-slot-info)
1551 (cl-struct-slot-offset, cl-struct-slot-value)
1552 (cl-struct-set-slot-value): New functions.
1553
1554 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1557 assignments such as "case=hello" (bug#17297).
1558
1559 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1562 Do not autoload.
1563 (tramp-file-name-handler, tramp-completion-file-name-handler):
1564 Revert patch from 2014-04-10, it isn't necessary anymore.
1565 (tramp-autoload-file-name-handler)
1566 (tramp-register-autoload-file-name-handlers): New defuns.
1567 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1568 (tramp-register-file-name-handlers): Remove also
1569 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1570 Do not autoload its invocation, but eval it after loading of 'tramp.
1571
1572 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1573
1574 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1575
1576 2014-04-17 Daniel Colascione <dancol@dancol.org>
1577
1578 Add support for bracketed paste mode; add infrastructure for
1579 managing terminal mode enabling and disabling automatically.
1580
1581 * xt-mouse.el:
1582 (xterm-mouse-mode): Simplify.
1583 (xterm-mouse-tracking-enable-sequence)
1584 (xterm-mouse-tracking-disable-sequence): New constants.
1585 (turn-on-xterm-mouse-tracking-on-terminal)
1586 (turn-off-xterm-mouse-tracking-on-terminal):
1587 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1588 parameters instead of random hooks.
1589 (turn-on-xterm-mouse-tracking)
1590 (turn-off-xterm-mouse-tracking): Delete.
1591
1592 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1593 (xterm-paste-ending-sequence): New constant.
1594 (xterm-paste): New command used for bracketed paste support.
1595
1596 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1597 (terminal-init-xterm-bracketed-paste-mode): New function.
1598 (terminal-init-xterm): Call it.
1599 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1600 and tty-mode-reset-strings instead of random hooks.
1601 (xterm-turn-on-modify-other-keys)
1602 (xterm-turn-off-modify-other-keys)
1603 (xterm-remove-modify-other-keys): Delete obsolete functions.
1604
1605 * term/screen.el: Rewrite to just use the xterm code.
1606 Add copyright notice. Mention tmux.
1607
1608 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1609
1610 * image-mode.el (image-mode-window-put): Also update the property of
1611 the "default window".
1612 * doc-view.el (doc-view-new-window-function): If no window
1613 exists, move to the last known page.
1614
1615 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1618 here-documents (bug#17262).
1619
1620 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1621
1622 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1623 Provide doc strings, as required by snarf-documentation.
1624
1625 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1628 arg of overlays-at. Use `invisible-p'.
1629
1630 * obsolete/lucid.el (extent-at):
1631 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1632 overlays-at.
1633 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1634
1635 2014-04-16 João Távora <joaotavora@gmail.com>
1636
1637 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1638 links. (Bug#17217).
1639
1640 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1641
1642 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1643 Use mapc to loop over a vector. (Bug#17257).
1644
1645 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1646
1647 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1648 patch, there are new problems with file names containing spaces.
1649 Get rid of backticks. (Bug#17238)
1650
1651 2014-04-16 João Távora <joaotavora@gmail.com>
1652
1653 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1654 possible bug.
1655
1656 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1657
1658 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1659 (blink-cursor-mode): Mention customization variables and the
1660 effect of 'blink-cursor-blinks'.
1661
1662 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1663
1664 * simple.el (undo): Prevent insertion of identity mapping into
1665 undo-equiv-table so as undo-only does not inf loop in the presence
1666 of consecutive nils in undo list.
1667
1668 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1669
1670 * faces.el (make-face): Deprecate optional argument as it is no
1671 longer needed/used since the conditional X resources handling
1672 has been pushed down to make-face-x-resource-internal itself.
1673 (make-empty-face): Don't pass optional argument to make-face.
1674
1675 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1676
1677 * savehist.el (savehist-save): Remove workaround for a read-passwd
1678 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1679 noticing that the shim was still present.
1680
1681 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1684
1685 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1686
1687 * faces.el (face-set-after-frame-default): Remove unused local variable.
1688
1689 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * progmodes/grep.el: Use lexical-binding.
1692 (grep-expand-template): Pass explicit lexical env to `eval'.
1693 (zrgrep): Let-bind grep-find-template explicitly.
1694
1695 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1696 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1697
1698 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1699
1700 * international/characters.el <standard-case-table>: Add entries
1701 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1702 Set category of Coptic characters be 'g' (Greek).
1703
1704 2014-04-12 Leo Liu <sdl.web@gmail.com>
1705
1706 * progmodes/octave.el (completion-table-with-cache):
1707 Define if not available.
1708 (octave-goto-function-definition, octave-sync-function-file-names)
1709 (octave-find-definition-default-filename):
1710 Backquote upattern for compatibility.
1711
1712 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1713
1714 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1715 name twice due to backticks. (Bug#17238)
1716
1717 2014-04-12 Glenn Morris <rgm@gnu.org>
1718
1719 * term/w32-win.el (x-win-suspend-error):
1720 * term/x-win.el (x-win-suspend-error): Sync docs.
1721
1722 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1723
1724 * faces.el (make-face): Remove deprecated optional argument.
1725 The conditional application of X resources is handled directly by
1726 make-face-x-resource-internal since Emacs 24.4.
1727 (make-empty-face): Don't pass optional argument to make-face.
1728
1729 2014-04-11 Glenn Morris <rgm@gnu.org>
1730
1731 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1732
1733 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 Ediff's overlay priorities cause more trouble than they solve.
1736 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1737 (ediff-highest-priority): Remove function (bug#17234).
1738 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1739 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1740 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1741 overlay priorities.
1742
1743 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1744
1745 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1746 entry; use symbol boundaries to avoid mis-matches.
1747
1748 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/tramp.el (tramp-file-name-handler)
1751 (tramp-completion-file-name-handler): Avoid recursive loading.
1752
1753 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1754 Quote result also locally.
1755
1756 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1759 Remove left-over code.
1760
1761 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1762 Reuse the previous comment's indentation unconditionally if it's on its
1763 own line.
1764
1765 2014-04-09 Daniel Colascione <dancol@dancol.org>
1766
1767 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1768 `no-syntax-crossing' arguments. Forward to `up-list'.
1769 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1770 Implement logic for escaping from strings. Use narrowing to deal
1771 with corner cases.
1772
1773 2014-04-09 Leo Liu <sdl.web@gmail.com>
1774
1775 * net/rcirc.el (rcirc-connection-info): New variable.
1776 (rcirc-connect): Use it to store connection info.
1777 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1778 for killed process.
1779 (rcirc-cmd-reconnect): New command. (Bug#17045)
1780 (rcirc-mode, set-rcirc-encode-coding-system)
1781 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1782
1783 2014-04-09 Daniel Colascione <dancol@dancol.org>
1784
1785 * emacs-lisp/cl-indent.el: Add comment claiming
1786 facility is also good for elisp.
1787 (lisp-indent-find-method): New function.
1788 (common-lisp-indent-function): Recognize cl-loop.
1789 (common-lisp-indent-function-1): Recognize cl constructs; use
1790 `lisp-indent-find-method' instead of `get' directly.
1791 (if): Use else-body style for elisp.
1792
1793 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1794
1795 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1796 Module methods. (Bug#17216)
1797
1798 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1799
1800 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1801 (describe-bindings-internal): Mark obsolete.
1802
1803 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1806 buffer-file-name, and buffer-file-truename any more.
1807
1808 2014-04-08 Leo Liu <sdl.web@gmail.com>
1809
1810 Use lexical-binding and require cl-lib.
1811 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1812 (rcirc-handler-generic, rcirc-fill-paragraph)
1813 (rcirc-format-response-string, rcirc-target-buffer)
1814 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1815 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1816 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1817 (rcirc-markup-timestamp, rcirc-markup-attributes)
1818 (rcirc-markup-my-nick, rcirc-markup-urls)
1819 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1820 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1821 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1822 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1823 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1824 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1825 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1826 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1827 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1828 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1829 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1830 use cl-lib.
1831
1832 2014-04-07 João Távora <joaotavora@gmail.com>
1833
1834 * elec-pair.el (electric-pair--syntax-ppss):
1835 When inside comments parse from comment beginning.
1836 (electric-pair--balance-info): Fix typo in comment.
1837 (electric-pair--in-unterminated-string-p): Delete.
1838 (electric-pair--unbalanced-strings-p): New function.
1839 (electric-pair-string-bound-function): New var.
1840 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1841 according to `electric-pair--in-unterminated-string-p'
1842
1843 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1844 Inhibit quote pairing if point-max is inside an unterminated string.
1845 (electric-pair--looking-at-unterminated-string-p): Delete.
1846 (electric-pair--in-unterminated-string-p): New function.
1847
1848 2014-04-07 Glenn Morris <rgm@gnu.org>
1849
1850 * shell.el (shell-directory-tracker):
1851 Go back to just ignoring failures. (Bug#17159)
1852
1853 2014-04-07 João Távora <joaotavora@gmail.com>
1854
1855 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1856 backspace. (bug#16981)
1857 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1858 (electric-pair-backward-delete-char-untabify): Delete.
1859 (electric-pair-mode-map): Bind backspace to a menu item filtering
1860 a new `electric-pair-delete-pair' command.
1861 (electric-pair-delete-pair): New command.
1862
1863 * progmodes/python.el (python-electric-pair-string-delimiter):
1864 Fix triple-quoting electricity. (Bug#17192)
1865
1866 * elec-pair.el (electric-pair-post-self-insert-function):
1867 Don't skip whitespace when `electric-pair-text-pairs' and
1868 `electric-pair-pairs' were used. syntax to
1869 electric-pair--skip-whitespace. (Bug#17183)
1870
1871 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1872
1873 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1874 "<F>". (Bug#17199)
1875
1876 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1879 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1880
1881 2014-04-07 Glenn Morris <rgm@gnu.org>
1882
1883 * help.el (view-lossage): Doc tweak.
1884
1885 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1886
1887 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1888 only when inhibit-x-resources is nil, and do that earlier in the
1889 function. Doc fix. (Bug#16694)
1890 (face-spec-choose): Accept additional optional argument, whose
1891 value is returned if no matching attributes are found.
1892 (face-spec-recalc): Use the new optional argument when calling
1893 face-spec-choose. (Bug#16378)
1894 (make-face-x-resource-internal): Do nothing when
1895 inhibit-x-resources is non-nil. Don't touch the default face if
1896 reversed video is given--as was done in previous versions of Emacs.
1897 (face-set-after-frame-default): Don't call
1898 make-face-x-resource-internal here. (Bug#16434)
1899
1900 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1901
1902 * doc-view.el (doc-view-bookmark-jump):
1903 Use `bookmark-after-jump-hook' to jump to the right page after the
1904 buffer is shown in a window. (bug#16090)
1905
1906 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1907
1908 * international/characters.el (mirroring): Fix last change:
1909 instead of loading uni-mirrored.el explicitly, do that implicitly
1910 by creating the 'mirroring' uniprop table. This avoids announcing
1911 the loading of uni-mirrored.el.
1912
1913 2014-04-07 Glenn Morris <rgm@gnu.org>
1914
1915 * files.el (buffer-stale--default-function)
1916 (buffer-stale-function, revert-buffer--default):
1917 * autorevert.el (auto-revert-buffers): Doc tweaks.
1918
1919 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1920
1921 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1922
1923 2014-04-07 Glenn Morris <rgm@gnu.org>
1924
1925 * files.el (make-backup-file-name-function)
1926 (make-backup-file-name, make-backup-file-name--default-function)
1927 (make-backup-file-name-1, find-backup-file-name)
1928 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1929 (buffer-stale--default-function, buffer-stale-function)
1930 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1931 (revert-buffer, revert-buffer--default)
1932 (revert-buffer-insert-file-contents--default-function):
1933 Doc fixes related to defaults no longer being nil.
1934 (make-backup-file-name-function): Bump :version.
1935 Restore nil as a valid but deprecated custom type.
1936
1937 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1940 Handle $' used as a variable (bug#17174).
1941
1942 * progmodes/perl-mode.el (perl-indent-new-calculate):
1943 Handle forward-sexp failure (bug#16985).
1944 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1945 modifiers introducing expressions (bug#17116).
1946
1947 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1950
1951 2014-04-05 Leo Liu <sdl.web@gmail.com>
1952
1953 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1954 Add define-compilation-mode.
1955
1956 2014-04-04 João Távora <joaotavora@gmail.com>
1957
1958 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1959 parse from comment beginning.
1960 (electric-pair--balance-info): Fix typo in comment.
1961 (electric-pair--in-unterminated-string-p): Delete.
1962 (electric-pair--unbalanced-strings-p): New function.
1963 (electric-pair-string-bound-function): New var.
1964 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1965 according to `electric-pair--in-unterminated-string-p'.
1966
1967 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1970 Move declaration before first use.
1971 (reftex-move-to-next-arg): Silence compiler warning.
1972
1973 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1974
1975 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1976 Use `window-total-width' instead of `window-width'.
1977
1978 2014-04-03 Daniel Colascione <dancol@dancol.org>
1979
1980 * subr.el (set-transient-map): Remove rms's workaround entirely;
1981 use new `suspicious-object' subr to mark our lambda for closer
1982 scrutiny during gc.
1983
1984 2014-04-02 Richard Stallman <rms@gnu.org>
1985
1986 * subr.el (set-transient-map): Comment out previous change.
1987
1988 2014-04-02 Glenn Morris <rgm@gnu.org>
1989
1990 * menu-bar.el (menu-bar-file-menu):
1991 * vc/ediff.el (ediff-current-file):
1992 Update for revert-buffer-function no longer being nil by default.
1993
1994 * simple.el (command-execute): Respect nil disabled-command-function.
1995
1996 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1997
1998 * simple.el (command-execute): Do not execute the command when it
1999 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2000
2001 2014-04-02 Juri Linkov <juri@jurta.org>
2002
2003 * dired-aux.el (dired-compress-file): Don't use string-match-p
2004 because its match data is used afterwards.
2005
2006 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2009 0 like nil.
2010
2011 2014-04-02 João Távora <joaotavora@gmail.com>
2012
2013 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2014 Inhibit quote pairing if point-max is inside an unterminated string.
2015 (electric-pair--looking-at-unterminated-string-p):
2016 Delete.
2017 (electric-pair--in-unterminated-string-p): New function.
2018
2019 2014-04-01 Daniel Colascione <dancol@dancol.org>
2020
2021 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2022 when trying to complete the prompt.
2023
2024 2014-03-31 Leo Liu <sdl.web@gmail.com>
2025
2026 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2027 Refactor out eldoc-documentation-function-default.
2028 (eldoc-documentation-function-default): New function.
2029 (eldoc-documentation-function): Change value.
2030
2031 2014-03-31 Glenn Morris <rgm@gnu.org>
2032
2033 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2034
2035 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2036 (vhdl-compose-components-package, vhdl-compose-configuration):
2037 Abbreviate default-directory (missing from some previous upstream sync).
2038
2039 2014-03-31 Reto Zimmermann <reto@gnu.org>
2040
2041 Sync with upstream vhdl mode v3.35.2.
2042 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2043 (top-level): No longer require assoc.
2044 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2045 New functions. Use throughout to replace aget etc.
2046 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2047 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2048 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2049 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2050 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2051 except `vhdl-compiler'.
2052 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2053 when appropriate.
2054
2055 2014-03-31 Glenn Morris <rgm@gnu.org>
2056
2057 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2058 Revert 2014-03-26 merge goof; go back to using defalias.
2059
2060 2014-03-30 Daniel Colascione <dancol@dancol.org>
2061
2062 * comint.el (comint-send-input):
2063 Deactivate completion-in-region-mode before we send comint input.
2064 (Bug#17139).
2065
2066 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2067 on keyboard-quit.
2068
2069 2014-03-29 Glenn Morris <rgm@gnu.org>
2070
2071 * textmodes/reftex.el: Manage most autoloads automatically.
2072 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2073 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2074 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2075 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2076 * textmodes/reftex-toc.el: Set generated-autoload-file,
2077 and add autoload cookies for reftex.el.
2078 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2079
2080 2014-03-28 Glenn Morris <rgm@gnu.org>
2081
2082 * cus-start.el (report-emacs-bug-address): Set custom properties.
2083 * mail/emacsbug.el (report-emacs-bug-address):
2084 Variable is now defined in emacs.c.
2085
2086 * mail/emacsbug.el (report-emacs-bug):
2087 Include system-configuration-features.
2088
2089 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2090
2091 * simple.el (cycle-spacing): Never delete spaces on first run by
2092 default, but do so in a new 'fast mode and if there are already
2093 N spaces (the previous behavior).
2094 Compare N with its value in previous invocation so that changing
2095 prefix argument restarts `cycle-spacing' sequence.
2096 The idea is that with this change, binding M-SPC to
2097 `cycle-spacing' should not introduce any changes in behavior of
2098 the binding so long as users do not type M-SPC twice in a raw with
2099 the same prefix argument or lack thereof.
2100
2101 2014-03-28 Glenn Morris <rgm@gnu.org>
2102
2103 * faces.el (term-file-aliases): New variable.
2104 (tty-run-terminal-initialization): Respect term-file-aliases.
2105 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2106 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2107 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2108
2109 2014-03-27 Glenn Morris <rgm@gnu.org>
2110
2111 * startup.el (inhibit-startup-hooks): Doc tweak.
2112 (normal-top-level): Simplify running of hooks.
2113 For window-setup-hook, respect inhibit-startup-hooks.
2114 (command-line-1): Don't set window-setup-hook to nil.
2115
2116 Allow selective autoloading from obsolete/ directory.
2117 * Makefile.in (obsolete-autoloads): New rule.
2118 (autoloads): Run obsolete-autoloads.
2119 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2120 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2121
2122 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2125 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2126
2127 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2128 Don't propertize `?' or `!' as symbol constituent when after
2129 colon. (Bug#17097)
2130
2131 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2132
2133 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2134 which is no longer needed and causes trouble in GTK builds (bug#17046).
2135
2136 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2137 Use url-insert-file-contents; package-handle-response no longer exists.
2138
2139 2014-03-26 Daniel Colascione <dancol@dancol.org>
2140
2141 * simple.el (process-menu-mode-map): New variable.
2142 (process-menu-delete-process): New command.
2143
2144 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2145
2146 * emacs-lisp/package.el: Fix bug#16733 (again).
2147 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2148 (url-http-target-url): Remove unused declarations.
2149 (package-handle-response): Remove.
2150 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2151 (package--download-one-archive): Use current-buffer instead of
2152 dynamic binding of `buffer'.
2153 (describe-package-1): Do not decode readme-string.
2154
2155 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2156
2157 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2158
2159 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2160 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2161 `remote-file-name-inhibit-cache' to nil in the second pass.
2162 (tramp-find-executable): Do not call "which" on SunOS.
2163 (tramp-send-command-and-check): Fix docstring.
2164 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2165 check whether source directory has set the sticky bit.
2166
2167 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2168
2169 * simple.el (primitive-undo): Only process marker adjustments
2170 validated against their corresponding (TEXT . POS). Issue warning
2171 for lone marker adjustments in undo history. (Bug#16818)
2172 (undo-make-selective-list): Add marker adjustments to selective
2173 undo list based on whether their corresponding (TEXT . POS) is in
2174 the region. Remove variable adjusted-markers, which was unused
2175 and only non nil during undo-make-selective-list.
2176 (undo-elt-in-region): Return nil when passed a marker adjustment
2177 and explain in function doc.
2178
2179 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2180
2181 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2182
2183 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2184
2185 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2186 Match special global variables without curlies, too.
2187 (ruby-font-lock-keywords): Simplify the matcher for special global
2188 variables. Don't require a non-word character after the variable.
2189 (Bug#17057)
2190
2191 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * simple.el (redisplay-highlight-region-function): Increase priority of
2194 overlay to make sure boundaries are visible (bug#15899).
2195
2196 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2197
2198 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2199 (frameset-restore): Compare display strings with equal.
2200
2201 * frame.el (make-frame): Don't quote display name in error message,
2202 it is already a string.
2203
2204 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2205
2206 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2207 the password.
2208
2209 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2210
2211 * emacs-lisp/package.el (package--add-to-archive-contents):
2212 Include already installed and built-in packages in
2213 `package-archive-contents'.
2214 (package-install): Don't include already installed packages in the
2215 options during interactive invocation. (Bug#16762)
2216 (package-show-package-list): If the buffer is already displayed in
2217 another window, switch to that window.
2218
2219 2014-03-26 Reto Zimmermann <reto@gnu.org>
2220
2221 Sync with upstream vhdl mode v3.35.1.
2222 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2223 (vhdl-compiler-alist): Doc fix.
2224 (vhdl-goto-line): Remove.
2225 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2226 (vhdl-mode) <paragraph-start>: Fix value.
2227 (vhdl-fix-statement-region): Not `for' in wait-statement.
2228 (vhdl-beautify-region): Also (un)tabify.
2229 (vhdl-get-visible-signals):
2230 Scan declarative part of generate statements.
2231 (vhdl-template-record): Fix indentation for record type declaration.
2232 (vhdl-expand-abbrev, vhdl-expand-paren):
2233 Revert to using fset again rather than defalias.
2234 (vhdl-scan-directory-contents): Tweak.
2235 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2236 (vhdl-compose-components-package):
2237 Replace vhdl-goto-line with forward-line.
2238 (top-level): Tweak speedbar frame selection.
2239 (vhdl-generate-makefile-1): Support for compilers with no
2240 unit-to-file name mapping (create directory with dummy files).
2241
2242 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2243
2244 Sync with upstream verilog-mode revision 702457d.
2245 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2246 (create-lockfiles): Declare.
2247 (verilog-read-decls): Fix module header imports, bug709.
2248 Reported by Victor Lau.
2249 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2250 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2251 interface-only modules, bug721. Reported by Dean Hoyt.
2252
2253 2014-03-26 Glenn Morris <rgm@gnu.org>
2254
2255 * obsolete/gulp.el: Move here from emacs-lisp/.
2256
2257 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2258 Remove fallback aliases, since they are always defined now.
2259
2260 2014-03-24 Daniel Colascione <dancol@dancol.org>
2261
2262 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2263 instead of cl-loop search function.
2264
2265 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2266
2267 * calendar/parse-time.el (parse-time-iso8601-regexp)
2268 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2269 it more generally.
2270
2271 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2272
2273 * net/dns.el (network-interface-list): Define for XEmacs.
2274
2275 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2276
2277 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2278 the network interfaces changed.
2279 (dns-query): Use it to flush the data.
2280
2281 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2282
2283 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2284
2285 2014-03-23 Daniel Colascione <dancol@dancol.org>
2286
2287 Change subword-mode to use `find-word-boundary-function-table' and
2288 replace `capitalized-words-mode'. Also, convert to lexical
2289 binding.
2290
2291 * progmodes/cap-words.el: Delete now-obsolete file.
2292 * progmodes/subword.el: Reimplement using
2293 `find-word-boundary-function-table'.
2294 (subword-mode-map): Hollow out.
2295 (capitalized-words-mode): Define as obsolete alias for
2296 `subword-mode'.
2297 (subword-mode, superword-mode): Tweak documentation to reflect new
2298 implementation; call `subword-setup-buffer'.
2299 (subword-forward, subword-capitalize): Add underscore to indicate
2300 unused variable.
2301 (subword-find-word-boundary-function-table): New constant.
2302 (subword-empty-char-table): New constant.
2303 (subword-setup-buffer): New function.
2304 (subword-find-word-boundary): New function.
2305
2306 2014-03-23 Daniel Colascione <dancol@dancol.org>
2307
2308 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2309 list to look for keyword arguments instead of `memq', fixing
2310 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2311 Please make bootstrap.
2312
2313 2014-03-22 Glenn Morris <rgm@gnu.org>
2314
2315 * dired.el (dired-read-regexp): Make obsolete.
2316 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2317 (dired-flag-files-regexp):
2318 * dired-aux.el (dired-mark-read-regexp):
2319 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2320
2321 * startup.el (fancy-startup-text):
2322 * help.el (describe-gnu-project): Visit online info about GNU project.
2323
2324 * help-fns.el (help-fns--interactive-only): New function.
2325 (help-fns-describe-function-functions): Add the above function.
2326 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2327 (next-line, previous-line): Remove hand-written interactive-only
2328 information from doc strings, it is auto-generated now.
2329 * bookmark.el (bookmark-write):
2330 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2331 (epa-mail-import-keys): Mark interactive-only,
2332 and remove hand-written interactive-only information from doc strings.
2333 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2334 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2335 * files.el (not-modified):
2336 * simple.el (mark-whole-buffer): Mark interactive-only.
2337
2338 * emacs-lisp/byte-run.el (defun-declarations-alist):
2339 Add interactive-only. Doc tweak.
2340 (macro-declarations-alist): Doc tweak.
2341 * subr.el (declare): Doc tweak (add xref to manual).
2342 * comint.el (comint-run):
2343 * files.el (insert-file-literally, insert-file):
2344 * replace.el (replace-string, replace-regexp):
2345 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2346 (delete-forward-char, goto-line, insert-buffer, next-line)
2347 (previous-line): Set interactive-only via declare.
2348
2349 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2350
2351 * emacs-lisp/package.el (package-desc): Use the contents of the
2352 quoted form, not its cdr. (Bug#16873)
2353
2354 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2355
2356 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2357 benefit of doc.c; change parameter profile to match the X function.
2358
2359 2014-03-22 Leo Liu <sdl.web@gmail.com>
2360
2361 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2362 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2363
2364 2014-03-21 Richard Stallman <rms@gnu.org>
2365
2366 * battery.el (battery-linux-sysfs): Search for each field
2367 from the beginning of the buffer.
2368
2369 * subr.el (set-transient-map): Clear out function and value
2370 of the temporary symbol when we're done with it.
2371
2372 * mail/rmailsum.el (rmail-summary-delete-forward):
2373 Optimize case of reaching end and handling count.
2374 (rmail-summary-mark-deleted): Optimize when N is current msg.
2375 Don't create new summary line.
2376 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2377 (rmail-summary-undelete-many): Rewrite for speed.
2378 (rmail-summary-msg-number): New function.
2379
2380 * mail/rmail.el (rmail-delete-message): Update summary.
2381 (rmail-undelete-previous-message): Handle repeat count arg.
2382 (rmail-delete-backward, rmail-delete-forward): Likewise.
2383
2384 2014-03-21 Daniel Colascione <dancol@dancol.org>
2385
2386 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2387 information in bug reports.
2388
2389 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2390
2391 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2392 and `tramp-copy-env'.
2393
2394 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2395 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2396
2397 2014-03-21 Glenn Morris <rgm@gnu.org>
2398
2399 * electric.el (electric-indent-post-self-insert-function): Add doc.
2400
2401 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2402
2403 * emacs-lisp/package.el (package-compute-transaction):
2404 Use `version-list-<=' to compare the requirement version against
2405 the version of package already to be installed. Update the error
2406 message. (Bug#16826)
2407
2408 * progmodes/ruby-mode.el (ruby-smie-rules):
2409 Add indentation rule for ` @ '. (Bug#17050)
2410
2411 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2412
2413 * align.el (align-regexp): Remove superfluous backslash.
2414
2415 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2416 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2417 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2418 Fix docstring typos.
2419 (ffap-next): Use C-u in docstring.
2420 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2421 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2422 Remove superfluous backslashes.
2423 (ffap-string-at-point): Reflow docstring.
2424
2425 * server.el (server-host): Reflow docstring.
2426 (server-unload-function): Fix docstring typo.
2427 (server-eval-at): Remove superfluous backslash.
2428
2429 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2430 (skeleton-insert): Doc fix.
2431 (skeleton-insert): Reflow docstring.
2432
2433 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2434 (tty-color-approximate, tty-color-by-index, tty-color-values)
2435 (tty-color-desc): Remove superfluous backslashes.
2436
2437 2014-03-21 Glenn Morris <rgm@gnu.org>
2438
2439 * cus-start.el (history-length): Bump :version.
2440
2441 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2442 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2443 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2444 Don't set `make-backup-files'.
2445
2446 * info.el (info--prettify-description): New function,
2447 to give info-finder descriptions consistent case, punctuation.
2448 (Info-finder-find-node): Use it. Sort packages.
2449 Refer to "description" rather than "commentary".
2450
2451 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2452
2453 * frameset.el (frameset--print-register): New function.
2454 (frameset-to-register): Use it.
2455
2456 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2457
2458 * progmodes/hideif.el (hif-string-to-number): New function.
2459 (hif-tokenize): Use it to understand non-decimal floats.
2460
2461 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2462
2463 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2464
2465 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * electric.el (electric-newline-and-maybe-indent): New command.
2468 Bind it globally to C-j.
2469 (electric-indent-mode): Don't mess with the global map any more.
2470 Don't drop the post-self-insert-hook is some buffer is still using it
2471 (bug#16770).
2472
2473 * bindings.el (global-map): Remove C-j binding.
2474
2475 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2476 the docstring of functions advised before dumping (bug#16993).
2477
2478 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2479
2480 * ps-print.el (ps-generate-postscript-with-faces):
2481 Explicitly deactivate the mark (bug#16866).
2482 * simple.el (deactivate-mark): Update region highlight.
2483
2484 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * emacs-lisp/package.el (describe-package-1):
2487 Decode commentary (bug#16733).
2488
2489 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2490
2491 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2492 modification of the value argument of :set (bug#16755).
2493
2494 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * simple.el (newline-and-indent): Do autofill (bug#17031).
2497
2498 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2499
2500 * newcomment.el (comment-normalize-vars): Only add escaping check
2501 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2502 (comment-beginning): Use `narrow-to-region' instead of moving back
2503 one character.
2504 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2505 (comment-start-skip): Update the docstring.
2506
2507 2014-03-18 Richard Stallman <rms@gnu.org>
2508
2509 * dired.el (dired-display-file): Force use of other window.
2510
2511 2014-03-18 Daniel Colascione <dancol@dancol.org>
2512
2513 * startup.el (tty-handle-args): Remove debug message from 2007.
2514
2515 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2518 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2519 (advice--make-1, advice-add, advice-remove):
2520 Remove braindead :advice-pending hack.
2521
2522 2014-03-17 Glenn Morris <rgm@gnu.org>
2523
2524 * calendar/calendar.el (calendar-generate-month): Apply weekend
2525 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2526
2527 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2528
2529 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2530 (tramp-call-process): Trace also DESTINATION.
2531
2532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2533 Quote file names when they are local. Remove superfluous trace.
2534
2535 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2536
2537 * newcomment.el (comment-beginning): If `comment-start-skip'
2538 doesn't match, move back one char and try again. (Bug#16971)
2539
2540 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2541 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2542 Set `comment-start-skip' to a simpler value that doesn't try to
2543 check if the semicolon is escaped (this is handled by
2544 `syntax-ppss' now). (Bug#16971)
2545
2546 * progmodes/scheme.el (scheme-mode-variables): Same.
2547
2548 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2549
2550 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2551 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2552 current (Bug#16816, Bug#17007).
2553 (with-current-buffer-window): New macro doing the same as
2554 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2555 * help.el (help-print-return-message): Warn in doc-string to not
2556 use this in `with-help-window'.
2557 (describe-bindings-internal): Call `describe-buffer-bindings'
2558 from within help buffer. See Juanma's scenario in (Bug#16816).
2559 (with-help-window): Update doc-string.
2560 * dired.el (dired-mark-pop-up):
2561 * files.el (save-buffers-kill-emacs):
2562 * register.el (register-preview): Use `with-current-buffer-window'
2563 instead of `with-temp-buffer-window'.
2564
2565 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2566
2567 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2568 Implement inserting into current buffer, documented in their docstrings.
2569 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2570 (rst-section-tree-point, rst-forward-section, rst-indent)
2571 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2572 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2573 (rst-font-lock-handle-adornment-pre-match-form)
2574 (rst-repeat-last-character): Reflow docstrings.
2575 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2576 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2577 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2578 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2579 Fix docstring typos.
2580 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2581 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2582 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2583
2584 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2585
2586 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2587 for compatibility with other ports.
2588 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2589 from the -xrm command line argument, but in the Nextstep port its value
2590 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2591
2592 * progmodes/python.el (defconst, python-syntax-count-quotes)
2593 (python-indent-region, python-indent-shift-right)
2594 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2595 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2596 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2597 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2598 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2599 (python-shell-buffer-substring, python-shell-send-buffer)
2600 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2601 (python-completion-complete-at-point, python-fill-docstring-style)
2602 (python-eldoc-function, python-imenu-format-item-label)
2603 (python-imenu-format-parent-item-label)
2604 (python-imenu-format-parent-item-jump-label)
2605 (python-imenu--build-tree, python-imenu-create-index)
2606 (python-imenu-create-flat-index): Fix docstring typos.
2607 (python-indent-context, python-shell-prompt-regexp, run-python):
2608 Remove superfluous backslashes.
2609 (python-indent-line, python-nav-beginning-of-defun)
2610 (python-shell-get-buffer, python-shell-get-process)
2611 (python-info-current-defun, python-info-current-line-comment-p)
2612 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2613 (python-indent-post-self-insert-function, python-shell-send-file)
2614 (python-shell-completion-get-completions)
2615 (python-shell-completion-complete-or-indent)
2616 (python-eldoc--get-doc-at-point): Reflow docstrings.
2617
2618 2014-03-14 Glenn Morris <rgm@gnu.org>
2619
2620 * emacs-lisp/package.el (package-menu-mode-map):
2621 Replace use of obsolete function alias. Tweak menu item text.
2622
2623 * info.el (Info-finder-find-node):
2624 Ignore the `emacs' metapackage. (Bug#10813)
2625
2626 * finder.el (finder-list-matches): Include unversioned packages
2627 in the result of a keyword search.
2628
2629 * finder.el (finder--builtins-descriptions): New constant.
2630 (finder-compile-keywords): Use finder--builtins-descriptions.
2631
2632 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2633
2634 * simple.el (blink-matching-paren): Describe the new value,
2635 `jump', enabling the old behavior.
2636 (blink-matching-open): Use that value. (Bug#17008)
2637
2638 2014-03-14 Glenn Morris <rgm@gnu.org>
2639
2640 * finder.el (finder-no-scan-regexp): Add leim-list.
2641 (finder-compile-keywords):
2642 Don't skip files with same basename. (Bug#14010)
2643 * Makefile.in (setwins_finder): New, excluding leim.
2644 (finder-data): Use setwins_finder.
2645
2646 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2647 (help-function-arglist, help-make-usage): Move from here...
2648 * help.el (help-split-fundoc, help-add-fundoc-usage)
2649 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2650 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2651
2652 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2653
2654 * net/socks.el (socks, socks-override-functions)
2655 (socks-find-services-entry):
2656 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2657 (hif-find-ifdef-block):
2658 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2659
2660 * net/tls.el (tls-program): Reflow docstring.
2661
2662 * progmodes/pascal.el (pascal-mode-abbrev-table)
2663 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2664 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2665 (pascal-outline-mode): Fix docstring typos.
2666 (pascal-mode): Let define-derived-mode document mode hook.
2667 (pascal-uncomment-area): Reflow.
2668 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2669
2670 * progmodes/opascal.el (opascal-compound-block-indent)
2671 (opascal-case-label-indent): Fix docstring typos.
2672 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2673
2674 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2675
2676 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2677 Fontify multiple adjacent negation chars. (Bug#17004)
2678
2679 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2680
2681 * emacs-lisp/package.el (package--prepare-dependencies):
2682 Accept requirements without explicit version (bug#14941).
2683
2684 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2685
2686 * register.el (register-separator, copy-to-register): Doc fixes.
2687 (register-preview-default): Remove unnecessary call to concat.
2688
2689 * frameset.el (frameset-restore): When checking for a visible frame,
2690 use the action map instead of calling visible-frame-list.
2691
2692 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2693
2694 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2695
2696 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2697
2698 * window.el (fit-frame-to-buffer): Get maximum width from
2699 display's width instead of height.
2700
2701 2014-03-12 Glenn Morris <rgm@gnu.org>
2702
2703 * desktop.el (desktop-restore-frames)
2704 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2705 (desktop-restore-reuses-frames): Doc tweaks.
2706
2707 * electric.el (electric-indent-mode): Doc fix.
2708
2709 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2710
2711 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2712 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2713 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2714 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2715 (cvs-dired-use-hook): Fix docstring typos.
2716 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2717 Doc fixes.
2718
2719 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2720 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2721 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2722 (cvs-execute-single-dir): Fix docstring typos.
2723
2724 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2725 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2726
2727 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2728
2729 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2730 Fix docstring typos.
2731
2732 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2733
2734 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2735 called from jump-to-register after unloading the frameset package.
2736
2737 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2740 (bug#16975). Deactivate the mark before setting it to nil.
2741 (activate-mark): Do nothing if region is already active.
2742
2743 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * frameset.el (frameset--target-display): Remove definition; declare.
2746 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2747
2748 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2751 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2752 when the advice is pending.
2753 (advice-remove): Remove this marker when not needed any more.
2754
2755 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2756
2757 * frameset.el: Separate options for reusing frames and cleaning up.
2758 (frameset--reuse-list): Remove definition; declare.
2759 (frameset--action-map): Declare.
2760 (frameset--find-frame-if): Doc fix.
2761 (frameset--restore-frame): Cache frame action.
2762 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2763 how to clean up the frame list after restoring. Remove cleaning
2764 options from REUSE-FRAMES. Change all keyword values to symbols.
2765 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2766
2767 * desktop.el (desktop-restore-forces-onscreen)
2768 (desktop-restore-reuses-frames): Use non-keyword values.
2769 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2770
2771 2014-03-10 Glenn Morris <rgm@gnu.org>
2772
2773 * files.el (find-file): Doc fix: update info node name.
2774
2775 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2776 Doc fix: remove references to deleted info nodes.
2777
2778 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2781 Do not add `nil' to the environment, when there's no remote `locale'.
2782 (tramp-find-inline-encoding): Check, that the remote host has
2783 installed perl, before sending scripts.
2784
2785 2014-03-10 Leo Liu <sdl.web@gmail.com>
2786
2787 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2788 Clear eldoc-last-message. (Bug#16920)
2789
2790 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2793 (bug#14430).
2794
2795 2014-03-09 Juri Linkov <juri@jurta.org>
2796
2797 * ansi-color.el (ansi-color-names-vector): Copy default colors
2798 from `xterm-standard-colors' that look well on the default white
2799 background (and also on the black background) to avoid illegible
2800 color combinations like yellow-on-white and white-on-white.
2801 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2802
2803 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * frameset.el (frameset-restore): When no frame is visible, do not
2806 generate a list of frames, just make visible the selected one.
2807
2808 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2809
2810 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2811 it only contains the repository root. (Bug#16897)
2812
2813 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2814
2815 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2816 only when `remote-file-name-inhibit-cache' is nil.
2817 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2818
2819 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2820
2821 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2822 Fix doc-strings.
2823 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2824 fit-frame-to-buffer variable. Fix doc-string.
2825 (fit-window-to-buffer): Set ONLY argument in call of
2826 fit-frame-to-buffer. Fix doc-string.
2827
2828 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2829
2830 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2831 (tramp-action-password): Clear password cache if needed.
2832 (tramp-read-passwd): Do not clear password cache.
2833
2834 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2835 cache unless it is the first password request.
2836
2837 2014-03-06 Glenn Morris <rgm@gnu.org>
2838
2839 * simple.el (newline): Doc tweak.
2840
2841 * emacs-lisp/shadow.el (load-path-shadows-find):
2842 Ignore dir-locals. (Bug#12357)
2843
2844 2014-03-05 Glenn Morris <rgm@gnu.org>
2845
2846 * files.el (interpreter-mode-alist):
2847 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2848
2849 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * frameset.el (frameset--initial-params): Filter out null entries.
2852
2853 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2854
2855 * window.el (window-min-height, window-min-width):
2856 Rewrite doc-strings.
2857 (window-body-size): Add PIXELWISE argument to make it consistent
2858 with its callees.
2859
2860 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2861
2862 * finder.el (finder-mode-map, finder-mode-syntax-table):
2863 Revert part of 2014-02-28 change.
2864
2865 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2866
2867 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2868 (eww-setup-buffer): Clear next/prev/etc more reliably.
2869 (eww-textarea-map): [tab] doesn't work on tty.
2870 Reported by Mario Lang.
2871
2872 * net/shr.el (shr-map): Ditto.
2873
2874 2014-03-04 Glenn Morris <rgm@gnu.org>
2875
2876 * minibuffer.el (completion-hilit-commonality):
2877 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2878
2879 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2880
2881 * hilit-chg.el (hilit-chg-unload-function): New function.
2882 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2883 (hilit-chg-map-changes): Prefer cardinal number to digit.
2884 (hilit-chg-display-changes): Reflow docstring.
2885 (highlight-changes-rotate-faces): Remove superfluous backslash.
2886
2887 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2888
2889 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2890 `tramp-send-command-and-check'.
2891
2892 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2893
2894 * hexl.el (hexl-address-region, hexl-ascii-region)
2895 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2896 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2897 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2898 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2899 (hexl-mode): Doc fix.
2900 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2901 (hexl-mode-ruler): Fix typos in docstrings.
2902
2903 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2904 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2905 Remove superfluous backslashes.
2906 (strokes-last-stroke, strokes-global-map, strokes-mode):
2907 Reflow docstrings.
2908 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2909 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2910 (strokes-distance-squared, strokes-global-set-stroke)
2911 (strokes-global-set-stroke-string): Doc fixes.
2912 (strokes-help): Fix typos; reflow docstring.
2913
2914 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2915
2916 * window.el (window-in-direction): Fix doc-string.
2917
2918 2014-03-04 Glenn Morris <rgm@gnu.org>
2919
2920 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2921 Explicit error if no grammar.
2922 (smie-config-save): Doc fix. Fix quote typo.
2923
2924 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2927 electric-indent-mode-hook if we obey electric-indent-mode.
2928 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2929 decide whether we obey electric-indent-mode.
2930 (c-change-set-fl-decl-start, c-extend-after-change-region):
2931 Silence warnings.
2932 (c-electric-indent-mode-hook): Assume we do want to obey
2933 electric-indent-mode.
2934
2935 * electric.el (electric-indent-mode-has-been-called): Remove.
2936 (electric-indent-mode): Fix accordingly.
2937
2938 * files.el (hack-local-variables): Mention file name in warning.
2939
2940 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2941
2942 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2943
2944 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2945 * simple.el (delete-forward-char): Mark as interactive-only.
2946
2947 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2948
2949 * icomplete.el (icomplete-completions):
2950 Follow-up to 2014-03-01 change.
2951
2952 * icomplete.el: Miscellaneous doc fixes.
2953 Use Icomplete everywhere instead of icomplete for consistency.
2954 (icomplete-max-delay-chars): Fix typo.
2955 (icomplete-mode): Use \[].
2956 (icomplete-tidy, icomplete-exhibit): Reflow.
2957 (icomplete-minibuffer-setup-hook, icomplete-completions):
2958 Remove superfluous backlashes.
2959
2960 * ido.el: Miscellaneous doc fixes.
2961 Use Ido everywhere instead of ido or `ido' for consistency.
2962 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2963 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2964 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2965 (ido-separator): Extract obsolescence info from docstring and declare
2966 with make-obsolete-variable.
2967 (ido-minibuffer-setup-hook): Simplify example.
2968 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2969 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2970 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2971 (ido-everywhere): Reflow docstring.
2972 (ido-toggle-vc): Doc fix.
2973 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2974 of long list of keybindings.
2975
2976 2014-03-03 Glenn Morris <rgm@gnu.org>
2977
2978 * frame.el (display-pixel-height, display-pixel-width)
2979 (display-mm-dimensions-alist, display-mm-height)
2980 (display-mm-width): Doc tweaks.
2981
2982 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2983
2984 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2985 case of undo in region.
2986
2987 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2988
2989 * window.el (fit-window-to-buffer): Fix argument in window-size
2990 call when window is horizontally combined.
2991
2992 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2993
2994 * icomplete.el (icomplete-completions): Use string-width.
2995 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2996
2997 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2998
2999 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3000 Highlight regexp options. (Bug#16914)
3001
3002 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3003
3004 * window.el (window--max-delta-1): Round down when calculating
3005 how many lines/columns we can get from a window.
3006
3007 2014-03-01 Glenn Morris <rgm@gnu.org>
3008
3009 * isearch.el (search-invisible): Doc fix.
3010
3011 * minibuffer.el (completion-hilit-commonality):
3012 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3013 * comint.el (comint-dynamic-list-completions): Doc fix.
3014 * comint.el (comint-dynamic-list-completions):
3015 * filecache.el (file-cache-minibuffer-complete):
3016 * tempo.el (tempo-display-completions):
3017 * eshell/em-hist.el (eshell-list-history):
3018 Replace use of obsolete argument of display-completion-list.
3019
3020 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3021
3022 * icomplete.el (icomplete-completions):
3023 Revert back to using "..." when ?… cannot be displayed.
3024
3025 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3026
3027 * finder.el (finder-unload-function): New function.
3028
3029 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3030
3031 * dframe.el (dframe-detach):
3032 * find-dired.el (find-dired, find-name-dired):
3033 * finder.el (finder-mode-map, finder-mode-syntax-table)
3034 (finder-headmark, finder-select, finder-mouse-select):
3035 Fix docstring typos.
3036
3037 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3038
3039 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3040 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3041 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3042 Fix doc-string based on a suggestion by Nicolas Richard
3043 <theonewiththeevillook@yahoo.fr>.
3044 * help.el (with-help-window): Fix doc-string.
3045
3046 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3047
3048 * net/shr.el (shr-image-animate): New option.
3049 (shr-put-image): Respect shr-image-animate.
3050
3051 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * net/tramp-adb.el (tramp-adb-parse-device-names):
3054 Use `accept-process-output'.
3055 (tramp-adb-handle-file-truename): Cache the localname only.
3056 (tramp-adb-handle-make-directory)
3057 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3058 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3059 modes cannot be changed.
3060
3061 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3062 file properties of symlinks.
3063
3064 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3065
3066 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3067 required/optional fields to match development biblatex. (Bug#16781)
3068
3069 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3070
3071 * saveplace.el (toggle-save-place):
3072 Fix argument handling. (Bug#16673)
3073
3074 2014-02-28 Glenn Morris <rgm@gnu.org>
3075
3076 * minibuffer.el (completions-first-difference)
3077 (completions-common-part, completion-hilit-commonality): Doc fixes.
3078
3079 2014-02-28 Karl Berry <karl@gnu.org>
3080
3081 * info.el (Info-mode-map): Add H for describe-mode,
3082 to synchronize with standalone Info.
3083
3084 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3085
3086 * progmodes/sql.el (sql-interactive-mode):
3087 Avoid setting global comint-input-ring-separator. (Bug#16814)
3088
3089 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3090
3091 * net/dbus.el (dbus--init-bus): Declare function.
3092 (dbus-path-local, dbus-interface-local): New defconst.
3093 (dbus-init-bus): Use them.
3094 (dbus-return-values-table): Extend doc.
3095 (dbus-handle-bus-disconnect): Extend error message.
3096
3097 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3098
3099 * subr.el (y-or-n-p): Fix double space issue in message.
3100
3101 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3102
3103 * net/tramp.el (tramp-call-process): Improve trace message.
3104 (tramp-handle-insert-file-contents): Trace error case.
3105
3106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3107 <insert-directory>: Use `tramp-handle-insert-directory'.
3108 (tramp-adb-handle-insert-directory): Remove function.
3109 (tramp-adb-send-command-and-check): New defun, replacing
3110 `tramp-adb-command-exit-status'. Change all callees.
3111 (tramp-adb-handle-file-attributes)
3112 (tramp-adb-handle-directory-files-and-attributes): Use it.
3113 (tramp-adb-ls-output-name-less-p):
3114 Use `directory-listing-before-filename-regexp'.
3115 (tramp-adb-handle-delete-directory): Flush also file properties of
3116 the truename of directory.
3117 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3118 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3119 (tramp-adb-handle-write-region): Implement APPEND.
3120 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3121 properties correctly.
3122 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3123 variables. Check for connected devices only when needed.
3124
3125 2014-02-27 Glenn Morris <rgm@gnu.org>
3126
3127 * minibuffer.el (completion-table-dynamic)
3128 (completion-table-with-cache): Doc fixes.
3129
3130 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3131 (completing-read-multiple): Doc fixes.
3132
3133 2014-02-27 Daniel Colascione <dancol@dancol.org>
3134
3135 * minibuffer.el (completion--nth-completion): Fix indentation.
3136
3137 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3138 explicit tramp path is empty.
3139
3140 2014-02-27 Glenn Morris <rgm@gnu.org>
3141
3142 * emacs-lisp/crm.el (completing-read-multiple):
3143 Empower help-enable-auto-load.
3144
3145 2014-02-26 Glenn Morris <rgm@gnu.org>
3146
3147 * startup.el (command-line): Don't init the tty in daemon mode.
3148
3149 Avoid calling tty-setup-hook twice, eg if a term file
3150 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3151 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3152 (tty-create-frame-with-faces): Use it.
3153 * startup.el (command-line): Pass run-hook argument
3154 to tty-run-terminal-initialization.
3155
3156 * dired.el (dired-restore-desktop-buffer): Demote errors;
3157 eg in case a glob match fails. (Bug#16884)
3158
3159 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3160
3161 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3162 error from `read-from-string'. (Bug#16850)
3163
3164 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3165 result of `completing-read' in the interactive form. (Bug#16854)
3166
3167 2014-02-25 Glenn Morris <rgm@gnu.org>
3168
3169 * image.el (image-animate, image-animate-timeout):
3170 Stop animating images in dead buffers. (Bug#16878)
3171
3172 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3173
3174 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3175 Doc fixes.
3176 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3177 * term/sun.el (sun-raw-prefix-hooks):
3178 Use tty-setup-hook instead of term-setup-hook.
3179 (terminal-init-sun): Construct message from bytecomp plist.
3180 * term/wyse50.el (enable-arrow-keys): Doc fix.
3181
3182 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3185 Fix docstring typos.
3186
3187 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3188
3189 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3190
3191 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3192
3193 * minibuffer.el (completion--try-word-completion):
3194 Fix error when completing M-x commands (bug#16808).
3195
3196 2014-02-24 Leo Liu <sdl.web@gmail.com>
3197
3198 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3199
3200 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3201
3202 * apropos.el (apropos-print): Avoid formatting error when
3203 apropos-do-all and apropos-compact-layout are both t.
3204
3205 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3206
3207 * apropos.el (apropos-property, apropos-all-words-regexp)
3208 (apropos-true-hit, apropos-variable, apropos-print):
3209 Fix docstring typos, and remove obsolete comment.
3210
3211 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3212
3213 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3214 Preserve trailing "/". (Bug#16851)
3215
3216 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3217
3218 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3219 after `=>' (bug#16811).
3220 (ruby-smie-rules): Handle the inconsistent second element of the
3221 list returned by `smie-indent--parent'.
3222 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3223 method call.
3224
3225 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3226
3227 * elec-pair.el (electric-pair-text-syntax-table)
3228 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3229 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3230 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3231 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3232
3233 2014-02-22 Glenn Morris <rgm@gnu.org>
3234
3235 * imenu.el (imenu--generic-function): Doc fix.
3236
3237 * register.el (frame-configuration-to-register): Make obsolete.
3238
3239 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * desktop.el (desktop-save-buffer-p): Do not fail when
3242 desktop-files-not-to-save is nil. Return t for true result
3243 as the doc says.
3244
3245 2014-02-22 Daniel Colascione <dancol@dancol.org>
3246
3247 * net/secrets.el (secrets-create-item, secrets-search-items):
3248 Check that attribute values are strings, avoiding the construction
3249 of invalid dbus messages.
3250
3251 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3252
3253 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3254 defun-declarations-alist.
3255
3256 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3259 (bug#16829).
3260
3261 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3262
3263 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3264 (whitespace-newline, whitespace-trailing, whitespace-line)
3265 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3266 (whitespace-space-after-tab): Fix typo in docstrings.
3267
3268 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3269
3270 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3271
3272 * electric.el (electric-indent-functions-without-reindent):
3273 Add `yaml-indent-line'.
3274
3275 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3276
3277 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3278 It has done nothing for years; should be removed after the release.
3279
3280 * simple.el (choose-completion): Fix docstring typo.
3281 (read-quoted-char-radix): Remove unneeded * in docstring.
3282 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3283 Don't escape parentheses unnecessarily in docstrings.
3284
3285 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3286
3287 Fix handling of window-min-height/-width (Bug#16738).
3288 * window.el (window--dump-window, window--dump-frame):
3289 New functions.
3290 (window--min-size-1): Account for window dividers.
3291 When window-resize-pixelwise is nil, delay rounding till after the
3292 sum of the window components has been calculated.
3293 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3294 nil make sure at least one text line and two text columns remain
3295 fully visible.
3296 (window-resize): Signal an error when window-resize-apply fails.
3297 (window--resize-child-windows): Fix calculation of by how many
3298 pixels a window can still be shrunk via window-new-normal.
3299 (adjust-window-trailing-edge): Call window--resizable with
3300 correct TRAIL argument.
3301
3302 (with-temp-buffer-window): Don't evaluate BODY within
3303 with-current-buffer (Bug#16816).
3304
3305 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp.el (tramp-check-cached-permissions):
3308 Call `file-attributes' with `suffix' being a symbol but a string.
3309
3310 2014-02-21 Daniel Colascione <dancol@dancol.org>
3311
3312 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3313 (dbus-init-bus): New function: call into dbus-init-bus-1
3314 and installs a handler for the disconnect signal.
3315 (dbus-call-method): Rewrite to look for result in cons.
3316 (dbus-call-method-handler): Store result in cons.
3317 (dbus-check-event): Recognize events with nil sender as valid.
3318 (dbus-handle-bus-disconnect): New function. React to bus
3319 disconnection signal by synthesizing dbus error for each
3320 pending synchronous or asynchronous call.
3321 (dbus-notice-synchronous-call-errors): New function.
3322 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3323 is true, not all the time.
3324
3325 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3326
3327 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3328 Remove obsolescence declarations, these variables do not exist anymore.
3329
3330 * savehist.el (savehist-save-minibuffer-history)
3331 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3332 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3333 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3334 mostly, refer to "Savehist mode" when talking about the mode,
3335 and not the function.
3336
3337 * saveplace.el (save-place): Remove redundant info in docstring.
3338 (save-place-forget-unreadable-files, toggle-save-place)
3339 (save-place-forget-unreadable-files, save-place-dired-hook):
3340 Fix typos and remove unneeded backslashes.
3341
3342 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3343
3344 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3345 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3346
3347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3348 <insert-directory>: Use `tramp-handle-insert-directory'.
3349 (tramp-gvfs-handle-insert-directory): Remove function.
3350
3351 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3352 Call `tramp-handle-insert-directory'.
3353
3354 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3355
3356 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3357 before the start of buffer/region (bug#16799).
3358
3359 2014-02-20 Glenn Morris <rgm@gnu.org>
3360
3361 * isearch.el (search-invisible): Doc fix.
3362
3363 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3364
3365 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3366 (bug#16657).
3367
3368 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3369
3370 * frameset.el (frameset-restore): Delay removing an old frame's
3371 duplicate id until the new frame has been correctly created.
3372
3373 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3374
3375 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3376 (tramp-check-cached-permissions): Call `file-attributes' if the
3377 cache is empty.
3378
3379 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3380 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3381
3382 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3383 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3384 (tramp-gvfs-maybe-open-connection): Set always connection
3385 properties, even if target is mounted already.
3386
3387 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3388 Set tramp-autoload cookie.
3389 (tramp-get-remote-touch): New defun.
3390 (tramp-sh-handle-set-file-times): Use it.
3391 (tramp-sh-handle-directory-files-and-attributes):
3392 Use `tramp-handle-directory-files-and-attributes' if neither stat
3393 nor perl are available on the remote host.
3394
3395 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3396 "/". Write long listing only when "l" belongs to the switches.
3397
3398 * net/trampver.el: Update release number.
3399
3400 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3401
3402 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3403
3404 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3405
3406 * window.el (window-state-put): Allow WINDOW to refer to an
3407 internal window (Bug#16793).
3408
3409 2014-02-19 Glenn Morris <rgm@gnu.org>
3410
3411 * textmodes/remember.el: Move provide statement to end.
3412 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3413 (remember-notes): Doc fixes.
3414
3415 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * delsel.el (delete-char): Restore incorrectly erased property
3418 (bug#16795).
3419
3420 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3421
3422 * frameset.el (frameset--restore-frame): When a frame is being reused
3423 and its root window is not alive, delete all the frame's windows before
3424 restoring the window state. This works around the issue in bug#16793.
3425
3426 2014-02-18 Glenn Morris <rgm@gnu.org>
3427
3428 * textmodes/remember.el (remember-data-directory)
3429 (remember-directory-file-name-format, remember-store-in-files)
3430 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3431 (remember-notes-save-and-bury-buffer)
3432 (remember-notes--kill-buffer-query): Doc fixes.
3433
3434 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3435
3436 2014-02-17 Alan Mackenzie <acm@muc.de>
3437
3438 Connect electric-indent-mode up with CC Mode. Bug #15478.
3439 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3440 to electric-indent-{,local-}-mode.
3441 (c-basic-common-init): Set electric-indent-inhibit.
3442 Initialise c-electric-flag from electric-indent-mode.
3443 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3444 New hook functions which propagate electric-indent-mode to CC mode.
3445
3446 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3447 hit, toggle electric-indent-local-mode.
3448
3449 * electric.el (electric-indent-mode-has-been-called):
3450 New variable.
3451
3452 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3453
3454 * frameset.el (frameset-cfg-id): New function.
3455 (frameset--reuse-frame, frameset-restore): Use it.
3456 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3457
3458 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * ido.el (ido-file-internal): Remove unused var `d'.
3461 Use \` for to match BoS. Fit within 80n columns.
3462
3463 2014-02-17 Daniel Colascione <dancol@dancol.org>
3464
3465 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3466 dbus-call-method check for completion using a busy-wait loop with
3467 gradual backoff.
3468
3469 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3470
3471 Sync with Tramp 2.2.9.
3472
3473 * net/trampver.el: Update release number.
3474
3475 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3476
3477 * ido.el (ido-file-internal): Don't add the name of an existing
3478 directory twice. (Bug#16747)
3479
3480 2014-02-16 Glenn Morris <rgm@gnu.org>
3481
3482 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3483 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3484
3485 2014-02-15 Michael R. Mauger <michael@mauger.com>
3486
3487 * progmodes/sql.el: Version 3.4
3488 (sql-oracle-options): New default value ("-L").
3489 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3490 (sql-placeholders-filter): Correct placeholder pattern.
3491 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3492 (sql-login-delay): New variable.
3493 (sql-product-interactive): Use it.
3494
3495 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3496
3497 * frameset.el (frameset--jump-to-register): Check that buffer is live
3498 (bug#16749).
3499
3500 2014-02-15 Glenn Morris <rgm@gnu.org>
3501
3502 * info.el (info-initialize): Revert 2014-01-10 change.
3503
3504 2014-02-14 Glenn Morris <rgm@gnu.org>
3505
3506 * replace.el (map-query-replace-regexp)
3507 (read-regexp-defaults-function, read-regexp): Doc fixes.
3508
3509 * dired.el (dired-read-regexp):
3510 * faces.el (list-faces-display):
3511 * misearch.el (multi-isearch-read-matching-buffers)
3512 (multi-isearch-read-matching-files):
3513 * play/cookie1.el (cookie-apropos):
3514 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3515
3516 * textmodes/remember.el (remember): Use frameset-to-register
3517 rather than frame-configuration-to-register.
3518
3519 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3520
3521 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3522 incorrect keybinding.
3523
3524 2014-02-13 Daniel Colascione <dancol@dancol.org>
3525
3526 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3527 when adding overlays so that line numbers from compiler match line
3528 numbers we use.
3529
3530 2014-02-13 Glenn Morris <rgm@gnu.org>
3531
3532 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3533
3534 * jit-lock.el (jit-lock-mode): Doc fix.
3535
3536 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3537
3538 * apropos.el (apropos-read-pattern): When the user passes an empty
3539 string, give a more helpful error message than "Wrong type
3540 argument: stringp, nil".
3541
3542 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3543
3544 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3545
3546 2014-02-13 Glenn Morris <rgm@gnu.org>
3547
3548 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3549
3550 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3553 shift-select commands.
3554
3555 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3556
3557 * progmodes/js.el (js-indent-line): Don't widen.
3558 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3559
3560 2014-02-12 Glenn Morris <rgm@gnu.org>
3561
3562 * icomplete.el (icomplete): Add info-link to defgroup.
3563 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3564 (icomplete-minibuffer-map, icomplete-mode)
3565 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3566
3567 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3568 (package-menu-filter): Rename from package-menu-filter-interactive.
3569 Doc fix.
3570
3571 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3572
3573 * frameset.el (frameset--jump-to-register): Select the required
3574 window and buffer before restoring position (bug#16696).
3575
3576 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3577
3578 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3579
3580 2014-02-10 Glenn Morris <rgm@gnu.org>
3581
3582 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3583
3584 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3585
3586 * w32-common-fns.el (x-get-selection): Doc fix.
3587 * select.el (x-get-selection): Doc fix. (Bug#15109)
3588
3589 * face-remap.el (face-remap-add-relative)
3590 (face-remap-remove-relative, face-remap-reset-base)
3591 (face-remap-set-base): Call force-mode-line-update to redisplay
3592 the current buffer due to potential change in faces. (Bug#16709)
3593
3594 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3595
3596 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3597 script more robustly.
3598
3599 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3600
3601 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3602
3603 * simple.el (choose-completion): Doc fix (bug#14160).
3604
3605 * subr.el (event-start): Say what a nil EVENT value means.
3606
3607 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3608 (bug#14197).
3609
3610 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3611
3612 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3613
3614 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3615
3616 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3617 predicate function (bug#15455).
3618
3619 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3620
3621 * ielm.el (inferior-emacs-lisp-mode): Instead of
3622 `comment-use-global-state', set `comment-use-syntax'.
3623
3624 2014-02-10 Glenn Morris <rgm@gnu.org>
3625
3626 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3627
3628 2014-02-09 Alan Mackenzie <acm@muc.de>
3629
3630 Fix c-invalidate-state-cache on narrowed buffers.
3631 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3632 Widen when setting and clearing the CPP delimiter properties.
3633
3634 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3635
3636 * help.el (describe-bindings): Doc fix (bug#9888).
3637
3638 * files.el (save-buffer): Use ARG as the parameter name for
3639 consistency (bug#10346).
3640 (save-buffer): Clarify the 0 argument (bug#10346).
3641
3642 * cus-edit.el (customize-apropos): Fix error string.
3643 (custom-buffer-create): Doc fix (bug#11122).
3644 (custom-sort-items): Doc fix (bug#11121).
3645
3646 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3647
3648 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3649 (icomplete-simple-completing-p): Mention the previous variable.
3650
3651 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3652 meaning of the parameter (bug#12282).
3653
3654 * files.el (find-file-noselect): Clarify prompt when changing
3655 readedness (bug#13261).
3656 (locate-file): Suffixes aren't returned, so don't say that they
3657 are (bug#12674).
3658 (backup-inhibited): Doc clarification (bug#12525).
3659
3660 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3661 before we actually start to delete things (bug#16331).
3662
3663 * subr.el (event-start): Doc fix (bug#14228).
3664 (event-end): Ditto.
3665
3666 2014-02-09 Glenn Morris <rgm@gnu.org>
3667
3668 * emacs-lisp/warnings.el (lwarn):
3669 Empower help-enable-auto-load. (Bug#15940)
3670
3671 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3672
3673 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3674 (Bug#16690)
3675
3676 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3677
3678 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3679 Insert output at end of buffer. (Bug#16120)
3680
3681 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3682
3683 * simple.el (choose-completion-string-functions): Document new
3684 calling convention (bug#14153).
3685 (execute-extended-command): Clarify doc string (bug#13373).
3686
3687 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3688
3689 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3690 (find-grep-dired): Doc fix (bug#14288).
3691
3692 2014-02-08 Juri Linkov <juri@jurta.org>
3693
3694 * isearch.el (isearch-quote-char): Check character validity
3695 like in `quoted-insert' (bug#16677).
3696
3697 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3698
3699 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3700
3701 * isearch.el (isearch-hide-immediately): Doc clarification
3702 (bug#14723).
3703
3704 * simple.el (line-move): Document utility function used many
3705 places in the Emacs sources (bug#14843).
3706
3707 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3708 (dired-prev-marked-file): Doc fix (bug#14855).
3709 (dired-up-directory): Doc fix (bug#14848).
3710
3711 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3712
3713 * files.el (file-relative-name): Doc fix (bug#15159).
3714
3715 * fringe.el (fringe-styles): Doc fix (bug#15239).
3716
3717 * isearch.el (isearch-filter-predicate): Documentation typo fix
3718 (bug#15474).
3719
3720 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3721
3722 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3723
3724 * replace.el (replace-match-maybe-edit): Doc clarification
3725 (bug#15632).
3726
3727 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3728
3729 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3730
3731 2014-02-08 Glenn Morris <rgm@gnu.org>
3732
3733 * help-fns.el (describe-variable):
3734 Check {file,dir}-local-variables-alist, and buffer-file-name,
3735 in the correct buffer.
3736
3737 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3738
3739 * help-fns.el (describe-variable): Fix the case where
3740 a value is directory-local with no dir-locals file. (Bug#16635)
3741
3742 2014-02-08 Glenn Morris <rgm@gnu.org>
3743
3744 * abbrev.el (edit-abbrevs-mode):
3745 Derive from fundamental-mode. (Bug#16682)
3746
3747 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3748
3749 * simple.el (quoted-insert): Check character validity (bug#16677).
3750
3751 2014-02-07 Juri Linkov <juri@jurta.org>
3752
3753 * desktop.el (desktop-read): Claim the lock when the owner is not
3754 the current process. (Bug#16157)
3755
3756 2014-02-07 Juri Linkov <juri@jurta.org>
3757
3758 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3759 to "\\` ". (Bug#16651)
3760
3761 2014-02-07 Juri Linkov <juri@jurta.org>
3762
3763 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3764 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3765 (desktop-auto-save-cancel-timer): New function with some code from
3766 `desktop-auto-save-set-timer'.
3767 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3768 Instead of setting `desktop-save-mode' to nil, call
3769 `desktop-save-mode' with arg 0. (Bug#16630)
3770
3771 2014-02-07 Glenn Morris <rgm@gnu.org>
3772
3773 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3774 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3775 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3776
3777 * obsolete/iswitchb.el: Move to obsolete/.
3778 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3779 since obsolete/ is not scanned for autoloads.
3780 * emacs-lisp/authors.el (authors-valid-file-names):
3781 Add iswitchb.el.
3782
3783 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3784 Disable now non-functional find-file-hook.
3785
3786 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3787
3788 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3789 instead of ";" in order to avoid additional prompts. Let heredoc
3790 scripts read from tty. (Bug#16582)
3791 (tramp-send-command): No special handling of heredocs, it isn't
3792 necessary anymore.
3793
3794 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3797 with a space (bug#16664). Limit the symbols considered to the ones
3798 that are bound or fbound (bug#16646).
3799
3800 2014-02-06 Glenn Morris <rgm@gnu.org>
3801
3802 * epa.el (epa-mail-aliases): Doc fix.
3803
3804 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3805
3806 * emacs-lisp/lisp.el (lisp-completion-at-point):
3807 Use `completion-table-merge' instead of `completion-table-in-turn'
3808 (bug#16604).
3809
3810 * minibuffer.el (completion-table-merge): New function.
3811
3812 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3815 (tramp-sh-handle-set-file-acl)
3816 (tramp-sh-handle-start-file-process)
3817 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3818 (tramp-find-executable, tramp-send-command): Use it.
3819
3820 2014-02-05 Glenn Morris <rgm@gnu.org>
3821
3822 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3823
3824 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3825
3826 * progmodes/python.el (python-shell-send-string)
3827 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3828
3829 2014-02-04 Anders Lindgren <andlind@gmail.com>
3830
3831 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3832 the names (bug#16620).
3833
3834 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3835
3836 * faces.el (window-divider): New default value. Rewrite doc-string.
3837 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3838
3839 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3840
3841 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3842 `protected' and `public' can also be called without arguments.
3843
3844 2014-02-03 Glenn Morris <rgm@gnu.org>
3845
3846 * register.el (window-configuration-to-register)
3847 (frame-configuration-to-register): Unadvertise unused argument.
3848 * frameset.el (frameset-to-register): Remove unused argument.
3849
3850 * frameset.el (frameset-to-register):
3851 * kmacro.el (kmacro-to-register):
3852 * register.el (increment-register):
3853 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3854 (calc-append-to-register, calc-prepend-to-register):
3855 * play/gametree.el (gametree-layout-to-register)
3856 (gametree-apply-register-layout):
3857 * textmodes/picture.el (picture-clear-rectangle-to-register)
3858 (picture-yank-rectangle-from-register):
3859 * vc/emerge.el (emerge-combine-versions-register):
3860 Use register-read-with-preview to read registers.
3861
3862 2014-02-03 João Távora <joaotavora@gmail.com>
3863
3864 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3865 when at beginning of (possibly narrowed) buffer.
3866
3867 2014-02-02 Daniel Colascione <dancol@dancol.org>
3868
3869 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3870 Also try to display local help from just before point.
3871
3872 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3873
3874 c-parse-state. Don't "append-lower-brace-pair" in certain
3875 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3876 recognised as a comment.
3877
3878 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3879 as well as normal comment starter.
3880 (c-parse-state-get-strategy): Extra return possibility
3881 'back-and-forward.
3882 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3883 return value list to indicate replacement of a brace-pair cons
3884 with its car.
3885 (c-parse-state-1): With 'back-and-forward, only call
3886 c-append-lower-brace-pair-to state-cache when cons-separated.
3887
3888 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3889
3890 * term/ns-win.el (ns-suspend-error): New function.
3891 (ns-initialize-window-system): Add ns-suspend-error to
3892 suspend-hook (Bug#16612).
3893
3894 2014-02-02 Daniel Colascione <dancol@dancol.org>
3895
3896 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3897 Make loading cc-mode silent.
3898
3899 2014-02-02 Daniel Colascione <dancol@dancol.org>
3900
3901 * comint.el (comint-prompt-read-only): Change doc to suggest
3902 remap keybinding.
3903
3904 2014-02-02 Glenn Morris <rgm@gnu.org>
3905
3906 * register.el (register-read-with-preview, point-to-register)
3907 (window-configuration-to-register, frame-configuration-to-register)
3908 (jump-to-register, number-to-register, view-register, insert-register)
3909 (copy-to-register, append-to-register, prepend-to-register)
3910 (copy-rectangle-to-register): Doc fixes.
3911
3912 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3915 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3916 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3917 * help-fns.el (describe-function-1): Use it.
3918
3919 2014-02-02 Glenn Morris <rgm@gnu.org>
3920
3921 * register.el (register-preview-default): New function,
3922 split from register-preview.
3923 (register-preview-function): Rename from register-preview-functions,
3924 make it not a hook.
3925 (register-preview): Use register-preview-function.
3926 (register-read-with-preview): Error on non-character event. (Bug#16595)
3927
3928 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3929
3930 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3931 `:' before binary operators (bug#16609). Don't check for `:'
3932 before `[' and `(', or their syntax status. A percent literal
3933 can't end with either.
3934 (ruby-font-lock-keywords): For built-ins that require arguments,
3935 check that they're followed by something that looks like argument
3936 (bug#16610).
3937
3938 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3939
3940 * subr.el (butlast): Document what an omitted N means (bug#13437).
3941 (nbutlast): Ditto.
3942
3943 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3944
3945 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3946 depth shallower (bug#16587).
3947 (shr-tag-svg): Respect `shr-inhibit-images'.
3948 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3949
3950 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3951
3952 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3953 (ruby-smie-grammar): Make "." right-associative. Make its priority
3954 lower than the ternary and all binary operators.
3955 (ruby-smie-rules): Indent "(" relative to the first non-"."
3956 parent, or the first "." parent at indentation.
3957 Use `ruby-align-chained-calls' for indentation of "." tokens.
3958 (Bug#16593)
3959
3960 2014-01-31 Juri Linkov <juri@jurta.org>
3961
3962 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3963 from `make-hash-table'.
3964
3965 * textmodes/ispell.el (ispell-init-process): Change message format
3966 to be consistent with other messages.
3967
3968 2014-01-31 Glenn Morris <rgm@gnu.org>
3969
3970 * delsel.el (delete-selection-mode): Doc fix.
3971
3972 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3973 (trace-function-background): Doc fixes.
3974
3975 * ido.el (ido-use-virtual-buffers): Doc fix.
3976 Reset :version, since the default value has not changed.
3977
3978 * register.el (register-preview-delay, register-read-with-preview):
3979 Doc fixes.
3980
3981 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3982 do not mess with mail-buffer position (fixes 2009-11-03 change).
3983 * progmodes/cc-mode.el (c-submit-bug-report):
3984 Check auto-fill-mode is bound. (Bug#16592)
3985
3986 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3987
3988 * startup.el (fancy-splash-image-file): New function,
3989 split from fancy-splash-head.
3990 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3991 so that we are both using the same image. (Bug#16574)
3992
3993 2014-01-30 Glenn Morris <rgm@gnu.org>
3994
3995 * simple.el (eval-expression): Doc fix.
3996
3997 * hexl.el (hexl-mode-hook):
3998 * ielm.el (ielm-mode-hook):
3999 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4000 (lisp-interaction-mode-hook):
4001 * progmodes/cfengine.el (cfengine3-documentation-function):
4002 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4003
4004 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4007 is a symbol (bug#16584).
4008
4009 2014-01-30 Glenn Morris <rgm@gnu.org>
4010
4011 * help.el (help-for-help-internal): Add "P" to text.
4012
4013 2014-01-29 Glenn Morris <rgm@gnu.org>
4014
4015 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4016
4017 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4018
4019 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4020 height constraints.
4021
4022 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4023
4024 * progmodes/hideif.el: Extend to full CPP expression syntax.
4025 (hif-token-alist): Add missing tokens.
4026 (hif-token-regexp): Add support for float/octal/hex immediates.
4027 (hif-string-literal-regexp): New const.
4028 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4029 (hif-exprlist): New function.
4030 (hif-parse-if-exp): Use it.
4031 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4032 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4033 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4034 (hif-logxor, hif-comma): New functions.
4035
4036 2014-01-28 Glenn Morris <rgm@gnu.org>
4037
4038 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4039
4040 * indent.el (tab-stop-list): Doc fix. Add :version.
4041
4042 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4043 (cvs-append-to-ignore): Add compatibility alias.
4044
4045 2014-01-27 Glenn Morris <rgm@gnu.org>
4046
4047 * dired.el (dired-hide-details-mode): Don't autoload it,
4048 since it cannot be used outside Dired buffers anyway.
4049
4050 * emulation/cua-base.el (cua-mode): Doc fix.
4051
4052 * dired.el (dired-hide-details-hide-symlink-targets)
4053 (dired-hide-details-hide-information-lines)
4054 (dired-hide-details-mode): Doc fixes.
4055
4056 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4057 * strokes.el (strokes-file): Doc fix. Bump :version.
4058 (strokes-help): Doc fix.
4059 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4060 * emulation/viper.el (viper): Doc fix for custom group.
4061 (top-level): Remove oh-so-no-longer-relevant text about vip.
4062 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4063
4064 * ido.el (ido-save-directory-list-file):
4065 * saveplace.el (save-place-file):
4066 * calendar/timeclock.el (timeclock-file):
4067 * net/quickurl.el (quickurl-url-file):
4068 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4069 * progmodes/idlwave.el (idlwave-config-directory):
4070 * textmodes/remember.el (remember-data-file):
4071 Bump :version.
4072
4073 2014-01-26 Glenn Morris <rgm@gnu.org>
4074
4075 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4076 Doc fix. Make obsolete.
4077 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4078
4079 * sort.el (delete-duplicate-lines): Doc fix.
4080
4081 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4082
4083 * progmodes/ada-mode.el (ada):
4084 * woman.el (woman): Link to info manual and Commentary section.
4085
4086 * progmodes/flymake.el (flymake):
4087 * nxml/nxml-mode.el (nxml):
4088 * net/eww.el (eww):
4089 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4090 * htmlfontify.el (htmlfontify):
4091 * ses.el (ses):
4092 * epa.el (epa):
4093 * ido.el (ido): Link to info manual.
4094
4095 2014-01-25 Leo Liu <sdl.web@gmail.com>
4096
4097 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4098
4099 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4100
4101 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4102 (bug#16537).
4103
4104 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4105
4106 * net/eww.el (eww-download-callback):
4107 Fix reference to eww-download-directory.
4108
4109 * emacs-lisp/bytecomp.el (byte-compile-file):
4110 Remove unused local variable `file-name'.
4111
4112 2014-01-24 Glenn Morris <rgm@gnu.org>
4113
4114 * woman.el (woman-default-faces, woman-monochrome-faces):
4115 Fix obsolescence specification.
4116
4117 * subr.el (with-demoted-errors): Doc fix.
4118
4119 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4122 (cl--macroexp-fboundp): New function.
4123 (cl--make-type-test): Use it.
4124
4125 2014-01-23 Glenn Morris <rgm@gnu.org>
4126
4127 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4128 * simple.el (eval-expression): Doc fixes.
4129
4130 2014-01-22 Glenn Morris <rgm@gnu.org>
4131
4132 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4133
4134 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * emacs-lisp/package.el: Write files silently.
4137 (package-autoload-ensure-default-file, package--write-file-no-coding)
4138 (package-generate-description-file, package--download-one-archive)
4139 (package-install-from-archive): Tell `write-region' to stay quiet.
4140 (package-menu-mode, package-menu--print-info): Omit the Archive column
4141 if there's only one archive.
4142 (package-all-keywords, package--has-keyword-p): Remove dead code.
4143
4144 2014-01-22 Glenn Morris <rgm@gnu.org>
4145
4146 * version.el (emacs-bzr-version-bzr): Fix typo.
4147
4148 * version.el (emacs-repository-get-version):
4149 Check either .bzr or .git, but not both.
4150 Make the git case actually use the DIR argument, and return nil
4151 rather than the empty string.
4152 Avoid error if .git exists but the git executable is not found.
4153
4154 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4155
4156 Fixes in window size functions around Bug#16430 and Bug#16470.
4157 * window.el (window-total-size, window-size): New argument ROUND.
4158 (window--min-delta-1, window-min-delta, window--max-delta-1):
4159 Be more conservative when calculating the numbers of lines or
4160 columns a window can shrink (Bug#16430).
4161 (fit-window-to-buffer): Simplify code.
4162 * term.el (term-window-width): Call window-body-width again.
4163
4164 2014-01-22 Glenn Morris <rgm@gnu.org>
4165
4166 * image.el (image-format-suffixes): Doc fix.
4167
4168 * international/quail.el (quail-define-package): Doc fix.
4169
4170 * emacs-lisp/authors.el (authors-valid-file-names)
4171 (authors-renamed-files-alist): Additions.
4172
4173 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4174 reverts 2014-01-09 change. (Bug#16422)
4175
4176 * calc/calc-embed.el (thing-at-point-looking-at):
4177 * emacs-lisp/map-ynp.el (x-popup-dialog):
4178 * obsolete/lmenu.el (x-popup-dialog):
4179 * emacs-lisp/package.el (url-recreate-url):
4180 * mail/mailclient.el (clipboard-kill-ring-save):
4181 * subr.el (x-popup-dialog): Update declaration.
4182 * mail/rmail.el (rmail-mime-message-p):
4183 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4184
4185 2014-01-21 Daniel Colascione <dancol@dancol.org>
4186
4187 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4188 Correctly detect when we're inside an arithmetic expansion form
4189 containing nested parenthesis.
4190 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4191 to detect cases where we shouldn't expand "<<" to a heredoc
4192 skeleton.
4193
4194 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4197 (eldoc--message-command-p): New function.
4198 (eldoc-display-message-p): Use it.
4199 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4200 message is not automatically erased for us.
4201 (eldoc-print-current-symbol-info): Erase previous message, if any.
4202
4203 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4204
4205 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4206 specify it's an interactive function.
4207
4208 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4209 Fix regex used for scanning for citation keys which failed for
4210 citations with optional arguments.
4211
4212 2014-01-21 Leo Liu <sdl.web@gmail.com>
4213
4214 * simple.el (read--expression): Don't enable eldoc-mode.
4215
4216 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * simple.el (move-beginning-of-line): Make sure we don't move forward
4219 (bug#16497).
4220
4221 2014-01-20 Juri Linkov <juri@jurta.org>
4222
4223 * saveplace.el (toggle-save-place, save-place-to-alist)
4224 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4225 'dired-mode) before checking for dired-directory. (Bug#16477)
4226
4227 2014-01-20 Juri Linkov <juri@jurta.org>
4228
4229 * indent.el (indent-line-to): Use backward-to-indentation
4230 instead of back-to-indentation. (Bug#16461)
4231
4232 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4233
4234 Revert some of the CANNOT_DUMP fix (Bug#16494).
4235 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4236 but fixing this can wait until after the next release.
4237 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4238
4239 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4240
4241 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4242 Use `password-word-equivalents'.
4243 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4244 to t. (Bug#5664, Bug#13124)
4245
4246 2014-01-19 Alan Mackenzie <acm@muc.de>
4247
4248 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4249 points.
4250 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4251 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4252 * progmodes/cc-mode.el (c-before-change, c-after-change)
4253 (c-font-lock-fontify-region): Bind it here.
4254
4255 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4256
4257 * term.el (term-window-width): Call window-text-width instead of
4258 window-width (Bug#16470).
4259
4260 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4261
4262 * simple.el (password-word-equivalents): Remove duplicates.
4263 Sort, to make this easier next time.
4264 Downcase. Omit ": " after "jelszó".
4265
4266 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4267
4268 * term/common-win.el (saved-region-selection): Defvar it.
4269 (x-select-text): Set saved-region-selection (Bug#16382).
4270
4271 2014-01-18 Glenn Morris <rgm@gnu.org>
4272
4273 * emacs-lisp/authors.el (authors-aliases)
4274 (authors-renamed-files-alist): Add some entries.
4275
4276 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4277
4278 * net/tramp.el (tramp-password-prompt-regexp):
4279 Use `password-word-equivalents' if available.
4280 (tramp-action-password, tramp-process-one-action)
4281 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4282
4283 2014-01-17 Chong Yidong <cyd@gnu.org>
4284
4285 * simple.el (password-word-equivalents): New defcustom.
4286 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4287 to 24.4.
4288 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4289 to t. (Bug#13124)
4290
4291 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4292
4293 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4294 (ruby-align-to-stmt-keywords): Change the default value.
4295 Use `ruby-alignable-keywords' to generate the possible customization
4296 choices.
4297 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4298 keywords, check against the value of `ruby-alignable-keywords'
4299 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4300
4301 2014-01-17 Glenn Morris <rgm@gnu.org>
4302
4303 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4304
4305 Make M-x authors return zero *Authors Errors* from current logs.
4306 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4307 (authors-ignored-files): Add some entries, remove others.
4308 (authors-ambiguous-files, authors-valid-file-names):
4309 Add some entries.
4310 (authors-renamed-files-alist): Add, remove, and adjust entries.
4311 (authors-renamed-files-regexps): Add some entries.
4312 Remove some very broad ones. Make some entries `lax'.
4313 (authors-lax-changelogs): New constant.
4314 (authors-disambiguate-file-name): Treat top-level specially.
4315 (authors-lax-changelog-p): New function.
4316 (authors-canonical-file-name): Check file as written against
4317 authors-valid-file-names. Do not special-case etc/.
4318 Handle `lax' logs and authors-renamed-files-regexps elements.
4319
4320 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4321
4322 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4323 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4324 callers.
4325
4326 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4327
4328 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4329 Assume we're already in the proper buffer.
4330 Inspired by Anders Lindgren <andlind@gmail.com>.
4331 (follow-post-command-hook): Call it from the right buffer.
4332 (follow-comint-scroll-to-bottom): Adjust call.
4333 (follow-all-followers): Use get-buffer-window-list.
4334
4335 2014-01-15 Daniel Colascione <dancol@dancol.org>
4336
4337 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4338 `buffer-file-name' in interactive-form so that we don't leave
4339 pathless file names in `file-name-history'.
4340
4341 2014-01-15 Juri Linkov <juri@jurta.org>
4342
4343 * indent.el (indent-rigidly): Set deactivate-mark to nil
4344 in transient indentation mode. (Bug#16438)
4345
4346 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4347
4348 * emacs-lisp/package.el (package-desc-keywords): New function
4349 (Bug#16222).
4350 (describe-package-1, package-all-keywords)
4351 (package--has-keyword-p): Use it.
4352
4353 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4354
4355 * simple.el (define-alternatives): When creating the
4356 COMMAND-alternatives variable, assign COMMAND as its definition
4357 name so that `describe-variable' can relocate it.
4358
4359 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4360
4361 * font-lock.el (font-lock-keywords): Fix typo in docstring
4362 (bug#16307).
4363
4364 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4365
4366 * ispell.el (ispell-region): Reset `in-comment' for new line
4367 instead of wrongly reset `add-coment' (bug#13577).
4368
4369 2014-01-14 Daiki Ueno <ueno@gnu.org>
4370
4371 * epa-file.el (epa-file-write-region): Encode the region according
4372 to `buffer-file-format'. Problem reported at:
4373 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4374
4375 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4378 so it applies in the right buffer (bug#16410).
4379
4380 2014-01-13 Daniel Colascione <dancol@dancol.org>
4381
4382 * textmodes/rst.el (rst-define-key): Provide deprecated
4383 keybindings through named functions instead of anonymous ones so
4384 that "??" doesn't appear in describe-mode output.
4385
4386 2014-01-13 Bastien Guerry <bzg@gnu.org>
4387
4388 * simple.el (define-alternatives): Call the selected command
4389 interactively. When setting `COMMAND--implementation' for the
4390 first time, tell the user how to chose another implementation.
4391 Enhance the docstring.
4392
4393 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4396 (log-edit--match-first-line): New function.
4397 (log-edit-font-lock-keywords): Use it.
4398 (log-edit-mode): Make jit-lock-defer-multiline work.
4399
4400 2014-01-13 Bastien Guerry <bzg@gnu.org>
4401
4402 * rect.el (rectangle-mark-mode): When the region is not active,
4403 display a message saying that the mark as been set and that
4404 rectangle mode is in use.
4405 (rectangle--highlight-for-redisplay): Only put an overlay with a
4406 visible vertical bar when (display-graphic-p) is non-nil.
4407 This partially fixes Bug#16403.
4408
4409 2014-01-13 Juri Linkov <juri@jurta.org>
4410
4411 * info.el (Info-find-file): Go to DIR before displaying the error
4412 about a nonexistent file if no previous Info file is visited.
4413 Use `user-error' instead of `error' for "Info file %s does not exist".
4414 (Info-find-node-2): In case of a nonexistent node in unwind forms
4415 go to the Top node if there is no previous node to revert to.
4416 (Bug#16405)
4417
4418 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4419
4420 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4421 * window.el (fit-frame-to-buffer): Fix doc-string.
4422 Respect window-min-height/-width. Fit pixelwise when
4423 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4424 when avoiding that frame goes partially off-screen.
4425 (fit-window-to-buffer): Respect window-min-height/-width
4426 (Bug#14096).
4427
4428 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4431 after an empty line.
4432
4433 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * net/shr.el (shr-render-region): Autoload.
4436
4437 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4438
4439 * net/eww.el (eww-download-directory): Rename from
4440 `eww-download-path' (Bug#16419).
4441
4442 2014-01-12 Leo Liu <sdl.web@gmail.com>
4443
4444 * dired-x.el (dired-mode-map): Fix last change.
4445
4446 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4447
4448 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4449
4450 Spelling fixes.
4451 * emacs-lisp/generic.el (generic--normalize-comments):
4452 Rename from generic--normalise-comments. All uses changed.
4453 * play/bubbles.el (bubbles--neighborhood-score)
4454 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4455 (bubbles--neighborhood-available)
4456 (bubbles--update-neighborhood-score):
4457 Rename from names with 'neighbourhood'. All uses changed.
4458
4459 2014-01-12 Leo Liu <sdl.web@gmail.com>
4460
4461 Re-implement the feature of showing eldoc info after editing.
4462 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4463 (eldoc-edit-message-commands): New function.
4464 (eldoc-print-after-edit): New variable.
4465 (eldoc-pre-command-refresh-echo-area): Emit message only by
4466 eldoc-message-commands.
4467 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4468 if eldoc-print-after-edit is set. (Bug#16346)
4469 * simple.el (read--expression): Enable eldoc-mode.
4470 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4471
4472 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4473 Eric S. Raymond <esr@thyrsus.com>
4474
4475 * version.el (emacs-repository-get-version): Enhance so the
4476 function works correctly in either a Bazaar or Git repo.
4477
4478 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4479
4480 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4481 Goes with removal of the joke manpages from /etc.
4482
4483 2014-01-10 Kenichi Handa <handa@gnu.org>
4484
4485 * mail/rmail.el (rmail-get-coding-system):
4486 Check rmail-get-coding-function before "funcall"ing it.
4487
4488 2014-01-10 Glenn Morris <rgm@gnu.org>
4489
4490 * emacs-lisp/authors.el (authors-fixed-entries):
4491 Update for files that no longer exist.
4492
4493 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4494
4495 * version.el (emacs-bzr-get-version): Restore compatibilty with
4496 24.3 (Tested).
4497
4498 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4499
4500 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4501 and Podfile.
4502
4503 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4504
4505 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4506
4507 2014-01-10 Chong Yidong <cyd@gnu.org>
4508
4509 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4510
4511 2014-01-10 Anders Lindgren <andlind@gmail.com>
4512
4513 * follow.el (follow-cache-command-list): Include right-char and
4514 left-char.
4515
4516 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4517
4518 Spelling fixes.
4519 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4520 * woman.el (woman-mark-horizontal-position):
4521 Rename from woman-mark-horizonal-position. Use changed.
4522
4523 2014-01-10 Glenn Morris <rgm@gnu.org>
4524
4525 * info.el (info-initialize): If running uninstalled, ensure our
4526 own info files are always found first, even if INFOPATH is set.
4527
4528 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4529
4530 2014-01-09 David Engster <deng@randomsample.de>
4531
4532 * emacs-lisp/eieio-custom.el:
4533 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4534 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4535 * emacs-lisp/eieio.el: Regenerate autoloads.
4536
4537 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4538
4539 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4540 following renames. (Bug#8756)
4541
4542 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4545 (bug#16382).
4546 (activate-mark): Add `no-tmm' argument.
4547 (set-mark, push-mark-command): Use it instead of running
4548 activate-mark-hook by hand.
4549
4550 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4551
4552 In preparation for the move to git, sanitize out some
4553 Bazaar-specific names.
4554
4555 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4556
4557 * version.el (emacs-bzr-version): Name changed to
4558 emacs-repository-version. Obsolete-variable alias made.
4559 * loadup.el: Follow through on this name change.
4560 * mail/emacsbug.el (report-emacs-bug): Factor out any
4561 assumption about the version control system in use.
4562
4563 2014-01-08 David Engster <deng@randomsample.de>
4564
4565 * help-fns.el (help-fns-describe-function-functions):
4566 New variable to call functions for augmenting help buffers.
4567 (describe-function-1): Remove explicit calls to
4568 `help-fns--compiler-macro', `help-fns--parent-mode' and
4569 `help-fns--obsolete'. Put them in above new variable instead, and
4570 call them through `run-hook-with-args'.
4571 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4572 `eieio-describe-class'. Not meant for interactive use anymore,
4573 but to augment existing help buffers. Remove optional second
4574 argument. Create proper button for file location.
4575 Rewrite function to use `insert' instead of `princ' and `prin1' where
4576 possible.
4577 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4578 (eieio-method-def, eieio-class-def): Move further up.
4579 (describe-method, describe-generic, eieio-describe-method):
4580 Remove aliases.
4581 (eieio-help-constructor, eieio-help-generic): Rename from
4582 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4583 Rewrite to use `insert' in the current buffer and use proper help
4584 buttons.
4585 (eieio-help-find-method-definition)
4586 (eieio-help-find-class-definition): Also accept symbols as
4587 arguments.
4588 (eieio-help-mode-augmentation-maybee): Remove.
4589 (eieio-describe-class-sb): Use `describe-function'.
4590 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4591 Add `eieio-help-generic' and `eieio-help-constructor'.
4592
4593 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4594
4595 Spelling fixes.
4596 * language/china-util.el (hz-ascii-designation):
4597 Rename from hz-ascii-designnation.
4598 (hz-ascii-designation): Rename from hz-ascii-designnation.
4599 All uses changed.
4600
4601 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4604 package-alist.
4605
4606 2014-01-08 Bastien Guerry <bzg@gnu.org>
4607
4608 * emacs-lisp/package.el (package-delete):
4609 Correctly delete the package from package-alist.
4610
4611 2014-01-08 Daiki Ueno <ueno@gnu.org>
4612
4613 * emacs-lisp/package.el (url-recreate-url): Declare.
4614 (url-http-target-url): Declare.
4615 (package-handle-response): Include requested URL in the error message.
4616 (package--check-signature): Don't re-signal errors from
4617 package--with-work-buffer. Suggested by Stefan Monnier.
4618
4619 2014-01-07 Bastien Guerry <bzg@gnu.org>
4620
4621 * minibuffer.el (completion--try-word-completion): When both a
4622 hyphen and a space are possible candidates for the character
4623 following a word, display both candidates. (Bug#15980)
4624
4625 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4626
4627 * window.el (balance-windows-2): While rounding don't give a
4628 window more than the remainder. Bug#16351, bug#16383.
4629
4630 2014-01-07 Glenn Morris <rgm@gnu.org>
4631
4632 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4633 (menu-bar-help-menu): Use view-external-packages instead.
4634
4635 2014-01-07 Bastien Guerry <bzg@gnu.org>
4636
4637 * emacs-lisp/package.el (package-delete): Also delete the package
4638 name from `package-alist', not its description only.
4639
4640 2014-01-07 Glenn Morris <rgm@gnu.org>
4641
4642 * help.el (view-external-packages):
4643 * menu-bar.el (menu-bar-help-extra-packages):
4644 Visit efaq.info rather than etc/MORE.STUFF.
4645
4646 2014-01-07 Juri Linkov <juri@jurta.org>
4647
4648 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4649 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4650
4651 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4652 that shadows RET. (Bug#16342)
4653
4654 2014-01-07 Chong Yidong <cyd@gnu.org>
4655
4656 * isearch.el (isearch-yank-char, isearch-yank-word)
4657 (isearch-yank-line): Doc fix.
4658
4659 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4662 * emacs-lisp/elint.el (elint-find-builtins):
4663 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4664 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4665 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4666 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4667 * apropos.el (apropos-safe-documentation):
4668 * subr.el (symbol-file): Remove redundant fboundp.
4669 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4670
4671 2014-01-06 Bastien Guerry <bzg@gnu.org>
4672
4673 * hl-line.el (global-hl-line-overlay): Make a local variable.
4674 (global-hl-line-overlays): New variable to store all overlays.
4675 (global-hl-line-mode): Don't delete overlays from the current
4676 buffer when `global-hl-line-sticky-flag' is non-nil.
4677 (global-hl-line-highlight): Add new overlays to
4678 `global-hl-line-overlays'.
4679 (global-hl-line-unhighlight-all): New function to delete all
4680 overlays when turning off `global-hl-line-mode'.
4681 This fixes Bug#16183.
4682
4683 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * subr.el (set-transient-map): Fix nested case and docstring.
4686
4687 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4688
4689 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4690 `Texinfo' entry.
4691
4692 2014-01-06 Daniel Colascione <dancol@dancol.org>
4693
4694 Fix defun navigation in vc log view.
4695
4696 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4697 like `beginning-of-defun'.
4698 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4699 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4700 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4701 (log-view-extract-comment): Call `log-view-current-entry' directly
4702 instead of relying on broken `log-view-beginning-of-defun' behavior.
4703
4704 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4705
4706 Spelling fixes.
4707 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4708 * emacs-lisp/debug.el (cancel-debug-on-entry):
4709 * epg.el (epg-error-to-string):
4710 * files.el (recover-file):
4711 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4712 * mail/emacsbug.el (report-emacs-bug-hook):
4713 * mail/sendmail.el (mail-recover):
4714 * ses.el (ses-yank-resize):
4715 * term/ns-win.el (ns-print-buffer):
4716 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4717 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4718 All uses changed.
4719 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4720
4721 2014-01-06 Leo Liu <sdl.web@gmail.com>
4722
4723 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4724 to avoid shadowing global key. (Bug#16354)
4725
4726 2014-01-06 Daniel Colascione <dancol@dancol.org>
4727
4728 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4729 rst-mode.
4730
4731 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4732
4733 * window.el (balance-windows): Add mising t to fix Bug#16351.
4734
4735 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4736
4737 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4738 (bug#16285).
4739 (shr-insert): If we have a word that's longer than `shr-width',
4740 break after it anyway. Otherwise we'll do no breaking once we get
4741 such a long word.
4742
4743 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4744
4745 * net/eww.el (eww): Support single/double quote for search.
4746 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4747 (eww-history-quit): Delete and use quit-window.
4748 (eww-history-kill): Delete, because it doesn't work well and
4749 not necessary.
4750 (eww-history-mode-map): Delete some keys and add easy-menu.
4751
4752 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4753
4754 Fix misspelling of 'chinese' in rx (Bug#16237).
4755 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4756 chinese-two-byte.
4757
4758 Change subword regexps back to vars (Bug#16296).
4759 * progmodes/subword.el (subword-forward-regexp)
4760 (subword-backward-regexp): Change these back to variables.
4761
4762 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4765 syntax-begin-function (bug#16247).
4766
4767 2014-01-03 Chong Yidong <cyd@gnu.org>
4768
4769 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4770 (advice--docstring): Delete variable.
4771 (advice--make-1): Leave the docstring empty.
4772 (advice-add): Use function-documentation for advised docstring.
4773
4774 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4775 Ignore function-documentation property when getting documentation.
4776 (ad-activate-advised-definition): Use function-documentation
4777 generate the docstring.
4778 (ad-make-advised-definition): Don't call
4779 ad-make-advised-definition-docstring.
4780 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4781 Delete functions.
4782
4783 * progmodes/sql.el (sql-help): Use function-documentation instead
4784 of dynamic-docstring-function property. No need to autoload now.
4785 (sql--help-docstring): New variable.
4786 (sql--make-help-docstring): Use it.
4787
4788 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * ielm.el (ielm-tab): Retarget.
4791 (ielm-map): Use ielm-tab for tab.
4792 (ielm-complete-filename): Use comint-filename-completion.
4793 (ielm-complete-symbol): Remove.
4794 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4795 remove ielm-tab from completion-at-point-functions (bug#16224).
4796
4797 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4798 Beware signals raised by predicates (bug#16201).
4799
4800 2014-01-02 Richard Stallman <rms@gnu.org>
4801
4802 * dired-aux.el (dired-do-print): Handle printer-name.
4803
4804 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4805 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4806 (rmail-epa-decrypt): Turn off mime processing.
4807
4808 * mail/rmail.el (rmail-make-in-reply-to-field):
4809 Add parens in message-id.
4810
4811 * mail/rmail.el (rmail-get-coding-function): Variable.
4812 (rmail-get-coding-system): Use it.
4813
4814 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4815
4816 * international/mule-conf.el: Unify the charset indian-is13194.
4817 (indian-is13194): Specify unify-map.
4818
4819 2013-12-31 Leo Liu <sdl.web@gmail.com>
4820
4821 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4822
4823 2013-12-30 Daniel Colascione <dancol@dancol.org>
4824
4825 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4826 of printing a useless when we resume from sleep.
4827
4828 * progmodes/sh-script.el
4829 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4830 in indentation code. (Bug#16233)
4831
4832 2013-12-28 João Távora <joaotavora@gmail.com>
4833
4834 * elec-pair.el (electric-pair-post-self-insert-function):
4835 Don't open extra newlines at beginning of buffer. (Bug#16272)
4836
4837 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4838
4839 * frame.el (window-system-for-display): Don't allow to create a
4840 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4841
4842 2013-12-28 Glenn Morris <rgm@gnu.org>
4843
4844 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4845 Update callers.
4846
4847 * apropos.el (apropos-match-face):
4848 * calculator.el (calculator-displayer):
4849 * dabbrev.el (dabbrev-search-these-buffers-only):
4850 * face-remap.el (buffer-face-mode-face):
4851 * simple.el (yank-handled-properties):
4852 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4853 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4854 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4855 (hashcash-double-spend-database):
4856 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4857 (ruby-deep-indent-paren-style):
4858 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4859 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4860 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4861 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4862 Specify custom types.
4863
4864 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4865 * bookmark.el (bookmark-bmenu-use-header-line):
4866 * doc-view.el (doc-view-scale-internally):
4867 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4868 * register.el (register-preview-delay):
4869 * net/shr.el (shr-bullet):
4870 * progmodes/cfengine.el (cfengine-cf-promises)
4871 (cfengine-parameters-indent):
4872 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4873 * textmodes/reftex-vars.el (reftex-label-regexps):
4874 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4875
4876 * net/tls.el (tls-certtool-program): Fix default value.
4877
4878 * desktop.el (desktop-restore-in-current-display):
4879 * newcomment.el (comment-empty-lines):
4880 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4881 (idlwave-pad-keyword):
4882 * progmodes/tcl.el (tcl-tab-always-indent):
4883 * textmodes/reftex-vars.el (reftex-index-default-tag):
4884 * elec-pair.el (electric-pair-skip-whitespace):
4885 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4886
4887 * emacs-lisp/authors.el (authors-ignored-files)
4888 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4889
4890 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4891
4892 * shell.el (shell-dynamic-complete-command): Doc fix.
4893 (shell--command-completion-data): Shell completion now matches
4894 executable filenames from the current buffer's directory, on
4895 systems in which this behavior is the default (windows-nt, ms-dos).
4896
4897 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4898
4899 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4900
4901 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4904 (bug#16251).
4905
4906 * electric.el: Move all electric-pair-* to elec-pair.el.
4907 * elec-pair.el: New file, split from electric.el.
4908
4909 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4910
4911 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4912 indentation level is larger than the width, because that will
4913 infloop.
4914 (shr-insert): Fill repeatedly long texts, so that Japanese is
4915 formatted correctly (bug#16263).
4916 (shr-find-fill-point): Off by one error in comparison with the
4917 indentation.
4918
4919 2013-12-26 João Távora <joaotavora@gmail.com>
4920
4921 * electric.el (electric-pair-mode): More flexible engine for skip-
4922 and inhibit predicates, new options for pairing-related functionality.
4923 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4924 if that keeps or improves their balance in buffers.
4925 (electric-pair-delete-adjacent-pairs): Delete the pair when
4926 backspacing over adjacent matched delimiters.
4927 (electric-pair-open-extra-newline): Open extra newline when
4928 inserting newlines between adjacent matched delimiters.
4929 (electric--sort-post-self-insertion-hook):
4930 Sort post-self-insert-hook according to priority values when
4931 minor-modes are activated.
4932 * simple.el (newline-and-indent): Call newline with interactive
4933 set to t.
4934 (blink-paren-post-self-insert-function): Set priority to 100.
4935 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4936 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4937 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4938 electric-pair-open-newline-between-pairs to nil.
4939
4940 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4941
4942 * progmodes/python.el: Use lexical-binding.
4943 (python-nav-beginning-of-defun): Stop searching ASAP.
4944
4945 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4946
4947 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4948 Fix interactive spec. Doc fix. (Bug#15754)
4949
4950 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4951
4952 * emacs-lisp/byte-run.el (eval-when-compile):
4953 * progmodes/cc-defs.el (cc-eval-when-compile):
4954 Fix edebug spec (bug#16184).
4955
4956 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4957
4958 * net/shr.el (shr-visit-file): Remove debugging function.
4959 (shr-insert): Don't infloop if we can't find a good place to break
4960 the line (bug#16256).
4961
4962 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4963
4964 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4965 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4966 python-nav-lisp-forward-sexp-safe.
4967 (python-nav--forward-sexp): New argument SAFE allows switching
4968 forward sexp movement behavior for parens.
4969 (python-nav-forward-sexp): Throw errors on unterminated parens
4970 (Bug#16191).
4971 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4972 (python-nav-backward-sexp-safe): New functions.
4973 (python-shell-buffer-substring):
4974 Use `python-nav-forward-sexp-safe'.
4975
4976 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4977
4978 * net/shr.el (shr-find-fill-point): Don't break lines before a
4979 quotation mark.
4980 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4981 (shr-find-fill-point): Remove the special checks for the quotation
4982 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4983
4984 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4985
4986 * net/eww.el (eww-form-textarea): Use a different face for
4987 textareas than text input since they have different keymaps
4988 (bug#16142).
4989
4990 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4991
4992 * progmodes/python.el (python-nav-beginning-of-statement):
4993 Speed up (Bug#15295).
4994
4995 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4996
4997 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4998 the window configuration.
4999
5000 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5001
5002 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5003 we run on MS-Windows or MS-DOS.
5004
5005 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5006
5007 * window.el (balance-windows-area): Call window-size instead of
5008 window-height and window-width. Bug#16241.
5009
5010 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5011
5012 * net/eww.el (eww-bookmark-quit): Remove.
5013 (eww-bookmark-browse): Restore the window configuration when you
5014 choose a bookmark (bug#16144).
5015
5016 2013-12-24 Daniel Colascione <dancol@dancol.org>
5017
5018 * icomplete.el: Remove redundant :group arguments to `defcustom'
5019 throughout.
5020 (icomplete-show-matches-on-no-input): New customizable variable.
5021 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5022 we have something to show.
5023 (icomplete-exhibit): Compute completions even if we have no user input.
5024
5025 2013-12-23 Daniel Colascione <dancol@dancol.org>
5026
5027 * icomplete.el: Move `provide' to end of file.
5028
5029 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5030
5031 * net/gnutls.el (gnutls-verify-error): Add version tag.
5032
5033 2013-12-23 Chong Yidong <cyd@gnu.org>
5034
5035 * subr.el (set-transient-map): Rename from
5036 set-temporary-overlay-map. Doc fix.
5037
5038 * face-remap.el (text-scale-adjust):
5039 * indent.el (indent-rigidly):
5040 * kmacro.el (kmacro-call-macro):
5041 * minibuffer.el (minibuffer-force-complete):
5042 * repeat.el (repeat):
5043 * simple.el (universal-argument--mode):
5044 * calendar/todo-mode.el (todo-insert-item--next-param):
5045 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5046
5047 * indent.el (indent-rigidly): Use substitute-command-keys.
5048
5049 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5050
5051 * net/eww.el (eww-tag-select): Add text-property to jump to next
5052 select field.
5053 (eww): Add non-supported ftp error.
5054
5055 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5056
5057 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5058 comments. Handle electric indent after typing `?' and `!'.
5059
5060 2013-12-22 Chong Yidong <cyd@gnu.org>
5061
5062 * faces.el (face-spec-recalc): If the theme specs are not
5063 applicable to a frame, fall back on the defface spec.
5064 This prevents themes from obliterating faces on low-color terminals.
5065
5066 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5067
5068 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5069 after `{'. We need it after block openers, and it doesn't seem
5070 to hurt after hash openers.
5071
5072 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5073
5074 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5075 extracted from `ruby-smie-rules'.
5076 (ruby--electric-indent-chars): New variable.
5077 (ruby--electric-indent-p): New function.
5078 (ruby-mode): Use `electric-indent-functions' instead of
5079 `electric-indent-chars'.
5080
5081 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5082
5083 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5084 docstring.
5085 (ruby-smie-rules): Indent plus one level after `=>'.
5086
5087 2013-12-21 Richard Stallman <rms@gnu.org>
5088
5089 * simple.el (newline): Doc fix.
5090
5091 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5092
5093 * net/eww.el (eww-list-histories, eww-list-histories)
5094 (eww-history-browse, eww-history-quit, eww-history-kill)
5095 (eww-history-mode-map, eww-history-mode): New command and
5096 functions to list browser histories.
5097 (eww-form-text): Support text form with disabled
5098 and readonly attributes.
5099 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5100
5101 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5102
5103 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5104 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5105 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5106 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5107 Use `user-error'.
5108 (eww-bookmark-mode-map): Add menu.
5109 (eww-render, eww-mode): Use `setq-local'.
5110 (eww-tool-bar-map): New variable.
5111 (eww-mode): Set `tool-bar-map'.
5112 (eww-view-source): Check for `html-mode' with `fboundp'.
5113
5114 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5115
5116 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5117 elements with text inside. Also remove debugging.
5118
5119 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5120
5121 * cus-start.el (all): Add ns-use-srgb-colorspace.
5122
5123 2013-12-21 Chong Yidong <cyd@gnu.org>
5124
5125 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5126 undefined. Thus, theme settings for undefined faces do not take
5127 effect until the faces are defined with defface, the same as with
5128 theme variables.
5129
5130 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5131 (face-spec-reset-face): Don't assign extra properties in temacs.
5132 (face-spec-recalc): Apply X resources too.
5133
5134 2013-12-21 Chong Yidong <cyd@gnu.org>
5135
5136 * faces.el (face-spec-set):
5137 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5138 * custom.el (defface): Doc fixes (Bug#16203).
5139
5140 * indent.el (indent-rigidly-map): Add docstring, and move commands
5141 into named functions.
5142 (indent-rigidly-left, indent-rigidly-right)
5143 (indent-rigidly-left-to-tab-stop)
5144 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5145 indentation direction based on bidi direction, and accumulate
5146 sequential commands in a single undo boundary.
5147 (indent-rigidly--pop-undo): New utility function.
5148
5149 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5150
5151 * faces.el (read-face-name): Require crm.el when using crm-separator.
5152
5153 2013-12-20 Daniel Colascione <dancol@dancol.org>
5154
5155 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5156 so that we don't reflow comments into the shebang line.
5157
5158 2013-12-20 Juri Linkov <juri@jurta.org>
5159
5160 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5161 a position when `dired-directory' is non-nil. Check integer
5162 positions with `integerp'.
5163 (toggle-save-place, save-places-to-alist): Add check for
5164 `dired-directory'.
5165 (save-place-find-file-hook): Check integer positions with
5166 `integerp'.
5167 (save-place-dired-hook): Use `dired-goto-file' when
5168 `dired-filename' is found in the assoc list. Check integer
5169 positions with `integerp'.
5170 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5171
5172 * dired.el (dired-initial-position-hook): Rename back from
5173 `dired-initial-point-hook'.
5174 (dired-initial-position): Rename `dired-initial-point-hook' to
5175 `dired-initial-position-hook'.
5176 (dired-file-name-at-point): Doc fix. (Bug#15329)
5177
5178 2013-12-20 Juri Linkov <juri@jurta.org>
5179
5180 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5181 (read-regexp-suggestions): New function.
5182 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5183 Use `read-regexp-suggestions'. Add non-empty default to history
5184 for empty input.
5185 (occur-read-regexp-defaults-function): Remove function.
5186 (occur-read-primary-args): Use `regexp-history-last' instead of
5187 `occur-read-regexp-defaults-function'.
5188
5189 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5190 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5191 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5192 `hi-lock-read-regexp-defaults-function'. Doc fix.
5193 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5194 with `find-tag-default-as-symbol-regexp'. Doc fix.
5195 (hi-lock-read-regexp-defaults): Remove function.
5196 (hi-lock-regexp-okay): Add check for null.
5197
5198 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5199 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5200
5201 * subr.el (find-tag-default-as-symbol-regexp): New function.
5202 (find-tag-default-as-regexp): Move symbol regexp formatting to
5203 `find-tag-default-as-symbol-regexp'.
5204
5205 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5206
5207 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5208 (Bug#14179)
5209
5210 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5211
5212 * calendar/todo-mode.el: New implementation of item insertion
5213 commands and key bindings.
5214 (todo-key-prompt): New face.
5215 (todo-insert-item): New command.
5216 (todo-insert-item--parameters): New defconst, replacing defvar
5217 todo-insertion-commands-args-genlist.
5218 (todo-insert-item--param-key-alist): New defconst, replacing
5219 defvar todo-insertion-commands-arg-key-list.
5220 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5221 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5222 (todo-insert-item--next-param): New functions.
5223 (todo-insert-item--args, todo-insert-item--argleft)
5224 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5225 New variables.
5226 (todo-key-bindings-t): Change binding of "i" from
5227 todo-insertion-map to todo-insert-item.
5228 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5229 (todo-insertion-command-name, todo-insertion-commands-names)
5230 (todo-define-insertion-command, todo-insertion-commands)
5231 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5232
5233 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5234
5235 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5236 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5237 eval-when-compile.
5238 (todo-move-category): Allow choosing a non-existing todo file to
5239 move the category to, and create that file.
5240 (todo-default-priority): New user option.
5241 (todo-set-item-priority): Use it.
5242 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5243 (desktop-restore-file-buffer): Declare.
5244 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5245 (todo-modes-set-2): Locally set desktop-save-buffer to
5246 todo-desktop-save-buffer.
5247 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5248 (auto-mode-alist): Add autoload cookie.
5249
5250 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5251
5252 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5253 helpers.el was a poor choice of name.
5254 (string-remove-prefix): New function.
5255 (string-remove-suffix): New function.
5256
5257 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5258
5259 Fix assignment for new window total sizes.
5260 * window.el (window--pixel-to-size): Remove function.
5261 (window--pixel-to-total-1, window--pixel-to-total):
5262 Fix calculation of new total sizes.
5263
5264 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5265
5266 * comint.el (comint-output-filter): Fix rear-nonsticky property
5267 placement (Bug#16010).
5268
5269 2013-12-20 Chong Yidong <cyd@gnu.org>
5270
5271 * faces.el (read-color): Minor fix for completion function.
5272
5273 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5274
5275 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5276 New option. (Bug#16182)
5277 (ruby-smie--indent-to-stmt-p): Use it.
5278 (ruby-smie-rules): Revert the logic in the handling of `when'.
5279 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5280 (ruby-deep-arglist, ruby-deep-indent-paren)
5281 (ruby-deep-indent-paren-style): Update docstrings to note that the
5282 vars don't have any effect with SMIE.
5283
5284 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5285
5286 * calc/calc.el (calc-enter, calc-pop): Use the variable
5287 `calc-context-sensitive-enter'.
5288
5289 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5290
5291 * net/shr.el (shr-insert): Protect against infloops in degenerate
5292 tables.
5293
5294 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5295
5296 * progmodes/octave.el (octave): Add link to manual and octave
5297 homepage.
5298 (octave-mode-menu): Link to octave-mode manual.
5299
5300 2013-12-20 Leo Liu <sdl.web@gmail.com>
5301
5302 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5303 insertion using skeleton-end-newline. (Bug#16138)
5304
5305 2013-12-20 Juri Linkov <juri@jurta.org>
5306
5307 * replace.el (occur-engine): Use `add-face-text-property'
5308 to add the face property to matches and titles. (Bug#14645)
5309
5310 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5311 the palette of other hi-lock colors.
5312 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5313
5314 2013-12-19 Juri Linkov <juri@jurta.org>
5315
5316 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5317 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5318 (minibuffer-history-symbol): Move variable declaration closer to
5319 its usage.
5320
5321 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5322 (Bug#14785)
5323
5324 2013-12-19 Juri Linkov <juri@jurta.org>
5325
5326 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5327 New function.
5328 (log-edit-hook): Add it to :options. (Bug#16170)
5329
5330 2013-12-19 Juri Linkov <juri@jurta.org>
5331
5332 * simple.el (eval-expression-print-format): Don't check for
5333 command names and the last command. Always display additional
5334 formats of the integer result in the echo area, and insert them
5335 to the current buffer only with a zero prefix arg.
5336 Display character when char-displayable-p is non-nil.
5337 (eval-expression): With a zero prefix arg, set `print-length' and
5338 `print-level' to nil, and insert the integer values from
5339 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5340
5341 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5342 `eval-last-sexp-arg-internal'. Doc fix.
5343 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5344 `eval-last-sexp-print-value'. Doc fix.
5345 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5346 Set `print-length' and `print-level' to nil when arg is zero.
5347 (eval-last-sexp): Doc fix.
5348 (eval-defun-2): Print the integer values from
5349 `eval-expression-print-format' at the end.
5350
5351 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5352 values from `eval-expression-print-format' at the end.
5353
5354 * ielm.el (ielm-eval-input): Print the integer
5355 values from `eval-expression-print-format' at the end.
5356
5357 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5358
5359 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5360 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5361
5362 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5365 (hl-line-highlight, global-hl-line-highlight): Use it.
5366 (hl-line-overlay): Use defvar-local.
5367
5368 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5369
5370 * term/ns-win.el: Require dnd.
5371 (global-map): Remove drag items.
5372 (ns-insert-text, ns-set-foreground-at-mouse)
5373 (ns-set-background-at-mouse):
5374 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5375 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5376 New functions.
5377
5378 2013-12-19 Glenn Morris <rgm@gnu.org>
5379
5380 * emacs-lisp/ert.el (ert-select-tests):
5381 Fix string/symbol mixup. (Bug#16121)
5382
5383 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5384
5385 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5386 keywords to their parent.
5387
5388 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5389
5390 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5391 first arg to be a string (fixed dead code), or an operator symbol.
5392 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5393 operator symbols.
5394 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5395 did nothing. Don't respond to `(:after ".")', it will be called
5396 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5397 change anything. Only return indentation for binary operators
5398 when they are hanging. De-dent opening paren when its parent is
5399 `.', otherwise it looks bad when the dot is not at bol or eol
5400 (bug#16182).
5401
5402 2013-12-19 Juri Linkov <juri@jurta.org>
5403
5404 * replace.el (query-replace-read-args): Split a non-negative arg
5405 and a negative arg into separate elements.
5406 (query-replace, query-replace-regexp, replace-string)
5407 (replace-regexp): Add arg `backward'. Doc fix.
5408 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5409 move point to the beginning of the match.
5410 (replace-search, replace-highlight): Use new arg `backward'
5411 to set the value of `isearch-forward'.
5412 (perform-replace): Add arg `backward' and use it to perform
5413 replacement backward. (Bug#14979)
5414
5415 * isearch.el (isearch-query-replace): Use a negative prefix arg
5416 to call `perform-replace' with a non-nil arg `backward'.
5417
5418 2013-12-18 Juri Linkov <juri@jurta.org>
5419
5420 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5421 to the default list. Move `log-edit-show-files' to the end.
5422 Add more available functions to options.
5423 (log-edit): Move default specific settings to
5424 `log-edit-insert-message-template'. Don't move point.
5425 (log-edit-insert-message-template): New function.
5426 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5427 (Bug#16170)
5428
5429 2013-12-18 Juri Linkov <juri@jurta.org>
5430
5431 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5432 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5433
5434 2013-12-18 Leo Liu <sdl.web@gmail.com>
5435
5436 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5437 (Bug#16186)
5438
5439 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5440
5441 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5442 formats for displaying file sizes when the -s switch is given.
5443 Instead, compute a separate format for displaying the size in
5444 blocks, which is displayed in addition to the "regular" size.
5445 When -h is given in addition to -s, produce size in blocks in
5446 human-readable form as well. (Bug#16179)
5447
5448 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5449
5450 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5451 Reference tables with ~\ref{...} instead of only \ref{...}.
5452
5453 2013-12-18 Chong Yidong <cyd@gnu.org>
5454
5455 * cus-edit.el (custom-magic-alist): Fix "themed" description
5456 (Bug#14348).
5457
5458 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5459 is non-nil, do not create a new entry in the symbol's theme-value
5460 or theme-face property; update theme-settings only (Bug#14664).
5461 (custom-available-themes): Doc fix.
5462
5463 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5464 (Bug#15674).
5465
5466 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5467
5468 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5469
5470 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5471 (Bug#13914).
5472
5473 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5474
5475 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5476
5477 2013-12-18 Glenn Morris <rgm@gnu.org>
5478
5479 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5480 * cus-start.el (load-prefer-newer): New option.
5481
5482 2013-12-18 Le Wang <l26wang@gmail.com>
5483
5484 * comint.el (comint-previous-matching-input-from-input):
5485 Retain point (Bug#13404).
5486
5487 2013-12-18 Chong Yidong <cyd@gnu.org>
5488
5489 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5490
5491 2013-12-18 Glenn Morris <rgm@gnu.org>
5492
5493 * mail/emacsbug.el (report-emacs-bug):
5494 Only mention enable-multibyte-characters if non-standard.
5495
5496 2013-12-17 Juri Linkov <juri@jurta.org>
5497
5498 * arc-mode.el (archive-extract-by-file): Check if directory exists
5499 before deletion to not show irrelevant errors if it doesn't exist.
5500
5501 2013-12-17 Juri Linkov <juri@jurta.org>
5502
5503 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5504 (Bug#14751)
5505
5506 * net/eww.el (browse-web): Add alias to `eww'.
5507 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5508 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5509
5510 * net/browse-url.el (browse-url-browser-function): Move `eww'
5511 closer to similar functions.
5512
5513 * startup.el (fancy-startup-screen, fancy-about-screen):
5514 Set browse-url-browser-function to eww-browse-url locally.
5515 (Bug#14751)
5516
5517 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * window.el (window--pixel-to-total): Remove unused `mini' var.
5520 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5521 (split-window): Remove unused `new' var.
5522 (window--display-buffer): Remove unused `frame' and `delta' vars.
5523 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5524 and display-width'.
5525
5526 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5527
5528 * dired.el (dired-mark-pop-up):
5529 * register.el (register-preview): Don't bind
5530 split-height-threshold here since it's now done in
5531 display-buffer-below-selected.
5532
5533 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5534
5535 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5536 xterm-rgb-convert-to-16bit.
5537 (rxvt-register-default-colors): Standardize with
5538 xterm-register-default-colors (Bug#14078).
5539
5540 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5541
5542 * simple.el (kill-region): Pass mark first, then point, so that
5543 kill-append works right (Bug#12819).
5544 (copy-region-as-kill, kill-ring-save): Likewise.
5545
5546 2013-12-17 Leo Liu <sdl.web@gmail.com>
5547
5548 * net/rcirc.el (rcirc-add-face):
5549 * eshell/em-prompt.el (eshell-emit-prompt):
5550 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5551 (Bug#16167)
5552
5553 2013-12-17 Chong Yidong <cyd@gnu.org>
5554
5555 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5556 Suggested by Xue Fuqiao.
5557
5558 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5559
5560 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5561
5562 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * net/shr.el (shr-insert-document): Remove unused var
5565 `shr-preliminary-table-render'.
5566 (shr-rescale-image): Remove unused arg `force'.
5567 (shr-put-image): Update calls accordingly.
5568 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5569
5570 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5571
5572 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5573 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5574 :close-all, to see which indentation method to use (Bug#16116).
5575 (smie-rules-function): Document the method :close-all.
5576
5577 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5578
5579 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5580
5581 * net/eww.el (eww-display-html): If we can't find the anchor we're
5582 looking for, then go to point-min.
5583
5584 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5585
5586 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5587 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5588 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5589 Expand dir too, in case it's relative.
5590
5591 2013-12-16 Juri Linkov <juri@jurta.org>
5592
5593 * desktop.el (desktop-auto-save-timeout): Change default to
5594 `auto-save-timeout'. Doc fix.
5595 (desktop-save): Skip the timestamp in desktop-saved-frameset
5596 when checking for auto-save changes.
5597 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5598 `desktop-auto-save' is called repeatedly by the idle timer.
5599 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5600 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5601 (Bug#15331)
5602
5603 2013-12-16 Juri Linkov <juri@jurta.org>
5604
5605 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5606 (Bug#16035)
5607 (isearch-pre-command-hook): Check `this-command' for symbolp.
5608
5609 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5612
5613 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5614
5615 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5616 (cfengine3--current-function): Bring in the current-function
5617 functionality from `cfengine3--current-word'.
5618 (cfengine3-completion-function): Bring in the
5619 bounds-of-current-word functionality from
5620 `cfengine3--current-word'.
5621
5622 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5623
5624 * window.el (display-buffer-below-selected):
5625 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5626
5627 2013-12-16 Leo Liu <sdl.web@gmail.com>
5628
5629 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5630 Remove NOMSG arg and all uses changed.
5631
5632 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5635 (cua--deactivate-rectangle): Don't deactivate the mark.
5636 (cua-set-rectangle-mark): Don't set mark-active since
5637 cua--activate-rectangle already does it for us.
5638 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5639 non-rectangular region.
5640
5641 * emulation/cua-base.el (cua-repeat-replace-region):
5642 Use with-current-buffer.
5643
5644 * net/gnutls.el: Use cl-lib.
5645 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5646
5647 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5648
5649 * emacs-lisp/package.el (package-built-in-p): Support both
5650 built-in and the package.el converted package descriptions.
5651 (package-show-package-list): Allow keywords.
5652 (package-keyword-button-action): Use it instead of
5653 `finder-list-matches'.
5654 (package-menu-filter-interactive): Interactive filtering (by
5655 keyword) function.
5656 (package-menu--generate): Support keywords and change keymappings
5657 and headers when they are given.
5658 (package--has-keyword-p): Helper function.
5659 (package-menu--refresh): Use it.
5660 (package--mapc): Helper function.
5661 (package-all-keywords): Use it.
5662 (package-menu-mode-map): Set up menu items and keybindings to
5663 provide a filtering UI.
5664
5665 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5666
5667 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5668 the behavior when a certificate fails validation. Defaults to
5669 old behavior: never abort, just warn.
5670 (gnutls-negotiate): Use it.
5671
5672 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5673
5674 * window.el (display-buffer-below-selected): Never split window
5675 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5676
5677 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5678
5679 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5680 (package-buffer-info): Use it (bug#15108).
5681
5682 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 * icomplete.el (icomplete-completions): Make sure the prefix is already
5685 displayed elsewhere before hiding it (bug#16219).
5686
5687 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5688
5689 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5690 open-paren tokens when preceded by a open-paren, too.
5691 (ruby-smie-rules): Handle virtual indentation after open-paren
5692 tokens specially. If there is code between it and eol, return the
5693 column where is starts (Bug#16118).
5694
5695 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5696
5697 * progmodes/cfengine.el: Fix `add-hook' doc.
5698 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5699 (cfengine3--current-word): Fix parameters.
5700 (cfengine3-make-syntax-cache): Simplify further.
5701 (cfengine3-completion-function, cfengine3--current-function):
5702 Use `assq' for symbols.
5703 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5704
5705 2013-12-13 Glenn Morris <rgm@gnu.org>
5706
5707 * loadup.el (load-path): Warn if site-load or site-init changes it.
5708 No more need to reset it when bootstrapping.
5709
5710 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5711
5712 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5713 locations for cf-promises.
5714 (cfengine-mode-syntax-functions-regex): New caching variable.
5715 (cfengine3-fallback-syntax): Fallback syntax for cases where
5716 cf-promises doesn't run.
5717 (cfengine3--current-word): Reimplement using
5718 `cfengine-mode-syntax-functions-regex'.
5719 (cfengine3-completion-function, cfengine3--current-function):
5720 Use `cfengine3-make-syntax-cache' directly.
5721 (cfengine3-clear-syntax-cache): New function.
5722 (cfengine3-make-syntax-cache): Simplify and create
5723 `cfengine-mode-syntax-functions-regex' on demand.
5724 (cfengine3-format-function-docstring): Don't call
5725 `cfengine3-make-syntax-cache' explicitly.
5726
5727 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5728
5729 Fix windmove-find-other-window broken after pixelwise resizing
5730 (Bug#16017).
5731 * windmove.el (windmove-other-window-loc): Revert change from
5732 2013-12-04.
5733 (windmove-find-other-window): Call window-in-direction.
5734 * window.el (window-in-direction): New arguments SIGN, WRAP and
5735 MINI to emulate original windmove-find-other-window behavior.
5736
5737 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5738
5739 * simple.el (blink-matching--overlay): New variable.
5740 (blink-matching-open): Instead of moving point, highlight the
5741 matching paren with an overlay
5742 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5743
5744 * faces.el (paren-showing-faces, show-paren-match)
5745 (show-paren-mismatch): Move from paren.el.
5746
5747 2013-12-13 Leo Liu <sdl.web@gmail.com>
5748
5749 * indent.el (indent-region): Disable progress reporter in
5750 minibuffer. (Bug#16108)
5751
5752 * bindings.el (visual-order-cursor-movement): Fix version.
5753
5754 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5755
5756 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5757 Also match after beginning of line.
5758 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5759 files. Thanks to Russell Sim. (Bug#15378)
5760
5761 2013-12-13 Juri Linkov <juri@jurta.org>
5762
5763 * simple.el <Keypad support>: Remove key bindings duplicated
5764 with bindings.el. (Bug#14397)
5765
5766 2013-12-13 Juri Linkov <juri@jurta.org>
5767
5768 * comint.el (comint-mode-map): Replace `delete-char' with
5769 `delete-forward-char'. (Bug#16109)
5770
5771 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5772
5773 * progmodes/python.el (python-indent-calculate-indentation):
5774 Fix de-denters cornercase. (Bug#15731)
5775
5776 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5779 (advice--make): Pay attention to `depth'.
5780 (advice--make-1): Don't autoload commands eagerly.
5781 * emacs-lisp/elp.el (elp-instrument-function):
5782 * emacs-lisp/trace.el (trace-function-internal):
5783 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5784
5785 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5786
5787 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5788
5789 * term/w32-win.el (w32-handle-dropped-file):
5790 * startup.el (normal-top-level):
5791 * net/browse-url.el (browse-url-file-url):
5792 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5793 decode file names using 'utf-8' rather than
5794 file-name-coding-system.
5795
5796 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5797
5798 * progmodes/python.el (python-indent-context)
5799 (python-indent-calculate-indentation): Fix auto-identation
5800 behavior for comment blocks. (Bug#15916)
5801
5802 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5803
5804 * progmodes/python.el (python-indent-calculate-indentation):
5805 When determining indentation, don't treat "return", "pass", etc., as
5806 operators when they are just string constituents. (Bug#15812)
5807
5808 2013-12-12 Juri Linkov <juri@jurta.org>
5809
5810 * uniquify.el (uniquify-buffer-name-style): Change default to
5811 `post-forward-angle-brackets'.
5812
5813 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5814 `uniquify'. Change default to `post-forward-angle-brackets'.
5815
5816 2013-12-11 Glenn Morris <rgm@gnu.org>
5817
5818 * emacs-lisp/package.el (finder-list-matches):
5819 Autoload rather than falsely declaring.
5820
5821 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5822
5823 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5824 (eww-mode-map): Use them.
5825
5826 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5827
5828 * window.el (display-buffer-in-side-window): Fix doc-string
5829 (Bug#16115).
5830
5831 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * vc/vc-git.el: Silence byte-compiler warnings.
5834 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5835 (log-edit-set-header): Declare.
5836
5837 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5838
5839 * Makefile.in (custom-deps, finder-data): Run output file names
5840 through unmsys--file-name. (Bug#16099)
5841
5842 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5845 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5846
5847 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5848 instead of deleting the selection "by hand" (bug#16098).
5849 Rely on insert-for-yank to yank rectangles.
5850 (cua-highlight-region-shift-only): Mark obsolete.
5851 (cua-mode): Don't enable/disable transient-mark-mode,
5852 shift-select-mode (cua-mode works both with and without them), and
5853 pc-selection-mode (obsolete).
5854 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5855 (cua--deactivate-rectangle): Deactivate it.
5856
5857 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5858 (delete-selection-helper): Make sure yank starts at the top of the
5859 deleted region.
5860 (minibuffer-keyboard-quit): Use region-active-p.
5861
5862 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5863
5864 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5865 to `delete' (bug#16109).
5866
5867 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5868
5869 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5870 info manual and show keybindings and set `:group' keyword.
5871
5872 2013-12-11 Juri Linkov <juri@jurta.org>
5873
5874 * delsel.el (delete-active-region): Let-bind `this-command'
5875 to prevent `kill-region' from changing its original value.
5876 (delete-selection-helper): Handle `overwrite-mode' for the type
5877 `kill' exactly the same way as for the type `t'.
5878 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5879 Support more commands. (Bug#13312)
5880
5881 2013-12-11 Juri Linkov <juri@jurta.org>
5882
5883 * bindings.el: Map kp keys to non-kp keys systematically
5884 with basic modifiers control, meta and shift. (Bug#14397)
5885
5886 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5887
5888 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5889 "Close browser" menu items. Fix wrong function of "List
5890 bookmarks".
5891
5892 2013-12-11 Juri Linkov <juri@jurta.org>
5893
5894 * misearch.el (multi-isearch-buffers): Set the value of
5895 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5896 arg of isearch-forward to t.
5897 (multi-isearch-buffers-regexp): Set the value of
5898 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5899 arg of isearch-forward-regexp to t.
5900 (multi-isearch-files): Set the value of
5901 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5902 arg of isearch-forward to t.
5903 (multi-isearch-files-regexp): Set the value of
5904 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5905 arg of isearch-forward-regexp to t. (Bug#16035)
5906
5907 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5908 arg of isearch-forward to t.
5909 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5910 arg of isearch-forward-regexp to t.
5911 (dired-isearch-filter-filenames): Remove unnecessary check for
5912 `dired-isearch-filenames'.
5913
5914 * comint.el (comint-history-isearch-backward):
5915 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5916 (comint-history-isearch-backward-regexp):
5917 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5918
5919 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5920
5921 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5922 unmsys--file-name. (Bug#16099)
5923
5924 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5925
5926 * emacs-lisp/package.el (package-keyword-button-action):
5927 Remove finder.el require dependency.
5928
5929 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5930
5931 * emacs-lisp/package.el: Require finder.el.
5932 (describe-package-1): Add keyword buttons.
5933 (package-make-button): New convenience function.
5934 (package-keyword-button-action): Keyword button action using
5935 `finder-list-matches'.
5936
5937 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5938
5939 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5940 last commit.
5941
5942 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5943
5944 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5945 symlinked files.
5946
5947 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5948
5949 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5950 after the end of a percent literal.
5951
5952 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5953
5954 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5955 Handle caret-delimited strings (Bug#16079).
5956
5957 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5958
5959 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5960 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5961 `ruby-parse-partial' (Bug#16078).
5962
5963 2013-12-09 Leo Liu <sdl.web@gmail.com>
5964
5965 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5966
5967 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5968
5969 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5970 (js-switch-indent-offset): New option.
5971 (js--proper-indentation): Use it. And handle the case when
5972 "default" is actually a key in an object literal.
5973 (js--same-line): New function.
5974 (js--multi-line-declaration-indentation): Use it.
5975 (js--indent-in-array-comp, js--array-comp-indentation):
5976 New functions.
5977 (js--proper-indentation): Use them, to handle array comprehension
5978 continuations.
5979
5980 2013-12-08 Leo Liu <sdl.web@gmail.com>
5981
5982 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5983 (flymake-make-overlay): Remove arg MOUSE-FACE.
5984 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5985
5986 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5989 New function.
5990 (redisplay-highlight-region-function): Use it.
5991
5992 * emulation/cua-base.el (cua--explicit-region-start)
5993 (cua--last-region-shifted): Remove.
5994 (cua--deactivate): Use deactivate-mark.
5995 (cua--pre-command-handler-1): Don't handle shift-selection.
5996 (cua--post-command-handler-1): Don't change transient-mark-mode.
5997 (cua--select-keymaps): Use region-active-p rather than
5998 cua--explicit-region-start or cua--last-region-shifted.
5999 (cua-mode): Enable shift-select-mode.
6000
6001 2013-12-08 Leo Liu <sdl.web@gmail.com>
6002
6003 * progmodes/flymake.el (flymake-popup-current-error-menu):
6004 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6005 (flymake-posn-at-point-as-event, flymake-popup-menu)
6006 (flymake-make-emacs-menu): Remove. (Bug#16077)
6007
6008 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * rect.el (rectangle-mark-mode): Activate mark even if
6011 transient-mark-mode is off (bug#16066).
6012 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6013 is > mark and at bolp.
6014
6015 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6016 (region-extract-function): Use it.
6017 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6018 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6019 Delete functions.
6020 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6021 kill-ring-save, kill-region, delete-char, delete-forward-char.
6022 Ignore self-insert-iso.
6023
6024 * emulation/cua-gmrk.el (cua--init-global-mark):
6025 Ignore `self-insert-iso'.
6026
6027 * emulation/cua-base.el (cua--prefix-copy-handler)
6028 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6029 checking cua--rectangle.
6030 (cua-delete-region): Use region-extract-function.
6031 (cua-replace-region): Delete function.
6032 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6033 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6034 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6035 (cua--init-keymaps): Don't remap delete-selection commands.
6036 (cua-mode): Use delete-selection-mode instead of rolling our own
6037 (bug#16085).
6038
6039 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6040 Obey region-extract-function.
6041
6042 Make registers and delete-selection-mode work on rectangles.
6043 * register.el (describe-register-1): Don't modify the register's value.
6044 (copy-to-register): Obey region-extract-function.
6045 * delsel.el (delete-active-region): Obey region-extract-function.
6046
6047 2013-12-08 Leo Liu <sdl.web@gmail.com>
6048
6049 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6050 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6051 (flymake-compilation-prevents-syntax-check)
6052 (flymake-start-syntax-check-on-newline)
6053 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6054 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6055 (flymake-xml-program, flymake-master-file-dirs)
6056 (flymake-master-file-count-limit)
6057 (flymake-allowed-file-name-masks): Relocate.
6058 (flymake-makehash, flymake-float-time)
6059 (flymake-replace-regexp-in-string, flymake-split-string)
6060 (flymake-get-temp-dir): Remove.
6061 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6062 (flymake-current-row, flymake-selected-frame)
6063 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6064 related functions. (Bug#16077)
6065
6066 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6067
6068 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6069
6070 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6071
6072 * help-fns.el (describe-function-1): Use new advice-* functions
6073 rather than old ad-* functions. Fix function type description and
6074 source links for advised functions and subrs.
6075
6076 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6077
6078 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6079
6080 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6081
6082 * progmodes/compile.el (compilation-start):
6083 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6084
6085 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6086 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6087
6088 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6089
6090 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6091 Touch up the last change.
6092
6093 2013-12-06 Leo Liu <sdl.web@gmail.com>
6094
6095 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6096 (inferior-octave-startup): Always use "octave> " for prompt.
6097 (octave-goto-function-definition)
6098 (octave-sync-function-file-names)
6099 (octave-find-definition-default-filename): Remove redundant backquotes.
6100
6101 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6102
6103 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6104 syntax for `?'.
6105 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6106 where appropriate already.
6107 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6108 end of method names (Bug#15874).
6109
6110 2013-12-06 Juri Linkov <juri@jurta.org>
6111
6112 * isearch.el (isearch--saved-overriding-local-map):
6113 New internal variable.
6114 (isearch-mode): Set it to the initial value of
6115 `overriding-terminal-local-map'.
6116 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6117 with `isearch--saved-overriding-local-map'. (Bug#16035)
6118
6119 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6120
6121 * progmodes/octave.el (inferior-octave-completion-table):
6122 Turn back into function, use `completion-table-with-cache'
6123 (Bug#11906). Update all references.
6124
6125 * minibuffer.el (completion-table-with-cache): New function.
6126
6127 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6128
6129 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6130
6131 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6132
6133 * net/eww.el (eww-current-source): New variable to store page
6134 source.
6135 (eww-display-html, eww-mode, eww-save-history)
6136 (eww-restore-history): Use it.
6137 (eww-view-source): New command to view page source.
6138 Opportunistically uses `html-mode' to highlight the buffer.
6139 (eww-mode-map): Install it.
6140
6141 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6142
6143 * net/dbus.el (dbus-unregister-service)
6144 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6145 Fix docstring.
6146 (dbus-unregister-service): Skip :serial entries in
6147 `dbus-registered-objects-table'.
6148 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6149
6150 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6151
6152 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6153 around keywords with extra `split-string' argument.
6154
6155 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6156
6157 * windmove.el (windmove-other-window-loc): Handle navigation
6158 between windows (excluding the minibuffer window - Bug#16017).
6159
6160 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6161
6162 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6163 in D-Bus type syntax.
6164 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6165 preserve unibyte strings. (Bug#16048)
6166
6167 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6170 Call force-mode-line-update is the proper buffer (bug#16042).
6171
6172 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6173
6174 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6175 `log-edit-remember-comment', make argument optional. Adjust all
6176 callers.
6177 (log-edit-mode): Add `log-edit-remember-comment' to
6178 `kill-buffer-hook' locally.
6179 (log-edit-kill-buffer): Don't remember comment explicitly since
6180 the buffer is killed anyway.
6181
6182 2013-12-04 Juri Linkov <juri@jurta.org>
6183
6184 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6185 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6186
6187 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6188
6189 * notifications.el (notifications-close-notification): Call the
6190 D-Bus method with ID being a `:uint32'. (Bug#16030)
6191
6192 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6193
6194 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6195
6196 2013-12-03 Juri Linkov <juri@jurta.org>
6197
6198 * progmodes/compile.el (compilation-start): Rename window alist
6199 entry `no-display-ok' to `allow-no-window'.
6200
6201 * simple.el (shell-command): Add window alist entry
6202 `allow-no-window' to `display-buffer'.
6203 (async-shell-command): Doc fix.
6204
6205 * window.el (display-buffer-no-window): New action function.
6206 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6207
6208 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6209
6210 * vc/log-edit.el (log-edit-set-header): Extract from
6211 `log-edit-toggle-header'.
6212 (log-edit-extract-headers): Separate the summary, when extracted
6213 from header, from the rest of the message with an empty line.
6214
6215 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6216 line, if present, to the Summary header.
6217
6218 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6221 in current-buffer (bug#16029).
6222
6223 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6224
6225 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6226 (debugger-mode-map): Bind it.
6227 (debugger--backtrace-base): New function.
6228 (debugger-eval-expression): Use it.
6229 (debugger-frame-number): Skip local vars when present.
6230 (debugger--locals-visible-p, debugger--insert-locals)
6231 (debugger--show-locals, debugger--hide-locals): New functions.
6232
6233 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6234
6235 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6236 "LC_ALL".
6237 (tramp-get-remote-locale): New defun.
6238 (tramp-open-connection-setup-interactive-shell): Use it.
6239
6240 2013-12-02 Leo Liu <sdl.web@gmail.com>
6241
6242 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6243
6244 * progmodes/sh-script.el (sh-shell-process):
6245 * progmodes/octave.el (inferior-octave-process-live-p):
6246 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6247 (gdb-inferior-io-sentinel):
6248 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6249
6250 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6251
6252 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6253 `save-selected-window' to `log-edit-hide-buf'. This makes
6254 `log-edit-show-files' idempotent.
6255 (log-edit-show-files): Mark the new window as dedicated.
6256
6257 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6258
6259 * vc/log-edit.el (log-edit-mode-map): Add binding for
6260 `log-edit-kill-biffer'.
6261 (log-edit-hide-buf): Add a FIXME comment.
6262 (log-edit-add-new-comment): New function, extracted from
6263 `log-edit-done'.
6264 (log-edit-done, log-edit-add-to-changelog): Use it.
6265 (log-edit-kill-buffer): New command.
6266
6267 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6268
6269 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6270 instead of killing the buffer.
6271
6272 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6275
6276 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6277
6278 * net/eww.el (eww-form-checkbox-selected-symbol)
6279 (eww-form-checkbox-symbol): New customizable variable.
6280 (eww-form-checkbox, eww-toggle-checkbox):
6281 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6282
6283 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6284 (shr--get-media-pref, shr--extract-best-source): New function.
6285 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6286 no :src tag was specified.
6287
6288 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6289 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6290 Use \\` to match beginning of string instead of ^.
6291 (eww-browse-with-external-browser): Provide optional URL parameter.
6292 (eww-render): Set `eww-current-title' back to "".
6293
6294 * net/shr.el (shr-tag-video): Display content for video if no
6295 poster is available.
6296 (shr-tag-audio): Add support for <audio> tag.
6297
6298 * net/eww.el (eww-text-input-types): New const.
6299 (eww-process-text-input): Treat input types in
6300 `eww-text-input-types' as text.
6301
6302 * net/shr.el (shr-tag-table): Fix comment typo.
6303
6304 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6305
6306 * net/eww.el (eww-follow-link): New command to avoid reloading
6307 pages when we follow #target links (bug#15243).
6308 (eww-quit): Special mode buffers shouldn't query before exiting.
6309
6310 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6311
6312 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6313 forms.
6314
6315 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6316
6317 * net/eww.el (eww-restore-history): Update the window title after
6318 moving in the history.
6319 (eww-current-dom): New variable used to save the current DOM.
6320
6321 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6322
6323 * vc/log-edit.el (log-edit-mode-map): Add binding for
6324 `log-edit-beginning-of-line'.
6325 (log-edit-setup-add-author): New user option.
6326 (log-edit-beginning-of-line): New command.
6327 (log-edit): Move major mode call above the contents setup so that
6328 the local variable values are already applied.
6329 (log-edit): Only insert "Author: " when
6330 `log-edit-setup-add-author' is non-nil.
6331 (log-edit): When SETUP is non-nil, position point after ": "
6332 instead of point-min.
6333
6334 2013-12-01 Glenn Morris <rgm@gnu.org>
6335
6336 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6337
6338 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6339
6340 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6341 redisplay to make sure the initial frame gets a chance to become
6342 visible. (Bug#16014)
6343
6344 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6345
6346 Support resizing frames and windows pixelwise.
6347 * cus-start.el (frame-resize-pixelwise)
6348 (window-resize-pixelwise): New entries.
6349 * emacs-lisp/debug.el (debug): Use window-total-height instead
6350 of window-total-size.
6351 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6352 * help.el (describe-bindings-internal): Use help-buffer as
6353 argument for with-help-window.
6354 (temp-buffer-max-width): New option.
6355 (resize-temp-buffer-window, help-window-setup)
6356 (with-help-window): Rewrite.
6357 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6358 dragging dividers.
6359 * window.el (frame-char-size, window-min-pixel-height)
6360 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6361 (window-min-pixel-width, window-safe-min-pixel-size)
6362 (window-combination-p, window-safe-min-size)
6363 (window-resizable-p, window--size-to-pixel)
6364 (window--pixel-to-size, window--resize-apply-p): New functions.
6365 (window-safe-min-height): Fix doc-string.
6366 (window-size, window-min-size, window--min-size-1)
6367 (window-sizable, window-sizable-p, window--min-delta-1)
6368 (window-min-delta, window--max-delta-1, window-max-delta)
6369 (window--resizable, window--resizable-p, window-resizable)
6370 (window-full-height-p, window-full-width-p, window-at-side-p)
6371 (window--in-direction-2, window-in-direction)
6372 (window--resize-reset-1, window--resize-mini-window)
6373 (window-resize, window-resize-no-error)
6374 (window--resize-child-windows-normal)
6375 (window--resize-child-windows, window--resize-siblings)
6376 (window--resize-this-window, window--resize-root-window)
6377 (window--resize-root-window-vertically)
6378 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6379 (maximize-window, minimize-window, delete-window)
6380 (quit-restore-window, window-split-min-size, split-window)
6381 (balance-windows-2, balance-windows)
6382 (balance-windows-area-adjust, balance-windows-area)
6383 (window--state-get-1, window-state-get, window--state-put-1)
6384 (window--state-put-2, window-state-put)
6385 (display-buffer-record-window, window--display-buffer):
6386 Make functions handle pixelwise sizing of windows.
6387 (display-buffer--action-function-custom-type)
6388 (display-buffer-fallback-action):
6389 Add display-buffer-in-previous-window.
6390 (display-buffer-use-some-window): Resize window to height it had
6391 before.
6392 (fit-window-to-buffer-horizontally): New option.
6393 (fit-frame-to-buffer): Describe new values.
6394 (fit-frame-to-buffer-bottom-margin): Replace with
6395 fit-frame-to-buffer-margins.
6396 (window--sanitize-margin): New function.
6397 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6398 using window-text-pixel-size.
6399
6400 2013-11-30 Glenn Morris <rgm@gnu.org>
6401
6402 * emacs-lisp/bytecomp.el (byte-compile-form):
6403 Make the `interactive-only' warning like the `obsolete' one.
6404 * comint.el (comint-run):
6405 * files.el (insert-file-literally, insert-file):
6406 * replace.el (replace-string, replace-regexp):
6407 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6408 (goto-line, insert-buffer, next-line, previous-line):
6409 Tweak `interactive-only' spec.
6410
6411 Stop keeping (most) generated cedet grammar files in the repository.
6412 * Makefile.in (semantic): New.
6413 (compile-main): Depend on semantic.
6414
6415 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6418 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6419
6420 * uniquify.el (uniquify-buffer-name-style): Change default.
6421
6422 * loadup.el: Preload "uniquify".
6423
6424 * time.el (display-time-update): Update all mode lines (bug#15999).
6425
6426 * electric.el (electric-indent-mode): Enable by default.
6427 * loadup.el: Preload "electric".
6428
6429 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6430
6431 * emacs-lisp/helpers.el (string-empty-p): New function.
6432 (string-blank-p): New function.
6433
6434 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6435
6436 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6437 (Bug#14029).
6438
6439 2013-11-29 Andreas Politz <politza@fh-trier.de>
6440 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6441 allow non-lambda lists as functions.
6442 (imenu--in-alist): Don't recurse into non-subalists.
6443 (imenu): Don't pass function itself as an argument (Bug#14029).
6444
6445 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6446
6447 * progmodes/python.el (python-mode-map): Remove binding for ":".
6448 (python-indent-electric-colon): Remove command.
6449 (python-indent-post-self-insert-function): Integrate the previous code
6450 of python-indent-electric-colon. Make it conditional on
6451 electric-indent-mode.
6452 (python-mode): Add ?: to electric-indent-chars.
6453 Move python-indent-post-self-insert-function to the end of
6454 post-self-insert-hook.
6455
6456 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * doc-view.el (doc-view-goto-page): Update mode-line.
6459
6460 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6461
6462 2013-11-27 Glenn Morris <rgm@gnu.org>
6463
6464 * international/charprop.el, international/uni-bidi.el:
6465 * international/uni-category.el, international/uni-combining.el:
6466 * international/uni-comment.el, international/uni-decimal.el:
6467 * international/uni-decomposition.el, international/uni-digit.el:
6468 * international/uni-lowercase.el, international/uni-mirrored.el:
6469 * international/uni-name.el, international/uni-numeric.el:
6470 * international/uni-old-name.el, international/uni-titlecase.el:
6471 * international/uni-uppercase.el:
6472 Remove generated files from VCS repository.
6473
6474 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6475
6476 * filenotify.el (file-notify-add-watch): Don't special-case
6477 w32notify when computing the directory to watch.
6478
6479 2013-11-27 Glenn Morris <rgm@gnu.org>
6480
6481 Make bootstrap without generated uni-*.el files possible again.
6482 * loadup.el: Update command-line-args checking for unidata-gen.
6483 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6484 * composite.el, international/characters.el:
6485 Handle unicode tables being undefined.
6486
6487 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6488 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6489 (compile-main): Depend on leim rule.
6490 (leim): New rule.
6491 * loadup.el: Move leim-list.el to leim/ subdirectory.
6492 * startup.el (normal-top-level): No more leim directory.
6493 * international/ja-dic-cnv.el (skkdic-convert):
6494 Disable version-control and autoloads in output files.
6495 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6496 Disable version-control and autoloads in output files.
6497 * leim/quail: Move here from ../leim.
6498 * leim/quail/hangul.el (hangul-input-method-activate):
6499 Add autoload cookie.
6500 (generated-autoload-load-name): Set file-local value.
6501 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6502 (generated-autoload-load-name): Set file-local value.
6503
6504 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6505
6506 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6507 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6508 (eww-quit): Ask confirmation before quitting eww.
6509
6510 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6511
6512 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6513 reading output from Diff on MS-Windows and MS-DOS.
6514
6515 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6516
6517 * emacs-lisp/helpers.el (string-reverse): New function.
6518
6519 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6520
6521 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6522 names on MS Windows, like "/[::1]:".
6523
6524 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6525 SWITCHES.
6526
6527 2013-11-26 Glenn Morris <rgm@gnu.org>
6528
6529 * progmodes/python.el (python-indent-guess-indent-offset):
6530 Avoid corner-case error. (Bug#15975)
6531
6532 Preload leim-list.el. (Bug#4789)
6533 * loadup.el: Load leim-list.el when found.
6534 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6535
6536 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6537
6538 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6539
6540 * emacs-lisp/helpers.el (string-join): New function.
6541
6542 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6543
6544 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6545 Mark as obsolete and replace it with a symbol property.
6546 (byte-compile-form): Use new 'interactive-only property.
6547 * comint.el, files.el, replace.el, simple.el:
6548 Apply new 'interactive-only properly.
6549
6550 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6551
6552 * window.el (display-buffer-at-bottom): Make sure that
6553 split-window-sensibly creates the new window on bottom
6554 (Bug#15961).
6555
6556 2013-11-23 David Kastrup <dak@gnu.org>
6557
6558 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6559 on the conflict markers when available.
6560 (smerge--get-marker): New function.
6561 (smerge-end-re, smerge-base-re): Add subgroup.
6562
6563 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6564
6565 * frame.el (handle-focus-in, handle-focus-out): Add missing
6566 interactive spec.
6567
6568 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6571 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6572
6573 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6576 (gomoku--last-pos): New var.
6577 (gomoku--intangible-chars): New const.
6578 (gomoku--intangible): New function.
6579 (gomoku-mode): Use it. Derive from special-mode.
6580 (gomoku-move-up): Adjust line count.
6581 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6582 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6583 Simplify accordingly.
6584
6585 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6586 Remove blink-cursor code.
6587 (blink-cursor-timer-function, blink-cursor-suspend):
6588 Don't special-case GUIs.
6589 (blink-cursor-mode): Use focus-in/out-hook.
6590
6591 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6592
6593 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6594 work when annotation is invisible (Bug#13886).
6595
6596 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6597
6598 * json.el (json-alist-p): Only return non-nil if the alist has
6599 simple keys (Bug#13518).
6600
6601 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6602
6603 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6604 when control-statement is the first statement in a buffer (Bug#15956).
6605
6606 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6607
6608 * imenu.el (imenu-generic-skip-comments-and-strings):
6609 New option (Bug#15560).
6610 (imenu--generic-function): Use it.
6611
6612 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6613
6614 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6615 (Bug#13898)
6616
6617 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6618
6619 * emacs-lisp/helpers.el: Add some string helpers.
6620 (string-trim-left): Removes leading whitespace.
6621 (string-trim-right): Removes trailing whitespace.
6622 (string-trim): Removes leading and trailing whitespace.
6623
6624 * subr.el (string-suffix-p): New function.
6625
6626 2013-11-23 Glenn Morris <rgm@gnu.org>
6627
6628 * progmodes/python.el (python-shell-send-file):
6629 Add option to delete file when done. (Bug#15647)
6630 (python-shell-send-string, python-shell-send-region): Use it.
6631
6632 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6633
6634 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6635 to set buffer-read-only to t, never to nil. (Bug#15938)
6636
6637 * textmodes/tex-mode.el (latex-noindent-environments):
6638 Add safe-local-variable property. (Bug#15936)
6639
6640 2013-11-23 Glenn Morris <rgm@gnu.org>
6641
6642 * textmodes/enriched.el (enriched-mode): Doc fix.
6643 * emacs-lisp/authors.el (authors-renamed-files-alist):
6644 Add enriched.doc -> enriched.txt.
6645
6646 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6647
6648 2013-11-22 Leo Liu <sdl.web@gmail.com>
6649
6650 * progmodes/octave.el (inferior-octave-startup): Spit out error
6651 message.
6652
6653 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6654
6655 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6656 Improve docstring.
6657 Add :version.
6658 (ruby-encoding-magic-comment-style): Add :version.
6659
6660 2013-11-22 Leo Liu <sdl.web@gmail.com>
6661
6662 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6663 (Bug#15076)
6664 (octave-help-mode): Adapt to change to help-mode-finish to use
6665 derived-mode-p on 2013-09-17.
6666 (inferior-octave-prompt): Also match octave-gui.
6667 (octave-kill-process): Don't ask twice. (Bug#10564)
6668
6669 2013-11-22 Leo Liu <sdl.web@gmail.com>
6670
6671 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6672 (inferior-octave-startup, inferior-octave-check-process)
6673 (inferior-octave-track-window-width-change)
6674 (octave-completion-at-point, octave-eldoc-function): Use it.
6675 (octave-kill-process): Provide confirmation. (Bug#10564)
6676
6677 2013-11-21 Leo Liu <sdl.web@gmail.com>
6678
6679 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6680 Fix obsolete variable comment-use-global-state.
6681
6682 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6683
6684 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6685 Add `octave-source-file'.
6686 (octave-source-file): New function. (Bug#15935)
6687
6688 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6689
6690 * net/eww.el (eww-local-regex): New variable.
6691 (eww): Use it to detect localhost and similar.
6692
6693 2013-11-21 Leo Liu <sdl.web@gmail.com>
6694
6695 Add completion for command `ag'.
6696 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6697 (pcomplete/ag): New function.
6698 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6699
6700 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6701
6702 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6703 (bug#14646).
6704 (make-obsolete): Remove interactive spec.
6705
6706 2013-11-21 Glenn Morris <rgm@gnu.org>
6707
6708 * startup.el (command-line-1): Use path-separator with -L.
6709
6710 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6711
6712 * emacs-lisp/package.el (describe-package-1): Add package archive
6713 to shown fields.
6714
6715 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6716
6717 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6718 Change default to "# encoding: %s" to differentiate it from the
6719 default Ruby encoding comment template.
6720
6721 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6722
6723 * ses.el (ses-mode): Doc fix. (Bug#14748)
6724
6725 2013-11-20 Leo Liu <sdl.web@gmail.com>
6726
6727 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6728
6729 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6730
6731 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6732 when rebase or bisect are in progress.
6733
6734 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6735
6736 * filenotify.el (file-notify-add-watch): Doc fix.
6737
6738 2013-11-19 Leo Liu <sdl.web@gmail.com>
6739
6740 * obsolete/rcompile.el: Mark obsolete.
6741
6742 * progmodes/compile.el (compilation-start)
6743 (compilation-goto-locus, compilation-find-file):
6744 Pass no-display-ok and handle nil value from display-buffer.
6745 (Bug#13594)
6746
6747 * window.el (display-buffer-alist, display-buffer): Document the
6748 new parameter no-display-ok. Return either a window or nil
6749 but never a non-window value.
6750
6751 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * electric.el (electric-indent-mode-map): Remove.
6754 (electric-indent-mode): Change the global-map instead (bug#15915).
6755
6756 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6757 Use add-function.
6758
6759 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * emacs-lisp/nadvice.el (remove-function): Align with
6762 add-function's behavior.
6763
6764 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6765 (gdb--string-regexp): New constant.
6766 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6767 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6768 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6769 submatch 1.
6770 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6771 Adjust use accordingly.
6772 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6773
6774 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6775
6776 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6777 interpolation curlies (Bug#15914).
6778
6779 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6780
6781 * calc/calc.el (calc-context-sensitive-enter): New variable.
6782 (calc-enter): Use `calc-context-sensitive-enter'.
6783
6784 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6785
6786 * progmodes/cfengine.el: Version bump.
6787 (cfengine-cf-promises): New defcustom to locate cf-promises.
6788 (cfengine3-vartypes): Add new "data" type.
6789 (cfengine3--current-word): New function to get current name-like
6790 word or its bounds.
6791 (cfengine3--current-function): New function to look up a CFEngine
6792 function's definition.
6793 (cfengine3-format-function-docstring): New function.
6794 (cfengine3-make-syntax-cache): New function.
6795 (cfengine3-documentation-function): New function: ElDoc glue.
6796 (cfengine3-completion-function): New function: completion glue.
6797 (cfengine3-mode): Set `compile-command',
6798 `eldoc-documentation-function', and add to
6799 `completion-at-point-functions'.
6800
6801 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6802
6803 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6804 `tramp-current-connection'.
6805
6806 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6807
6808 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6809 nil/self/true/false with "end of symbol".
6810
6811 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6812
6813 * subr.el (version-regexp-alist): Fix a typo.
6814
6815 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6816
6817 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6818 "en_US.utf8" and "LC_CTYPE" to "".
6819 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6820 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6821
6822 2013-11-15 Leo Liu <sdl.web@gmail.com>
6823
6824 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6825
6826 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * progmodes/gud.el (ctl-x-map):
6829 Remove C-x SPC binding. (Bug#12342)
6830 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6831
6832 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6833
6834 * subr.el (version-regexp-alist):
6835 Recognize hg, svn and darcs versions as snapshot versions.
6836
6837 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6838 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6839 (ruby--encoding-comment-required-p): Extract from
6840 `ruby-mode-set-encoding'.
6841 (ruby-mode-set-encoding): Add the ability to always insert an
6842 utf-8 encoding comment. Fix and simplify coding comment update
6843 logic.
6844
6845 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6846
6847 * net/tramp-gvfs.el (top): Run init code only when
6848 `tramp-gvfs-enabled' is not nil.
6849 (tramp-gvfs-enabled): Check also :system bus.
6850
6851 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 Sync with upstream verilog-mode revision 78e66ba.
6854 * progmodes/verilog-mode.el (verilog-end-of-defun)
6855 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6856 (verilog-get-end-of-defun): Remove unused argument.
6857 (verilog-comment-depth): Remove unused local `e'.
6858 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6859 Don't pass arg to verilog-get-end-of-defun.
6860
6861 2013-11-14 Glenn Morris <rgm@gnu.org>
6862
6863 * obsolete/assoc.el (aget): Prefix dynamic variable.
6864
6865 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6866
6867 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * widget.el, hfy-cmap.el: Remove bogus package version number.
6870
6871 2013-11-13 Glenn Morris <rgm@gnu.org>
6872
6873 * replace.el (replace-eval-replacement):
6874 Try to give more helpful error message. (Bug#15836)
6875
6876 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6877 (archive-7z-update): Avoid custom type mismatches.
6878
6879 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6880
6881 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6882
6883 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6884 address can be empty.
6885
6886 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6887 Accept nil SWITCHES.
6888 (tramp-gvfs-handle-write-region): Implement APPEND.
6889
6890 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6891
6892 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6893 binary "|" operator and closing block args delimiter.
6894 Remove FIXME comment referring to Ruby 1.8-only syntax.
6895 (ruby-smie--implicit-semi-p): Not after "|" operator.
6896 (ruby-smie--closing-pipe-p): New function.
6897 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6898 (ruby-smie-rules): Indent after "|".
6899
6900 2013-11-12 Glenn Morris <rgm@gnu.org>
6901
6902 * ps-print.el (ps-face-attribute-list):
6903 Handle anonymous faces. (Bug#15827)
6904
6905 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6906
6907 * window.el (display-buffer-other-frame): Fix doc-string.
6908 (Bug#15868)
6909
6910 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6911
6912 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6913
6914 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6915
6916 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6917 (tramp-sh-handle-file-local-copy): Don't write a message when
6918 saving temporary files.
6919
6920 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6921 both directories are remote.
6922 (tramp-smb-handle-directory-files): Do not return double entries.
6923 Do not expand full file names.
6924 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6925 (tramp-smb-handle-write-region): Implement APPEND.
6926 (tramp-smb-get-stat-capability): Fix a stupid bug.
6927
6928 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6931
6932 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6933
6934 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6935 throwing error over malformed let/let* (bug#15814).
6936
6937 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * iswitchb.el (iswitchb-mode): Mark obsolete.
6940
6941 2013-11-11 Glenn Morris <rgm@gnu.org>
6942
6943 * international/uni-bidi.el, international/uni-category.el:
6944 * international/uni-name.el, international/uni-numeric.el:
6945 Regenerate for Unicode 6.3.0.
6946
6947 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6948
6949 * net/tramp.el (tramp-methods):
6950 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6951 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6952
6953 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6954
6955 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6956 Force highlighting text after Summary keyword in doc face for rpm.
6957
6958 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6959
6960 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6961 available and the word has no wildcards, append one to the grep pattern.
6962 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6963 (ispell-complete-word): Call `ispell-lookup-words' with the value
6964 independent of `ispell-look-p'.
6965
6966 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6967
6968 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6969 Not after "||".
6970 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6971 their parent.
6972
6973 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6976 (ruby-font-lock-keywords): Use backquote.
6977
6978 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6979
6980 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6981 (ruby-smie--backward-token): Only consider full-string matches.
6982
6983 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6984
6985 * faces.el (describe-face): Add distant-foreground.
6986
6987 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6988
6989 * progmodes/ruby-mode.el: Improve encoding comment handling.
6990 (ruby-encoding-magic-comment-style): New option.
6991 (ruby-custom-encoding-magic-comment-template): New option.
6992 (ruby--insert-coding-comment, ruby--detect-encoding):
6993 New functions extracted from `ruby-mode-set-encoding'.
6994 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6995 to control the style of the auto-inserted encoding comment.
6996
6997 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6998
6999 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7000 Use `smie-backward-sexp' with token argument.
7001
7002 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7003
7004 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7005 Remove instrumentation code.
7006
7007 2013-11-08 Glenn Morris <rgm@gnu.org>
7008
7009 * progmodes/autoconf.el (autoconf-mode):
7010 Tweak comment-start-skip. (Bug#15822)
7011
7012 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7015 at bobp (bug#15826).
7016 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7017
7018 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7019
7020 * man.el (Man-start-calling): New macro, extracted from
7021 Man-getpage-in-background.
7022 (Man-getpage-in-background): Use it.
7023 (Man-update-manpage): New command.
7024 (Man-mode-map): Bind it.
7025
7026 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7027
7028 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7029 of "and", "or", "&&" and "||".
7030 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7031 argument. Prohibit opening curly brace because it could only be a
7032 block opener in that position.
7033 (ruby-smie--forward-token, ruby-smie--backward-token):
7034 Separate "|" from "&" or "*" going after it. That can happen in block
7035 arguments.
7036 (ruby-smie--indent-to-stmt): New function, seeks the end of
7037 previous statement or beginning of buffer.
7038 (ruby-smie-rules): Use it.
7039 (ruby-smie-rules): Check if there's a ":" before a curly block
7040 opener candidate; if there is, it's a hash.
7041
7042 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7045 (cl--block-wrapper): Fix last accidental change.
7046
7047 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7048
7049 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7050 Instrument, in order to hunt failure on hydra.
7051
7052 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7053
7054 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7055 malformed bindings form (bug#15814).
7056
7057 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7058
7059 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7060 "." compared to " @ ". This incidentally fixes some indentation
7061 examples with "do".
7062 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7063 (ruby-smie-grammar): New tokens: "and" and "or".
7064 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7065 Exclude "and" and "or". Remove "do" in order to work around token
7066 priorities.
7067 (ruby-smie-rules): Add all infix tokens. Handle the case of
7068 beginning-of-buffer.
7069
7070 2013-11-06 Glenn Morris <rgm@gnu.org>
7071
7072 * Makefile.in (setwins_almost, setwins_for_subdirs):
7073 Avoid accidental matches.
7074
7075 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * menu-bar.el (popup-menu): Use key-binding.
7078
7079 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7080
7081 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7082 menus, support also the menus produced by minor modes.
7083 (Bug#15817)
7084
7085 2013-11-06 Leo Liu <sdl.web@gmail.com>
7086
7087 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7088 DISTANCE to bound the search. All uses changed. (Bug#15808)
7089
7090 2013-11-06 Glenn Morris <rgm@gnu.org>
7091
7092 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7093 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7094 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7095
7096 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * electric.el (electric-indent-just-newline): New command.
7099 (electric-indent-mode-map): New keymap.
7100 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7101 Re-add :group which weren't redundant.
7102
7103 * electric.el (electric-indent-local-mode): New minor mode.
7104 (electric-indent-functions-without-reindent): New var.
7105 (electric-indent-post-self-insert-function): Use it.
7106 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7107
7108 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7109
7110 * international/quail.el (quail-help): Be more explicit about the
7111 meaning of the labels shown on the keys. (Bug#15800)
7112
7113 * startup.el (normal-top-level): Load the subdirs.el files before
7114 setting the locale environment. (Bug#15805)
7115
7116 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7117
7118 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7119 via arguments so as to get the right ones (bug#15418).
7120
7121 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7122
7123 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7124
7125 Fix problems found while writing a test suite.
7126
7127 * net/tramp-compat.el (tramp-compat-load): New defun.
7128 * net/tramp.el (tramp-handle-load): Use it.
7129
7130 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7131 "(numberp ok-if-already-exists)" correctly.
7132
7133 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7134
7135 * international/characters.el (glyphless-char-display-control):
7136 Add usage note.
7137
7138 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7139
7140 * progmodes/python.el (python-mode):
7141 * progmodes/scheme.el (scheme-mode):
7142 * progmodes/prolog.el (prolog-mode):
7143 * progmodes/ruby-mode.el (ruby-mode):
7144 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7145 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7146
7147 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * rect.el (rectangle--highlight-for-redisplay):
7150 * emacs-lisp/smie.el (smie--next-indent-change):
7151 Use buffer-chars-modified-tick.
7152
7153 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7154
7155 * electric.el (electric-indent-post-self-insert-function):
7156 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7157
7158 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7159
7160 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7161
7162 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7163
7164 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7165 (bug#15786).
7166
7167 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7170
7171 * progmodes/python.el: Fix up last change.
7172 (python-shell--save-temp-file): New function.
7173 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7174 `string' comes from the current buffer.
7175 (python-shell-send-string-no-output): Remove `msg' arg.
7176 (python--use-fake-loc): New var.
7177 (python-shell-buffer-substring): Obey it. Try to compensate for the
7178 extra coding line added by python-shell--save-temp-file.
7179 (python-shell-send-region): Use python-shell--save-temp-file and
7180 python-shell-send-file directly. Add `nomain' argument.
7181 (python-shell-send-buffer): Use python-shell-send-region.
7182 (python-electric-pair-string-delimiter): New function.
7183 (python-mode): Use it.
7184
7185 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7186
7187 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7188 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7189 environment and decoding all of the default-directory's to here
7190 from command-line.
7191 (command-line): Decode also argv[0].
7192
7193 * loadup.el: Error out if default-directory is a multibyte string
7194 when we are dumping.
7195
7196 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7197
7198 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7199
7200 * emacs-lisp/package.el (package-menu-mode)
7201 (package-menu--print-info, package-menu--archive-predicate):
7202 Add Archive column to package list.
7203
7204 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7205
7206 Fix problems found while writing a test suite.
7207
7208 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7209 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7210 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7211 to nil when running original file name handler. Otherwise,
7212 there are problems with constructs like "$$FOO".
7213
7214 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7215 for `localname'.
7216
7217 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7218
7219 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7220
7221 * subr.el (version<, version<=, version=):
7222 Update docstrings with information for snapshot versions.
7223
7224 * helpers.el: New library for misc helper functions.
7225 (hash-table-keys): New function returning a list of hash keys.
7226 (hash-table-values): New function returning a list of hash values.
7227
7228 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7229
7230 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7231 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7232
7233 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7234
7235 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7236 checking whether point is after a 1-letter word.
7237
7238 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7239
7240 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7241 Don't infloop when expanding region over `multiline' syntax-type that
7242 begins a line (bug#15778).
7243
7244 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7247 Make it into a proper minor mode.
7248 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7249 (rectangle-mark-mode-map): New keymap.
7250 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7251
7252 2013-11-04 Glenn Morris <rgm@gnu.org>
7253
7254 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7255
7256 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7257
7258 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7259 (ruby-smie-rules): Use smie-rule-parent instead.
7260
7261 * emacs-lisp/smie.el (smie-rule-parent): Always call
7262 smie-indent-virtual rather than only for hanging tokens.
7263 (smie--next-indent-change): New helper command.
7264
7265 2013-11-03 Glenn Morris <rgm@gnu.org>
7266
7267 * Makefile.in (abs_srcdir): Remove.
7268 (emacs): Unset EMACSLOADPATH.
7269
7270 2013-11-02 Glenn Morris <rgm@gnu.org>
7271
7272 * Makefile.in (EMACS): Use a relative filename.
7273 (abs_top_builddir): Remove.
7274 (custom-deps, finder-data, autoloads): Use --chdir.
7275
7276 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7277
7278 Use relative filenames in TAGS files.
7279 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7280 (lisptagsfiles4, TAGS): Use relative file names.
7281 (TAGS-LISP): Remove.
7282 (maintainer-clean): No more TAGS-LISP file.
7283
7284 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7285 (lisptagsfiles4): Use absolute filenames again.
7286 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7287 Remove all *loaddefs files, not just the first. Remove esh-groups.
7288 (maintainer-clean): Delete TAGS, TAGS-LISP.
7289
7290 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7291
7292 * emacs-lisp/package.el (package-version-join):
7293 Recognize snapshot versions.
7294
7295 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7296
7297 * subr.el (version-regexp-alist): Add support for snapshot versions.
7298
7299 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7300
7301 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7302 New function, replacement for `smie-rule-parent' for when we want to
7303 skip over our direct parent if it's an assignment token..
7304 (ruby-smie-rules): Use it.
7305
7306 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7307
7308 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7309 unconditionally. Remove now unnecessary forward declarations.
7310 Remove XEmacs-specific setup.
7311 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7312 (ruby-font-lock-syntactic-keywords)
7313 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7314 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7315 (ruby-here-doc-end-syntax): Remove.
7316 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7317 defined as function.
7318
7319 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7320
7321 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7322
7323 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7324
7325 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7326 table and abbrev table, `define-derived-mode' does that for us
7327 anyway.
7328
7329 2013-11-01 Glenn Morris <rgm@gnu.org>
7330
7331 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7332 files is atomic for some time, so no parallel compilation issues).
7333
7334 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7335
7336 * faces.el (face-x-resources): Add :distant-foreground.
7337 (region): Use :distant-foreground for gtk and ns.
7338
7339 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7340
7341 Allow multiple bibliographies when BibLaTeX is used rather than
7342 BibTeX.
7343 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7344 (reftex-locate-bibliography-files): Us it.
7345
7346 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7347
7348 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7349 allow comments in pbm files.
7350
7351 * term/w32-win.el (dynamic-library-alist): Support newer versions
7352 of libjpeg starting with v7: look only for the DLL from the
7353 version against which Emacs was built.
7354 Support versions of libpng beyond 1.4.x.
7355 Support libtiff v4.x.
7356
7357 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7358
7359 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7360 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7361 Add property :safe.
7362 (ruby-deep-arglist): Add property :type.
7363
7364 2013-10-31 Glenn Morris <rgm@gnu.org>
7365
7366 * Makefile.in (custom-deps, finder-data): No need to setq the target
7367 variables, we are in the right directory and the defaults work fine.
7368
7369 2013-10-30 Glenn Morris <rgm@gnu.org>
7370
7371 * Makefile.in (autoloads): Do not use abs_lisp.
7372
7373 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7374 `newline' does not respect `standard-output', so use `princ'.
7375
7376 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7377
7378 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7379 * buff-menu.el (Buffer-menu--unmark): New function.
7380 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7381
7382 2013-10-30 Glenn Morris <rgm@gnu.org>
7383
7384 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7385
7386 * emacs-lisp/package.el (lm-homepage): Declare.
7387
7388 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7389 Fix doc typos.
7390
7391 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7392
7393 * Makefile.in (finder-data, autoloads, update-subdirs)
7394 (compile-main, compile-clean, compile-always, bootstrap-clean):
7395 Check return value of cd.
7396 (compile-calc): Remove.
7397
7398 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7401
7402 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7403 (byte-compile-and-folded): New function.
7404 (=, <, >, <=, >=): Use it.
7405
7406 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7407 (path-separator, null-device, buffer-file-coding-system)
7408 (lpr-headers-switches): Check system-type before modifying them.
7409 (find-buffer-file-type-coding-system): Mark obsolete.
7410 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7411 find-file-not-found-set-buffer-file-coding-system.
7412 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7413 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7414 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7415 (w32-direct-print-region-helper, w32-direct-print-region-function)
7416 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7417 * startup.el (normal-top-level-add-subdirs-to-load-path):
7418 * ps-print.el (ps-print-region-function):
7419 * lpr.el (print-region-function): Use new name.
7420
7421 * subr.el (custom-declare-variable-early): Remove function.
7422 (custom-declare-variable-list): Remove var.
7423 (error, user-error): Remove `while' loop.
7424 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7425 (user-emacs-directory-warning, locate-user-emacs-file):
7426 Move to files.el.
7427 * simple.el (read-quoted-char-radix, read-quoted-char):
7428 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7429 Move from subr.el.
7430 * custom.el (custom-declare-variable-list): Don't process
7431 custom-declare-variable-list.
7432
7433 * progmodes/python.el (python-shell-get-buffer): New function.
7434 (python-shell-get-process): Use it.
7435 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7436 Python which encoding was used. Don't split-string since we only care
7437 about the first line. Return the temp-file, if applicable.
7438 (python-shell-send-region): Tell compile.el how to turn locations in
7439 the temp-file into locations in the source buffer.
7440
7441 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * subr.el (undefined): Add missing behavior from the C code for
7444 unbound keys.
7445
7446 * rect.el: Use lexical-binding. Add new rectangular region support.
7447 (rectangle-mark): New command.
7448 (rectangle--region): New var.
7449 (deactivate-mark-hook): Reset rectangle--region.
7450 (rectangle--extract-region, rectangle--insert-for-yank)
7451 (rectangle--highlight-for-redisplay)
7452 (rectangle--unhighlight-for-redisplay): New functions.
7453 (region-extract-function, redisplay-unhighlight-region-function)
7454 (redisplay-highlight-region-function): Use them to handle
7455 rectangular region.
7456 * simple.el (region-extract-function): New var.
7457 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7458 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7459 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7460 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7461 (redisplay-unhighlight-region-function)
7462 (redisplay-highlight-region-function): New vars.
7463 (redisplay--update-region-highlight): New function.
7464 (pre-redisplay-function): Use it.
7465 (exchange-point-and-mark): Don't deactivate the mark before
7466 reactivate-it anyway.
7467 * comint.el (comint-kill-region): Remove yank-handler argument.
7468 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7469 (delete-char): Remove property, since it's now part of their
7470 default behavior.
7471 (self-insert-iso): Remove property since this command doesn't exist.
7472
7473 * emacs-lisp/package.el (package--download-one-archive)
7474 (describe-package-1): Don't query the user about final newline.
7475
7476 2013-10-29 Daniel Colascione <dancol@dancol.org>
7477
7478 * net/tramp.el (tramp-methods): Document new functionality.
7479 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7480 tramp-hostname-checker if method provides one instead of scanning
7481 argument list for "%h" to decide hostname acceptability.
7482
7483 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7484
7485 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7486 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7487 Handle COPY-CONTENTS. (Bug#15737)
7488
7489 2013-10-28 Daiki Ueno <ueno@gnu.org>
7490
7491 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7492 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7493
7494 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7495
7496 * image.el (defimage, image-load-path): Doc fixes.
7497
7498 2013-10-27 Alan Mackenzie <acm@muc.de>
7499
7500 Indent statements in macros following "##" correctly.
7501 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7502 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7503
7504 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7505
7506 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7507
7508 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7509
7510 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7511 after `=' is probably a new expression.
7512
7513 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7514
7515 * man.el (man-imenu-title): New option.
7516 (Man-mode-map): Add menu. (Bug#15722)
7517 (Man-mode): Add imenu to menu.
7518
7519 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7520
7521 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7522 specific in what the first arg can be: a non-keyword word,
7523 string/regexp/percent literal opener, opening paren, or unary
7524 operator followed directly by word.
7525
7526 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7529 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7530 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7531 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7532 Remove vars, they do not apply any more.
7533 (prolog-mode-abbrev-table): Remove redundant declaration.
7534 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7535 (prolog-use-smie): Remove.
7536 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7537 supported by prolog-electric-if-then-else-flag.
7538 (prolog-mode-variables, prolog-menu): Use setq-local.
7539 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7540 Remove binding to `Backspace' since this key doesn't exist anyway.
7541 Remove bindings for electric self-inserting keys.
7542 (prog-mode): Assume it's defined.
7543 (prolog-post-self-insert): New function.
7544 (prolog-mode): Use it.
7545 (prolog-indent-line, prolog-indent-level)
7546 (prolog-find-indent-of-matching-paren)
7547 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7548 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7549 (prolog-goto-next-paren, prolog-in-string-or-comment)
7550 (prolog-tokenize, prolog-inside-mline-comment)
7551 (prolog-find-start-of-mline-comment): Remove functions.
7552 (prolog-find-unmatched-paren, prolog-clause-end)
7553 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7554 (prolog-electric--if-then-else): Rename from
7555 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7556 (prolog-tokenize-searchkey): Remove const.
7557 (prolog-clause-info): Use forward-sexp.
7558 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7559 (prolog-electric-if-then-else): Remove commands.
7560 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7561 for use in post-self-insert-hook.
7562 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7563 for use in post-self-insert-hook.
7564 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7565 for use in post-self-insert-hook.
7566 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7567 adapt it for use in post-self-insert-hook.
7568
7569 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7570
7571 * emacs-lisp/ert.el (ert-run-tests-interactively):
7572 Use `completing-read'. (Bug#9756)
7573
7574 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7575
7576 * simple.el (line-move): Call line-move-1 instead of
7577 line-move-visual when the current window hscroll is zero, but
7578 temporary-goal-column indicates we will need to hscroll as result
7579 of the movement. (Bug#15712)
7580
7581 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7582
7583 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7584 capitalization. Use :visible instead of :active.
7585 Fix `ruby-indent-exp' reference. Add menu items for the generic
7586 commands that are used with SMIE.
7587 (ruby-do-end-to-brace): Insert space after `{'.
7588
7589 2013-10-25 John Anthony <john@jo.hnanthony.com>
7590
7591 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7592
7593 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7594
7595 2013-10-25 Glenn Morris <rgm@gnu.org>
7596
7597 * vc/vc.el (vc-print-log): Don't use a working revision unless
7598 one was explicitly specified. (Bug#15322)
7599
7600 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * subr.el (add-to-list): Preserve return value in compiler-macro
7603 (bug#15692).
7604
7605 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7606
7607 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7608 result. Ask user to retry using '-all' flag. (Bug#15701)
7609
7610 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * emacs-lisp/smie.el: New smie-config system.
7613 (smie-config): New defcustom.
7614 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7615 (smie-config-guess, smie-config-save): New commands.
7616 (smie-config--mode-local, smie-config--buffer-local)
7617 (smie-config--trace, smie-config--modefuns): New vars.
7618 (smie-config--advice, smie-config--mode-hook)
7619 (smie-config--setter, smie-config-local, smie-config--get-trace)
7620 (smie-config--guess-value, smie-config--guess): New functions.
7621 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7622 text properties. Treat "string fence" syntax like string syntax.
7623
7624 * progmodes/sh-script.el (sh-use-smie): Change default.
7625 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7626 (sh-var-value): Simplify by CSE.
7627 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7628 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7629 is used.
7630 (sh-guess-basic-offset): Use cl-incf.
7631 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7632
7633 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7634
7635 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7636 (bug#15699).
7637
7638 2013-10-24 Glenn Morris <rgm@gnu.org>
7639
7640 * Makefile.in (abs_top_srcdir): Remove.
7641 (update-subdirs): Use relative path to update-subdirs.
7642
7643 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7644
7645 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7646 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7647 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7648 Call unmsys--file-name before expand-file-name, not after it.
7649
7650 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7651
7652 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7653 (ert-test-skipped): New error.
7654 (ert-skip, ert-stats-skipped): New defuns.
7655 (ert--skip-unless): New macro.
7656 (ert-test-skipped): New struct.
7657 (ert--run-test-debugger, ert-test-result-type-p)
7658 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7659 (ert--stats-set-test-and-result, ert-char-for-test-result)
7660 (ert-string-for-test-result, ert-run-tests-batch)
7661 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7662 Handle skipped tests. (Bug#9803)
7663
7664 2013-10-24 Glenn Morris <rgm@gnu.org>
7665
7666 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7667
7668 * Makefile.in (abs_top_srcdir): New, set by configure.
7669 (update-subdirs): Correct build-aux location.
7670
7671 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7672
7673 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7674 value, whether we could auto-deduce `backend', or not.
7675
7676 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7677 with parameters" example. Simplify the "is it block or is it
7678 hash" check, but also make it more thorough.
7679
7680 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7681
7682 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7683
7684 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7687 { if it is hanging.
7688
7689 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7690 :before ";".
7691
7692 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7693
7694 * progmodes/compile.el (compilation-directory-matcher)
7695 (compilation-page-delimiter):
7696 Support GNU Make-4.0 directory quoting. (Bug#15678)
7697
7698 2013-10-23 Leo Liu <sdl.web@gmail.com>
7699
7700 * ido.el (ido-tidy): Handle read-only text.
7701
7702 2013-10-23 Glenn Morris <rgm@gnu.org>
7703
7704 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7705 (emacs, compile, compile-always):
7706 Quote entities that might contain whitespace.
7707 (custom-deps, finder-data, autoloads): Use abs_lisp.
7708 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7709 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7710 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7711
7712 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7713
7714 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7715 Use `following-char'.
7716
7717 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7718
7719 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7720 * progmodes/ruby-mode.el (ruby-smie-rules):
7721 Remove corresponding workaround. Fix indentation rule of ";" so it
7722 also applies when ";" is the parent.
7723
7724 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7725
7726 * frame.el (display-screens, display-pixel-height)
7727 (display-pixel-width, display-mm-width, display-backing-store)
7728 (display-save-under, display-planes, display-color-cells)
7729 (display-visual-class, display-monitor-attributes-list):
7730 Mention the optional ‘display’ argument in doc strings.
7731
7732 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7733
7734 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7735 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7736
7737 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7738
7739 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7740 TODO. Add "." after " @ ".
7741 (ruby-smie--at-dot-call): New function. Checks if point at method
7742 call with explicit target.
7743 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7744 to the method name tokens when it precedes them.
7745 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7746 (ruby-smie-rules): Add rule for indentation before and after "."
7747 token.
7748
7749 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * textmodes/remember.el (remember-diary-extract-entries):
7752 Avoid add-to-list.
7753
7754 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7755 an instruction.
7756
7757 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7758
7759 * progmodes/ruby-mode.el (ruby-smie-grammar):
7760 Add (almost) all infix operators.
7761 (ruby-smie--implicit-semi-p): Add new operator chars.
7762
7763 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7764 `smie-down-list'.
7765 (ruby-smie--args-separator-p): Check that there's no newline
7766 between method call and its arguments.
7767
7768 2013-10-20 Alan Mackenzie <acm@muc.de>
7769
7770 Allow comma separated lists after Java "implements".
7771
7772 * progmodes/cc-engine.el (c-backward-over-enum-header):
7773 Parse commas.
7774 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7775 from a "disallowed" list in enum fontification.
7776
7777 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7778
7779 * startup.el (default-frame-background-mode): Remove unused defvar.
7780
7781 * progmodes/verilog-mode.el (verilog-mode): Don't set
7782 comment-indent-function globally.
7783
7784 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7785
7786 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7787 Move Info menu item creation to ns-win.el.
7788
7789 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7790 in menu bar.
7791
7792 * menu-bar.el: Move GNUstep specific menus...
7793
7794 * term/ns-win.el (ns-initialize-window-system): ... to here.
7795
7796 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * simple.el (newline): Only run post-self-insert-hook when
7799 called interactively.
7800
7801 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7802
7803 * icomplete.el (icomplete-with-completion-tables): Add :version.
7804
7805 2013-10-19 Alan Mackenzie <acm@muc.de>
7806
7807 Fix fontification bugs with constructors and const.
7808
7809 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7810 CASE 2) Remove the check for the absence of a suffix construct
7811 after a function declaration with only types (no identifiers) in
7812 the parentheses. Also, accept a function declaration with just a
7813 type inside the parentheses, if this type can be positively
7814 recognised as such, or if a prefix keyword like "explicit" nails
7815 down the construct as a declaration.
7816
7817 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7818
7819 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7820 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7821 the problem whereby selecting a menu item that leads to a
7822 minibuffer prompt moves the cursor out of the minibuffer window,
7823 making it hard to type at the prompt. Suggested by Stefan Monnier
7824 <monnier@iro.umontreal.ca>.
7825
7826 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7827
7828 * menu-bar.el: Don't make Services menu.
7829
7830 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7831
7832 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7833 (ffap-alist): Use ffap-c++-mode for c++-mode.
7834 (ffap-c++-path): New variable.
7835 (ffap-c++-mode): New function.
7836
7837 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7838
7839 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7840
7841 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7842
7843 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7844 introduced on 2013-09-08, which results in an infinite loop
7845 requesting a password.
7846
7847 2013-10-18 Glenn Morris <rgm@gnu.org>
7848
7849 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7850
7851 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7852
7853 Sync with upstream verilog-mode revision 1a6ecec7.
7854 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7855 (verilog-mode-release-date): Remove.
7856 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7857 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7858 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7859 (verilog-auto-tieoff-ignore-regexp)
7860 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7861 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7862 (verilog-signals-with, verilog-dir-cache-preserving)
7863 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7864 Doc fixes.
7865 (verilog-case-fold): New option, to control case folding in
7866 regexp searches, bug597.
7867 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7868 (verilog-string-match-fold, verilog-in-paren-count)
7869 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7870 (verilog-at-close-struct-p): New functions.
7871 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7872 (verilog-forward-sexp, verilog-set-auto-endcomments)
7873 (verilog-leap-to-case-head): Handle "unique0" case.
7874 (verilog-in-constraint-re): New constant.
7875 (verilog-keywords, verilog-type-font-keywords):
7876 Add some SystemVerilog 1800-2012 keywords.
7877 (verilog-label-be): Remove unimplemented argument, bug669.
7878 (verilog-batch-execute-func): When batch expanding clear
7879 create-lockfiles to prevent spurious user locks when a file ends
7880 up not changing.
7881 (verilog-calculate-indent, verilog-calc-1)
7882 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7883 (verilog-do-indent): Fix indentation of nested constraints
7884 and structures.
7885 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7886 (verilog-auto-inst-param): Use verilog-string-match-fold.
7887 (verilog-read-inst-module-matcher):
7888 Fix AUTOINST on gate primitives with #1.
7889 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7890 Reads all user-defined typed variables.
7891 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7892 (verilog-signals-matching-regexp)
7893 (verilog-signals-not-matching-regexp, verilog-auto):
7894 Respect verilog-case-fold.
7895 (verilog-diff-report): Fix line count.
7896 (verilog-auto-assign-modport): Remove unused local `modi'.
7897 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7898 better handle multidimensional arrays.
7899 Fix packed array ports misadding bit index in AUTOINST, bug637.
7900 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7901 to not double-declare existing outputs and inputs, respectively.
7902 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7903 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7904 (verilog-sk-uvm-component): New skeleton.
7905 (verilog-submit-bug-report): Add verilog-case-fold,
7906 remove verilog-mode-release-date.
7907
7908 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7909
7910 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7911 as before.
7912
7913 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7914
7915 * textmodes/remember.el (remember): Set buffer-offer-save in
7916 remember buffers (bug#13566).
7917
7918 2013-10-18 Daniel Colascione <dancol@dancol.org>
7919
7920 When evaluating forms in ielm, direct standard output to ielm
7921 buffer. Add new ielm-return-for-effect command. Remove trailing
7922 whitespace throughout.
7923
7924 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7925 (ielm-return-for-effect): New command.
7926 (ielm-send-input): Accept optional `for-effect' parameter.
7927 (ielm-eval-input): Accept optional `for-effect' parameter.
7928 Bind `standard-output' to stream we create using
7929 `ielm-standard-output-impl'. Suppress printing result when
7930 `for-effect'.
7931 (ielm-standard-output-impl): New function.
7932 (inferior-emacs-lisp-mode): Explain new features in documentation.
7933
7934 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7935
7936 Code cleanup.
7937
7938 * net/tramp.el (tramp-debug-message): Do not check for connection
7939 buffer.
7940 (tramp-message): Use "vector" connection property.
7941
7942 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7943 (tramp-equal-remote, tramp-eshell-directory-change)
7944 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7945 (tramp-adb-handle-rename-file)
7946 * net/tramp-cmds.el (tramp-list-remote-buffers)
7947 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7948 * net/tramp-compat.el (tramp-compat-process-running-p)
7949 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7950 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7951 (tramp-gvfs-handle-rename-file)
7952 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7953 (tramp-set-file-uid-gid)
7954 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7955 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7956 of `file-remote-p'.
7957
7958 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7959 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7960 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7961 (tramp-gw-open-network-stream): Suppress unrelated traces.
7962
7963 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7964 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7966 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7967 connection property.
7968
7969 * net/tramp-cache.el (top): Suppress traces when reading
7970 persistency file.
7971
7972 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7973 Refactor common code. Improve debug message.
7974 (tramp-maybe-open-connection)
7975 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7976 connection buffer too early.
7977
7978 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7979 from `tramp-smb-actions-with-acl'.
7980 (tramp-smb-actions-set-acl): New defconst.
7981 (tramp-smb-handle-copy-directory)
7982 (tramp-smb-action-get-acl): New defun, renamed from
7983 `tramp-smb-action-with-acl'.
7984 (tramp-smb-action-set-acl): New defun.
7985 (tramp-smb-handle-set-file-acl): Rewrite.
7986
7987 2013-10-17 Glenn Morris <rgm@gnu.org>
7988
7989 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7990
7991 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 * skeleton.el (skeleton-newline): Remove.
7994 (skeleton-internal-1): Use (insert "\n") instead.
7995
7996 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7997 let-bindings.
7998
7999 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8000 forward-sexp-function while we redo its job (bug#15613).
8001
8002 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8003
8004 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8005 represented by lists.
8006
8007 2013-10-16 Glenn Morris <rgm@gnu.org>
8008
8009 * tmm.el (tmm--history): New dynamic variable.
8010 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8011
8012 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8015 (tramp-smb-errors): Add error messages.
8016 (tramp-smb-actions-with-acl): New defconst.
8017 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8018 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8019 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8020 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8021 (tramp-smb-get-stat-capability): Fix tests.
8022
8023 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8024
8025 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8026 (bug#15580).
8027
8028 2013-10-16 Glenn Morris <rgm@gnu.org>
8029
8030 * ansi-color.el (ansi-color-drop-regexp):
8031 Add 1J, 1K, 2K. (Bug#15617)
8032
8033 * files.el (hack-local-variables--warned-lexical): New.
8034 (hack-local-variables):
8035 Warn about misplaced lexical-binding. (Bug#15616)
8036
8037 * net/eww.el (eww-render): Always set eww-current-url,
8038 and update header line. (Bug#15622)
8039 (eww-display-html): ... Rather than just doing it here.
8040
8041 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8042
8043 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8044 menu navigations commands.
8045
8046 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8047
8048 * progmodes/subword.el (subword-capitalize): Be careful when
8049 the search for [[:alpha:]] fails (bug#15580).
8050
8051 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8052
8053 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8054 to commands that scroll the menu.
8055
8056 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8057
8058 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8059 Handle methods ending with `?' and `!'.
8060
8061 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8062
8063 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8064 `japanese-cp932' to `cp932' to fix the problem where saving a
8065 source file written in Shift_JIS twice would end up having
8066 `coding: japanese-cp932' which Ruby could not recognize.
8067 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8068 in `ruby-encoding-map'.
8069 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8070 doesn't need to be explicitly declared in magic comment.
8071 (ruby-encoding-map): Add type declaration for better customize UI.
8072
8073 2013-10-13 Glenn Morris <rgm@gnu.org>
8074
8075 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8076 Occur buffers are read-only. http://bugs.debian.org/720775
8077
8078 * emacs-lisp/authors.el (authors-fixed-entries):
8079 Comment out old alpha stuff.
8080
8081 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8082
8083 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8084 to `after-save-hook' instead of `before-save-hook'.
8085 (ruby-mode-set-encoding): Use the value of coding system used to
8086 write the file. Call `basic-save-buffer-1' after modifying the
8087 buffer.
8088
8089 2013-10-13 Alan Mackenzie <acm@muc.de>
8090
8091 Fix indentation/fontification of Java enum with
8092 "implements"/generic.
8093
8094 * progmodes/cc-engine.el (c-backward-over-enum-header):
8095 Extracted from the three other places and enhanced to handle generics.
8096 (c-inside-bracelist-p): Uses new function above.
8097 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8098 function above.
8099 (c-font-lock-enum-tail): Uses new function above.
8100
8101 2013-10-13 Kenichi Handa <handa@gnu.org>
8102
8103 * international/mule-cmds.el (select-safe-coding-system): Remove a
8104 superfluous condition in chekcing whether a coding system is safe
8105 or not.
8106
8107 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8108
8109 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8110
8111 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8112
8113 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8114
8115 2013-10-13 Glenn Morris <rgm@gnu.org>
8116
8117 * menu-bar.el (menu-bar-update-buffers):
8118 Unify Buffers menu prompt string. (Bug#15576)
8119
8120 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8121
8122 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8123 Add some entries.
8124 (authors-fixed-entries): Use accented form of name.
8125
8126 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8129 method calls (bug#15594).
8130 (ruby-smie--args-separator-p): New function.
8131 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8132 recognize paren-free method calls.
8133
8134 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8135 internals of universal-argument.
8136
8137 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8138
8139 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8140 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8141 dropped menu on second mouse click on the menu bar.
8142
8143 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8146 (explicit-shell-file-name): Declare.
8147 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8148 (sh-completion-at-point-function): New function.
8149 (sh-mode): Use it.
8150 (sh-smie--keyword-p): Remove unused argument.
8151 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8152 vars.
8153 (sh-set-shell): Always setup SMIE, even if we use the
8154 old indentation code.
8155
8156 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8157
8158 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8159 cases of ? and =.
8160 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8161 predicate would return nil are almost non-existent.
8162 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8163
8164 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8165 cache also after commands that modify the buffer but don't move
8166 point.
8167
8168 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * env.el (substitute-env-in-file-name): New function.
8171 (substitute-env-vars): Extend the meaning of the optional arg.
8172
8173 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8174
8175 * term/w32-win.el (dynamic-library-alist): Define separate lists
8176 of GIF DLLs for versions before and after 5.0.0 of giflib.
8177 (Bug#15531)
8178
8179 2013-10-10 João Távora <joaotavora@gmail.com>
8180
8181 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8182 not locked, use last revision and current source as
8183 defaults. (Bug#15569)
8184
8185 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8186
8187 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8188 menu-bar is hidden.
8189
8190 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8191
8192 * window.el (pop-to-buffer-same-window): Fix doc-string.
8193 (Bug#15492)
8194
8195 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8198
8199 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8200
8201 * calendar/icalendar.el (icalendar-import-file):
8202 Fix interactive spec. (Bug#15482)
8203
8204 2013-10-10 Glenn Morris <rgm@gnu.org>
8205
8206 * desktop.el (desktop-save): Default to saving in .emacs.d,
8207 since PWD is no longer in desktop-path by default. (Bug#15319)
8208
8209 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8210 now that text mode has a menu with the same entry.
8211 (menu-bar-text-mode-auto-fill): Remove now unused func.
8212 * textmodes/text-mode.el (text-mode-map):
8213 Use auto-fill help text from menu-bar.el.
8214
8215 2013-10-10 John Anthony <john@jo.hnanthony.com>
8216
8217 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8218
8219 2013-10-09 Juri Linkov <juri@jurta.org>
8220
8221 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8222 instead of this-command-keys. Add universal-argument-more and
8223 universal-argument-minus to the list of prefix commands. (Bug#15568)
8224
8225 2013-10-09 Glenn Morris <rgm@gnu.org>
8226
8227 * vc/vc-svn.el (vc-svn-create-repo):
8228 Expand paths in file://... url. (Bug#15446)
8229
8230 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8231 Add some entries.
8232 (authors): Remove unused local variables.
8233
8234 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * profiler.el: Create a more coherent calltree from partial backtraces.
8237 (profiler-format): Hide the tail with `invisible' so that C-s can still
8238 find the hidden elements.
8239 (profiler-calltree-depth): Don't recurse so enthusiastically.
8240 (profiler-function-equal): New hash-table-test.
8241 (profiler-calltree-build-unified): New function.
8242 (profiler-calltree-build): Use it.
8243 (profiler-report-make-name-part): Indent the calltree less.
8244 (profiler-report-mode): Add visibility specs for profiler-format.
8245 (profiler-report-expand-entry, profiler-report-toggle-entry):
8246 Expand the whole subtree when provided with a prefix arg.
8247
8248 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8249
8250 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8251 iuwu-mod token.
8252 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8253 hanging iuwu-mod token.
8254 (ruby-smie--forward-token): Do not include a dot after a token in
8255 that token.
8256 (ruby-smie--backward-token): Likewise.
8257
8258 2013-10-08 Juri Linkov <juri@jurta.org>
8259
8260 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8261 to isearch-other-control-char.
8262 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8263 and isearch-post-command-hook to post-command-hook.
8264 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8265 and isearch-post-command-hook from post-command-hook.
8266 (isearch-unread-key-sequence)
8267 (isearch-reread-key-sequence-naturally)
8268 (isearch-lookup-scroll-key, isearch-other-control-char)
8269 (isearch-other-meta-char): Remove functions.
8270 (isearch-pre-command-hook, isearch-post-command-hook):
8271 New functions based on isearch-other-meta-char rewritten
8272 relying on the new behavior of overriding-terminal-local-map
8273 that does not replace the local keymaps any more. (Bug#15200)
8274
8275 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8276
8277 Support menus on text-mode terminals.
8278 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8279 functionality.
8280
8281 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8282
8283 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8284 Move here from mouse.el.
8285 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8286 and arrow keys.
8287 (tty-menu-navigation-map): New map for TTY menu navigation.
8288
8289 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8290
8291 * frame.el (display-mouse-p): Report text-mode mouse as available
8292 on w32.
8293 (display-popup-menus-p): Report availability if mouse is
8294 available; don't condition on window-system.
8295
8296 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8297 (tty-menu-selected-face): New faces.
8298
8299 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8302 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8303 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8304 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8305 New constants.
8306 (lisp-mode-variables): New `elisp' argument.
8307 (emacs-lisp-mode): Use it.
8308 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8309 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8310
8311 * indent.el: Use lexical-binding.
8312 (indent-region): Add progress reporter.
8313 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8314 last step.
8315 (indent--next-tab-stop): New function to implement this behavior.
8316 (tab-to-tab-stop, move-to-tab-stop): Use it.
8317
8318 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8319
8320 * indent.el (indent-rigidly--current-indentation): New function.
8321 (indent-rigidly-map): New var.
8322 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8323
8324 2013-10-08 Bastien Guerry <bzg@gnu.org>
8325
8326 * register.el (insert-register): Fix 2013-10-07 change.
8327
8328 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * progmodes/perl-mode.el: Use lexical-binding.
8331 Remove redundant :group args.
8332 (perl-nochange): Change default to be closer to other major modes's
8333 standard behavior.
8334 (perl-indent-line): Don't consider text on current line as a
8335 valid beginning of function from which to indent.
8336
8337 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8338 with more than one argument (bug#15538).
8339
8340 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8341
8342 * vc/pcvs.el: Use lexical-binding.
8343 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8344 environment of `eval'.
8345 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8346 than a list of expressions. Adjust callers.
8347 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8348
8349 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8350
8351 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8352 case of the dot in a chained method call being on the following line.
8353
8354 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8355
8356 * electric.el (electric-indent-inhibit): New var.
8357 (electric-indent-post-self-insert-function): Use it.
8358 * progmodes/python.el (python-mode): Set it.
8359
8360 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8361 open braces.
8362
8363 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8364
8365 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8366 (css-mode): Use electric-indent-chars.
8367
8368 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8369 (font-lock-beg, font-lock-end): Move before first use.
8370 (nxml-mode): Use syntax-propertize-function.
8371 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8372 (nxml-extend-after-change-region): Remove.
8373 * nxml/xmltok.el: Use lexical-binding.
8374 (xmltok-save): Use `declare'.
8375 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8376 * nxml/nxml-util.el: Use lexical-binding.
8377 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8378 Use `declare'.
8379 * nxml/nxml-ns.el: Use lexical-binding.
8380 (nxml-ns-save): Use `declare'.
8381 (nxml-ns-prefixes-for): Avoid add-to-list.
8382 * nxml/rng-match.el: Use lexical-binding.
8383 (rng--ipattern): Use cl-defstruct.
8384 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8385 (rng-cons-group-after, rng-subst-group-after)
8386 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8387 Use closures instead of `(lambda...).
8388
8389 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8390
8391 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8392 of BEG and END.
8393
8394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8395 Use `tramp-handle-insert-file-contents'.
8396 (tramp-gvfs-handle-insert-file-contents): Remove function.
8397
8398 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8399 Use `save-restriction' in order to keep markers.
8400
8401 * net/trampver.el: Update release number.
8402
8403 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * progmodes/compile.el (compilation-parse-errors):
8406 Use compilation--put-prop.
8407 (compilation--ensure-parse): Check compilation-multiline.
8408
8409 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8410
8411 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8412 lexical-binding.
8413
8414 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8415
8416 * progmodes/ruby-mode.el: Fix recently added tests.
8417 (ruby-smie-grammar): Add - and +.
8418 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8419 (ruby-smie--backward-id): New functions.
8420 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8421 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8422 any more.
8423
8424 2013-10-07 Leo Liu <sdl.web@gmail.com>
8425
8426 * register.el (register-preview-delay)
8427 (register-preview-functions): New variables.
8428 (register-read-with-preview, register-preview)
8429 (register-describe-oneline): New functions.
8430 (point-to-register, window-configuration-to-register)
8431 (frame-configuration-to-register, jump-to-register)
8432 (number-to-register, view-register, insert-register)
8433 (copy-to-register, append-to-register, prepend-to-register)
8434 (copy-rectangle-to-register): Use register-read-with-preview to
8435 read register. (Bug#15525)
8436
8437 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8438
8439 * net/network-stream.el (network-stream-open-starttls): Don't add
8440 --insecure if it's already present, because that gnutls-cli
8441 rejects getting that parameter twice.
8442
8443 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8444
8445 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8446 keyword, too.
8447
8448 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8449
8450 * newcomment.el (comment-use-global-state): Change default value
8451 to t, mark obsolete (Bug#15251).
8452 (comment-beginning): In addition to `comment-to-syntax', check the
8453 value of `comment-use-global-state'.
8454
8455 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8458 (ruby-comment-column): Follow the global default, by default.
8459 (ruby-smie-grammar): Add assignment syntax.
8460 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8461 open-paren, a comma, or a \.
8462 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8463 and line continuations.
8464 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8465 followed by implicit semi-colons. Add rule for string concatenation
8466 and for indentation at BOB.
8467 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8468
8469 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8470 calling next-sexp, since next-token may have skipped chars which
8471 next-sexp doesn't know should be skipped!
8472
8473 2013-10-05 Leo Liu <sdl.web@gmail.com>
8474
8475 * progmodes/octave.el (octave-send-region):
8476 Call compilation-forget-errors.
8477
8478 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8479
8480 * vc/vc-svn.el (vc-svn-find-admin-dir):
8481 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8482 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8483 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8484 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8485
8486 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8489
8490 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * subr.el (read-passwd): Hide chars even when called within a context
8493 where after-change-functions is disabled (bug#15501).
8494 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8495 until we removed ourself from overriding-terminal-local-map.
8496
8497 2013-10-04 Leo Liu <sdl.web@gmail.com>
8498
8499 * progmodes/octave.el (inferior-octave-mode):
8500 Call compilation-forget-errors.
8501
8502 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8503
8504 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8505
8506 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8507
8508 * net/secrets.el (secrets-create-collection): Add optional
8509 argument ALIAS. Use proper Label keyword. Append ALIAS as
8510 dbus-call-method argument. (Bug#15516)
8511
8512 2013-10-04 Leo Liu <sdl.web@gmail.com>
8513
8514 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8515 (inferior-octave-compilation-font-lock-keywords): New variables.
8516 (compilation-error-regexp-alist)
8517 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8518 (inferior-octave-mode): Use compilation-shell-minor-mode.
8519
8520 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8521
8522 * minibuffer.el (completion--replace): Be careful that `end' might be
8523 a marker.
8524
8525 2013-10-03 Daiki Ueno <ueno@gnu.org>
8526
8527 Add support for package signature checking.
8528 * emacs-lisp/package.el (url-http-file-exists-p)
8529 (epg-make-context, epg-context-set-home-directory)
8530 (epg-verify-string, epg-context-result-for)
8531 (epg-signature-status, epg-signature-to-string)
8532 (epg-check-configuration, epg-configuration)
8533 (epg-import-keys-from-file): Declare.
8534 (package-check-signature): New user option.
8535 (package-unsigned-archives): New user option.
8536 (package-desc): Add `signed' field.
8537 (package-load-descriptor): Set `signed' field if .signed file exists.
8538 (package--archive-file-exists-p): New function.
8539 (package--check-signature): New function.
8540 (package-install-from-archive): Check package signature.
8541 (package--download-one-archive): Check archive signature.
8542 (package-delete): Remove .signed file.
8543 (package-import-keyring): New command.
8544 (package-refresh-contents): Import default keyring.
8545 (package-desc-status): Add "unsigned" status.
8546 (describe-package-1, package-menu--print-info)
8547 (package-menu-mark-delete, package-menu--find-upgrades)
8548 (package-menu--status-predicate): Support "unsigned" status.
8549
8550 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8553 the new compilation scheme using the new byte-codes.
8554
8555 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8556 (byte-pophandler): New byte codes.
8557 (byte-goto-ops): Adjust accordingly.
8558 (byte-compile--use-old-handlers): New var.
8559 (byte-compile-catch): Use new byte codes depending on
8560 byte-compile--use-old-handlers.
8561 (byte-compile-condition-case--old): Rename from
8562 byte-compile-condition-case.
8563 (byte-compile-condition-case--new): New function.
8564 (byte-compile-condition-case): New function that dispatches depending
8565 on byte-compile--use-old-handlers.
8566 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8567 when we can.
8568
8569 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8570 Optimize under `condition-case' and `catch' if
8571 byte-compile--use-old-handlers is nil.
8572 (disassemble-offset): Handle new bytecodes.
8573
8574 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * subr.el (error): Use `declare'.
8577 (decode-char, encode-char): Use advertised-calling-convention instead
8578 of the docstring to discourage use of the `restriction' arg.
8579
8580 2013-10-03 Daiki Ueno <ueno@gnu.org>
8581
8582 * epg.el (epg-verify-file): Add a comment saying that it does not
8583 notify verification error as a return value nor a signal.
8584 (epg-verify-string): Ditto.
8585
8586 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8587
8588 * progmodes/compile.el (compilation-start): Try globbing the arg to
8589 `cd' (bug#15417).
8590
8591 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8592
8593 Sync with Tramp 2.2.8.
8594
8595 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8596 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8597 * net/trampver.el: Update release number.
8598
8599 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8600
8601 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8602 and default-process-coding-system for darwin only.
8603
8604 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8607
8608 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8609
8610 * vc/vc-git.el (vc-git-grep): Disable pager.
8611
8612 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8613
8614 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8615 Use :url instead of :homepage, as per
8616 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8617
8618 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8619 non-nil, use `syntax-ppss' (Bug#15251).
8620
8621 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8622
8623 * progmodes/octave.el (inferior-octave-startup-file):
8624 Prefer ~/.emacs.d/init_octave.m.
8625
8626 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8627
8628 * emacs-lisp/package.el (package-desc-from-define):
8629 Accept additional arguments as plist, convert them to an alist and store
8630 them in the `extras' slot.
8631 (package-generate-description-file): Convert extras alist back to
8632 plist and append to the `define-package' form arguments.
8633 (package--alist-to-plist): New function.
8634 (package--ac-desc): Add `extras' slot.
8635 (package--add-to-archive-contents): Check if the archive-contents
8636 vector is long enough, and if it is, pass its `extras' slot value
8637 to `package-desc-create'.
8638 (package-buffer-info): Call `lm-homepage', pass the returned value
8639 to `package-desc-from-define'.
8640 (describe-package-1): Render the homepage button (Bug#13291).
8641
8642 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8643 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8644
8645 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8646
8647 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8648 and default-process-coding-system to utf-8-unix (Bug#15402).
8649
8650 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8651
8652 * subr.el (looking-back): Do not recommend using looking-back.
8653
8654 2013-09-28 Alan Mackenzie <acm@muc.de>
8655
8656 Fix indentation/fontification of Java enum with "implements".
8657
8658 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8659 regexp which matches "implements", etc., in Java.
8660 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8661 specifier clauses coming after "enum".
8662 * progmodes/cc-fonts.el (c-font-lock-declarations)
8663 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8664 after "enum".
8665
8666 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8667
8668 * faces.el (region): Change ns_selection_color to
8669 ns_selection_fg_color, add ns_selection_bg_color.
8670
8671 2013-09-28 Leo Liu <sdl.web@gmail.com>
8672
8673 * progmodes/octave.el (inferior-octave-completion-table)
8674 (inferior-octave-completion-at-point): Minor tweaks.
8675
8676 * textmodes/ispell.el (ispell-lookup-words): Rename from
8677 lookup-words. (Bug#15460)
8678 (lookup-words): Obsolete.
8679 (ispell-complete-word, ispell-command-loop): All uses changed.
8680
8681 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8682
8683 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8684 (octave-mode-menu): Add octave-send-buffer.
8685 (octave-send-buffer): New function.
8686
8687 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8688
8689 * progmodes/octave.el (octave-mode-map): Add key binding for
8690 octave-lookfor.
8691 (octave-mode-menu): Add octave-lookfor.
8692 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8693 octave-lookfor.
8694 (octave-lookfor): New function.
8695
8696 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8699 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8700 its convention.
8701 (cl--loop-set-iterator-function): New function.
8702 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8703 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8704 Bind `it' with `let' instead of substituting it with `cl-subst'.
8705 (cl--unused-var-p): New function.
8706 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8707 Eliminate some unused variable warnings (bug#15326).
8708
8709 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8710
8711 * doc-view.el (doc-view-scale-reset): Rename from
8712 `doc-view-reset-zoom-level'.
8713 (doc-view-scale-adjust): New command.
8714 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8715 `doc-view-scale-adjust'.
8716
8717 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8718
8719 * doc-view.el (doc-view-reset-zoom-level): New command.
8720 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8721 zoom commands (bug#15466).
8722
8723 2013-09-26 Kenichi Handa <handa@gnu.org>
8724
8725 * international/quail.el (quail-help): Make it not a command.
8726
8727 2013-09-26 Leo Liu <sdl.web@gmail.com>
8728
8729 * minibuffer.el (completion-all-sorted-completions): Make args
8730 optional as they are.
8731
8732 2013-09-25 Daniel Colascione <dancol@dancol.org>
8733
8734 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8735 specs are and that they're not evaluated.
8736
8737 2013-09-24 Sam Steingold <sds@gnu.org>
8738
8739 * midnight.el (clean-buffer-list-kill-regexps)
8740 (clean-buffer-list-kill-buffer-names): Update for the new Man
8741 buffer naming which includes the object name.
8742
8743 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8746 (eshell-parse-command, eshell-parse-pipeline): Use it since
8747 eshell-separate-commands requires a dynamic scoped var.
8748 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8749
8750 2013-09-23 Leo Liu <sdl.web@gmail.com>
8751
8752 * autoinsert.el (auto-insert-alist): Make the value of
8753 lexical-binding match its file setting.
8754
8755 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8756
8757 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8758
8759 * autoarg.el (autoarg-kp-digit-argument):
8760 * electric.el (Electric-command-loop):
8761 * kmacro.el (kmacro-step-edit-insert):
8762 Do not set universal-argument-num-events.
8763
8764 2013-09-22 Leo Liu <sdl.web@gmail.com>
8765
8766 * files.el (interpreter-mode-alist): Add octave.
8767
8768 2013-09-21 Alan Mackenzie <acm@muc.de>
8769
8770 C++: fontify identifier in declaration following "public:" correctly.
8771 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8772 to match "public", etc.
8773 (c-decl-prefix-re): Add ":" into the C++ value.
8774 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8775 bit. Add a check for a ":" preceded by "public", etc.
8776
8777 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8778
8779 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8780 recognized by GDB 7.5 and later.
8781
8782 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8783
8784 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8785
8786 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * subr.el (internal--call-interactively): New const.
8789 (called-interactively-p): Use it (bug#3984).
8790
8791 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8792
8793 * vc/pcvs.el (cvs-mode-ignore):
8794 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8795 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8796
8797 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8800 (eshell-ls-orig-insert-directory): Remove.
8801 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8802 (eshell-ls-use-in-dired): Use advice-add/remove.
8803 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8804 Add `orig-fun' arg for use in :around advice.
8805 Make it check (redundantly) eshell-ls-use-in-dired.
8806
8807 2013-09-19 Glenn Morris <rgm@gnu.org>
8808
8809 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8810
8811 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8812
8813 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8814
8815 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8816
8817 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8818 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8819 (tramp-get-remote-python): New defuns.
8820 (tramp-get-remote-uid-with-perl)
8821 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8822 contributed by yary <not.com@gmail.com> (tiny change).
8823 (tramp-get-remote-uid-with-python)
8824 (tramp-get-remote-gid-with-python): New defuns. Python code
8825 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8826 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8827
8828 2013-09-19 Glenn Morris <rgm@gnu.org>
8829
8830 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8831
8832 * eshell/em-unix.el (eshell-remove-entries):
8833 Rename argument to avoid name-clash with global `top-level'.
8834
8835 * eshell/esh-proc.el (eshell-kill-process-function):
8836 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8837 (eshell-reset-after-proc): Remove unused arg `proc'.
8838
8839 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8840 (directory-files-and-attributes): Mark unused arg.
8841
8842 * eshell/em-unix.el (eshell-remove-entries):
8843 Remove unused arg `path'. Update callers.
8844
8845 * eshell/em-hist.el (eshell-hist-parse-arguments):
8846 Remove unused arg `silent'. Update callers.
8847
8848 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8849 Fix (f)boundp mix-up.
8850
8851 * eshell/em-smart.el (eshell-smart-scroll-window)
8852 (eshell-disable-after-change):
8853 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8854
8855 2013-09-18 Alan Mackenzie <acm@muc.de>
8856
8857 Fix fontification of type when followed by "const".
8858 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8859 "known" types from fontification.
8860
8861 2013-09-18 Glenn Morris <rgm@gnu.org>
8862
8863 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8864 (chart-face-list): Drop Emacsen without display-color-p.
8865
8866 * net/eww.el (libxml-parse-html-region): Declare.
8867 (eww-display-html): Explicit error if no libxml2 support.
8868
8869 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8870
8871 * image.el (image-type-from-buffer, image-multi-frame-p):
8872 Remove --without-x warning/error.
8873
8874 * mouse.el (mouse-yank-primary):
8875 * term.el (term-mouse-paste):
8876 Reorder to silence --without-x compilation.
8877
8878 * mpc.el (doc-view-mode): Silence --without-x compilation.
8879
8880 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8881 Silence --without-x compilation.
8882
8883 * progmodes/gud.el (gud-find-file, gud-mode):
8884 Silence --without-x compilation.
8885 (tooltip-mode): Declare.
8886
8887 * wdired.el (dired-backup-overwrite): Remove declaration.
8888 (wdired-mode-map): Add doc string.
8889
8890 * custom.el (x-get-resource): Declare.
8891
8892 * eshell/em-glob.el (ange-cache):
8893 * eshell/em-unix.el (ange-cache): Declare.
8894
8895 * faces.el (x-display-list, x-open-connection, x-get-resource):
8896 Declare.
8897
8898 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8899 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8900 Declare.
8901
8902 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8903
8904 * net/gnutls.el (gnutls-log-level): Declare.
8905
8906 * net/shr.el (image-size, image-animate): Declare.
8907
8908 * simple.el (font-info): Declare.
8909
8910 * subr.el (x-popup-dialog): Declare.
8911
8912 * term/common-win.el (x-select-enable-primary)
8913 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8914 Declare.
8915
8916 * term/ns-win.el (x-handle-args): Declare.
8917
8918 * term/x-win.el (x-select-enable-clipboard): Declare.
8919
8920 * term/w32-win.el (create-default-fontset): Declare.
8921
8922 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8923 Declare.
8924
8925 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8926 (fit-frame-to-buffer): Explicit error if --without-x.
8927 (mouse-autoselect-window-select): Silence compiler.
8928
8929 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8930
8931 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8932 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8933 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8934 * eshell/esh-util.el (eshell-sublist):
8935 Remove unused local variables.
8936
8937 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8938
8939 * textmodes/two-column.el: Make 2C-split work for --without-x.
8940 (scroll-bar-columns): Autoload.
8941 (top-level): Require fringe when compiling.
8942
8943 2013-09-18 Leo Liu <sdl.web@gmail.com>
8944
8945 * subr.el (add-hook): Robustify to handle closure as well.
8946
8947 2013-09-17 Glenn Morris <rgm@gnu.org>
8948
8949 * simple.el (messages-buffer-mode-map): Unbind "g".
8950
8951 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * help-mode.el (help-mode-finish): Use derived-mode-p.
8954 Remove obsolete highlighting.
8955
8956 * play/life.el (life-mode): Use define-derived-mode. Derive from
8957 special-mode.
8958 (life): Let-bind inhibit-read-only.
8959 (life-setup): Avoid `setq'. Use `life-mode'.
8960
8961 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8962 which should not be needed any more.
8963 (package-menu-refresh, package-menu-describe-package): Use user-error.
8964
8965 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8966 (eshell-post-rewrite-command-hook): Make obsolete.
8967 (eshell-parse-command): Simplify.
8968 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8969 (eshell--cmd): Declare.
8970 (eshell-parse-pipeline): Remove unused var `final-p'.
8971 Pass a dynvar to eshell-post-rewrite-command-hook.
8972 Implement the new eshell-post-rewrite-command-function.
8973 (eshell-invoke-directly): Remove unused arg `input'.
8974 * eshell/esh-io.el (eshell-io-initialize):
8975 Use eshell-post-rewrite-command-function (bug#15399).
8976 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8977 adjust to new calling convention.
8978 (eshell-create-handles): Rename args to avoid clashing with dynvar
8979 `standard-output'.
8980
8981 2013-09-17 Glenn Morris <rgm@gnu.org>
8982
8983 * simple.el (messages-buffer-mode): New major mode.
8984 (messages-buffer): New function.
8985 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8986 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8987 (ert-run-test): Use `messages-buffer' function.
8988 (ert--force-message-log-buffer-truncation): Ignore read-only.
8989 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8990 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8991
8992 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8995
8996 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8997
8998 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * icomplete.el (icomplete-in-buffer): New var.
9001 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9002 vars and replace them with functions.
9003 (icomplete-minibuffer-setup): Adjust accordingly.
9004 (icomplete--completion-table, icomplete--completion-predicate)
9005 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9006 New functions.
9007 (icomplete-forward-completions, icomplete-backward-completions)
9008 (icomplete-simple-completing-p, icomplete-exhibit)
9009 (icomplete-completions): Use them.
9010 (icomplete--in-region-buffer): New var.
9011 (icomplete--in-region-setup): New function.
9012 (icomplete-mode): Use it.
9013
9014 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9015 (bug#15379).
9016 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9017 return args and options.
9018 (eshell-eval-using-options): Use the new return value of
9019 eshell--do-opts to set the options's vars in their scope.
9020 (eshell--set-option): Rename from eshell-set-option.
9021 Add arg `opt-vals'.
9022 (eshell--process-option): Rename from eshell-process-option.
9023 Add arg `opt-vals'.
9024 (eshell--process-args): Use an `opt-vals' alist to store the options's
9025 values during their processing and return them additionally to the
9026 remaining args.
9027
9028 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9029
9030 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9031 continuation character an operator, as far as indentation is
9032 concerned (Bug#15369).
9033
9034 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9035
9036 * window.el (window--state-put-2): Don't process buffer state
9037 when buffer doesn't exist any more (Bug#15382).
9038
9039 2013-09-15 Glenn Morris <rgm@gnu.org>
9040
9041 * eshell/em-unix.el (eshell/rm):
9042 Make -f ignore missing files. (Bug#15373)
9043
9044 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9045 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9046 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9047
9048 2013-09-14 Glenn Morris <rgm@gnu.org>
9049
9050 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9051
9052 2013-09-13 Glenn Morris <rgm@gnu.org>
9053
9054 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9055 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9056
9057 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9058
9059 * frame.el (x-focus-frame): Mark as declared in frame.c.
9060
9061 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * ls-lisp.el: Use advice-add.
9064 (original-insert-directory): Remove.
9065 (ls-lisp--insert-directory): Rename from insert-directory; add
9066 `orig-fun' argument.
9067 (insert-directory): Advise.
9068
9069 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9070
9071 * term.el (term-emulate-terminal): Decode the command string
9072 before passing it to term-command-hook. (Bug#15337)
9073
9074 2013-09-13 Glenn Morris <rgm@gnu.org>
9075
9076 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9077
9078 * eshell/esh-ext.el (eshell-search-path): Declare.
9079
9080 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9081 Otherwise an error occurs if eshell-dirs module not loaded.
9082
9083 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9084
9085 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9086
9087 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9088 `tramp-check-proper-host'. Check for a valid method name.
9089
9090 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9091 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9092 * net/tramp-sh.el (tramp-maybe-open-connection):
9093 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9094
9095 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9096 also for hash values.
9097
9098 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * term/ns-win.el (parameters): Don't declare as dynamic.
9101 (before-make-frame-hook): Don't add ineffective function.
9102
9103 * eshell/*.el: Use lexical-binding (bug#15231).
9104
9105 2013-09-12 Kenichi Handa <handa@gnu.org>
9106
9107 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9108
9109 2013-09-12 Glenn Morris <rgm@gnu.org>
9110
9111 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9112 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9113
9114 * subr.el (do-after-load-evaluation): Also give compiler warnings
9115 when obsolete files are used (except by obsolete files).
9116
9117 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9118 in the status output, assume `filename' is the first. (Bug#15322)
9119
9120 * vc/vc.el (vc-deduce-fileset): Doc fix.
9121
9122 * calc/calc-help.el (Info-goto-node):
9123 * progmodes/cperl-mode.el (Info-find-node):
9124 * vc/ediff.el (Info-goto-node): Update declarations.
9125
9126 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9127
9128 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9129 (vc-bzr-pull): Require vc-dispatcher.
9130 * vc/vc-git.el (vc-compilation-mode): Declare.
9131 (vc-git-pull): Require vc-dispatcher.
9132
9133 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9134
9135 * progmodes/octave.el (help-button-action): Declare.
9136
9137 * shell.el (shell-directory-tracker): Output error as a message
9138 rather than just returning it as a string.
9139 (shell-process-pushd): Remove useless use of message.
9140
9141 * dframe.el (dframe-timer-fn):
9142 * files.el (dir-locals-read-from-file):
9143 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9144 (mpc-format):
9145 * reveal.el (reveal-post-command):
9146 * saveplace.el (load-save-place-alist-from-file):
9147 * shell.el (shell-resync-dirs):
9148 * w32-common-fns.el (x-get-selection-value):
9149 * emacs-lisp/copyright.el (copyright-find-copyright):
9150 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9151 * emulation/tpu-edt.el (tpu-copy-keyfile):
9152 * play/bubbles.el (bubbles--mark-neighbourhood):
9153 * progmodes/executable.el
9154 (executable-make-buffer-file-executable-if-script-p):
9155 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9156
9157 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 Cleanup Eshell to rely less on dynamic scoping.
9160 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9161 last-value, and ext-command here. Bind `args' closer to `body'.
9162 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9163 (eshell--args): Declare new dynamic var.
9164 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9165 last-value, and ext-command. Pass `args' to `body'.
9166 (eshell-process-args): Bind eshell--args.
9167 (eshell-set-option): Use eshell--args.
9168 * eshell/eshell.el (eshell): Use derived-mode-p.
9169 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9170 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9171 (eshell-glob-function): Declare.
9172 * eshell/esh-util.el: Require cl-lib.
9173 (eshell-read-hosts-file): Avoid add-to-list.
9174 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9175 `err'.
9176 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9177 Declare.
9178 (eshell/diff): Remove unused var `err'.
9179 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9180 `killflag'.
9181 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9182 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9183 first use.
9184 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9185 Move declaration before first use.
9186 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9187 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9188 rely on cl-return.
9189
9190 2013-09-12 Glenn Morris <rgm@gnu.org>
9191
9192 * term/ns-win.el (global-map): Remove binding for ispell-next,
9193 deleted 1999-05-29. (Bug#15357)
9194
9195 2013-09-11 Glenn Morris <rgm@gnu.org>
9196
9197 * echistory.el (electric-command-history): Remove call to deleted func.
9198
9199 * play/landmark.el (landmark-mode): Fix typos.
9200
9201 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9202 Check cvs-sort-ignore-file is bound.
9203
9204 * savehist.el: No need for cl when compiling on Emacs.
9205
9206 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9209 (bug#15338).
9210 (eshell-self-insert-command, eshell-send-invisible):
9211 Remove unused argument.
9212 (eshell-handle-control-codes): Remove unused var `orig'.
9213 Avoid delete-backward-char.
9214
9215 * files.el (set-auto-mode): Simplify a bit further.
9216
9217 2013-09-11 Glenn Morris <rgm@gnu.org>
9218
9219 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9220 (set-auto-mode): Don't regexp-quote elements.
9221 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9222 * progmodes/cc-mode.el (interpreter-mode-alist):
9223 * progmodes/ruby-mode.el (interpreter-mode-alist):
9224 Revert previous change.
9225
9226 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * play/snake.el (snake-mode):
9229 * play/mpuz.el (mpuz-mode):
9230 * play/landmark.el (lm-mode):
9231 * play/blackbox.el (blackbox-mode):
9232 * play/5x5.el (5x5-mode):
9233 * obsolete/options.el (Edit-options-mode):
9234 * net/quickurl.el (quickurl-list-mode):
9235 * net/newst-treeview.el (newsticker-treeview-mode):
9236 * mail/rmailsum.el (rmail-summary-mode):
9237 * mail/mspools.el (mspools-mode):
9238 * locate.el (locate-mode):
9239 * ibuffer.el (ibuffer-mode):
9240 * emulation/ws-mode.el (wordstar-mode):
9241 * emacs-lisp/debug.el (debugger-mode):
9242 * array.el (array-mode):
9243 * net/eudc.el (eudc-mode): Use define-derived-mode.
9244 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9245 Move initialization into declaration.
9246 (mairix-searches-mode): Use define-derived-mode.
9247 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9248 (eudc-edit-hotlist): Use dolist.
9249 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9250 (Man-mode): Use define-derived-mode.
9251 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9252 (Info-edit-mode): Use define-derived-mode.
9253 (Info-cease-edit): Use Info-mode.
9254 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9255 into declaration.
9256 (eshell-mode): Use define-derived-mode.
9257 * chistory.el (command-history-mode-map): Rename from
9258 command-history-map.
9259 (command-history-mode): Use define-derived-mode.
9260 (Command-history-setup): Remove function.
9261 * calc/calc.el (calc-trail-mode-map): New var.
9262 (calc-trail-mode): Use define-derived-mode.
9263 (calc-trail-buffer): Set calc-main-buffer manually.
9264 * bookmark.el (bookmark-insert-annotation): New function.
9265 (bookmark-edit-annotation): Use it.
9266 (bookmark-edit-annotation-mode): Make it a proper major mode.
9267 (bookmark-send-edited-annotation): Use derived-mode-p.
9268 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9269 closer to its ideal place. Use \' to match EOS.
9270
9271 * profiler.el (profiler-calltree-find): Use function-equal.
9272
9273 2013-09-10 Glenn Morris <rgm@gnu.org>
9274
9275 * files.el (interpreter-mode-alist): Convert to regexps.
9276 (set-auto-mode): Adapt for this. (Bug#15306)
9277 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9278 Comment out unused variable.
9279 * progmodes/cc-mode.el (interpreter-mode-alist):
9280 * progmodes/python.el (interpreter-mode-alist):
9281 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9282 * progmodes/sh-script.el (sh-set-shell):
9283 No longer use interpreter-mode-alist to get list of shells.
9284
9285 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9286
9287 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * simple.el: Use set-temporary-overlay-map for universal-argument.
9290 (universal-argument-map): Don't use default-bindings (bug#15317).
9291 Bind switch-frame explicitly. Replace universal-argument-minus with
9292 a conditional binding.
9293 (universal-argument-num-events, saved-overriding-map): Remove.
9294 (restore-overriding-map): Remove.
9295 (universal-argument--mode): Rename from save&set-overriding-map,
9296 and rewrite.
9297 (universal-argument, universal-argument-more, negative-argument)
9298 (digit-argument): Adjust accordingly.
9299 (universal-argument-minus): Remove.
9300 (universal-argument-other-key): Remove.
9301
9302 * subr.el (with-demoted-errors): Add `format' argument.
9303
9304 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9305
9306 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9307 `tramp-cleanup-connection'.
9308
9309 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9310 parameters KEEP-DEBUG and KEEP-PASSWORD.
9311
9312 * net/tramp.el (tramp-file-name-handler):
9313 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9314 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9315 (tramp-maybe-open-connection):
9316 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9317 Use `tramp-cleanup-connection'.
9318
9319 * net/tramp-sh.el (tramp-maybe-open-connection):
9320 Catch 'uname-changed inside the progress reporter.
9321
9322 2013-09-10 Glenn Morris <rgm@gnu.org>
9323
9324 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9325
9326 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9327 returns "alternate access method" in mode (eg "-rw-r--r--.").
9328
9329 2013-09-08 Glenn Morris <rgm@gnu.org>
9330
9331 * saveplace.el (load-save-place-alist-from-file):
9332 Demote errors. (Bug#15305)
9333
9334 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9335
9336 Improve compatibility with older Emacsen, and XEmacs.
9337
9338 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9339 only if it is bound. It isn't for XEmacs.
9340 (with-tramp-progress-reporter): Do not let-bind `result'.
9341 This yields to scoping errors in XEmacs.
9342 (tramp-handle-make-auto-save-file-name): New function, moved from
9343 tramp-sh.el.
9344
9345 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9346 for `make-auto-save-file-name'.
9347 (tramp-adb--gnu-switches-to-ash):
9348 Use `tramp-compat-replace-regexp-in-string'.
9349
9350 * net/tramp-cache.el (tramp-cache-print): Call
9351 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9352
9353 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9354 bound. It isn't for XEmacs.
9355
9356 * net/tramp-compat.el (tramp-compat-copy-file):
9357 Catch `wrong-number-of-arguments' error.
9358 (tramp-compat-replace-regexp-in-string): New defun.
9359
9360 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9361 for `make-auto-save-file-name'.
9362 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9363 `copy-file'.
9364 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9365 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9366 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9367
9368 * net/tramp-gw.el (tramp-gw-open-network-stream):
9369 Use `tramp-compat-replace-regexp-in-string'.
9370
9371 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9372 Call `tramp-handle-make-auto-save-file-name'.
9373 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9374 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9375 (tramp-sh-file-inotifywait-process-filter):
9376 Use `tramp-compat-replace-regexp-in-string'.
9377 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9378
9379 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9380 for `make-auto-save-file-name'.
9381 (tramp-smb-handle-copy-directory):
9382 Call `tramp-compat-replace-regexp-in-string'.
9383 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9384 (tramp-smb-handle-copy-file): Improve error message.
9385 (tramp-smb-handle-rename-file): Rename directly only in case
9386 `newname' does not exist yet. This is a restriction of smbclient.
9387 (tramp-smb-maybe-open-connection): Rerun the function only when
9388 `auth-sources' is non-nil.
9389
9390 2013-09-08 Kenichi Handa <handa@gnu.org>
9391
9392 * international/characters.el: Set category "^" (Combining) for
9393 more characters.
9394
9395 2013-09-07 Alan Mackenzie <acm@muc.de>
9396
9397 Correctly fontify Java class constructors.
9398 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9399 in Java Mode.
9400 (c-recognize-typeless-decls): Set the Java value to t.
9401 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9402 While handling a "(", add a check for, effectively, Java, and handle a
9403 "typeless" declaration there.
9404
9405 2013-09-07 Roland Winkler <winkler@gnu.org>
9406
9407 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9408 field subtitle for entry type book.
9409
9410 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * minibuffer.el: Make minibuffer-complete call completion-in-region
9413 rather than other way around.
9414 (completion--some, completion-pcm--find-all-completions):
9415 Don't delay signals when debugging.
9416 (minibuffer-completion-contents): Beware fields within the
9417 minibuffer contents.
9418 (completion-all-sorted-completions): Use defvar-local.
9419 (completion--do-completion, completion--cache-all-sorted-completions)
9420 (completion-all-sorted-completions, minibuffer-force-complete):
9421 Add args `beg' and `end'.
9422 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9423 (minibuffer-complete): Use completion-in-region.
9424 (completion-complete-and-exit): New fun, extracted from
9425 minibuffer-complete-and-exit.
9426 (minibuffer-complete-and-exit): Use it.
9427 (completion--complete-and-exit): Rename from
9428 minibuffer--complete-and-exit.
9429 (completion-in-region--single-word): New function, extracted from
9430 minibuffer-complete-word.
9431 (minibuffer-complete-word): Use it.
9432 (display-completion-list): Make `common-substring' argument obsolete.
9433 (completion--in-region): Call completion--in-region-1 instead of
9434 minibuffer-complete.
9435 (completion-help-at-point): Pass boundaries to
9436 minibuffer-completion-help as args rather than via an overlay.
9437 (completion-pcm--string->pattern): Use `any-delim'.
9438 (completion-pcm--optimize-pattern): New function.
9439 (completion-pcm--pattern->regex): Handle `any-delim'.
9440 * icomplete.el (icomplete-forward-completions)
9441 (icomplete-backward-completions, icomplete-completions):
9442 Adjust calls to completion-all-sorted-completions and
9443 completion--cache-all-sorted-completions.
9444 (icomplete-with-completion-tables): Default to t.
9445 * emacs-lisp/crm.el (crm--current-element): Rename from
9446 crm--select-current-element. Don't put an overlay but return the
9447 boundaries instead.
9448 (crm--completion-command): Take two new args to bind to the boundaries.
9449 (crm-completion-help): Adjust accordingly.
9450 (crm-complete): Use completion-in-region.
9451 (crm-complete-word): Use completion-in-region--single-word.
9452 (crm-complete-and-exit): Use completion-complete-and-exit.
9453
9454 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9457 than dynamically.
9458
9459 2013-09-06 Juri Linkov <juri@jurta.org>
9460
9461 * info.el (Info-display-images-node): When image file doesn't exist
9462 display text version of the image if it's provided in the Info file.
9463 Otherwise, display the location of missing image from SRC attribute.
9464 Add help-echo text property from ALT attribute. (Bug#15279)
9465
9466 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9469 (edit-abbrevs-mode): Use define-derived-mode.
9470
9471 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9472 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9473 that it's defined.
9474 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9475 Use define-derived-mode.
9476
9477 * epg.el (epg-start-encrypt): Minor CSE simplification.
9478
9479 2013-09-06 William Xu <william.xwl@gmail.com>
9480
9481 * arc-mode.el: Add support for 7za (bug#15264).
9482 (archive-7z-program): New var.
9483 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9484 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9485 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9486
9487 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9488
9489 Remove URL syntax.
9490
9491 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9492 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9493 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9494 (tramp-postfix-host-format, tramp-file-name-regexp)
9495 (tramp-completion-file-name-regexp)
9496 (tramp-completion-dissect-file-name)
9497 (tramp-handle-substitute-in-file-name): Remove 'url case.
9498 (tramp-file-name-regexp-url)
9499 (tramp-completion-file-name-regexp-url): Remove constants.
9500
9501 2013-09-06 Glenn Morris <rgm@gnu.org>
9502
9503 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9504
9505 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9506
9507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9508 keywords" below "here-doc beginnings" (Bug#15270).
9509
9510 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * subr.el (pop): Use `car-safe'.
9513 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9514 to detect unused `pop' return value.
9515
9516 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9517 var `block-regexp'.
9518 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9519 (python-fill-string): Remove unused var `marker'.
9520 (python-skeleton-add-menu-items): Remove unused var `items'.
9521
9522 * international/mule-cmds.el: Require CL.
9523 (find-coding-systems-for-charsets): Avoid add-to-list.
9524 (sanitize-coding-system-list): New function, extracted from
9525 select-safe-coding-system-interactively.
9526 (select-safe-coding-system-interactively): Use it.
9527 (read-input-method-name): Accept symbols for `default'.
9528
9529 * emacs-lisp/advice.el (defadvice): Add indent rule.
9530
9531 2013-09-05 Daniel Hackney <dan@haxney.org>
9532
9533 * dired-x.el:
9534 * net/ange-ftp.el:
9535 * net/browse-url.el:
9536 * net/dbus.el:
9537 * net/eudc.el:
9538 * net/eudcb-ldap.el:
9539 * net/eww.el:
9540 * net/imap.el:
9541 * printing.el:
9542 * vc/ediff-diff.el:
9543 * vc/ediff-init.el:
9544 * vc/ediff-merg.el:
9545 * vc/ediff-mult.el:
9546 * vc/ediff-util.el:
9547 * vc/ediff-wind.el:
9548 * vc/ediff.el:
9549 * vc/emerge.el:
9550 * vc/pcvs.el:
9551 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9552 byte compiler. Remove some unused let-bound variables.
9553
9554 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9557 a "ref-cell", since it gets better optimized (bug#14883).
9558
9559 2013-09-05 Glenn Morris <rgm@gnu.org>
9560
9561 * progmodes/cc-awk.el (c-forward-sws): Declare.
9562
9563 2013-09-04 Glenn Morris <rgm@gnu.org>
9564
9565 * generic-x.el [rul-generic-mode]: Require cc-mode.
9566 (c++-mode-syntax-table): Declare.
9567 (rul-generic-mode-syntax-table): Init in the defvar.
9568
9569 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9572 (vc-do-command, vc-set-async-update):
9573 * vc/vc-mtn.el (vc-mtn-dir-status):
9574 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9575 (vc-hg-pull, vc-hg-merge-branch):
9576 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9577 (vc-git-merge-branch):
9578 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9579 (vc-cvs-dir-status-files):
9580 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9581 (vc-bzr-dir-status-files):
9582 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9583 * vc/vc-annotate.el: Use lexical-binding.
9584 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9585 (vc-sentinel-movepoint): Declare.
9586 (vc-annotate): Don't use `goto-line'.
9587 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9588 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9589 (vc-sentinel-movepoint): Declare.
9590 * vc/vc-svn.el: Use lexical-binding.
9591 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9592 * vc/vc-sccs.el:
9593 * vc/vc-rcs.el: Use lexical-binding.
9594
9595 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9596 `deleted'. Don't drop errors silently.
9597
9598 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9599
9600 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9601
9602 * vc/vc.el (vc-ignore): Rewrite.
9603 (vc-default-ignore): New function.
9604 (vc-default-ignore-completion-table): Use find-ignore-file.
9605
9606 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9607 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9608 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9609 Remove. Most code moved to vc.el.
9610
9611 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9614 * net/tramp-smb.el (tramp-smb-get-file-entries):
9615 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9616 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9617
9618 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9619 Update call to it.
9620 (eww-change-select): Remove unused var `properties'.
9621 (eww-make-unique-file-name): Remove unused var `base'.
9622
9623 * finder.el (finder-compile-keywords): Don't mess with windows.
9624
9625 * calculator.el (calculator-funcall): Fix typo in last change.
9626
9627 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9628
9629 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9630 <pkg>-autoloads.el file stop us.
9631
9632 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9633 warnings, and factor out common code.
9634
9635 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9636
9637 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9638 two-character operators and whether the character preceding them
9639 changes their meaning (Bug#15208).
9640
9641 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9642
9643 Format code sent to Python shell for robustness.
9644 * progmodes/python.el (python-shell-buffer-substring):
9645 New function.
9646 (python-shell-send-region, python-shell-send-buffer): Use it.
9647
9648 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9649
9650 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9651 * net/tramp.el (tramp-user-error): ... here.
9652 (tramp-find-method, tramp-check-proper-host)
9653 (tramp-dissect-file-name, tramp-debug-message)
9654 (tramp-handle-shell-command):
9655 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9656 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9657
9658 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9659
9660 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9661
9662 * avoid.el (mouse-avoidance-point-position)
9663 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9664 returns nil.
9665
9666 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9667
9668 * progmodes/python.el (python-shell-completion-get-completions):
9669 Drop use of deleted `comint-last-prompt-overlay'.
9670 (python-nav-if-name-main): New command.
9671
9672 2013-09-01 Glenn Morris <rgm@gnu.org>
9673
9674 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9675 Avoid leading space in $wins. Otherwise the sed command used by
9676 eg compile-main ends up containing "/*.el". (Bug#15170)
9677
9678 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9679
9680 2013-08-30 Glenn Morris <rgm@gnu.org>
9681
9682 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9683 Fix is-this-a-directory logic. (Bug#15220)
9684
9685 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * textmodes/css-mode.el: Use SMIE.
9688 (css-smie-grammar): New var.
9689 (css-smie--forward-token, css-smie--backward-token)
9690 (css-smie-rules): New functions.
9691 (css-mode): Use them.
9692 (css-navigation-syntax-table): Remove var.
9693 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9694 (css-indent-calculate, css-indent-line): Remove functions.
9695
9696 Misc changes to reduce use of `(lambda...); and other cleanups.
9697 * cus-edit.el: Use lexical-binding.
9698 (customize-push-and-save, customize-apropos)
9699 (custom-buffer-create-internal): Use closures.
9700 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9701 * progmodes/ada-xref.el: Use setq.
9702 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9703 * dframe.el: Use lexical-binding.
9704 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9705 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9706 * descr-text.el: Use lexical-binding.
9707 (describe-text-widget, describe-text-sexp, describe-property-list):
9708 Use closures.
9709 * comint.el (comint-history-isearch-push-state): Use a closure.
9710 * calculator.el: Use lexical-binding.
9711 (calculator-number-to-string): Make it work with lexical-binding.
9712 (calculator-funcall): Same and use cl-letf.
9713
9714 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9715 (lisp--company-doc-string, lisp--company-location): New functions.
9716 (lisp-completion-at-point): Use them to improve Company support.
9717
9718 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9719 params of lambda expressions.
9720 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9721 (ruby-smie--opening-pipe-p): New function.
9722 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9723 symbols and matched |...| for formal params.
9724 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9725 from being treated as hanging. Handle "rescue".
9726
9727 2013-08-29 Glenn Morris <rgm@gnu.org>
9728
9729 * progmodes/cc-engine.el (c-pull-open-brace):
9730 Move definition before use.
9731
9732 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9735 are immutable. Don't use `unsafe' any more.
9736 (cl--defsubst-expand): Don't substitute at the same time as keeping
9737 a residual unused let-binding. Don't use `unsafe' any more.
9738
9739 2013-08-29 Glenn Morris <rgm@gnu.org>
9740
9741 * calendar/cal-china.el (calendar-chinese-year-cache):
9742 Recenter on 2015.
9743
9744 * nxml/nxml-util.el (nxml-debug-clear-inside):
9745 Use cl-loop rather than loop.
9746
9747 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9748
9749 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9750
9751 2013-08-28 Glenn Morris <rgm@gnu.org>
9752
9753 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9754
9755 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9756
9757 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9758
9759 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * simple.el (repeat-complex-command--called-interactively-skip):
9762 New function.
9763 (repeat-complex-command): Use it (bug#14136).
9764
9765 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9766 (c-define-abbrev-table): Add `doc' argument.
9767 (c-mode-abbrev-table, c++-mode-abbrev-table)
9768 (objc-mode-abbrev-table, java-mode-abbrev-table)
9769 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9770 (awk-mode-abbrev-table): Use it.
9771 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9772 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9773 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9774 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9775 Move initialization into the declaration; and remove any
9776 autoload cookie.
9777
9778 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9779 and dynamic let binding.
9780
9781 * vc/smerge-mode.el: Remove redundant :group args.
9782
9783 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9784 to load-path.
9785
9786 2013-08-28 Juri Linkov <juri@jurta.org>
9787
9788 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9789 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9790 (isearch-other-meta-char): Handle an undefined shifted printing
9791 character by downshifting it. (Bug#15200)
9792
9793 2013-08-28 Juri Linkov <juri@jurta.org>
9794
9795 * isearch.el (isearch-search): Change regexp error message for
9796 non-regexp searches. (Bug#15166)
9797
9798 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9799
9800 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9801 for portability to hosts where /bin/sh has problems.
9802
9803 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9806
9807 2013-08-27 Juri Linkov <juri@jurta.org>
9808
9809 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9810 in the keyboard macro. (Bug#15126)
9811
9812 2013-08-27 Juri Linkov <juri@jurta.org>
9813
9814 * isearch.el (isearch-quote-char): Comment out converting unibyte
9815 to multibyte, thus syncing with its `quoted-insert' counterpart.
9816 (Bug#15166)
9817
9818 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9819
9820 * window.el (display-buffer-use-some-window): Add missing
9821 argument in call of get-largest-window (Bug#15185).
9822 Reported by Stephen Leake.
9823
9824 2013-08-27 Glenn Morris <rgm@gnu.org>
9825
9826 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9827
9828 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9829
9830 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9831 from a matcher-function unless there's no more matches (bug#15161).
9832
9833 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9834
9835 * minibuffer.el: Revert change from 2013-08-20.
9836
9837 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9838 with text property `tramp-default', if appropriate.
9839 (tramp-check-proper-host): New defun.
9840 (tramp-dissect-file-name): Do not check hostname. Revert change
9841 of 2013-03-18.
9842 (tramp-backtrace): Make VEC-OR-PROC optional.
9843
9844 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9845 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9846 * net/tramp-sh.el (tramp-maybe-open-connection):
9847 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9848 Apply `tramp-check-proper-host'.
9849
9850 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9851
9852 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9853 lambda expression in order to have `describe-variable' display it.
9854
9855 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9856
9857 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9858 BUF can be optional. (Bug#15186)
9859
9860 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9861
9862 * progmodes/flymake.el (flymake-get-real-file-name-function):
9863 Fix broken customization. (Bug#15184)
9864
9865 2013-08-25 Alan Mackenzie <acm@muc.de>
9866
9867 Improve indentation of bracelists defined by macros (without "=").
9868
9869 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9870 expansion begins with "{", regard it as bracelist when it doesn't
9871 contain a ";".
9872
9873 Parse C++ inher-intro when there's a template split over 2 lines.
9874
9875 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9876 rigorously the search for "class" etc. followed by ":".
9877
9878 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9879 random languages a regexp which never matches rather than nil.
9880
9881 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9882
9883 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9884 (c-awk-regexp-one-line-possibly-open-char-list-re)
9885 (c-awk-one-line-possibly-open-regexp-re)
9886 (c-awk-one-line-non-syn-ws*-re): Remove.
9887 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9888 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9889 (c-awk-space*-unclosed-regexp-/-re): New constants.
9890 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9891 aren't regexp delimiters.
9892
9893 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9894 handling for a rare situation in AWK Mode involving unterminated
9895 strings/regexps.
9896
9897 2013-08-23 Glenn Morris <rgm@gnu.org>
9898
9899 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9900
9901 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9902
9903 * files.el (create-file-buffer): If the result would begin with
9904 spaces, prepend a "|" instead of removing them. (Bug#15162)
9905
9906 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9909 text-properties (bug#15155).
9910
9911 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9912 exist any more.
9913 (calc-keypad-redraw): Remove unused var `pad'.
9914 (calc-keypad-press): Remove unused var `menu'.
9915
9916 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9917
9918 * window.el (display-buffer-pop-up-frame):
9919 Call pop-up-frame-function with BUFFER current so `make-frame' will
9920 use it as the new frame's buffer (Bug#15133).
9921
9922 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * calendar/timeclock.el: Minor cleanups.
9925 (timeclock-ask-before-exiting, timeclock-use-display-time):
9926 Use `symbol'.
9927 (timeclock-modeline-display): Define as alias before the
9928 actual definition.
9929 (timeclock-mode-line-display): Use define-minor-mode.
9930 (timeclock-day-list-template): Make it a function, add an argument.
9931 (timeclock-day-list-required, timeclock-day-list-length)
9932 (timeclock-day-list-debt, timeclock-day-list-span)
9933 (timeclock-day-list-break): Adjust calls accordingly.
9934
9935 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9938 Use read--expression so that completion works again.
9939
9940 2013-08-21 Sam Steingold <sds@gnu.org>
9941
9942 Add rudimentary inferior shell interaction
9943 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9944 (sh-set-shell): Reset it.
9945 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9946 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9947
9948 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * align.el: Use lexical-binding.
9951 (align-region): Simplify accordingly.
9952
9953 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9954
9955 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9956
9957 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9958 `non-essential' up.
9959
9960 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * net/tramp.el:
9963 * net/tramp-adb.el:
9964 * net/tramp-cmds.el:
9965 * net/tramp-ftp.el:
9966 * net/tramp-gvfs.el:
9967 * net/tramp-gw.el:
9968 * net/tramp-sh.el: Don't wrap external variable declarations by
9969 `eval-when-compile'.
9970
9971 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9972
9973 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9974 now that Emacs supports ImageMagick animations.
9975
9976 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9977
9978 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9979 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9980
9981 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9982
9983 * window.el (mouse-autoselect-window-select): Do autoselect when
9984 mouse pointer is on margin.
9985
9986 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9987
9988 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9989
9990 2013-08-16 Glenn Morris <rgm@gnu.org>
9991
9992 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9993 Handle "Remote Directory" response of some clients. (Bug#15058)
9994
9995 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9996 Tweak warning. (Bug#14926)
9997
9998 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9999 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10000
10001 * image-mode.el (image-mode-map): Add menu items to reverse,
10002 increase, decrease, reset animation speed.
10003 (image--set-speed, image-increase-speed, image-decrease-speed)
10004 (image-reverse-speed, image-reset-speed): New functions.
10005 (image-mode-map): Add bindings for speed commands.
10006
10007 * image.el (image-animate-get-speed, image-animate-set-speed):
10008 New functions.
10009 (image-animate-timeout): Respect image :speed property.
10010
10011 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10014 previous line (bug#15101).
10015 (debugger-eval-expression, debugger-record-expression):
10016 Use read--expression (bug#15102).
10017
10018 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10019
10020 Remove byte compiler warnings, visible when compiling with
10021 `byte-compile-force-lexical-warnings' set to t.
10022
10023 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10024 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10025 (tramp-handle-unhandled-file-name-directory)
10026 (tramp-handle-file-notify-add-watch, tramp-action-login)
10027 (tramp-action-succeed, tramp-action-permission-denied)
10028 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10029 arguments with "_".
10030
10031 * net/tramp-adb.el (tramp-adb-parse-device-names)
10032 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10033 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10034 (tramp-adb-handle-file-truename): Remove unused arguments.
10035
10036 * net/tramp-cache.el (tramp-flush-directory-property)
10037 (tramp-flush-connection-property, tramp-list-connections)
10038 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10039
10040 * net/tramp-compat.el (tramp-compat-make-temp-file):
10041 Rename FILENAME to F.
10042
10043 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10044 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10045 (tramp-zeroconf-parse-workstation-device-names)
10046 (tramp-zeroconf-parse-webdav-device-names)
10047 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10048
10049 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10050 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10051
10052 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10053 arguments.
10054 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10055 (tramp-sh-handle-insert-file-contents-literally)
10056 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10057 with "_".
10058 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10059 Remove unused variables.
10060
10061 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10062 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10063 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10064
10065 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10066 Make them a defconst.
10067 (tramp-uuencode-region): Remove unused variable.
10068
10069 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10070
10071 * frameset.el (frameset--prop-setter): New function.
10072 (frameset-prop): Add gv-setter declaration.
10073 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10074 parameter was already set in FILTERED. Doc fix.
10075 (frameset--record-minibuffer-relationships): Allow saving a
10076 minibufferless frame without its corresponding minibuffer frame.
10077 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10078 frame, if the frame id matches.
10079 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10080 frames before orphaned ones.
10081 (frameset-restore): Warn about orphaned windows, instead of error out.
10082
10083 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10084
10085 * window.el (window-make-atom): Don't overwrite parameter
10086 already present.
10087 (display-buffer-in-atom-window): Handle special case where we
10088 split an already atomic window.
10089 (window--major-non-side-window, display-buffer-in-side-window)
10090 (window--side-check): Ignore minibuffer window when walking
10091 window tree.
10092 (window-deletable-p): Return 'frame only if no other frame uses
10093 our minibuffer window.
10094 (record-window-buffer): Run buffer-list-update-hook.
10095 (split-window): Make sure window--check-frame won't destroy an
10096 existing atomic window in case the new window gets nested
10097 inside.
10098 (display-buffer-at-bottom): Ignore minibuffer window when
10099 walking window tree. Don't split a side window.
10100 (pop-to-buffer): Don't set-buffer here, the select-window call
10101 should do that.
10102 (mouse-autoselect-window-select): Autoselect only if we are in the
10103 text portion of the window.
10104
10105 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10106
10107 * net/shr.el (shr-parse-image-data): New function to grab both the
10108 data itself and the Content-Type.
10109 (shr-put-image): Use it.
10110
10111 * net/eww.el (eww-display-image): Ditto.
10112
10113 * image.el (image-content-type-suffixes): New variable.
10114
10115 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10116
10117 * progmodes/python.el (python-imenu--build-tree)
10118 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10119
10120 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10121
10122 * simple.el (backward-word): Mention the optional argument.
10123
10124 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * frameset.el (frameset--make): Rename constructor from make-frameset.
10127 (frameset-p, frameset-valid-p): Don't autoload.
10128 (frameset-valid-p): Use normal accessors.
10129
10130 2013-08-13 Glenn Morris <rgm@gnu.org>
10131
10132 * progmodes/compile.el (compile-command): Tweak example in doc.
10133 * obsolete/scribe.el (scribe-mode):
10134 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10135
10136 * mail/feedmail.el (feedmail-confirm-outgoing)
10137 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10138
10139 * cus-start.el (truncate-partial-width-windows): Fix type.
10140
10141 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10142
10143 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10144
10145 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * emacs-lisp/timer.el (timer--time-setter): New function.
10148 (timer--time): Use it as gv-setter.
10149
10150 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10151 setter is not a symbol.
10152
10153 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10154
10155 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10156 if sending fails. This makes debugging easier.
10157
10158 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10161 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10162 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10163
10164 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10165
10166 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10167
10168 2013-08-12 Glenn Morris <rgm@gnu.org>
10169
10170 * format.el (format-annotate-function):
10171 Handle read-only text properties in the source. (Bug#14887)
10172
10173 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10174
10175 * net/eww.el (eww-display-html): Ignore coding system errors.
10176 One web site uses "utf-8lias" as the coding system.
10177
10178 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10181
10182 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10183
10184 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10185 (tutorial--detailed-help): Remove unused local variables.
10186 (tutorial--save-tutorial-to): Use ignore-errors.
10187 (help-with-tutorial): Use looking-at-p.
10188
10189 * view.el (view-buffer-other-window, view-buffer-other-frame):
10190 Mark unused arguments.
10191
10192 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10193 (woman-select-symbol-fonts, woman, woman-find-file)
10194 (woman-insert-file-contents, woman-non-underline-faces):
10195 Use string-match-p.
10196 (woman1-unquote): Move declaration.
10197
10198 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10199 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10200 argument. Remove unused local variable.
10201 (xml-parse-elem-type): Use string-match-p.
10202 (xml-substitute-numeric-entities): Use ignore-errors.
10203
10204 * calculator.el (calculator): Mark unused argument.
10205 (calculator-paste, calculator-quit, calculator-integer-p):
10206 Use ignore-errors.
10207 (calculator-string-to-number, calculator-decimal, calculator-exp)
10208 (calculator-op-or-exp): Use string-match-p.
10209
10210 * dired.el (dired-buffer-more-recently-used-p): Declare.
10211 (dired-insert-set-properties, dired-insert-old-subdirs):
10212 Use ignore-errors.
10213
10214 * dired-aux.el (dired-compress): Use ignore-errors.
10215 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10216 (dired-do-async-shell-command, dired-do-shell-command)
10217 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10218 (dired-insert-subdir-validate): Use string-match-p.
10219 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10220 (dired-add-entry): Use string-match-p, looking-at-p.
10221 (dired-insert-subdir-newpos): Remove unused local variable.
10222
10223 * filenotify.el (file-notify-callback): Remove unused local variable.
10224
10225 * filesets.el (filesets-error): Mark unused argument.
10226 (filesets-which-command-p, filesets-filter-dir-names)
10227 (filesets-directory-files, filesets-get-external-viewer)
10228 (filesets-ingroup-get-data): Use string-match-p.
10229
10230 * find-file.el (ff-other-file-name, ff-other-file-name)
10231 (ff-find-the-other-file, ff-cc-hh-converter):
10232 Remove unused local variables.
10233 (ff-get-file-name): Use string-match-p.
10234 (ff-all-dirs-under): Use ignore-errors.
10235
10236 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10237 (follow-select-if-visible): Remove unused local variable.
10238
10239 * forms.el (read-file-filter): Move declaration.
10240 (forms--make-format, forms--make-parser, forms-insert-record):
10241 Quote function with #'.
10242 (forms--update): Use string-match-p. Quote function with #'.
10243
10244 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10245 (help-make-xrefs): Use looking-at-p.
10246 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10247
10248 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10249 (ibuffer-confirm-operation-on): Use string-match-p.
10250
10251 * msb.el (msb-item-handler, msb-dired-item-handler):
10252 Mark unused arguments.
10253
10254 * ses.el (ses-decode-cell-symbol)
10255 (ses-kill-override): Remove unused local variable.
10256 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10257 (ses-load): Use ignore-errors, looking-at-p.
10258 (ses-jump-safe): Use ignore-errors.
10259 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10260
10261 * tabify.el (untabify, tabify): Mark unused arguments.
10262
10263 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10264 Mark unused argument.
10265 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10266 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10267
10268 * emacs-lisp/timer.el (timer--time): Define setter with
10269 gv-define-setter to avoid deprecation warning.
10270
10271 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10272 (*record-cmpl-statistics-p*): Remove (was commented out).
10273 (cmpl-statistics-block): Remove (body was commented out).
10274 All callers changed.
10275 (add-completions-from-buffer, load-completions-from-file):
10276 Remove unused variables.
10277
10278 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10279
10280 * filecache.el (file-cache-delete-file-list):
10281 Print message only when told so.
10282 (file-cache-files-matching): Use #' in mapconcat argument.
10283
10284 * ffap.el (ffap-url-at-point): Fix reference to variable
10285 thing-at-point-default-mail-uri-scheme.
10286
10287 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * subr.el (define-error): New function.
10290 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10291 error-file-not-found and define with define-error.
10292 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10293 and define with define-error.
10294 * userlock.el (file-locked, file-supersession):
10295 * simple.el (mark-inactive):
10296 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10297 * progmodes/ada-mode.el (ada-mode-errors):
10298 * play/life.el (life-extinct):
10299 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10300 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10301 * nxml/rng-util.el (rng-error):
10302 * nxml/rng-uri.el (rng-uri-error):
10303 * nxml/rng-match.el (rng-compile-error):
10304 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10305 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10306 * nxml/nxml-rap.el (nxml-scan-error):
10307 * nxml/nxml-outln.el (nxml-outline-error):
10308 * net/soap-client.el (soap-error):
10309 * net/gnutls.el (gnutls-error):
10310 * net/ange-ftp.el (ftp-error):
10311 * mpc.el (mpc-proc-error):
10312 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10313 (json-number-format, json-string-escape, json-string-format)
10314 (json-key-format, json-object-format):
10315 * jka-compr.el (compression-error):
10316 * international/quail.el (quail-error):
10317 * international/kkc.el (kkc-error):
10318 * emacs-lisp/ert.el (ert-test-failed):
10319 * calc/calc.el (calc-error, inexact-result, math-overflow)
10320 (math-underflow):
10321 * bookmark.el (bookmark-error-no-filename):
10322 * epg.el (epg-error): Define with define-error.
10323
10324 * time.el (display-time-event-handler)
10325 (display-time-next-load-average): Don't call sit-for since it seems
10326 unnecessary (bug#15045).
10327
10328 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10329 Use #' instead of ' to quote functions.
10330 (checkdoc-output-mode): Use setq-local.
10331 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10332 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10333 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10334 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10335 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10336 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10337 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10338 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10339
10340 * ido.el (ido-completion-help): Fix up compiler warning.
10341
10342 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10343
10344 * frameset.el (frameset-p): Add autoload cookie.
10345 (frameset--jump-to-register): New function, based on code moved from
10346 register.el.
10347 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10348
10349 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10350 (frameset-restore, frameset-save, frameset-session-filter-alist):
10351 Remove declarations.
10352 (register-alist): Doc fix.
10353 (frameset-to-register): Move to frameset.el.
10354 (jump-to-register, describe-register-1): Remove frameset-specific code.
10355
10356 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10357
10358 * allout-widgets.el (allout-widgets-pre-command-business)
10359 (allout-widgets-post-command-business)
10360 (allout-widgets-after-change-handler)
10361 (allout-decorate-item-and-context, allout-set-boundary-marker)
10362 (allout-body-modification-handler)
10363 (allout-graphics-modification-handler): Mark ignored arguments.
10364 (allout-widgets-post-command-business)
10365 (allout-widgets-exposure-change-processor)
10366 (allout-widgets-exposure-undo-processor)
10367 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10368 (allout-parse-item-at-point, allout-decorate-item-guides)
10369 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10370 * allout.el (epa-passphrase-callback-function): Declare.
10371 (allout-overlay-insert-in-front-handler)
10372 (allout-overlay-interior-modification-handler)
10373 (allout-isearch-end-handler, allout-chart-siblings)
10374 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10375 (allout-yank-processing, allout-process-exposed)
10376 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10377 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10378 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10379 (lisp-indent-defform): Mark ignored arguments.
10380 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10381 (calculate-lisp-indent): Remove unused variables.
10382 * international/characters.el (indian-2-column, arabic-2-column)
10383 (tibetan): Mark ignored arguments.
10384 (use-cjk-char-width-table): Mark ignored arguments.
10385 Remove unused variables.
10386 * international/fontset.el (build-default-fontset-data)
10387 (x-compose-font-name, create-fontset-from-fontset-spec):
10388 Mark ignored arguments.
10389 (fontset-plain-name): Remove unused variables.
10390 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10391 (keyboard-coding-system): Mark ignored arguments.
10392 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10393 * help.el (resize-temp-buffer-window):
10394 * window.el (display-buffer-in-major-side-window)
10395 (display-buffer-in-side-window, display-buffer-in-previous-window):
10396 Remove unused variables.
10397 * isearch.el (isearch-forward-symbol):
10398 * version.el (emacs-bzr-version-bzr):
10399 * international/mule-cmds.el (current-language-environment):
10400 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10401 (x-handle-display):
10402 * term/pc-win.el (x-list-fonts, x-display-planes)
10403 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10404 (x-server-version, x-display-screens, x-display-mm-height)
10405 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10406 (x-selection-owner-p, x-own-selection-internal)
10407 (x-disown-selection-internal, x-get-selection-internal)
10408 (msdos-initialize-window-system):
10409 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10410 * term/x-win.el (x-handle-no-bitmap-icon):
10411 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10412 (vc-default-find-file-hook, vc-default-extra-menu):
10413 Mark ignored arguments.
10414
10415 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10418 break-condition in the context of the debugged code (bug#12685).
10419
10420 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10421
10422 * comint.el:
10423 Do not use an overlay to highlight the last prompt. (Bug#14744)
10424 (comint-mode): Make comint-last-prompt buffer local.
10425 (comint-last-prompt): New variable.
10426 (comint-last-prompt-overlay): Remove. Superseded by
10427 comint-last-prompt.
10428 (comint-snapshot-last-prompt, comint-output-filter):
10429 Use comint-last-prompt.
10430
10431 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10432
10433 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10434 (frameset-save): Check validity of the resulting frameset.
10435
10436 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10437
10438 * ido.el (ido-record-command): Add doc string.
10439
10440 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10441
10442 * frameset.el (frameset): Do not disable creation of the default
10443 frameset-p predicate. Doc fix.
10444 (frameset-valid-p): New function, copied from the old predicate-p.
10445 Add additional checks.
10446 (frameset-restore): Check with frameset-valid-p.
10447 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10448 (frameset-name, frameset-description, frameset-properties)
10449 (frameset-states): Add docstring.
10450 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10451 (frameset-filter-alist): Doc fixes.
10452
10453 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10454
10455 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10456
10457 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10458
10459 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10460 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10461 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10462 (byte-compile-normal-call): Remove obsolescence check.
10463
10464 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10465
10466 * frameset.el (frameset-restore): Doc fix.
10467
10468 * register.el (frameset-frame-id, frameset-frame-with-id)
10469 (frameset-p, frameset-restore, frameset-save): Declare.
10470 (register-alist): Document framesets.
10471 (frameset-session-filter-alist): Declare.
10472 (frameset-to-register): New function.
10473 (jump-to-register): Implement jumping to framesets. Doc fix.
10474 (describe-register-1): Describe framesets.
10475
10476 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10477
10478 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10481 Use lexical-binding.
10482
10483 * frameset.el (frameset): Use type vector, not list (incompatible
10484 change). Do not declare a new constructor, use the default one.
10485 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10486 `name' and `description', respectively, and add read-only slot
10487 `timestamp'. Doc fixes.
10488 (frameset-copy, frameset-persistent-filter-alist)
10489 (frameset-filter-alist, frameset-switch-to-gui-p)
10490 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10491 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10492 (frameset-filter-iconified, frameset-keep-original-display-p):
10493 Doc fixes.
10494 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10495 Rename from frameset-filter-(save|restore)-param. All callers changed.
10496 Doc fix.
10497 (frameset-p): Adapt to change to vector and be more thorough.
10498 Change arg name to OBJECT. Doc fix.
10499 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10500 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10501 All callers changed.
10502 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10503 All callers changed.
10504 (frameset--record-minibuffer-relationships): Rename from
10505 frameset--process-minibuffer-frames. All callers changed.
10506 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10507 Use new default constructor (again). Doc fix.
10508 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10509 All callers changed.
10510 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10511 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10512 Doc fix.
10513 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10514 PARAMETERS and WINDOW-STATE, respectively.
10515 (frameset-restore): Add new keyword argument PREDICATE.
10516 Reset frameset--target-display to nil. Doc fix.
10517
10518 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10519
10520 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10521 (bat-mode): Use it.
10522 (bat-mode-syntax-table): Mark \n as end-of-comment.
10523 (bat-font-lock-keywords): Remove comment rule.
10524
10525 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10526 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10527
10528 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10529 (byte-compile-callargs-warn): Use `push'.
10530 (byte-compile-arglist-warn): Ignore higher-order "calls".
10531 (byte-compile-file-form-autoload): Use `pcase'.
10532 (byte-compile-function-form): If quoting a symbol, check that it exists.
10533
10534 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10535
10536 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10537 and add a few popular commands found in batch files.
10538 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10539 (dos-mode): Doc fixes.
10540
10541 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10542
10543 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10544 (dos-mode): Use setq-local. Add space after "rem".
10545 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10546 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10547
10548 2013-08-07 Arni Magnusson <arnima@hafro.is>
10549
10550 * progmodes/dos.el: New file.
10551 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10552 dos-mode.
10553
10554 2013-08-06 Glenn Morris <rgm@gnu.org>
10555
10556 * calendar/calendar.el: Add new faces, and day-header-array.
10557 (calendar-weekday-header, calendar-weekend-header)
10558 (calendar-month-header): New faces.
10559 (calendar-day-header-construct): New function.
10560 (calendar-day-header-width): Also :set calendar-day-header-array.
10561 (calendar-american-month-header, calendar-european-month-header)
10562 (calendar-iso-month-header): Use calendar- faces.
10563 (calendar-generate-month):
10564 Use calendar-day-header-array for day headers; apply faces to them.
10565 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10566 (calendar-abbrev-construct): Add optional maxlen argument.
10567 (calendar-day-name-array): Doc fix.
10568 (calendar-day-name-array, calendar-abbrev-length)
10569 (calendar-day-abbrev-array):
10570 Also :set calendar-day-header-array, and maybe redraw.
10571 (calendar-day-header-array): New option. (Bug#15007)
10572 (calendar-font-lock-keywords): Set to nil and make obsolete.
10573 (calendar-day-name): Add option to use header array.
10574
10575 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10576
10577 * net/shr.el (shr-render-td): Remove debugging.
10578 (shr-render-td): Make width computation consistent by defaulting
10579 all zero-width columns to 10 characters. This may not be optimal,
10580 but it's at least consistent.
10581 (shr-make-table-1): Redo last change to fix the real problem in
10582 colspan handling.
10583
10584 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10585
10586 * files.el (cache-long-line-scans):
10587 Make obsolete alias to `cache-long-scans'.
10588
10589 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * frameset.el (frameset, frameset-filter-alist)
10592 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10593 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10594 (frameset-compute-pos): Rename from frameset--compute-pos,
10595 and add docstring.
10596 (frameset-move-onscreen): Use frameset-compute-pos.
10597 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10598
10599 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10600 Fix typos in docstrings.
10601
10602 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10603
10604 * frame.el (get-other-frame): Tiny cleanup.
10605
10606 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10607
10608 * vc/vc.el (vc-default-ignore-completion-table):
10609 Silence byte-compiler warning.
10610
10611 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10612 slot, which can indeed be nil.
10613 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10614 Move entry for `left' from persistent to live filter alist.
10615 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10616 Doc fixes.
10617 (frameset-filter-params): When restoring a frame, copy items added to
10618 `filtered', to avoid unwittingly modifying the original parameters.
10619 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10620 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10621
10622 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10623 to use looking-at-p instead of looking-at. (Bug#15028)
10624
10625 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10626
10627 Revert introduction of isearch-filter-predicates (bug#14714).
10628 Rely on add-function instead.
10629 * isearch.el (isearch-filter-predicates): Rename it back to
10630 isearch-filter-predicate.
10631 (isearch-message-prefix): Use advice-function-mapc and advice
10632 properties to get the isearch-message-prefix.
10633 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10634 instead of run-hook-with-args-until-failure.
10635 (isearch-filter-visible): Not obsolete any more.
10636 * loadup.el: Preload nadvice.
10637 * replace.el (perform-replace): Revert to funcall
10638 instead of run-hook-with-args-until-failure.
10639 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10640 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10641 dired-isearch-filenames-toggle; make it into a proper minor mode.
10642 Use add/remove-function.
10643 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10644 Call the minor-mode rather than add/remove-hook.
10645 (dired-isearch-filter-filenames):
10646 Remove isearch-message-prefix property.
10647 * info.el (Info--search-loop): New function, extracted from Info-search.
10648 Funcall isearch-filter-predicate instead of
10649 run-hook-with-args-until-failure isearch-filter-predicates.
10650 (Info-search): Use it.
10651 (Info-mode): Use isearch-filter-predicate instead of
10652 isearch-filter-predicates.
10653
10654 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10655
10656 Do not call to `selected-window' where it is assumed by default.
10657 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10658 `window-hscroll', `window-width', `window-height', `window-buffer',
10659 `window-frame', `window-start', `window-point', `next-window'
10660 and `window-display-table'.
10661 * abbrev.el (abbrev--default-expand):
10662 * bs.el (bs--show-with-configuration):
10663 * buff-menu.el (Buffer-menu-mouse-select):
10664 * calc/calc.el (calc):
10665 * calendar/calendar.el (calendar-generate-window):
10666 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10667 (diary-make-entry):
10668 * comint.el (send-invisible, comint-dynamic-complete-filename)
10669 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10670 * completion.el (complete):
10671 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10672 * disp-table.el (describe-current-display-table):
10673 * doc-view.el (doc-view-insert-image):
10674 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10675 * ehelp.el (with-electric-help):
10676 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10677 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10678 * emacs-lisp/helper.el (Helper-help-scroller):
10679 * emulation/cua-base.el (cua--post-command-handler-1):
10680 * eshell/esh-mode.el (eshell-output-filter):
10681 * ffap.el (ffap-gnus-wrapper):
10682 * help-macro.el (make-help-screen):
10683 * hilit-chg.el (highlight-compare-buffers):
10684 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10685 * hl-line.el (global-hl-line-highlight):
10686 * icomplete.el (icomplete-simple-completing-p):
10687 * isearch.el (isearch-done):
10688 * jit-lock.el (jit-lock-stealth-fontify):
10689 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10690 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10691 * mpc.el (mpc-tagbrowser, mpc):
10692 * net/rcirc.el (rcirc-any-buffer):
10693 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10694 * play/landmark.el (landmark-max-width, landmark-max-height):
10695 * play/zone.el (zone):
10696 * progmodes/compile.el (compilation-goto-locus):
10697 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10698 * progmodes/etags.el (find-tag-other-window):
10699 * progmodes/fortran.el (fortran-column-ruler):
10700 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10701 * progmodes/verilog-mode.el (verilog-point-text):
10702 * reposition.el (reposition-window):
10703 * rot13.el (toggle-rot13-mode):
10704 * server.el (server-switch-buffer):
10705 * shell.el (shell-dynamic-complete-command)
10706 (shell-dynamic-complete-environment-variable):
10707 * simple.el (insert-buffer, set-selective-display)
10708 (delete-completion-window):
10709 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10710 (speedbar-recenter):
10711 * startup.el (fancy-splash-head):
10712 * textmodes/ispell.el (ispell-command-loop):
10713 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10714 * tutorial.el (help-with-tutorial):
10715 * vc/add-log.el (add-change-log-entry):
10716 * vc/compare-w.el (compare-windows):
10717 * vc/ediff-help.el (ediff-indent-help-message):
10718 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10719 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10720 (ediff-setup-control-frame):
10721 * vc/emerge.el (emerge-position-region):
10722 * vc/pcvs-util.el (cvs-bury-buffer):
10723 * window.el (walk-windows, mouse-autoselect-window-select):
10724 * winner.el (winner-set-conf, winner-undo): Related users changed.
10725
10726 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10727
10728 * frameset.el (frameset--set-id): Doc fix.
10729 (frameset-frame-id, frameset-frame-id-equal-p)
10730 (frameset-locate-frame-id): New functions.
10731 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10732 (frameset-restore): Use them.
10733
10734 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10735
10736 Do not call to `selected-frame' where it is assumed by default.
10737 Affected functions are `raise-frame', `redraw-frame',
10738 `frame-first-window', `frame-terminal' and `delete-frame'.
10739 * calendar/appt.el (appt-disp-window):
10740 * epg.el (epg-wait-for-completion):
10741 * follow.el (follow-delete-other-windows-and-split)
10742 (follow-avoid-tail-recenter):
10743 * international/mule.el (set-terminal-coding-system):
10744 * mail/rmail.el (rmail-mail-return):
10745 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10746 * progmodes/f90.el (f90-add-imenu-menu):
10747 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10748 * server.el (server-switch-buffer):
10749 * simple.el (delete-completion-window):
10750 * talk.el (talk):
10751 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10752 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10753 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10754 * vc/ediff.el (ediff-documentation): Related users changed.
10755 * frame.el (selected-terminal): Remove the leftover.
10756
10757 2013-08-05 Glenn Morris <rgm@gnu.org>
10758
10759 * calendar/calendar.el (calendar-generate-month):
10760 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10761 (calendar-generate-month, calendar-font-lock-keywords):
10762 Fix for calendar-day-header-width > length of any day name.
10763
10764 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * desktop.el (desktop-clear): Use new name of sort predicate.
10767
10768 * frameset.el (frameset): Add docstring. Move :version property to its
10769 own `version' slot.
10770 (frameset-copy): Rename from copy-frameset.
10771 (frameset-p): Check more thoroughly.
10772 (frameset-prop): Do not check for :version, which is no longer a prop.
10773 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10774 Use new :never value instead of t.
10775 (frameset-filter-alist): Expand and clarify docstring.
10776 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10777 (frameset-filter-minibuffer, frameset-filter-save-param)
10778 (frameset-filter-restore-param, frameset-filter-iconified):
10779 Add pointer to docstring of frameset-filter-alist.
10780 (frameset-filter-params): Rename filter values to be more meaningful:
10781 :never instead of t, and reverse the meanings of :save and :restore.
10782 (frameset--process-minibuffer-frames): Clarify error message.
10783 (frameset-save): Avoid unnecessary and confusing call to framep.
10784 Use new BOA constructor for framesets.
10785 (frameset--reuse-list): Doc fix.
10786 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10787 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10788 (frameset-minibufferless-first-p): Doc fix.
10789 Rename from frameset-sort-frames-for-deletion.
10790 (frameset-restore): Doc fixes. Use new function names.
10791 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10792
10793 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10794
10795 * desktop.el (desktop-restore-forces-onscreen)
10796 (desktop-restore-reuses-frames): Document :keyword constant values.
10797 (desktop-filter-parameters-alist): Remove, now identical to
10798 frameset-filter-alist.
10799 (desktop--filter-tty*): Remove, moved to frameset.el.
10800 (desktop-save-frameset, desktop-restore-frameset):
10801 Do not pass :filters argument.
10802
10803 * frameset.el (frameset-live-filter-alist)
10804 (frameset-persistent-filter-alist): New variables.
10805 (frameset-filter-alist): Use them. Add autoload cookie.
10806 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10807 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10808 `frameset--id' (it's supposed to be internal to frameset.el).
10809 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10810 (frameset--initial-params): New function.
10811 (frameset--get-frame): Use it. Doc fix.
10812 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10813 Accept :all, not 'all.
10814 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10815 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10816 with fbound symbols. Fix frame id matching, and remove matching ids if
10817 the frame being restored is deleted. Obey :delete.
10818
10819 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * subr.el (macrop): New function.
10822 (text-clone--maintaining): New var.
10823 (text-clone--maintain): Rename from text-clone-maintain. Use it
10824 instead of inhibit-modification-hooks.
10825
10826 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10827 a proxy, so as handle autoloads and redefinitions of the target.
10828 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10829
10830 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10831 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10832 (pcase--mutually-exclusive-p): New function.
10833 (pcase--split-consp): Use it.
10834 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10835 mutually exclusive with the current predicate.
10836
10837 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10838 (edebug-macrop): Remove. Use `macrop' instead.
10839 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10840 (ad-macro-p):
10841 * eshell/esh-cmd.el (eshell-macrop):
10842 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10843
10844 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10847 (advice-mapc): New function, using it.
10848 (advice-function-member-p): New function.
10849 (advice--normalize): Store the cdr in advice--saved-rewrite since
10850 that's the part that will be changed.
10851 (advice--symbol-function): New function.
10852 (advice-remove): Handle removal before the function is defined.
10853 Adjust to new advice--saved-rewrite.
10854 (advice-member-p): Use advice-function-member-p and
10855 advice--symbol-function.
10856
10857 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10860 (frameset-filter-minibuffer): Doc fix.
10861 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10862 (frameset--set-id, frameset--process-minibuffer-frames)
10863 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10864 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10865
10866 * desktop.el (desktop-clear): Only delete frames when called
10867 interactively and desktop-restore-frames is non-nil. Doc fix.
10868 (desktop-read): Set desktop-saved-frameset to nil.
10869
10870 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10871
10872 * vc/vc.el (vc-ignore): Rewrite.
10873 (vc-default-ignore-completion-table, vc--read-lines)
10874 (vc--add-line, vc--remove-regexp): New functions.
10875
10876 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10877 (vc-svn-ignore-completion-table): New function.
10878
10879 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10880 (vc-hg-ignore-completion-table)
10881 (vc-hg-find-ignore-file): New functions.
10882
10883 * vc/vc-git.el (vc-git-ignore): Rewrite.
10884 (vc-git-ignore-completion-table)
10885 (vc-git-find-ignore-file): New functions.
10886
10887 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10888
10889 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10890 (vc-bzr-ignore-completion-table)
10891 (vc-bzr-find-ignore-file): New functions.
10892
10893 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10894
10895 * frameset.el (frameset-prop): New function and setter.
10896 (frameset-save): Do not modify frame list passed by the caller.
10897
10898 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10901
10902 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10903
10904 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10905 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10906
10907 * custom.el (custom-initialize-default, custom-initialize-set)
10908 (custom-initialize-reset, custom-initialize-changed): Affect the
10909 toplevel-default-value (bug#6275, bug#14586).
10910 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10911 for bug#6275.
10912
10913 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10914
10915 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10916 Add cl-def* expressions.
10917
10918 * frameset.el (frameset-filter-params): Fix order of arguments.
10919
10920 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10921
10922 Move code related to saving frames to frameset.el.
10923 * desktop.el: Require frameset.
10924 (desktop-restore-frames): Doc fix.
10925 (desktop-restore-reuses-frames): Rename from
10926 desktop-restoring-reuses-frames.
10927 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10928 (desktop-clear): Clear frames too.
10929 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10930 (desktop--filter-tty*, desktop-save, desktop-read):
10931 Use frameset functions.
10932 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10933 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10934 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10935 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10936 (desktop--process-minibuffer-frames, desktop-save-frames)
10937 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10938 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10939 (desktop--sort-states, desktop-restoring-frames-p)
10940 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10941 (desktop-restoring-frameset-p, desktop-restore-frameset)
10942 (desktop--check-dont-save, desktop-save-frameset): New functions.
10943 (desktop--app-id): New constant.
10944 (desktop-first-buffer, desktop-buffer-ok-count)
10945 (desktop-buffer-fail-count): Move before first use.
10946 * frameset.el: New file.
10947
10948 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * files.el: Use lexical-binding.
10951 (dir-locals-read-from-file): Remove unused `err' variable.
10952 (hack-dir-local-variables--warned-coding): New var.
10953 (hack-dir-local-variables): Use it to avoid repeated warnings.
10954 (make-backup-file-name--default-function): New function.
10955 (make-backup-file-name-function): Use it as default.
10956 (buffer-stale--default-function): New function.
10957 (buffer-stale-function): Use it as default.
10958 (revert-buffer-insert-file-contents--default-function): New function.
10959 (revert-buffer-insert-file-contents-function): Use it as default.
10960 (insert-directory): Avoid add-to-list.
10961
10962 * autorevert.el (auto-revert-handler): Simplify.
10963 Use buffer-stale--default-function.
10964
10965 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10966
10967 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10968
10969 * whitespace.el (whitespace-ensure-local-variables): New function.
10970 (whitespace-cleanup-region): Call it.
10971 (whitespace-turn-on): Call it.
10972
10973 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10974
10975 Complete file name handlers.
10976
10977 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10978 (tramp-handle-verify-visited-file-modtime)
10979 (tramp-handle-file-notify-rm-watch): New functions.
10980 (tramp-call-process): Do not bind `default-directory'.
10981
10982 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10983 Order alphabetically.
10984 <access-file, add-name-to-file, dired-call-process>:
10985 <dired-compress-file, file-acl, file-notify-rm-watch>:
10986 <file-ownership-preserved-p, file-selinux-context>:
10987 <make-directory-internal, make-symbolic-link, set-file-acl>:
10988 <set-file-selinux-context, set-visited-file-modtime>:
10989 <verify-visited-file-modtime>: Add handler.
10990 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10991
10992 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10993 <file-notify-add-watch, file-notify-rm-watch>:
10994 <set-file-times, set-visited-file-modtime>:
10995 <verify-visited-file-modtime>: Add handler.
10996 (with-tramp-gvfs-error-message)
10997 (tramp-gvfs-handle-set-visited-file-modtime)
10998 (tramp-gvfs-fuse-file-name): Remove.
10999 (tramp-gvfs-handle-file-notify-add-watch)
11000 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11001 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11002
11003 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11004 Order alphabetically.
11005 <file-notify-rm-watch>: Use default Tramp handler.
11006 <executable-find>: Remove private handler.
11007 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11008 `default-directory'.
11009 (tramp-sh-handle-executable-find)
11010 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11011 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11012 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11013 Do not use `format' in `tramp-message'.
11014
11015 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11016 <file-notify-rm-watch, set-visited-file-modtime>:
11017 <verify-visited-file-modtime>: Add handler.
11018 (tramp-smb-call-winexe): Do not bind `default-directory'.
11019
11020 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11021
11022 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11023
11024 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11025
11026 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11027 use it.
11028 (log-view-diff-changeset): Same.
11029 (log-view-diff-common): Call backend command `previous-revision'
11030 to find out the previous revision, in both cases. Swap the
11031 variables `to' and `fr', so that `fr' usually refers to the
11032 earlier revision (Bug#14989).
11033
11034 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11035
11036 * ibuf-ext.el (ibuffer-filter-by-filename):
11037 Make it work with dired buffers too.
11038
11039 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11040
11041 * emacs-lisp/re-builder.el (reb-color-display-p):
11042 * files.el (save-buffers-kill-terminal):
11043 * net/browse-url.el (browse-url):
11044 * server.el (server-save-buffers-kill-terminal):
11045 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11046 Prefer nil to selected-frame for the first arg of frame-parameter.
11047
11048 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11049
11050 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11051
11052 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11053
11054 * minibuffer.el (completion--twq-all): Try and preserve each
11055 completion's case choice (bug#14907).
11056
11057 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11058
11059 * net/network-stream.el (open-network-stream): Mention the new
11060 :nogreeting parameter.
11061 (network-stream-open-starttls): Use the :nogreeting parameter
11062 (bug#14938).
11063
11064 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11065
11066 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11067 more natural than popping.
11068
11069 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11070 (shr-urlify): Highlight under mouse.
11071
11072 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11073
11074 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11075
11076 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11077
11078 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11079 buffer for output.
11080
11081 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11082 point-min==1. Fix search string. Fix parentheses missing.
11083
11084 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11085 assume point-min==1. Fix search string. Fix parentheses missing.
11086
11087 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11088
11089 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11090 buffer for output.
11091
11092 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11093
11094 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11095 initial frame is minibuffer-less. (Bug#14841)
11096
11097 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11098
11099 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11100 option.
11101
11102 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11103 (tramp-maybe-open-connection): Use it.
11104
11105 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11106
11107 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11108 minimal set of parameters passed when creating a frame, because
11109 the minibuffer status of a frame cannot be changed later.
11110
11111 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11112
11113 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11114 replace-regexp-in-string and inadvertent omissions in previous change.
11115 (todo-filter-items): Ensure only file names are comma-separated in
11116 name of filtered items buffer.
11117
11118 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11119
11120 * desktop.el: Optionally force offscreen frames back onscreen.
11121 (desktop-restoring-reuses-frames): New option.
11122 (desktop--compute-pos, desktop--move-onscreen): New functions.
11123 (desktop--make-frame): Use desktop--move-onscreen.
11124
11125 2013-07-27 Alan Mackenzie <acm@muc.de>
11126
11127 Fontify a Java generic method as a function.
11128 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11129 value to t.
11130
11131 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11132
11133 * calendar/todo-mode.el: Add command to rename todo files.
11134 (todo-rename-file): New command.
11135 (todo-key-bindings-t): Add key binding for it. Change the
11136 bindings of todo-filter-regexp-items(-multifile) to use `x'
11137 instead of `r', since the latter is better suited to the new
11138 renaming command.
11139
11140 2013-07-27 Alan Mackenzie <acm@muc.de>
11141
11142 Make Java try-with-resources statement parse properly.
11143 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11144 (c-block-stmt-1-2-key): New language constants/variables.
11145 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11146 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11147 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11148 with c-block-stmt-1-2-key.
11149
11150 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11151
11152 * desktop.el (desktop--make-frame): Apply most frame parameters after
11153 creating the frame to force (partially or totally) offscreen frames to
11154 be restored as such.
11155
11156 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11157
11158 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11159 (Bug#14948)
11160
11161 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11164 `base' arg of backtrace-frame.
11165
11166 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11167
11168 * simple.el (list-processes): Doc fix.
11169
11170 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11171
11172 * desktop.el (desktop--select-frame):
11173 Try harder to reuse existing frames.
11174
11175 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11178 (edebug-eval): Use backtrace-eval.
11179 (edebug--display, edebug--recursive-edit): Don't let-bind the
11180 edebug-outer-* vars that keep track of variables we locally let-bind.
11181 (edebug-outside-excursion): Don't restore outside values of locally
11182 let-bound vars.
11183 (edebug--display): Use user-error.
11184 (cl-lexical-debug, cl-debug-env): Remove.
11185
11186 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11187
11188 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11189 are restored to be sure that they are visible before deleting any
11190 remaining ones.
11191
11192 2013-07-26 Matthias Meulien <orontee@gmail.com>
11193
11194 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11195 vc-print-root-log. (Bug#14948)
11196
11197 2013-07-26 Richard Stallman <rms@gnu.org>
11198
11199 Add aliases for encrypting mail.
11200 * epa.el (epa-mail-aliases): New option.
11201 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11202 Bind inhibit-read-only so read-only text doesn't ruin everything.
11203 (epa-mail-default-recipients): New subroutine broken out.
11204 Handle epa-mail-aliases.
11205
11206 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 Add support for lexical variables to the debugger's `e' command.
11209 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11210 vars, except for debugger-outer-match-data.
11211 (debugger-frame-number): Move check for "on a function call" from
11212 callers into it. Add `skip-base' argument.
11213 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11214 (debugger-env-macro): Only reset the state stored in non-variables,
11215 i.e. current-buffer and match-data.
11216 (debugger-eval-expression): Rewrite using backtrace-eval.
11217 * subr.el (internal--called-interactively-p--get-frame): Remove.
11218 (called-interactively-p):
11219 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11220 `base' arg of backtrace-frame instead.
11221
11222 2013-07-26 Glenn Morris <rgm@gnu.org>
11223
11224 * align.el (align-regexp): Doc fix. (Bug#14857)
11225 (align-region): Explicit error if subexpression missing/does not match.
11226
11227 * simple.el (global-visual-line-mode):
11228 Do not duplicate the mode lighter. (Bug#14858)
11229
11230 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11231
11232 * window.el (display-buffer): In display-buffer bind
11233 split-window-keep-point to t, bug#14829.
11234
11235 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11236
11237 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11238 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11239 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11240 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11241 Change accordingly.
11242 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11243 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11244
11245 2013-07-25 Glenn Morris <rgm@gnu.org>
11246
11247 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11248
11249 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11250
11251 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11252 parameter to modify-frame-parameters if the value has not changed;
11253 this is a workaround for bug#14949.
11254 (desktop--make-frame): On cl-delete-if call, check parameter name,
11255 not full parameter.
11256
11257 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11258
11259 * vc/vc.el (vc-ignore): New function.
11260
11261 * vc/vc-svn.el (vc-svn-ignore): New function.
11262
11263 * vc/vc-hg.el (vc-hg-ignore): New function.
11264
11265 * vc/vc-git.el (vc-git-ignore): New function.
11266
11267 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11268 (vc-dir-ignore): New function.
11269
11270 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11271 (cvs-append-to-ignore): Move here from pcvs.el.
11272
11273 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11274
11275 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11276
11277 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11278
11279 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11280 (desktop-restore-frames): Warn when deleting an existing frame failed.
11281
11282 2013-07-24 Glenn Morris <rgm@gnu.org>
11283
11284 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11285
11286 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11287
11288 * filenotify.el (file-notify-supported-p):
11289 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11290 Remove functions.
11291
11292 * autorevert.el (auto-revert-use-notify)
11293 (auto-revert-notify-add-watch):
11294 * net/tramp.el (tramp-file-name-for-operation):
11295 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11296 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11297 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11298 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11299 Remove `file-notify-supported-p' entry.
11300
11301 2013-07-24 Glenn Morris <rgm@gnu.org>
11302
11303 * printing.el: Replace all uses of deleted ps-windows-system,
11304 ps-lp-system, ps-flatten-list with lpr- versions.
11305
11306 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11309 checked with memq (bug#14935).
11310
11311 * files.el (revert-buffer-function): Use a non-nil default.
11312 (revert-buffer-preserve-modes): Declare var to
11313 provide access to the `preserve-modes' argument.
11314 (revert-buffer): Let-bind it.
11315 (revert-buffer--default): New function, extracted from revert-buffer.
11316
11317 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * lpr.el: Signal print errors more prominently.
11320 (print-region-function): Don't default to nil.
11321 (lpr-print-region): New function, extracted from print-region-1.
11322 Check lpr's return value and signal an error in case of problem.
11323 (print-region-1): Use it.
11324 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11325 versions instead.
11326 (ps-printer-name): Default to nil.
11327 (ps-printer-name-option): Default to lpr-printer-switch.
11328 (ps-print-region-function): Don't default to nil.
11329 (ps-postscript-code-directory): Simplify default.
11330 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11331 (ps-string-list, ps-eval-switch, ps-flatten-list)
11332 (ps-flatten-list-1): Remove.
11333 (ps-multibyte-buffer): Avoid setq.
11334 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11335 (print-region-function, ps-print-region-function): Don't set them here.
11336
11337 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11338
11339 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11340 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11341 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11342 (ido-decorations): Doc fix.
11343
11344 * ansi-color.el: Fix old URL.
11345
11346 2013-07-23 Michael R. Mauger <michael@mauger.com>
11347
11348 * progmodes/sql.el: Version 3.3
11349 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11350 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11351 (sql-interactive-remove-continuation-prompt): Rewrite, use
11352 functions above. Fix continuation prompt and complete output line
11353 handling.
11354 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11355 redirected output buffer.
11356 (sql-mode): Restore deleted code (Bug#13591).
11357
11358 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11361
11362 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11363
11364 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11365
11366 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11367 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11368 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11369
11370 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11371
11372 * desktop.el (desktop-clear): Simplify; remove useless checks
11373 against invalid buffer names.
11374 (desktop-list*): Use cl-list*.
11375 (desktop-buffer-info, desktop-create-buffer): Simplify.
11376
11377 2013-07-23 Leo Liu <sdl.web@gmail.com>
11378
11379 * bookmark.el (bookmark-make-record): Restore NAME as a default
11380 value. (Bug#14933)
11381
11382 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11385 extracted from autoload--insert-text.
11386 (autoload--insert-text): Remove.
11387 (autoload--print-cookie-text): New function, extracted from
11388 autoload--insert-cookie-text.
11389 (autoload--insert-cookie-text): Remove.
11390 (autoload-generate-file-autoloads): Adjust calls accordingly.
11391
11392 * winner.el (winner-hook-installed-p): Remove.
11393 (winner-mode): Simplify accordingly.
11394
11395 * subr.el (add-to-list): Fix compiler-macro when `append' is
11396 not constant. Don't use `cl-member' for the base case.
11397
11398 * progmodes/subword.el: Fix boundary case (bug#13758).
11399 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11400 own group.
11401 (subword-backward-regexp): Make it a constant.
11402 (subword-forward-internal): Don't treat a trailing capital as the
11403 beginning of a word.
11404
11405 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11406
11407 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11408 global value of tabulated-list-revert-hook (bug#14930).
11409
11410 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11411
11412 * desktop.el: Require 'cl-lib.
11413 (desktop-before-saving-frames-functions): New hook.
11414 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11415 for frames being saved. Rename from desktop--save-minibuffer-frames.
11416 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11417 Do not save frames with non-nil `desktop-dont-save' parameter.
11418 Filter out deleted frames.
11419 (desktop--find-frame): Use cl-find-if.
11420 (desktop--select-frame): Use cl-(first|second|third) to access values
11421 of desktop-mini.
11422 (desktop--make-frame): Use cl-delete-if.
11423 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11424 (desktop-restore-frames): Use cl-(first|second|third) to access values
11425 of desktop-mini. Look for visible frame at the end, not while
11426 restoring frames.
11427
11428 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11429 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11430 Use string-match-p, looking-at-p (bug#14927).
11431
11432 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11433
11434 * desktop.el (desktop-saved-frame-states):
11435 Rename from desktop--saved-states; all users changed.
11436 (desktop-save-frames): Rename from desktop--save-frames.
11437 Do not save state to desktop file.
11438 (desktop-save): Save desktop-saved-frame-states to desktop file
11439 and reset to nil.
11440 (desktop-restoring-frames-p): New function.
11441 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11442 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11443 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11444
11445 * desktop.el: Correctly restore iconified frames.
11446 (desktop--filter-iconified-position): New function.
11447 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11448
11449 2013-07-20 Glenn Morris <rgm@gnu.org>
11450
11451 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11452 Let `message' do the formatting.
11453 (def-gdb-preempt-display-buffer): Add explicit format.
11454
11455 * image-dired.el (image-dired-track-original-file):
11456 Use with-current-buffer.
11457 (image-dired-track-thumbnail): Use with-current-buffer.
11458 Avoid changing point of wrong window.
11459
11460 * image-dired.el (image-dired-track-original-file):
11461 Avoid changing point of wrong window. (Bug#14909)
11462
11463 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11464
11465 * progmodes/gdb-mi.el (gdb-done-or-error):
11466 Guard against "%" in gdb output. (Bug#14127)
11467
11468 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11469
11470 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11471 (Bug#14826)
11472
11473 * international/mule.el (coding-system-iso-2022-flags): Fix last
11474 change.
11475
11476 2013-07-20 Kenichi Handa <handa@gnu.org>
11477
11478 * international/mule.el (coding-system-iso-2022-flags):
11479 Add `8-bit-level-4'. (Bug#8522)
11480
11481 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11482
11483 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11484 (bug#14815).
11485
11486 * net/eww.el (eww-process-text-input): Allow inputting when the
11487 point is at the start of the line, as the properties aren't
11488 front-sticky.
11489
11490 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11491 degenerate widths.
11492
11493 2013-07-19 Richard Stallman <rms@gnu.org>
11494
11495 * epa.el (epa-popup-info-window): Doc fix.
11496
11497 * subr.el (split-string): New arg TRIM.
11498
11499 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11500
11501 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11502 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11503
11504 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11505
11506 * filenotify.el (file-notify--library): Rename from
11507 `file-notify-support'. Do not autoload. Adapt all uses.
11508 (file-notify-supported-p): New defun.
11509
11510 * autorevert.el (auto-revert-use-notify):
11511 Use `file-notify-supported-p' instead of `file-notify-support'.
11512 Adapt docstring.
11513 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11514
11515 * net/tramp.el (tramp-file-name-for-operation):
11516 Add `file-notify-supported-p'.
11517
11518 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11519 New defun.
11520 (tramp-sh-file-name-handler-alist): Add it as handler for
11521 `file-notify-supported-p '.
11522
11523 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11524 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11525 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11526 Add `ignore' as handler for `file-notify-*' functions.
11527
11528 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11529
11530 * simple.el (line-move-partial, line-move): Don't start vscroll or
11531 scroll-up if the current line is not taller than the window.
11532 (Bug#14881)
11533
11534 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11535
11536 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11537 highlight question marks in the method names as strings.
11538 (ruby-block-beg-keywords): Inline.
11539 (ruby-font-lock-keyword-beg-re): Extract from
11540 `ruby-font-lock-keywords'.
11541
11542 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11543
11544 * frame.el (blink-cursor-blinks): New defcustom.
11545 (blink-cursor-blinks-done): New defvar.
11546 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11547 (blink-cursor-timer-function): Check if number of blinks has been
11548 done on X and NS.
11549 (blink-cursor-suspend, blink-cursor-check): New defuns.
11550
11551 2013-07-15 Glenn Morris <rgm@gnu.org>
11552
11553 * edmacro.el (edmacro-format-keys): Fix previous change.
11554
11555 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11556
11557 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11558 The hack didn't work outside English locales anyway.
11559
11560 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11561
11562 * simple.el (define-alternatives): Rename from alternatives-define,
11563 per RMS' suggestion.
11564
11565 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11566
11567 * desktop.el (desktop-restore-frames): Change default to t.
11568 (desktop-restore-in-current-display): Now offer more options.
11569 (desktop-restoring-reuses-frames): New customization option.
11570 (desktop--saved-states): Doc fix.
11571 (desktop-filter-parameters-alist): New variable, renamed and expanded
11572 from desktop--excluded-frame-parameters.
11573 (desktop--target-display): New variable.
11574 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11575 (desktop--filter-tty*, desktop--filter-*-color)
11576 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11577 (desktop--filter-save-desktop-parm)
11578 (desktop-restore-in-original-display-p): New functions.
11579 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11580 (desktop--save-minibuffer-frames): New function, inspired by a similar
11581 function from Martin Rudalics.
11582 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11583 (desktop--restore-in-this-display-p): Remove.
11584 (desktop--find-frame): Rename from desktop--find-frame-in-display
11585 and add predicate argument.
11586 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11587 (desktop--reuse-list): New variable.
11588 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11589 New functions.
11590 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11591
11592 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11593
11594 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11595
11596 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11597
11598 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11599 Highlight conversion methods on Kernel.
11600
11601 2013-07-13 Alan Mackenzie <acm@muc.de>
11602
11603 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11604 and comment it out. This out-commenting enables certain C++
11605 declarations to be parsed correctly.
11606
11607 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11608
11609 * international/mule.el (define-coding-system): Doc fix.
11610
11611 * simple.el (default-font-height): Don't call font-info if the
11612 frame's default font didn't change since the frame was created.
11613 (Bug#14838)
11614
11615 2013-07-13 Leo Liu <sdl.web@gmail.com>
11616
11617 * ido.el (ido-read-file-name): Guard against non-symbol value.
11618
11619 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11620
11621 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11622 in nested defuns.
11623
11624 2013-07-13 Leo Liu <sdl.web@gmail.com>
11625
11626 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11627 ido-set-matches call. (Bug#6852)
11628
11629 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11630
11631 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11632 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11633 Ruby 2.0.
11634 (ruby-font-lock-keywords): Distinguish calls to functions with
11635 module-like names from module references. Highlight character
11636 literals.
11637
11638 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11639
11640 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11641 (gdb-send): Handle continued commands. (Bug#14847)
11642
11643 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * desktop.el (desktop--v2s): Remove unused local variable.
11646 (desktop-save-buffer): Make defvar-local; adjust docstring.
11647 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11648 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11649
11650 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11651
11652 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11653
11654 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11655
11656 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11657 (Bug#14842)
11658
11659 2013-07-12 Glenn Morris <rgm@gnu.org>
11660
11661 * doc-view.el: Require cl-lib at runtime too.
11662 (doc-view-remove-if): Remove.
11663 (doc-view-search-next-match, doc-view-search-previous-match):
11664 Use cl-remove-if.
11665
11666 * edmacro.el: Require cl-lib at runtime too.
11667 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11668 (edmacro-mismatch, edmacro-subseq): Remove.
11669
11670 * shadowfile.el: Require cl-lib.
11671 (shadow-remove-if): Remove.
11672 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11673 Use cl-remove-if.
11674
11675 * wid-edit.el: Require cl-lib.
11676 (widget-choose): Use cl-remove-if.
11677 (widget-remove-if): Remove.
11678
11679 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11680 (ebrowse-delete-if-not): Remove.
11681 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11682 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11683 Use cl-delete-if-not.
11684
11685 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11686
11687 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11688 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11689
11690 2013-07-12 Leo Liu <sdl.web@gmail.com>
11691
11692 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11693
11694 2013-07-11 Glenn Morris <rgm@gnu.org>
11695
11696 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11697 (edebug-gensym-index, edebug-gensym):
11698 Remove reimplementation of cl-gensym.
11699 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11700
11701 * thumbs.el: Require cl-lib at run-time too.
11702 (thumbs-gensym-counter, thumbs-gensym):
11703 Remove reimplementation of cl-gensym.
11704 (thumbs-temp-file): Use cl-gensym.
11705
11706 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11707 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11708 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11709 (ert--union, ert--gensym-counter, ert--gensym-counter)
11710 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11711 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11712 (ert-make-test-unbound, ert--expand-should-1)
11713 (ert--expand-should, ert--should-error-handle-error)
11714 (should-error, ert--explain-equal-rec)
11715 (ert--plist-difference-explanation, ert-select-tests)
11716 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11717 Use cl-lib functions rather than reimplementations.
11718
11719 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11720
11721 * net/tramp.el (tramp-methods): Extend docstring.
11722 (tramp-connection-timeout): New defcustom.
11723 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11724 (with-tramp-progress-reporter): Simplify.
11725 (tramp-process-actions): Improve messages.
11726
11727 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11728 * net/tramp-sh.el (tramp-maybe-open-connection):
11729 Use `tramp-connection-timeout'.
11730 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11731 (Bug#14808)
11732
11733 2013-07-11 Leo Liu <sdl.web@gmail.com>
11734
11735 * ido.el (ido-read-file-name): Conform to the requirements of
11736 read-file-name. (Bug#11861)
11737 (ido-read-directory-name): Conform to the requirements of
11738 read-directory-name.
11739
11740 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11741
11742 * subr.el (delay-warning): New function.
11743
11744 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11745
11746 * simple.el (default-line-height): New function.
11747 (line-move-partial, line-move): Use it instead of computing the
11748 line height inline.
11749 (line-move-partial): Always compute ROWH. If the last line is
11750 partially-visible, but its text is completely visible, allow
11751 cursor to enter such a partially-visible line.
11752
11753 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11754
11755 Improve error messages. (Bug#14808)
11756
11757 * net/tramp.el (tramp-current-connection): New defvar, moved from
11758 tramp-sh.el.
11759 (tramp-message-show-progress-reporter-message): Remove, not
11760 needed anymore.
11761 (tramp-error-with-buffer): Show message in minibuffer.
11762 Discard input before waiting. Reset connection timestamp.
11763 (with-tramp-progress-reporter): Improve messages.
11764 (tramp-process-actions): Use progress reporter. Delete process in
11765 case of error. Improve messages.
11766
11767 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11768 Call `tramp-error-with-buffer' with vector and buffer.
11769 (tramp-current-connection): Remove.
11770 (tramp-maybe-open-connection): The car of
11771 `tramp-current-connection' are the first 3 slots of the vector.
11772
11773 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11774
11775 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11776 inside continued strings.
11777
11778 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11779
11780 Timestamp fixes for undo (Bug#14824).
11781 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11782
11783 2013-07-10 Leo Liu <sdl.web@gmail.com>
11784
11785 * files.el (require-final-newline): Allow safe local value.
11786 (Bug#14834)
11787
11788 2013-07-09 Leo Liu <sdl.web@gmail.com>
11789
11790 * ido.el (ido-read-directory-name): Handle fallback.
11791 (ido-read-file-name): Update DIR to ido-current-directory.
11792 (Bug#1516)
11793 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11794
11795 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11796
11797 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11798 "autoload". Remove "warn lower camel case" section, previously
11799 commented out. Highlight negation char. Do not highlight the
11800 target in singleton method definitions.
11801
11802 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 * faces.el (tty-setup-hook): Declare the hook.
11805
11806 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11807 and detect when a guard/pred depends on local vars (bug#14773).
11808 (pcase--u1): Adjust caller.
11809
11810 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11811
11812 * simple.el (line-move-partial, line-move): Account for
11813 line-spacing.
11814 (line-move-partial): Avoid setting vscroll when the last
11815 partially-visible line in window is of default height.
11816
11817 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11818
11819 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11820 been used a while.
11821
11822 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11823
11824 * subr.el (read-quoted-char): Remove unused local variable `char'.
11825
11826 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11827
11828 * ediff.el (ediff-version): Version update.
11829 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11830 (ediff-merge-with-ancestor-command, ediff-directories-command)
11831 (ediff-directories3-command, ediff-merge-directories-command)
11832 (ediff-merge-directories-with-ancestor-command): New functions.
11833 All are command-line interfaces to ediff: to facilitate calling
11834 Emacs with the appropriate ediff functions invoked.
11835
11836 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11837 (viper-save-kill-buffer): Check if buffer is modified.
11838
11839 * viper.el (viper-version): Version update.
11840 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11841
11842 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11845 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11846 (viper-intercept-ESC-key): Simplify.
11847 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11848 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11849 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11850 (viper-setup-ESC-to-escape): New functions.
11851 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11852 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11853
11854 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11855
11856 * simple.el (default-font-height, window-screen-lines):
11857 New functions.
11858 (line-move, line-move-partial): Use them instead of
11859 frame-char-height and window-text-height. This makes scrolling
11860 text smoother when the buffer's default face uses a font that is
11861 different from the frame's default font.
11862
11863 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11864
11865 * files.el (write-file): Do not display confirm dialog for NS,
11866 it does its own dialog, which can't be canceled (Bug#14578).
11867
11868 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11869
11870 * simple.el (line-move-partial): Adjust the row returned by
11871 posn-at-point for the current window-vscroll. (Bug#14567)
11872
11873 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11874
11875 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11876 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11877 spaces.
11878
11879 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11880
11881 * window.el (window-state-put-stale-windows): New variable.
11882 (window--state-put-2): Save list of windows without matching buffer.
11883 (window-state-put): Remove "bufferless" windows if possible.
11884
11885 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11886
11887 * simple.el (alternatives-define): Remove leftover :group keyword.
11888 Tweak docstring.
11889
11890 2013-07-06 Leo Liu <sdl.web@gmail.com>
11891
11892 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11893 (ido-enable-virtual-buffers): New variable.
11894 (ido-buffer-internal, ido-toggle-virtual-buffers)
11895 (ido-make-buffer-list): Use it.
11896 (ido-exhibit): Support turning on and off virtual buffers
11897 automatically.
11898
11899 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11900
11901 * simple.el (alternatives-define): New macro.
11902
11903 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11904
11905 * subr.el (read-quoted-char): Use read-key.
11906 (sit-for): Let read-event decode tty input (bug#14782).
11907
11908 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11909
11910 * calendar/todo-mode.el: Add handling of file deletion, both by
11911 mode command and externally. Fix various related bugs.
11912 Clarify Commentary and improve some documentation strings and code.
11913 (todo-delete-file): New command.
11914 (todo-check-file): New function.
11915 (todo-show): Handle external deletion of the file we're trying to
11916 show (bug#14688). Replace called-interactively-p by an optional
11917 prefix argument to avoid problematic interaction with catch form
11918 when byte compiled (bug#14702).
11919 (todo-quit): Handle external deletion of the archive's todo file.
11920 Make sure the buffer that was visiting the archive file is still
11921 live before trying to bury it.
11922 (todo-category-completions): Handle external deletion of any
11923 category completion files.
11924 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11925 of todo files, in case of external deletion.
11926 (todo-add-file): Replace unnecessary setq by let-binding.
11927 (todo-find-archive): Check whether there are any archives.
11928 Replace unnecessary setq by let-binding.
11929 (todo-archive-done-item): Use find-file-noselect to get the
11930 archive buffer whether or not the archive already exists.
11931 Remove superfluous code. Use file size instead of buffer-file-name to
11932 check if the archive is new; if it is, update list of archives.
11933 (todo-default-todo-file): Allow nil to be a valid value for when
11934 there are no todo files.
11935 (todo-reevaluate-default-file-defcustom): Use corrected definition
11936 of todo-default-todo-file.
11937 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11938 (todo-delete-category, todo-show-categories-table)
11939 (todo-category-number): Clarify comment.
11940 (todo-filter-items): Clarify documentation string.
11941 (todo-show-current-file, todo-display-as-todo-file)
11942 (todo-reset-and-enable-done-separator): Tweak documentation string.
11943 (todo-done-separator): Make separator length window-width, since
11944 bug#2749 is now fixed.
11945
11946 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11947
11948 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11949 Support both "gvfs-monitor-dir" and "inotifywait".
11950 (tramp-sh-file-inotifywait-process-filter): Rename from
11951 `tramp-sh-file-notify-process-filter'.
11952 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11953 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11954
11955 2013-07-05 Leo Liu <sdl.web@gmail.com>
11956
11957 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11958
11959 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11960
11961 * frame.el (display-pixel-height, display-pixel-width)
11962 (display-mm-height, display-mm-width): Mention behavior on
11963 multi-monitor setups in docstrings.
11964 (w32-display-monitor-attributes-list): Declare function.
11965 (display-monitor-attributes-list): Use it.
11966
11967 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11968
11969 * filenotify.el: New package.
11970
11971 * autorevert.el (top): Require filenotify.el.
11972 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11973 instead.
11974 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11975 (auto-revert-notify-handler): Use `file-notify-*' functions.
11976
11977 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11978
11979 * net/tramp.el (tramp-file-name-for-operation):
11980 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11981
11982 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11983 for `file-notify-add-watch' and `file-notify-rm-watch'.
11984 (tramp-process-sentinel): Improve trace.
11985 (tramp-sh-handle-file-notify-add-watch)
11986 (tramp-sh-file-notify-process-filter)
11987 (tramp-sh-handle-file-notify-rm-watch)
11988 (tramp-get-remote-inotifywait): New defuns.
11989
11990 2013-07-03 Juri Linkov <juri@jurta.org>
11991
11992 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11993 call of `occur-read-primary-args' to interactive spec.
11994
11995 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11996 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11997
11998 2013-07-03 Matthias Meulien <orontee@gmail.com>
11999
12000 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12001 `Buffer-menu-multi-occur'. Add it to the menu.
12002 (Buffer-menu-mode): Document it in docstring.
12003 (Buffer-menu-multi-occur): New command. (Bug#14673)
12004
12005 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12006
12007 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12008 keywords and built-ins.
12009
12010 2013-07-03 Glenn Morris <rgm@gnu.org>
12011
12012 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12013
12014 Make info-xref checks case-sensitive by default
12015 * info.el (Info-find-node, Info-find-in-tag-table)
12016 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12017 Add option for exact case matching of nodes.
12018 * info-xref.el (info-xref): New custom group.
12019 (info-xref-case-fold): New option.
12020 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12021
12022 2013-07-03 Leo Liu <sdl.web@gmail.com>
12023
12024 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12025
12026 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12027
12028 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12029 middle of block statement initially, lower the depth. Remove
12030 FIXME comment, not longer valid. Remove middle of block statement
12031 detection, no need to do that anymore since we've been using
12032 `ruby-parse-region' here.
12033
12034 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12035
12036 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12037
12038 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12039
12040 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12041
12042 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12043
12044 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12045 (desktop-restore-in-current-display): New customization option.
12046 (desktop--excluded-frame-parameters): Add `font'.
12047 (desktop--save-frames): Rename from desktop--save-windows.
12048 (desktop--restore-in-this-display-p): New function.
12049 (desktop--make-full-frame): Remove unwanted width/height from
12050 full(width|height) frames.
12051 (desktop--restore-frames): Rename from desktop--restore-windows.
12052 Obey desktop-restore-current-display. Do not delete old frames or
12053 select a new frame unless we were able to restore at least one frame.
12054
12055 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12056
12057 * files.el (find-file-noselect): Simplify conditional expression.
12058
12059 * textmodes/remember.el (remember-append-to-file):
12060 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12061
12062 Add `remember-notes' function to store random notes across Emacs
12063 restarts.
12064 * textmodes/remember.el (remember-data-file): Add :set callback to
12065 affect notes buffer (if any).
12066 (remember-notes): New command.
12067 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12068 New defcustoms for the `remember-notes' function.
12069 (remember-notes-save-and-bury-buffer): New command.
12070 (remember-notes-mode-map): New variable.
12071 (remember-mode): New minor mode.
12072 (remember-notes--kill-buffer-query): New function.
12073 * startup.el (initial-buffer-choice): Add notes to custom type.
12074
12075 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12076
12077 * bindings.el (right-char, left-char): Don't call sit-for, this is
12078 no longer needed. Use arithmetic comparison only for numerical
12079 arguments.
12080
12081 * international/mule-cmds.el (select-safe-coding-system):
12082 Handle the case of FROM being a string correctly. (Bug#14755)
12083
12084 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12085
12086 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12087 progression on degenerate tables.
12088 (shr-rescale-image): ImageMagick animated images currently don't work.
12089
12090 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12091
12092 Some fixes and improvements for desktop frame restoration.
12093 It is still experimental and disabled by default.
12094 * desktop.el (desktop--save-windows): Put the selected frame at
12095 the head of the list.
12096 (desktop--make-full-frame): New function.
12097 (desktop--restore-windows): Try to re-select the frame that was
12098 selected upon saving. Do not abort if some frames fail to restore,
12099 just show an error message and continue. Set up maximized frames
12100 so they have default non-maximized dimensions.
12101
12102 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12103
12104 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12105 Don't start heredoc inside a string or comment.
12106
12107 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12108
12109 * bindings.el (visual-order-cursor-movement): New defcustom.
12110 (right-char, left-char): Provide visual-order cursor motion by
12111 calling move-point-visually. Update the doc strings.
12112
12113 2013-06-28 Kenichi Handa <handa@gnu.org>
12114
12115 * international/mule.el (define-coding-system): New coding system
12116 properties :inhibit-null-byte-detection,
12117 :inhibit-iso-escape-detection, and :prefer-utf-8.
12118 (set-buffer-file-coding-system): If :charset-list property of
12119 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12120 appropriate for setting.
12121
12122 * international/mule-cmds.el (select-safe-coding-system):
12123 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12124 multibyte characters, return utf-8 (or one of its siblings).
12125
12126 * international/mule-conf.el (prefer-utf-8): New coding system.
12127 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12128 files.
12129
12130 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12131
12132 * net/shr.el (shr-render-region): New function.
12133
12134 * net/eww.el: Autoload `eww-browse-url'.
12135
12136 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12137
12138 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12139 Adapt to `package-desc-version' being a list.
12140 Use `package--ac-desc-version' to retrieve version from a package
12141 archive element.
12142
12143 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12144
12145 New experimental feature to save&restore window and frame setup.
12146 * desktop.el (desktop-save-windows): New defcustom.
12147 (desktop--saved-states): New var.
12148 (desktop--excluded-frame-parameters): New defconst.
12149 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12150 (desktop--restore-windows, desktop--save-windows): New functions.
12151 (desktop-save): Call `desktop--save-windows'.
12152 (desktop-read): Call `desktop--restore-windows'.
12153
12154 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12155
12156 * net/shr.el (add-face-text-property): Remove compat definition.
12157
12158 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12159
12160 * info.el (Info-try-follow-nearest-node): Move search for footnote
12161 above search for node name to prevent missing a footnote (bug#14717).
12162
12163 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12164
12165 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12166
12167 2013-06-27 Leo Liu <sdl.web@gmail.com>
12168
12169 * net/eww.el (eww-read-bookmarks): Check file size.
12170
12171 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12174 advice--pending if newdef is nil or an autoload (bug#13820).
12175 (advice-mapc): New function.
12176
12177 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12178
12179 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12180 probably.
12181 (eww-mode-map): Add a menu bar.
12182 (eww-add-bookmark): New command.
12183 (eww-bookmark-mode): New mode and commands.
12184 (eww-add-bookmark): Remove newlines from the title.
12185 (eww-bookmark-browse): Don't bug out if it's the only window.
12186
12187 2013-06-26 Glenn Morris <rgm@gnu.org>
12188
12189 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12190 (hfy-size): Handle ttys. (Bug#14668)
12191
12192 * info-xref.el: Update for Texinfo 5 change in *note format.
12193 (info-xref-node-re, info-xref-note-re): New constants.
12194 (info-xref-check-buffer): Use info-xref-note-re.
12195
12196 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12197
12198 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12199
12200 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12201 nil terminate the loop (bug#14718).
12202
12203 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12204
12205 * net/eww.el: Rework history traversal. When going forward/back,
12206 put these actions into the history, too, so that they can be
12207 replayed.
12208 (eww-render): Move the history reset to the correct buffer.
12209
12210 2013-06-25 Juri Linkov <juri@jurta.org>
12211
12212 * files-x.el (modify-dir-local-variable): Change the header comment
12213 in the file with directory local variables. (Bug#14692)
12214
12215 * files-x.el (read-file-local-variable-value): Add `default'.
12216 (Bug#14710)
12217
12218 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12219
12220 * net/eww.el (eww-make-unique-file-name): Create a unique file
12221 name before saving to entering `y' accidentally asynchronously.
12222
12223 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12224
12225 * net/eww.el (eww-download): New command and keystroke.
12226
12227 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12228
12229 * net/eww.el (eww-copy-page-url): Change name of command.
12230
12231 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12232 be more consistent with Info and dired.
12233
12234 * net/eww.el (eww-mode-map): Ditto.
12235
12236 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12237
12238 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12239 packages from archives.
12240 (package-archive-contents): Change format; include obsolete packages.
12241 (package-desc): Use `dir' to mark builtin packages.
12242 (package--from-builtin): Set the `dir' field to `builtin'.
12243 (generated-autoload-file, version-control): Declare.
12244 (package-compute-transaction): Change first arg and return value to be
12245 lists of package-descs. Adjust to new package-archive-contents format.
12246 (package--add-to-archive-contents): Adjust to new
12247 package-archive-contents format.
12248 (package-download-transaction): Arg is now a list of package-descs.
12249 (package-install): If `pkg' is a package name, pass it as
12250 a requirement, so it is subject to the usual (e.g. disabled) checks.
12251 (describe-package): Accept package-desc as well.
12252 (describe-package-1): Describe a specific package-desc. Add links to
12253 other package-descs for the same package name.
12254 (package-menu-describe-package): Pass the actual package-desc.
12255 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12256 works correctly.
12257 (package-desc-status): New function.
12258 (package-menu--refresh): New function, extracted
12259 from package-menu--generate.
12260 (package-menu--generate): Use it.
12261 (package-delete): Update package-alist.
12262 (package-menu-execute): Don't call package-initialize.
12263
12264 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12265 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12266 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12267 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12268 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12269 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12270
12271 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12272
12273 * window.el (window--state-get-1): Workaround for bug#14527.
12274 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12275
12276 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12277
12278 * net/eww.el (eww-back-url): Implement the history by stashing all
12279 the data into a list.
12280 (eww-forward-url): Allow going forward in the history, too.
12281
12282 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12283
12284 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12285 for values and use read--expression for expressions (bug#14710).
12286 (read-file-local-variable): Avoid setq.
12287 (read-file-local-variable-mode): Use minor-mode-list.
12288
12289 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12290
12291 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12292 for DOI URLs.
12293
12294 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12295
12296 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12297 Update imenu-support when dialect changes.
12298
12299 2013-06-25 Leo Liu <sdl.web@gmail.com>
12300
12301 * ido.el (ido-read-internal): Allow forward slash on windows.
12302
12303 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12304
12305 * net/eww.el (eww): Start of strings is \\`, not ^.
12306
12307 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12308
12309 * net/shr.el (shr-browse-url): Fix interactive spec.
12310
12311 * net/eww.el (eww): Add a trailing slash to domain names.
12312
12313 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12314
12315 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12316
12317 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12318
12319 * net/shr.el (shr-browse-url): Use an external browser if given a
12320 prefix.
12321
12322 * net/eww.el (eww-external-browser): Move to shr.
12323
12324 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12325
12326 * net/eww.el (eww): Work more correctly for file: URLs.
12327 (eww-detect-charset): Allow quoted charsets.
12328 (eww-yank-page-url): New command and keystroke.
12329
12330 2013-06-24 Daiki Ueno <ueno@gnu.org>
12331
12332 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12333 file name of gpg executable.
12334 (epg-context-program): New function.
12335 (epg-context-home-directory): New function.
12336 (epg-context-set-program): New function.
12337 (epg-context-set-home-directory): New function.
12338 (epg--start): Use `epg-context-program' instead of
12339 'epg-gpg-program'.
12340 (epg--list-keys-1): Likewise.
12341
12342 2013-06-24 Leo Liu <sdl.web@gmail.com>
12343
12344 * ido.el (ido-read-internal): Fix bug#14620.
12345
12346 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12347
12348 * faces.el (face-documentation): Simplify.
12349 (read-face-attribute, tty-find-type, x-resolve-font-name):
12350 Use `string-match-p'.
12351 (list-faces-display): Use `string-match-p'. Simplify.
12352 (face-spec-recalc): Check face to avoid face alias loops.
12353 (read-color): Use `string-match-p' and non-capturing parenthesis.
12354
12355 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12356
12357 * net/shr.el (shr-rescale-image): Use the new
12358 :max-width/:max-height functionality.
12359
12360 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12361
12362 * net/eww.el (eww-search-prefix): New variable.
12363 (eww): Use it.
12364 (eww-external-browser): New variable.
12365 (eww-mode-map): New keystroke.
12366 (eww-browse-with-external-browser): New command.
12367
12368 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12369
12370 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12371
12372 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12373 Don't skip aligning the next header field when padding is 0;
12374 otherwise, field width is not respected unless the title is as
12375 wide as the field.
12376
12377 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * emacs-lisp/package.el (package-el-version): Remove.
12380 (package-process-define-package): Fix inf-loop.
12381 (package-install): Allow symbols as arguments again.
12382
12383 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12384
12385 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12386 add some more keyword-like methods.
12387 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12388
12389 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12390
12391 * bs.el (bs-buffer-show-mark): Make defvar-local.
12392 (bs-mode): Use setq-local.
12393
12394 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12395 (emacs-lock--try-unlocking): Make defvar-local.
12396
12397 2013-06-22 Glenn Morris <rgm@gnu.org>
12398
12399 * play/cookie1.el (cookie-apropos): Minor simplification.
12400
12401 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12402
12403 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12404
12405 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12406 `regexp-opt', it breaks the build during dumping.
12407
12408 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12409
12410 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12411 Highlight keyword-like methods on Kernel and Module with
12412 font-lock-builtin-face.
12413 (auto-mode-alist): Consolidate different entries into one regexp
12414 and add more *file-s.
12415
12416 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12417
12418 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12419
12420 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12421 (diary-entry): Use it in the action of this button type instead of
12422 diary-goto-entry.
12423
12424 * calendar/todo-mode.el: New version.
12425 (todo-add-category): Append new category to end of file and give
12426 it the highest number, instead of putting it at the beginning and
12427 giving it 0. Incorporate noninteractive functionality.
12428 (todo-forward-category): Adapt to 1-based category numbering.
12429 Allow skipping over archived categories.
12430 (todo-backward-category): Derive from todo-forward-category.
12431 (todo-backward-item, todo-forward-item): Make noninteractive and
12432 delegate interactive part to new commands. Make sensitive to done items.
12433 (todo-categories): Make value an alist of category names and
12434 vectors of item counts.
12435 (todo-category-beg): Make a defconst.
12436 (todo-category-number): Use 1 instead of 0 as initial value.
12437 (todo-category-select): Make sensitive to overlays, optional item
12438 highlighting and done items.
12439 (todo-delete-item): Make sensitive to overlays and marked and done items.
12440 (todo-edit-item): Make sensitive to overlays and editing of
12441 date/time header optional. Add format checks.
12442 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12443 no-op if point is not on an item. Advertise using todo-edit-quit.
12444 (todo-edit-mode): Make sensitive to new format, font-locking, and
12445 multiple todo files.
12446 (todo-insert-item, todo-insert-item-here): Derive from
12447 todo-basic-insert-item and extend functionality.
12448 (todo-item-end, todo-item-start): Make sensitive to done items.
12449 (todo-item-string): Don't return text properties. Restore point.
12450 (todo-jump-to-category): Make sensitive to multiple todo files and
12451 todo archives. Use extended category completion.
12452 (todo-lower-item, todo-raise-item): Rename to *-priority and
12453 derive from todo-set-item-priority.
12454 (todo-mode): Derive from special-mode. Make sensitive to new
12455 format, font-locking and multiple todo files. Make read-only.
12456 (todo-mode-map): Don't suppress digit keys, so they can supply
12457 prefix arguments. Add many new key bindings.
12458 (todo-prefix): Insert as an overlay instead of file text.
12459 Change semantics from diary date expression to purely visual mark.
12460 (todo-print): Rename to todo-print-buffer. Make buffer display
12461 features printable. Remove option to restrict number of items
12462 printed. Add option to print to file.
12463 (todo-print-function): Rename to todo-print-buffer-function.
12464 (todo-quit): Extend to handle exiting new todo modes.
12465 (todo-remove-item): Make sensitive to overlays.
12466 (todo-save): Extend to buffers of filtered items.
12467 (todo-show): Make sensitive to done items, multiple todo files and
12468 new todo modes. Offer to convert legacy todo file before creating
12469 first new todo file.
12470 (todo-show-priorities): Rename to todo-top-priorities.
12471 Change semantics of value 0.
12472 (todo-top-priorities): Rename to todo-filter-top-priorities,
12473 derive from todo-filter-items and extend functionality.
12474 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12475 and extend functionality to other types of filtered items.
12476 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12477 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12478 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12479 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12480 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12481 (todo-edit-mode-hook, todo-entry-prefix-function)
12482 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12483 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12484 (todo-initials, todo-insert-threshold, todo-item-string-start)
12485 (todo-line-string, todo-menu, todo-mode-hook)
12486 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12487 (todo-print-priorities, todo-remove-separator)
12488 (todo-save-top-priorities-too, todo-string-count-lines)
12489 (todo-string-multiline-p, todo-time-string-format)
12490 (todo-tmp-buffer-name): Remove.
12491 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12492 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12493 (todo-edit-category-diary-inclusion)
12494 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12495 (todo-edit-file, todo-edit-item-date-day)
12496 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12497 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12498 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12499 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12500 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12501 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12502 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12503 (todo-filter-top-priorities-multifile, todo-find-archive)
12504 (todo-find-filtered-items-file, todo-go-to-source-item)
12505 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12506 (todo-jump-to-archive-category, todo-lower-category)
12507 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12508 (todo-move-category, todo-move-item, todo-next-button)
12509 (todo-next-item, todo-padded-string, todo-powerset)
12510 (todo-previous-button, todo-previous-item)
12511 (todo-print-buffer-to-file, todo-raise-category)
12512 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12513 (todo-set-category-number, todo-set-item-priority)
12514 (todo-set-top-priorities-in-category)
12515 (todo-set-top-priorities-in-file, todo-show-categories-table)
12516 (todo-sort-categories-alphabetically-or-numerically)
12517 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12518 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12519 (todo-toggle-item-header, todo-toggle-item-highlighting)
12520 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12521 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12522 (todo-unarchive-items, todo-unmark-category): New commands.
12523 (todo-absolute-file-name, todo-add-to-buffer-list)
12524 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12525 (todo-basic-insert-item, todo-category-completions)
12526 (todo-category-number, todo-category-string-matcher-1)
12527 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12528 (todo-check-format, todo-clear-matches)
12529 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12530 (todo-current-category, todo-date-string-matcher)
12531 (todo-define-insertion-command, todo-diary-expired-matcher)
12532 (todo-diary-goto-entry, todo-diary-item-p)
12533 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12534 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12535 (todo-done-item-section-p, todo-done-separator)
12536 (todo-done-string-matcher, todo-files, todo-filter-items)
12537 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12538 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12539 (todo-insert-category-line, todo-insert-item-from-calendar)
12540 (todo-insert-sort-button, todo-insert-with-overlays)
12541 (todo-insertion-command-name, todo-insertion-key-bindings)
12542 (todo-label-to-key, todo-longest-category-name-length)
12543 (todo-make-categories-list, todo-mode-external-set)
12544 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12545 (todo-modes-set-3, todo-multiple-filter-files)
12546 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12547 (todo-read-category, todo-read-date, todo-read-dayname)
12548 (todo-read-file-name, todo-read-time)
12549 (todo-reevaluate-category-completions-files-defcustom)
12550 (todo-reevaluate-default-file-defcustom)
12551 (todo-reevaluate-filelist-defcustoms)
12552 (todo-reevaluate-filter-files-defcustom)
12553 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12554 (todo-reset-done-separator, todo-reset-done-separator-string)
12555 (todo-reset-done-string, todo-reset-global-current-todo-file)
12556 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12557 (todo-reset-prefix, todo-set-categories)
12558 (todo-set-date-from-calendar, todo-set-show-current-file)
12559 (todo-set-top-priorities, todo-short-file-name)
12560 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12561 (todo-total-item-counts, todo-update-buffer-list)
12562 (todo-update-categories-display, todo-update-categories-sexp)
12563 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12564 New functions.
12565 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12566 New major modes.
12567 (todo-categories, todo-display, todo-edit, todo-faces)
12568 (todo-filtered): New defgroups.
12569 (todo-archived-only, todo-button, todo-category-string, todo-date)
12570 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12571 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12572 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12573 (todo-add-item-if-new-category, todo-always-add-time-string)
12574 (todo-categories-align, todo-categories-archived-label)
12575 (todo-categories-category-label, todo-categories-diary-label)
12576 (todo-categories-done-label, todo-categories-number-separator)
12577 (todo-categories-todo-label, todo-categories-totals-label)
12578 (todo-category-completions-files, todo-completion-ignore-case)
12579 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12580 (todo-done-separator-string, todo-done-string)
12581 (todo-files-function, todo-filter-done-items, todo-filter-files)
12582 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12583 (todo-initial-category, todo-initial-file, todo-item-mark)
12584 (todo-legacy-date-time-regexp, todo-mode-line-function)
12585 (todo-nondiary-marker, todo-number-prefix)
12586 (todo-print-buffer-function, todo-show-current-file)
12587 (todo-show-done-only, todo-show-first, todo-show-with-done)
12588 (todo-skip-archived-categories, todo-top-priorities-overrides)
12589 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12590 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12591 New defcustoms.
12592 (todo-category-done, todo-date-pattern, todo-date-string-start)
12593 (todo-diary-items-buffer, todo-done-string-start)
12594 (todo-filtered-items-buffer, todo-item-start)
12595 (todo-month-abbrev-array, todo-month-name-array)
12596 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12597 (todo-top-priorities-buffer): New defconsts.
12598 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12599 (todo-categories-with-marks, todo-category-string-face)
12600 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12601 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12602 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12603 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12604 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12605 (todo-font-lock-keywords, todo-global-current-todo-file)
12606 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12607 (todo-insertion-commands-args)
12608 (todo-insertion-commands-args-genlist)
12609 (todo-insertion-commands-names, todo-insertion-map)
12610 (todo-key-bindings-t, todo-key-bindings-t+a)
12611 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12612 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12613 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12614 (todo-visited): New variables.
12615
12616 2013-06-21 Glenn Morris <rgm@gnu.org>
12617
12618 * play/cookie1.el (cookie-apropos): Add optional display argument.
12619 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12620 (psychoanalyze-pinhead): Use cookie-doctor.
12621
12622 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12623
12624 * emacs-lisp/package.el (tar-get-file-descriptor)
12625 (tar--extract): Declare.
12626
12627 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12628
12629 Extend flymake's warning predicate to be a function (bug#14217).
12630 * progmodes/flymake.el (flymake-warning-predicate): New.
12631 (flymake-parse-line): Use it.
12632 (flymake-warning-re): Make obsolete alias to
12633 `flymake-warning-predicate'.
12634
12635 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12638 (package-obsolete-list): Remove.
12639 (package-activate): Remove min-version argument. Add `force' argument.
12640 Adjust to new package-alist format.
12641 (package-mark-obsolete): Remove.
12642 (package-unpack): Force reload of the package's autoloads.
12643 (package-installed-p): Check builtins if the installed package is not
12644 recent enough.
12645 (package-initialize): Don't reset package-obsolete-list.
12646 Don't specify which package version to activate.
12647 (package-process-define-package, describe-package-1)
12648 (package-menu--generate): Adjust to new package-alist format.
12649
12650 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12651
12652 * allout-widgets.el (allout-widgets-mode-off)
12653 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12654 (allout-widgets-post-command-business)
12655 (allout-widgets-after-copy-or-kill-function)
12656 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12657 (allout-decorate-item-and-context)
12658 (allout-graphics-modification-handler): Fix typos in docstrings.
12659 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12660
12661 * cmuscheme.el (scheme-start-file): Doc fix.
12662 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12663 (scheme-input-filter): Use `string-match-p'.
12664
12665 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12666
12667 * dired-x.el: Use Dired consistently in docstrings.
12668
12669 * dired.el: Use Dired consistently in docstrings.
12670 (dired-readin, dired-mode): Use `setq-local'.
12671 (dired-switches-alist): Make defvar-local.
12672 (dired-buffers-for-dir): Use `zerop'.
12673 (dired-safe-switches-p, dired-switches-escape-p)
12674 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12675 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12676 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12677 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12678 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12679 (dired-toggle-marks, dired-mark-files-containing-regexp)
12680 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12681 (dired-flag-auto-save-files, dired-flag-backup-files):
12682 Use `looking-at-p'.
12683 (dired-mark-files-regexp, dired-build-subdir-alist):
12684 Use `string-match-p', `looking-at-p'.
12685
12686 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12687 (direct-print-region-helper): Use `string-match-p'.
12688
12689 2013-06-21 Leo Liu <sdl.web@gmail.com>
12690
12691 * comint.el (comint-redirect-results-list-from-process):
12692 Fix infinite loop.
12693
12694 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12695
12696 * net/eww.el (eww-update-header-line-format): Quote % characters.
12697
12698 2013-06-21 Glenn Morris <rgm@gnu.org>
12699
12700 * play/cookie1.el (cookie): New custom group.
12701 (cookie-file): New option.
12702 (cookie-check-file): New function.
12703 (cookie): Make it interactive. Make start and end messages optional.
12704 Interactively, display the result. Default to cookie-file.
12705 (cookie-insert): Default to cookie-file.
12706 (cookie-snarf): Make start and end messages optional.
12707 Default to cookie-file. Use with-temp-buffer.
12708 (cookie-read): Rename from read-cookie.
12709 Make start and end messages optional. Default to cookie-file.
12710 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12711 Do not autoload it.
12712 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12713 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12714
12715 2013-06-21 Leo Liu <sdl.web@gmail.com>
12716
12717 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12718
12719 2013-06-21 Glenn Morris <rgm@gnu.org>
12720
12721 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12722
12723 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12724 Daniel Hackney <dan@haxney.org>
12725
12726 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12727 Consolidate the single-file vs tarball code.
12728 (package-desc-suffix): New function.
12729 (package-desc-full-name): Don't bother inlining it.
12730 (package-load-descriptor): Return the new package-desc.
12731 (package-mark-obsolete): Remove unused arg `package'.
12732 (package-unpack): Make it work for single files as well.
12733 Make it update package-alist.
12734 (package--make-autoloads-and-stuff): Rename from
12735 package--make-autoloads-and-compile. Don't compile any more.
12736 (package--compile): New function.
12737 (package-generate-description-file): New function, extracted from
12738 package-unpack-single.
12739 (package-unpack-single): Remove.
12740 (package--with-work-buffer): Add indentation and debugging info.
12741 (package-download-single): Remove.
12742 (package-install-from-archive): Rename from package-download-tar, make
12743 it take a pkg-desc, and make it work for single files as well.
12744 (package-download-transaction): Simplify.
12745 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12746 external tar program.
12747 (package-install-from-buffer): Remove `pkg-desc' argument.
12748 Use package-tar-file-info for tar-mode buffers.
12749 (package-install-file): Simplify accordingly.
12750 (package-archive-base): Change to take a pkg-desc.
12751 * tar-mode.el (tar--check-descriptor): New function, extracted from
12752 tar-get-descriptor.
12753 (tar-get-descriptor): Use it.
12754 (tar-get-file-descriptor): New function.
12755 (tar--extract): New function, extracted from tar-extract.
12756 (tar--extract): Use it.
12757 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12758 case the summary uses non-ascii. Adjust to new calling convention of
12759 package-tar-file-info.
12760
12761 2013-06-21 Leo Liu <sdl.web@gmail.com>
12762
12763 * comint.el (comint-redirect-results-list-from-process):
12764 Fix random delay. (Bug#14681)
12765
12766 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12767
12768 * profiler.el (profiler-format-number): Use log, not log10.
12769
12770 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12771
12772 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12773
12774 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12775
12776 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12777 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12778 yet available.
12779 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12780 (AUTOGENEL): ... here.
12781 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12782 (cl--defsubst-expand): Use it.
12783
12784 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12785
12786 * subr.el (log10): Move here from C code, and declare as obsolete.
12787 All uses of (log10 X) replaced with (log X 10).
12788
12789 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12790
12791 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12792 Declare with `defvar-local'.
12793 (tabulated-list-use-header-line, tabulated-list-entries)
12794 (tabulated-list-padding, tabulated-list-printer)
12795 (tabulated-list-sort-key): Declare with `defvar-local'.
12796 (tabulated-list-init-header, tabulated-list-print-fake-header):
12797 Use `setq-local'.
12798
12799 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12800
12801 * arc-mode.el (archive-mode): Add `archive-write-file' to
12802 `write-contents-functions' also for remote files. (Bug#14652)
12803
12804 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12805
12806 * cus-edit.el (custom-commands): Fix typos.
12807 (custom-display): Fix tooltip text.
12808 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12809 Fix typos in docstrings.
12810 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12811 (custom-unlispify-menu-entry, custom-magic-value-create)
12812 (custom-add-see-also, custom-group-value-create): Use ?\s.
12813 (custom-guess-type, customize-apropos, editable-field)
12814 (custom-face-value-create): Use `string-match-p'.
12815 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12816
12817 * custom.el (custom-load-symbol): Use `string-match-p'.
12818
12819 * ansi-color.el: Convert to lexical binding.
12820 (ansi-colors): Fix URL.
12821 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12822 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12823 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12824
12825 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12826
12827 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12828
12829 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12830
12831 2013-06-19 Tom Tromey <tromey@redhat.com>
12832
12833 * net/eww.el (eww-top-url): Remove.
12834 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12835 (eww-render): Set new variables. Don't set eww-top-url.
12836 (eww-handle-link): Handle "prev", "home", and "contents".
12837 Downcase the rel text.
12838 (eww-top-url): Choose best top URL.
12839
12840 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12841
12842 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12843 relying in widget.el. Using widget.el leads to too many
12844 user interface inconsistencies.
12845 (eww-self-insert): Implement entering commands in text fields.
12846 (eww-process-text-input): New function to make text input field editing
12847 work.
12848 (eww-submit): Rewrite to use the new-style form methods.
12849 (eww-select-display): Display the correct selected item.
12850 (eww-change-select): Implement changing the select value.
12851 (eww-toggle-checkbox): Implement radio/checkboxes.
12852 (eww-update-field): Fix compilation error.
12853 (eww-tag-textarea): Implement <textarea>.
12854
12855 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12856 we don't shadow mode-specific bindings.
12857
12858 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12859 nothing to push.
12860
12861 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12862
12863 2013-06-19 Glenn Morris <rgm@gnu.org>
12864
12865 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12866
12867 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12868
12869 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12870 not needed.
12871
12872 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12873
12874 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12875
12876 * net/browse-url.el (browse-url-browser-function):
12877 `eww-browse-url' has the right calling signature, `eww' does not.
12878
12879 2013-06-19 Glenn Morris <rgm@gnu.org>
12880
12881 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12882 Only eval autoloaded macros.
12883 (byte-compile-autoload): Only give the macro warning for macros.
12884
12885 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12886 (ps-underlined-faces): Declare.
12887
12888 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12889 (speedbar-add-supported-extension): Declare.
12890
12891 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12892 Don't include a date stamp in the header of the generated file;
12893 it leads to needless differences between output files.
12894
12895 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12896
12897 * net/secrets.el (secrets-struct-secret-content-type):
12898 Replace check of introspection data by a test call of "CreateItem".
12899 Some servers do not offer introspection.
12900
12901 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * electric.el (electric-pair-mode): Improve interaction with
12904 electric-layout-mode.
12905 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12906 (electric-pair-syntax): Use text-mode-syntax-table in comments
12907 and strings.
12908 (electric-pair--insert): New function.
12909 (electric-pair-post-self-insert-function): Use it and
12910 electric--after-char-pos.
12911
12912 2013-06-19 Leo Liu <sdl.web@gmail.com>
12913
12914 * progmodes/octave.el (octave-help): Fix regexp.
12915
12916 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12917
12918 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12919 (shr-table-horizontal-line): Allow nil as a value, and change the
12920 default.
12921 (shr-insert-table-ruler): Respect the nil value.
12922
12923 2013-06-18 Tom Tromey <tromey@barimba>
12924
12925 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12926 New defvars.
12927 (eww-open-file): New defun.
12928 (eww-render): Initialize new variables.
12929 (eww-display-html): Handle "link" and "a".
12930 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12931 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12932 (eww-back-url): Rename from eww-previous-url.
12933 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12934 New defuns.
12935
12936 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12937
12938 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12939 Distinguish ternary operator tokens from slash symbol and slash
12940 char literal.
12941
12942 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12943
12944 Convert symbol prettification into minor mode and global minor mode.
12945
12946 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12947 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12948 (prettify-symbols--keywords): Rename from
12949 `prog-prettify-symbols-alist' and make a local defvar.
12950 (prettify-symbols--compose-symbol): Rename from
12951 `prog--prettify-font-lock-compose-symbol'.
12952 (prettify-symbols--make-keywords): Rename from
12953 `prog-prettify-font-lock-symbols-keywords' and simplify.
12954 (prog-prettify-install): Remove.
12955 (prettify-symbols-mode): New minor mode, based on
12956 `prog-prettify-install'.
12957 (turn-on-prettify-symbols-mode): New function.
12958 (global-prettify-symbols-mode): New globalized minor mode.
12959
12960 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12961 * progmodes/cfengine.el (cfengine3-mode):
12962 * progmodes/perl-mode.el (perl-mode): Don't call
12963 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12964
12965 2013-06-18 Juri Linkov <juri@jurta.org>
12966
12967 * files-x.el (modify-file-local-variable-message): New function.
12968 (modify-file-local-variable)
12969 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12970 and call `modify-file-local-variable-message' when it's non-nil.
12971 (add-file-local-variable, delete-file-local-variable)
12972 (add-file-local-variable-prop-line)
12973 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12974 and use it. (Bug#9820)
12975
12976 2013-06-18 Juri Linkov <juri@jurta.org>
12977
12978 * emulation/vi.el (vi-shell-op):
12979 * emulation/vip.el (vip-execute-com, ex-command):
12980 * emulation/viper-cmd.el (viper-exec-bang):
12981 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12982 the call of `shell-command-on-region'. (Bug#14637)
12983
12984 * simple.el (shell-command-on-region): Doc fix.
12985
12986 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12989 (bug#14633).
12990
12991 2013-06-18 Glenn Morris <rgm@gnu.org>
12992
12993 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12994
12995 * newcomment.el (comment-search-forward, comment-search-backward):
12996 Doc fix. (Bug#14376)
12997
12998 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12999
13000 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13001 (buffer-face-mode-invoke): Doc fix.
13002
13003 2013-06-18 Matthias Meulien <orontee@gmail.com>
13004
13005 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13006 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13007
13008 2013-06-18 Glenn Morris <rgm@gnu.org>
13009
13010 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13011 Replace obsolete function generic-make-keywords with its expansion.
13012
13013 * progmodes/python.el (ffap-alist): Declare.
13014
13015 * textmodes/reftex.el (bibtex-mode-map): Declare.
13016
13017 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13018
13019 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13020 (package-unpack, package-unpack-single): Return the pkg-dir.
13021 (package-download-transaction): Use it to update package-alist.
13022
13023 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13024
13025 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13026 possible choice.
13027
13028 2013-06-17 Juri Linkov <juri@jurta.org>
13029
13030 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13031
13032 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13033
13034 * emacs-lisp/package.el (package-load-descriptor):
13035 Remove `with-syntax-table' call, `read' doesn't need it.
13036 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13037
13038 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13039
13040 * startup.el (command-line): Expand package name returned by
13041 `package--description-file' (bug#14639).
13042
13043 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13044
13045 * emacs-lisp/package.el (package-load-descriptor): Do not call
13046 `emacs-lisp-mode', just use its syntax table.
13047
13048 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13049
13050 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13051 `font-lock-extra-managed-props' if any prettifying keyword is added.
13052 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13053 (prog-mode): Use `setq-local'.
13054
13055 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * international/characters.el (standard-case-table): Set syntax of ?»
13058 and ?« to punctuation.
13059
13060 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13061
13062 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13063 Save relevant match data before calling `syntax-ppss' (bug#14595).
13064
13065 2013-06-15 Juri Linkov <juri@jurta.org>
13066
13067 * files-x.el (modify-file-local-variable-prop-line): Add local
13068 variables to the end of the existing comment on the first line.
13069 Use `file-auto-mode-skip' to skip interpreter magic line,
13070 and also skip XML declaration.
13071
13072 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13073
13074 * startup.el (package--builtin-versions): New var.
13075 (package-subdirectory-regexp): Remove.
13076 (package--description-file): Hard code its value instead.
13077
13078 * emacs-lisp/package.el: Don't activate packages older than builtin.
13079 (package-obsolete-list): Rename from package-obsolete-alist, and make
13080 it into a simple list of package-desc.
13081 (package-strip-version): Remove.
13082 (package-built-in-p): Use package--builtin-versions.
13083 (package-mark-obsolete): Simplify.
13084 (package-process-define-package): Mark it obsolete if older than the
13085 builtin version.
13086 (package-handle-response): Use line-end-position.
13087 (package-read-archive-contents, package--download-one-archive):
13088 Simplify.
13089 (package--add-to-archive-contents): Skip if older than the builtin or
13090 installed version.
13091 (package-menu-describe-package): Fix last change.
13092 (package-list-unversioned): New var.
13093 (package-menu--generate): Use it.
13094
13095 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13096 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13097 (autoload-builtin-package-versions): New variable.
13098 (autoload-generate-file-autoloads): Use them.
13099 Remove the list of autoloaded functions/macros from the
13100 (autoload...) comments.
13101
13102 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13103
13104 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13105
13106 * simple.el (line-move-partial): Don't jump to the next screen
13107 line as soon as it becomes visible. Instead, continue enlarging
13108 the vscroll until the portion of a tall screen line that's left on
13109 display is about the height of the frame's default font.
13110 (Bug#14567)
13111
13112 2013-06-15 Glenn Morris <rgm@gnu.org>
13113
13114 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13115 compilation-error-regexp-alist void, or local while let-bound.
13116
13117 * progmodes/make-mode.el (makefile-mode-syntax-table):
13118 Treat "=" as punctuation. (Bug#14614)
13119
13120 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13121
13122 * help-fns.el (describe-variable):
13123 Add extra line for permanent-local variables.
13124
13125 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13126
13127 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13128 Add export, import, library. (Bug#9164)
13129 (library): Set indent function.
13130
13131 2013-06-14 Glenn Morris <rgm@gnu.org>
13132
13133 * term/xterm.el (xterm--query):
13134 Stop after first matching handler. (Bug#14615)
13135
13136 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13137
13138 Add support for dired in saveplace.
13139 * dired.el (dired-initial-position-hook): New variable.
13140 (dired-initial-position): Call hook to place cursor position.
13141 * saveplace.el (save-place-to-alist): Add dired position.
13142 (save-place-dired-hook): New function.
13143
13144 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13145
13146 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13147 through a symbol rather than letrec.
13148
13149 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13150 (package-desc): Add `dir' field.
13151 (package-desc-full-name): New function.
13152 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13153 (package-maybe-load-descriptor): Remove.
13154 (package-load-all-descriptors): Just call package-load-descriptor.
13155 (package--disabled-p): New function.
13156 (package-desc-vers, package-desc-doc): Remove aliases.
13157 (package--dir): Remove function.
13158 (package-activate): Check if a package is disabled.
13159 (package-process-define-package): New function, extracted from
13160 define-package.
13161 (define-package): Turn into a place holder.
13162 (package-unpack-single, package-tar-file-info):
13163 Use package--description-file.
13164 (package-compute-transaction): Use package--disabled-p.
13165 (package-download-transaction): Don't call
13166 package-maybe-load-descriptor since they're all loaded anyway.
13167 (package-install): Change argument to be a pkg-desc.
13168 (package-delete): Use a single pkg-desc argument.
13169 (describe-package-1): Use package-desc-dir instead of package--dir.
13170 Use package-desc property instead of package-symbol.
13171 (package-install-button-action): Adjust accordingly.
13172 (package--push): Rewrite.
13173 (package-menu--print-info): Adjust accordingly. Change the ID format
13174 to be a pkg-desc.
13175 (package-menu-describe-package, package-menu-get-status)
13176 (package-menu--find-upgrades, package-menu-mark-upgrades)
13177 (package-menu-execute, package-menu--name-predicate):
13178 Adjust accordingly.
13179 * startup.el (package--description-file): New function.
13180 (command-line): Use it.
13181 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13182 Use package-desc-version.
13183
13184 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13185 (byte-compile-preprocess): Use it.
13186 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13187 can't quite recognize.
13188 (byte-compile-add-to-list): Remove.
13189 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13190 (cconv-closure-convert): Add assertion.
13191
13192 * emacs-lisp/map-ynp.el: Use lexical-binding.
13193 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13194 Factor out some repeated code.
13195
13196 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * subr.el (with-eval-after-load): New macro.
13199 (eval-after-load): Allow form to be a function.
13200 take advantage of lexical-binding.
13201 (do-after-load-evaluation): Use dolist and adjust to new format.
13202 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13203
13204 2013-06-13 Juri Linkov <juri@jurta.org>
13205
13206 * replace.el (perform-replace): Display "symbol " and other search
13207 modes from `isearch-message-prefix' in the *Help* buffer.
13208
13209 * isearch.el (isearch-query-replace): Add " symbol" and other
13210 possible search modes from `isearch-message-prefix' to the prompt.
13211 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13212 when reading a regexp to collect.
13213
13214 2013-06-13 Juri Linkov <juri@jurta.org>
13215
13216 * isearch.el (word-search-regexp): Match whitespace if the search
13217 string begins or ends in whitespace. The LAX arg is applied to
13218 both ends of the search string. Use `regexp-quote' and explicit
13219 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13220 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13221 boundaries are replaced with symbol boundaries, and characters
13222 between symbols match non-word non-symbol syntax. (Bug#14602)
13223
13224 2013-06-13 Juri Linkov <juri@jurta.org>
13225
13226 * isearch.el (isearch-del-char): Don't exceed the length of
13227 `isearch-string' by the prefix arg. (Bug#14563)
13228
13229 2013-06-13 Juri Linkov <juri@jurta.org>
13230
13231 * isearch.el (isearch-yank-word, isearch-yank-line)
13232 (isearch-char-by-name, isearch-quote-char)
13233 (isearch-printing-char, isearch-process-search-char):
13234 Add optional count prefix arg. (Bug#14563)
13235
13236 * international/isearch-x.el
13237 (isearch-process-search-multibyte-characters):
13238 Add optional count prefix arg.
13239
13240 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13243 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13244 lexical-binding.
13245
13246 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13247
13248 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13249
13250 2013-06-13 Glenn Morris <rgm@gnu.org>
13251
13252 * startup.el (tty-handle-args):
13253 Don't just discard "--" and anything after. (Bug#14608)
13254
13255 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13256
13257 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13258
13259 Implement changes in Secret Service API. Make it backward compatible.
13260 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13261 (secrets-create-item): Use it. Prefix properties with interface.
13262
13263 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13264
13265 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13266 (term-emulate-terminal): Respect term-suppress-hard-newline.
13267
13268 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13269
13270 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13271 Only remove a `thumb-file' overlay. (Bug#14548)
13272
13273 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13274
13275 * mail/reporter.el (reporter-submit-bug-report):
13276 Handle missing package-name. (Bug#14600)
13277
13278 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13279
13280 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13281 (reftex-citation-prompt, reftex-default-bibliography)
13282 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13283 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13284 (reftex-bib-sort-author, reftex-bib-sort-year)
13285 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13286 (reftex-extract-bib-entries-from-thebibliography)
13287 (reftex-get-bibkey-default, reftex-get-bib-names)
13288 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13289 (reftex-format-bib-entry, reftex-parse-bibitem)
13290 (reftex-format-bibitem, reftex-do-citation)
13291 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13292 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13293 (reftex-insert-bib-matches, reftex-format-citation)
13294 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13295 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13296 existing comments into docstrings.
13297
13298 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13299
13300 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13301
13302 2013-06-12 Andreas Schwab <schwab@suse.de>
13303
13304 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13305 for auto-save files.
13306
13307 2013-06-12 Glenn Morris <rgm@gnu.org>
13308
13309 * ido.el (ido-delete-ignored-files): Remove.
13310 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13311 Go back to calling ido-ignore-item-p directly.
13312
13313 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13314
13315 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13316
13317 * ido.el (ido-delete-ignored-files): New function,
13318 split from ido-make-file-list-1.
13319 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13320 (ido-make-file-list-1): Use ido-delete-ignored-files.
13321
13322 2013-06-12 Leo Liu <sdl.web@gmail.com>
13323
13324 * progmodes/octave.el (inferior-octave-startup)
13325 (inferior-octave-completion-table)
13326 (inferior-octave-track-window-width-change)
13327 (octave-eldoc-function-signatures, octave-help)
13328 (octave-find-definition): Use single quoted strings.
13329 (inferior-octave-startup-args): Change default value.
13330 (inferior-octave-startup): Do not hard code "-i" and
13331 "--no-line-editing".
13332 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13333 (inferior-octave-directory-tracker): Use it.
13334 (octave-goto-function-definition): Robustify.
13335 (octave-help): Support highlighting operators in 'See also'.
13336 (octave-find-definition): Find subfunctions only in Octave mode.
13337
13338 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * help-fns.el (help-fns--compiler-macro): If the handler function is
13341 named, then put a link to it.
13342 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13343 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13344 (cl-typep): Use it.
13345 (cl-eval-when): Simplify debug spec.
13346 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13347 compiler-macro function instead of setting `compiler-macro-file'.
13348
13349 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13350
13351 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13352 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13353
13354 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13355 Daniel Hackney <dan@haxney.org>
13356
13357 First part of Daniel Hackney's patch to package.el.
13358 * emacs-lisp/package.el: Use defstruct.
13359 (package-desc): New, main struct.
13360 (package--bi-desc, package--ac-desc): New structs, used to describe the
13361 format in external files.
13362 (package-desc-vers): Replace with package-desc-version accessor.
13363 (package-desc-doc): Replace with package-desc-summary accessor.
13364 (package-activate-1): Remove `package' arg since the pkg-vec now
13365 includes the name.
13366 (define-package): Use package-desc-from-define.
13367 (package-unpack-single): Change file-name arg to be a symbol.
13368 (package--add-to-archive-contents): Use package-desc-create and new
13369 accessor functions to package--ac-desc.
13370 (package-buffer-info, package-tar-file-info): Return a package-desc.
13371 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13372 arg to be a package-desc.
13373 (package-install-file): Adjust accordingly. Use \' to match EOS.
13374 (package--from-builtin): New function.
13375 (describe-package-1, package-menu--generate): Use it.
13376 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13377 (package-generate-autoloads): Idem and return the name of the file.
13378 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13379 Change pkg-info arg to be a package-desc.
13380 Use package-make-ac-desc.
13381 (package-upload-file): Use \' to match EOS.
13382 * finder.el (finder-compile-keywords): Use package-make-builtin.
13383
13384 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13385
13386 * vc/vc.el (vc-deduce-fileset): Change error message.
13387 (vc-read-backend): New function.
13388 (vc-next-action): Use it.
13389
13390 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13391
13392 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13393 (prolog-font-lock-keywords): Use regexp-opt instead.
13394 Don't manually highlight strings.
13395 (prolog-mode-variables): Simplify comment-start-skip.
13396 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13397
13398 * emacs-lisp/generic.el (generic--normalise-comments)
13399 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13400 (generic-mode-set-comments): Use them.
13401 (generic-bracket-support): Use setq-local.
13402 (generic-make-keywords-list): Declare obsolete.
13403
13404 2013-06-11 Glenn Morris <rgm@gnu.org>
13405
13406 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13407 Prettify after setting font-lock-defaults. (Bug#14574)
13408
13409 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13410
13411 * replace.el (query-replace, occur-read-regexp-defaults-function)
13412 (replace-search):
13413 * subr.el (declare-function, number-sequence, local-set-key)
13414 (substitute-key-definition, locate-user-emacs-file)
13415 (with-silent-modifications, split-string, eval-after-load):
13416 Fix typos, remove unneeded backslashes and reflow some docstrings.
13417
13418 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13419
13420 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13421 default for Elisp files.
13422
13423 2013-06-11 Glenn Morris <rgm@gnu.org>
13424
13425 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13426 although define-derived-mode was doing this anyway. (Bug#14583)
13427
13428 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13429
13430 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13431 Fix make-variable-buffer-local call to refer to the correct variable.
13432
13433 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13434
13435 * eshell/em-term.el (eshell-visual-commands)
13436 (eshell-visual-subcommands, eshell-visual-options):
13437 Add summary line to docstrings. Add cross-references.
13438
13439 2013-06-10 Glenn Morris <rgm@gnu.org>
13440
13441 * epa.el (epa-read-file-name): New function. (Bug#14510)
13442 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13443
13444 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13445
13446 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13447 output redirection to be ignored with visual commands.
13448
13449 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13450
13451 * eshell/em-term.el (eshell-visual-command-p): New function.
13452 (eshell-term-initialize): Move long lambda to separate function
13453 eshell-visual-command-p.
13454 * eshell/em-dirs.el (eshell-dirs-initialize):
13455 * eshell/em-script.el (eshell-script-initialize):
13456 Add missing #' to lambda.
13457
13458 2013-06-08 Leo Liu <sdl.web@gmail.com>
13459
13460 * progmodes/octave.el (octave-add-log-current-defun): New function.
13461 (octave-mode): Set add-log-current-defun-function.
13462 (octave-goto-function-definition): Do not move point if not found.
13463 (octave-find-definition): Enhance to try subfunctions first.
13464
13465 2013-06-08 Glenn Morris <rgm@gnu.org>
13466
13467 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13468 (byte-compile-backward-char, byte-compile-backward-word):
13469 Improve previous change, to handle non-explicit nil.
13470
13471 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13472
13473 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13474 (smie--opener/closer-at-point): New function.
13475 (smie--matching-block-data): Use it. Don't match from right after an
13476 opener or right before a closer. Obey smie-blink-matching-inners.
13477 Don't signal a mismatch for repeated inners like "switch..case..case".
13478
13479 2013-06-07 Leo Liu <sdl.web@gmail.com>
13480
13481 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13482 to t. (Bug#14303)
13483 (octave-function-header-regexp): Fix. (Bug#14570)
13484 (octave-help-mode-finish-hook, octave-help-mode-finish):
13485 Remove. Just use temp-buffer-show-hook.
13486
13487 * newcomment.el (comment-search-backward): Revert last change.
13488 (Bug#14434)
13489
13490 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13491
13492 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13493
13494 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13495 through xargs, to avoid failure due to MS-Windows limitations on
13496 command-line length.
13497
13498 2013-06-06 Glenn Morris <rgm@gnu.org>
13499
13500 * font-lock.el (lisp-font-lock-keywords-2):
13501 Treat user-error like error.
13502
13503 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13504 (byte-compile-backward-char, byte-compile-backward-word):
13505 Handle explicit nil arguments. (Bug#14565)
13506
13507 2013-06-05 Alan Mackenzie <acm@muc.de>
13508
13509 * isearch.el (isearch-allow-prefix): New user option.
13510 (isearch-other-meta-char): Don't exit isearch when a prefix
13511 argument is typed whilst `isearch-allow-prefix' is non-nil.
13512 (Bug#9706)
13513
13514 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * autorevert.el (auto-revert-notify-handler): Use memq.
13517 Hide assertion failure.
13518
13519 * skeleton.el: Use cl-lib.
13520 (skeleton-further-elements): Use defvar-local.
13521 (skeleton-insert): Use cl-progv.
13522
13523 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13524
13525 * progmodes/prog-mode.el (prog-prettify-symbols)
13526 (prog-prettify-install): Update docstrings.
13527
13528 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * simple.el: Move all the prog-mode code to prog-mode.el.
13531 * progmodes/prog-mode.el: New file.
13532 * loadup.el: Add prog-mode.el.
13533
13534 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13535
13536 * simple.el (prog-prettify-symbols): Add version.
13537 (prog-prettify-install): Add convenience function to prettify symbols.
13538
13539 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13540 (perl--augmented-font-lock-keywords-1)
13541 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13542 variables and use it.
13543
13544 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13545 (cfengine3-mode): Remove unneeded variable and use it.
13546
13547 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13548 (lisp--augmented-font-lock-keywords-1)
13549 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13550 Remove unneeded variables and use it.
13551
13552 2013-06-05 João Távora <joaotavora@gmail.com>
13553
13554 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13555 to point when opening the connection. (Bug#14380)
13556
13557 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13558
13559 * subr.el (load-history-regexp, load-history-filename-element)
13560 (eval-after-load, after-load-functions, do-after-load-evaluation)
13561 (eval-next-after-load, display-delayed-warnings)
13562 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13563 definition of save-match-data.
13564 (overriding-local-map): Remove accidental obsolescence declaration.
13565
13566 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13567
13568 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13569
13570 Generalize symbol prettify support to prog-mode and implement it
13571 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13572 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13573 (prog--prettify-font-lock-compose-symbol)
13574 (prog-prettify-font-lock-symbols-keywords): New variables and
13575 functions to support symbol prettification.
13576 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13577 (lisp--augmented-font-lock-keywords-1)
13578 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13579 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13580 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13581 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13582 Implement prettify of -> => :: strings.
13583 * progmodes/perl-mode.el (perl-prettify-symbols)
13584 (perl--font-lock-compose-symbol)
13585 (perl--font-lock-symbols-keywords): Move to prog-mode.
13586 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13587 (perl-font-lock-keywords-1)
13588 (perl-font-lock-keywords-2): Remove explicit prettify support.
13589 (perl--augmented-font-lock-keywords)
13590 (perl--augmented-font-lock-keywords-1)
13591 (perl--augmented-font-lock-keywords-2, perl-mode):
13592 Implement prettify support.
13593
13594 2013-06-05 Leo Liu <sdl.web@gmail.com>
13595
13596 Re-implement SMIE matching block highlight using
13597 show-paren-data-function. (Bug#14395)
13598 * emacs-lisp/smie.el (smie-matching-block-highlight)
13599 (smie--highlight-matching-block-overlay)
13600 (smie--highlight-matching-block-lastpos)
13601 (smie-highlight-matching-block)
13602 (smie-highlight-matching-block-mode): Remove.
13603 (smie--matching-block-data-cache): New variable.
13604 (smie--matching-block-data): New function.
13605 (smie-setup): Use smie--matching-block-data for
13606 show-paren-data-function.
13607
13608 * progmodes/octave.el (octave-mode-menu): Fix.
13609 (octave-find-definition): Skip garbage lines.
13610
13611 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13612
13613 Fix compilation error with simultaneous dynamic+lexical scoping.
13614 Add warning when a defvar appears after the first let-binding.
13615 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13616 (byte-compile-close-variables): Initialize it.
13617 (byte-compile--declare-var): New function.
13618 (byte-compile-file-form-defvar)
13619 (byte-compile-file-form-define-abbrev-table)
13620 (byte-compile-file-form-custom-declare-variable): Use it.
13621 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13622 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13623 (byte-compile-bind): Handle dynamic bindings that shadow
13624 lexical bindings.
13625 (byte-compile-unbind): Make arg non-optional.
13626 (byte-compile-let): Simplify.
13627 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13628 (cconv--analyse-function, cconv-analyse-form): Populate it.
13629 Protect byte-compile-bound-variables to limit the scope of defvars.
13630 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13631 Remove unneeded rule for `declare'.
13632
13633 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13634 so as to avoid depending on cl-adjoin at run-time.
13635 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13636
13637 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13638 (macroexp--warn-and-return): Use it.
13639
13640 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13641
13642 * subr.el: Convert to lexical binding.
13643 (overriding-local-map): Make obsolete.
13644 (add-to-list): Doc fix. Add compiler macro.
13645 (read-key): Swap values of local maps.
13646
13647 2013-06-05 Leo Liu <sdl.web@gmail.com>
13648
13649 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13650
13651 2013-06-04 Leo Liu <sdl.web@gmail.com>
13652
13653 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13654 (compilation-auto-jump): Suppress the "Mark set" message to give
13655 way to exit message.
13656
13657 2013-06-04 Alan Mackenzie <acm@muc.de>
13658
13659 Remove faulty optimisation from indentation calculation.
13660 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13661 search limit based on 2000 characters back from indent-point.
13662
13663 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13664
13665 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13666
13667 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13668
13669 * emacs-lisp/lisp.el: Use lexical-binding.
13670 (lisp--local-variables-1, lisp--local-variables): New functions.
13671 (lisp--local-variables-completion-table): New var.
13672 (lisp-completion-at-point): Use it complete let-bound vars.
13673
13674 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13675 eagerly (bug#14422).
13676
13677 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13678
13679 * autorevert.el (auto-revert-notify-enabled)
13680 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13681 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13682 (auto-revert-notify-handler): Handle also gfilenotify.
13683
13684 * subr.el (file-notify-handle-event): New defun. Replacing ...
13685 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13686 Remove.
13687
13688 2013-06-03 Juri Linkov <juri@jurta.org>
13689
13690 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13691 `M-s h .'. (Bug#14427)
13692
13693 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13694 command `hi-lock-face-symbol-at-point'.
13695 (hi-lock-face-symbol-at-point): New command.
13696 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13697 (hi-lock-menu): Add `highlight-symbol-at-point'.
13698 (hi-lock-mode): Doc fix.
13699
13700 * isearch.el (isearch-forward-symbol-at-point): New command.
13701 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13702 (isearch-highlight-regexp): Add a regexp which matches
13703 words/symbols for word/symbol mode.
13704
13705 * subr.el (find-tag-default-bounds): New function with the body
13706 mostly moved from `find-tag-default'.
13707 (find-tag-default): Move most code to `find-tag-default-bounds',
13708 call it and apply `buffer-substring-no-properties' afterwards.
13709
13710 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13711
13712 * eshell/em-term.el (eshell-term-initialize):
13713 Use `cl-intersection' rather than `intersection'.
13714
13715 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13716
13717 * vc/log-view.el: Doc fix.
13718 (log-view-mode-map): Copy keymap from `special-mode-map'.
13719
13720 2013-06-02 Eric Ludlam <zappo@gnu.org>
13721
13722 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13723 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13724 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13725 (eieio-unbound, eieio-default-superclass)
13726 (eieio--define-field-accessors, method-static, method-before)
13727 (method-primary, method-after, method-num-lists)
13728 (method-generic-before, method-generic-primary)
13729 (method-generic-after, method-num-slots)
13730 (eieio-specialized-key-to-generic-key)
13731 (eieio--check-type, class-v, class-p)
13732 (eieio-class-name, define-obsolete-function-alias)
13733 (eieio-class-parents-fast, eieio-class-children-fast)
13734 (same-class-fast-p, class-constructor, generic-p)
13735 (generic-primary-only-p, generic-primary-only-one-p)
13736 (class-option-assoc, class-option, eieio-object-p)
13737 (class-abstract-p, class-method-invocation-order)
13738 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13739 (eieio-class-un-autoload, eieio-defclass)
13740 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13741 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13742 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13743 (eieio-defgeneric-reset-generic-form)
13744 (eieio-defgeneric-form-primary-only)
13745 (eieio-defgeneric-reset-generic-form-primary-only)
13746 (eieio-defgeneric-form-primary-only-one)
13747 (eieio-defgeneric-reset-generic-form-primary-only-one)
13748 (eieio-unbind-method-implementations)
13749 (eieio--defmethod, eieio--typep)
13750 (eieio-perform-slot-validation, eieio-validate-slot-value)
13751 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13752 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13753 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13754 (eieio-slot-name-index, eieio-class-slot-name-index)
13755 (eieio-set-defaults, eieio-initarg-to-attribute)
13756 (eieio-attribute-to-initarg, eieio-c3-candidate)
13757 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13758 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13759 (eieio-class-precedence-list, eieio-generic-call-methodname)
13760 (eieio-generic-call-arglst, eieio-generic-call-key)
13761 (eieio-generic-call-next-method-list)
13762 (eieio-pre-method-execution-functions, eieio-generic-call)
13763 (eieio-generic-call-primary-only, eieiomt-method-list)
13764 (eieiomt-optimizing-obarray, eieiomt-install)
13765 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13766 (eieio-generic-form, eieio-defmethod, make-obsolete)
13767 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13768 (defclass): Remove `eval-and-compile' from macro.
13769 (call-next-method, shared-initialize): Instead of using
13770 `scoped-class' variable, use new eieio--scoped-class, and
13771 eieio--with-scoped-class.
13772 (initialize-instance): Rename local variable 'scoped-class' to
13773 'this-class' to remove ambiguitity from old global.
13774
13775 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13776 eieio.el.
13777 (eieio--scoped-class-stack): New variable.
13778 (eieio--scoped-class): New fcn.
13779 (eieio--with-scoped-class): New scoping macro.
13780 (eieio-defclass): Use pushnew instead of add-to-list.
13781 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13782 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13783 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13784 `scoped-class' variable, use new eieio--scoped-class, and
13785 eieio--with-scoped-class.
13786
13787 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13788
13789 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13790
13791 * eshell/esh-ext.el (eshell-external-command): Pass args to
13792 `eshell-find-interpreter'.
13793 (eshell-find-interpreter): Add new second parameter ARGS.
13794
13795 * eshell/em-script.el (eshell-script-initialize): Add second arg
13796 to the function added as MATCH to `eshell-interpreter-alist'.
13797
13798 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13799 the function added as MATCH to `eshell-interpreter-alist'.
13800
13801 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13802 (eshell-visual-options): New defcustom.
13803 (eshell-escape-control-x): Adapt docstring.
13804 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13805 `eshell-visual-options' in addition to `eshell-visual-commands'.
13806 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13807
13808 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13809
13810 * progmodes/python.el (python-indent-block-enders): Add break,
13811 continue and raise keywords.
13812
13813 2013-06-01 Glenn Morris <rgm@gnu.org>
13814
13815 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13816
13817 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13818 * progmodes/cc-cmds.el (delete-forward-p):
13819 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13820 * progmodes/cc-engine.el (buffer-syntactic-context):
13821 * progmodes/cc-fonts.el (face-property-instance):
13822 * progmodes/cc-mode.el (set-keymap-parents):
13823 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13824 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13825 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13826 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13827 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13828
13829 * progmodes/cc-vars.el (other): Emacs has this widget since
13830 at least 21.1, so don't (re)define it.
13831
13832 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13833 Replace the obsolete alias pcomplete-arg-quote-list.
13834
13835 2013-06-01 Leo Liu <sdl.web@gmail.com>
13836
13837 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13838 punctuation syntax.
13839 (inferior-octave-minimal-columns)
13840 (inferior-octave-last-column-width): New variables.
13841 (inferior-octave-track-window-width-change): New function.
13842 (inferior-octave-mode): Adjust column width so that Octave output,
13843 for example from 'ls', can fit into the window nicely.
13844
13845 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13846
13847 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13848 Highlight expansions inside regexp literals.
13849
13850 2013-05-31 Glenn Morris <rgm@gnu.org>
13851
13852 * obsolete/sym-comp.el (symbol-complete):
13853 Replace obsolete completion-annotate-function.
13854
13855 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13856
13857 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13858
13859 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13860 New function, checks if point is inside a literal that allows
13861 expression expansion.
13862 (ruby-syntax-propertize-expansion): Use it.
13863 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13864 around the body.
13865
13866 2013-05-30 Juri Linkov <juri@jurta.org>
13867
13868 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13869 to "\M-si".
13870 (isearch-invisible): New variable.
13871 (isearch-forward): Doc fix.
13872 (isearch-mode): Set `isearch-invisible'
13873 to the value of `search-invisible'.
13874 (isearch-toggle-case-fold): Doc fix.
13875 (isearch-toggle-invisible): New command.
13876 (isearch-query-replace): Let-bind `search-invisible'
13877 to the value of `isearch-invisible'.
13878 (isearch-search): Use `isearch-invisible' instead of
13879 `search-invisible'. Let-bind `search-invisible'
13880 to the value of `isearch-invisible'. (Bug#11378)
13881
13882 2013-05-30 Juri Linkov <juri@jurta.org>
13883
13884 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13885 call when `query-flag' is nil and `search-invisible' is non-nil.
13886 (Bug#11746)
13887
13888 2013-05-30 Glenn Morris <rgm@gnu.org>
13889
13890 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13891
13892 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13893 (cc-require): Suppress spurious "noruntime" warnings.
13894 (cc-require-when-compile): Use fboundp, for sake of compiler.
13895
13896 * progmodes/cc-mode.el: Move load of cc-vars before that of
13897 cc-langs (which in turn loads cc-vars), to quieten compiler.
13898
13899 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 * paren.el: Simplify the code.
13902 (show-paren-mode): Always start the timer.
13903 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13904 (show-paren--overlay, show-paren--overlay-1): Rename from
13905 show-paren-overlay and show-paren-overlay-1, and initialize to an
13906 overlay rather than to nil.
13907 (show-paren-function): Misc cleanup and simplifications.
13908
13909 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13910
13911 * paren.el (show-paren-data-function): New hook.
13912 (show-paren--default): New function, extracted from show-paren-function.
13913 (show-paren-function): Use show-paren-data-function.
13914
13915 2013-05-30 Glenn Morris <rgm@gnu.org>
13916
13917 * ielm.el (ielm-map, ielm-complete-symbol):
13918 Use completion-at-point rather than obsolete functions.
13919 (inferior-emacs-lisp-mode): Doc fix.
13920 Set completion-at-point-functions, rather than
13921 comint-dynamic-complete-functions.
13922
13923 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13924 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13925 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13926
13927 * image.el (image-animated-p): Tweak definition.
13928
13929 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13930 (rlogin-process-connection-type): Tweak default. Add set-after.
13931 (rlogin-host): Doc fix.
13932 (rlogin): Tweak prompt.
13933 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13934
13935 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13936 * progmodes/tcl.el (inferior-tcl-mode-map):
13937 Use completion-at-point rather than obsolete alias.
13938
13939 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13940
13941 * minibuffer.el (read-file-name-completion-ignore-case):
13942 Move before completion--in-region, for eager macro expansion.
13943
13944 2013-05-29 Juri Linkov <juri@jurta.org>
13945
13946 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13947 for total count of matching lines. Add `global-matches' for total
13948 count of matches. Rename `matches' to `lines' for count of
13949 matching lines. Add `matches' for count of matches.
13950 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13951 to `prev-line' for line number of prev match endpt.
13952 Increment `matches' for every match. Print the number of
13953 matching lines in the header.
13954 (occur-context-lines): Rename `lines' to `curr-line'.
13955 Rename `prev-lines' to `prev-line'. (Bug#14017)
13956
13957 2013-05-29 Juri Linkov <juri@jurta.org>
13958
13959 * replace.el (perform-replace): Add `skip-read-only-count',
13960 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13961 Increment them for corresponding conditions and report the number
13962 of skipped occurrences in the final message. (Bug#11746)
13963 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13964 (replace-string, replace-regexp): Doc fix.
13965
13966 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13967
13968 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13969
13970 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13971 prog-mode-map (bug#14504).
13972
13973 2013-05-29 Leo Liu <sdl.web@gmail.com>
13974
13975 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13976 (octave-help): Small simplification.
13977
13978 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13979 off the highlight first.
13980
13981 2013-05-29 Glenn Morris <rgm@gnu.org>
13982
13983 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13984 Handle idlwave-last-system-routine-info-cons-cell being nil.
13985
13986 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13987 (idlwave-write-paths): Simplify via with-temp-buffer.
13988
13989 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13990 * emulation/cua-rect.el: Also load cua-base at run time.
13991
13992 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13993 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13994 (cperl-imenu-on-info): Require imenu.
13995
13996 2013-05-28 Alan Mackenzie <acm@muc.de>
13997
13998 Handle "capitalised keywords" correctly.
13999 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14000
14001 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14002
14003 * eshell/em-unix.el: Add -r option to cp.
14004
14005 2013-05-28 Glenn Morris <rgm@gnu.org>
14006
14007 * vc/vc-arch.el (vc-exec-after): Declare.
14008 (vc-switches): Autoload.
14009 * vc/vc-bzr.el: No need to require vc when compiling.
14010 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14011 (vc-resynch-buffer, vc-dir-refresh): Declare.
14012 (vc-setup-buffer, vc-switches): Autoload.
14013 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14014 (vc-resynch-buffer): Declare.
14015 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14016 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14017 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14018 (grep-read-regexp, grep-read-files, grep-expand-template)
14019 (vc-dir-refresh): Declare.
14020 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14021 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14022 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14023 * vc/vc-mtn.el (vc-exec-after): Declare.
14024 (vc-switches): Autoload.
14025 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14026 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14027 (vc-file-tree-walk): Declare.
14028 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14029 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14030 (vc-tag-precondition, vc-rename-master): Autoload.
14031 * vc/vc-svn.el (vc-exec-after): Declare.
14032 (vc-switches, vc-setup-buffer): Autoload.
14033 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14034 Autoload.
14035 (vc-resynch-buffer): Declare.
14036
14037 * obsolete/fast-lock.el (byte-compile-warnings):
14038 Don't warn about obsolete features in this obsolete file.
14039
14040 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14041 Move definition before use.
14042
14043 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14044 (dun-unix-verbs): Remove dun-zippy.
14045 (dun-zippy): Remove function.
14046
14047 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14048
14049 2013-05-27 Juri Linkov <juri@jurta.org>
14050
14051 * replace.el (replace-search): New function with code moved out
14052 from `perform-replace'.
14053 (replace-highlight, replace-dehighlight): Move function definitions
14054 up closer to `replace-search'. (Bug#11746)
14055
14056 2013-05-27 Juri Linkov <juri@jurta.org>
14057
14058 * replace.el (perform-replace): Ignore invisible matches.
14059 In addition to checking `query-replace-skip-read-only', also
14060 filter out matches by calling `run-hook-with-args-until-failure'
14061 on `isearch-filter-predicates', and also check `search-invisible'
14062 for t or call `isearch-range-invisible'.
14063 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14064
14065 2013-05-27 Juri Linkov <juri@jurta.org>
14066
14067 * isearch.el (isearch-filter-predicates): Rename from
14068 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14069 (isearch-message-prefix): Display text from the property
14070 `isearch-message-prefix' of the currently active filters.
14071 (isearch-search): Don't compare `isearch-filter-predicate' with
14072 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14073 on `isearch-filter-predicates'. Also check `search-invisible' for t
14074 or call `isearch-range-invisible'.
14075 (isearch-filter-visible): Make obsolete.
14076 (isearch-lazy-highlight-search):
14077 Call `run-hook-with-args-until-failure' on
14078 `isearch-filter-predicates' and use `isearch-range-invisible'.
14079
14080 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14081 `isearch-filter-predicates' instead of `funcall'ing
14082 `isearch-filter-predicate'.
14083 (Info-mode): Set `Info-isearch-filter' to
14084 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14085
14086 * dired-aux.el (dired-isearch-filter-predicate-orig):
14087 Remove variable.
14088 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14089 (dired-isearch-filenames-end): Add and remove
14090 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14091 instead of changing the value of `isearch-filter-predicate'.
14092 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14093 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14094 Put property `isearch-message-prefix' to "filename " on
14095 `dired-isearch-filter-filenames'.
14096
14097 * wdired.el (wdired-change-to-wdired-mode):
14098 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14099 locally instead of changing `isearch-filter-predicate'.
14100 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14101
14102 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14103
14104 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14105 return the commit hash (Bug#14459). Also set the
14106 `vc-git-detached' property.
14107 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14108 (vc-git-mode-line-string): Use the same help-echo format whether
14109 in detached mode or not, because we know the actual revision now.
14110 When in detached mode, shorten the revision to 7 chars.
14111
14112 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14113
14114 * emacs-lisp/easy-mmode.el (define-minor-mode):
14115 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14116 mode hook and provide a docstring.
14117
14118 2013-05-27 Alan Mackenzie <acm@muc.de>
14119
14120 Remove spurious syntax-table text properties inserted by C-y.
14121 * progmodes/cc-mode.el (c-after-change): Also clear hard
14122 syntax-table property with value nil.
14123
14124 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14125
14126 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14127 when reading the events; the buffer layout shall not be changed.
14128
14129 2013-05-27 Leo Liu <sdl.web@gmail.com>
14130
14131 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14132 New variable.
14133 (inferior-octave-directory-tracker): Automatically re-sync
14134 default-directory.
14135 (octave-help): Improve handling of 'See also'.
14136
14137 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * doc-view.el: Minor naming convention tweaks.
14140 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14141
14142 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14143 even if there's no `display' property yet (bug#14435).
14144
14145 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14146
14147 * subr.el (unmsys--file-name): Rename from reveal-filename.
14148
14149 * Makefile.in (custom-deps, finder-data, autoloads)
14150 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14151 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14152 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14153
14154 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14157 error-completion on the first 2 args of condition-case (bug#14446).
14158 Don't burp at EOB.
14159
14160 2013-05-25 Leo Liu <sdl.web@gmail.com>
14161
14162 * comint.el (comint-previous-matching-input): Do not flood the
14163 *Messages* buffer with trivial messages.
14164
14165 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * progmodes/flymake.el (flymake-nop): Don't return a string.
14168 (flymake-set-at): Fix typo.
14169
14170 * simple.el (read--expression): New function, extracted from
14171 eval-expression. Set completion-at-point-functions (bug#14465).
14172 (eval-expression, eval-minibuffer): Use it.
14173
14174 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14175
14176 * progmodes/flymake.el (flymake-save-buffer-in-file)
14177 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14178 (flymake-selected-frame, flymake-log, flymake-ins-after)
14179 (flymake-set-at, flymake-get-buildfile-from-cache)
14180 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14181 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14182 Refine the doc string.
14183 (flymake-get-file-name-mode-and-masks): Reformat.
14184 (flymake-get-real-file-name-function): Fix a minor bug.
14185
14186 2013-05-24 Juri Linkov <juri@jurta.org>
14187
14188 * progmodes/grep.el (grep-mode-font-lock-keywords):
14189 Support =linenumber= format used by git-grep for lines with
14190 function names. (Bug#13549)
14191
14192 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14193
14194 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14195 0 after a semi-colon; it works better for smie-auto-fill.
14196 (octave--indent-new-comment-line): New function.
14197 (octave-indent-new-comment-line): Use it (indirectly).
14198 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14199 modify comment-line-break-function.
14200
14201 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14202 (smie-setup): Use add-function to set it.
14203
14204 2013-05-24 Sam Steingold <sds@gnu.org>
14205
14206 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14207 argument (before the `interactive' argument).
14208
14209 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14210
14211 * image-mode.el (image-mode-winprops): Add winprops to
14212 image-mode-winprops-alist before running
14213 image-mode-new-window-functions.
14214 * doc-view.el (doc-view-new-window-function): Don't delay
14215 doc-view-goto-page via timers (bug#14435).
14216
14217 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14218
14219 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14220 (doc-view-desktop-save-buffer): New function.
14221 (doc-view-restore-desktop-buffer): New function.
14222 (desktop-buffer-mode-handlers):
14223 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14224 handler.
14225 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14226 `desktop-save-buffer' function.
14227
14228 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14229
14230 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14231 (tramp-gvfs-file-name-handler): Raise a user error when
14232 `tramp-gvfs-enabled' is nil.
14233 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14234 Do not raise a user error when loading package. (Bug#14447)
14235
14236 * net/xesam.el: Move to obsolete/.
14237
14238 2013-05-24 Glenn Morris <rgm@gnu.org>
14239
14240 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14241
14242 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14243
14244 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14245 (Info-find-node, Man-getpage-in-background): Declare.
14246
14247 * mail/unrmail.el (unrmail):
14248 Replace obsolete detect-coding-with-priority.
14249
14250 * net/socks.el (socks-split-string): Use this rather than split-string.
14251 (socks-nslookup-host): Update for above change.
14252 (dynamic-choice, s5-dynamic-choice-match)
14253 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14254 Comment out unused code.
14255
14256 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14257 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14258 (gud-tooltip-echo-area): Make obsolete.
14259 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14260
14261 * progmodes/js.el (js--optimize-arglist): Declare.
14262
14263 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14264
14265 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14266 (ediff-window-C): Declare.
14267
14268 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14269 Tweak requires to silence compiler.
14270
14271 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14272 (he-search-string, he-tried-table, he-expand-list)
14273 (he-init-string, he-string-member, he-substitute-string)
14274 (he-reset-string): Declare.
14275
14276 * obsolete/options.el (list-options): Use custom-variable-p,
14277 rather than obsolete alias.
14278
14279 2013-05-23 Sam Steingold <sds@gnu.org>
14280
14281 * simple.el (shell-command-on-region): Pass the `replace' argument
14282 down to `call-process-region' to comply with the doc as reported on
14283 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14284
14285 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14286
14287 * emacs-lisp/smie.el (smie-indent-forward-token)
14288 (smie-indent-backward-token): Handle string tokens (bug#14381).
14289
14290 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14291
14292 * ielm.el (ielm-menu): New menu.
14293 (inferior-emacs-lisp-mode): Set comment-start.
14294
14295 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14296
14297 * textmodes/reftex.el (reftex-ref-style-toggle):
14298 Fix deactivate action.
14299
14300 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14301 Add cleveref macros.
14302
14303 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14304 Accept options for bibliography commands.
14305 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14306 Add addbibresource. Basic Biblatex support.
14307
14308 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14309
14310 * net/tramp-gvfs.el (top):
14311 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14312 when loading package. (Bug#14447)
14313
14314 2013-05-23 Glenn Morris <rgm@gnu.org>
14315
14316 * progmodes/js.el: No need to load comint when compiling.
14317 (ring-insert, comint-send-string, comint-send-input)
14318 (comint-last-input-end, ido-chop): Declare.
14319
14320 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14321 * vc/ediff-mult.el: Adjust requires.
14322 (ediff-directories-internal, ediff-directory-revisions-internal)
14323 (ediff-patch-file-internal): Declare.
14324 * vc/ediff-ptch.el: Adjust requires.
14325 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14326 (ediff-find-file): Autoload.
14327 * vc/ediff-util.el: No need to load ediff when compiling.
14328 (ediff-regions-internal): Declare.
14329 * vc/ediff-wind.el: Adjust requires.
14330 (ediff-compute-toolbar-width): Define when compiling.
14331 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14332 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14333 (dired-get-filename, dired-get-marked-files)
14334 (ediff-last-dir-patch, ediff-patch-default-directory)
14335 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14336 (ediff-patch-buffer-internal): Declare.
14337
14338 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14339 (ispell-process, ispell-buffer-local-words, lm-summary)
14340 (lm-section-start, lm-section-end): Declare.
14341 (checkdoc-ispell-init): Simplify.
14342
14343 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14344 (he-string-member, he-reset-string, he-substitute-string): Declare.
14345
14346 * eshell/em-ls.el: Adjust requires.
14347 (eshell-glob-regexp): Declare.
14348 * eshell/em-tramp.el: Adjust requires.
14349 (eshell-parse-command): Autoload.
14350 * eshell/em-xtra.el: Adjust requires.
14351 (eshell-parse-command): Autoload.
14352 * eshell/esh-ext.el: Adjust requires.
14353 (eshell-parse-command, eshell-close-handles): Autoload.
14354 * eshell/esh-io.el: Adjust requires.
14355 (eshell-output-filter): Autoload.
14356 * eshell/esh-util.el: No need to load tramp when compiling.
14357 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14358 Declare.
14359 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14360 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14361 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14362 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14363 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14364 * eshell/esh-opt.el, eshell/esh-proc.el:
14365 * eshell/esh-var.el: Adjust requires.
14366 * eshell/eshell.el: Do not require esh-util twice.
14367 (eshell-add-input-to-history): Declare.
14368 (eshell-command): Check history module is active before using it.
14369
14370 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14371
14372 2013-05-22 Leo Liu <sdl.web@gmail.com>
14373
14374 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14375
14376 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14377
14378 * autorevert.el (auto-revert-notify-add-watch)
14379 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14380 it indicates changes in file modification time.
14381
14382 2013-05-22 Glenn Morris <rgm@gnu.org>
14383
14384 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14385 Always delete the autoloaded function from the noruntime and
14386 unresolved functions lists.
14387
14388 * allout.el: No need to load epa, epg, overlay when compiling.
14389 (epg-context-set-passphrase-callback, epg-list-keys)
14390 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14391 (epg-key-user-id-list): Declare.
14392
14393 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14394 (viper-set-parsing-style-toggling-macro)
14395 (viper-set-emacs-state-searchstyle-macros):
14396 Use called-interactively-p on Emacs.
14397 (viper-looking-back): Make it an obsolete alias. Update callers.
14398 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14399 Use looking-back rather than viper-looking-back.
14400 (viper-tmp-insert-at-eob, viper-enlarge-region)
14401 (viper-read-string-with-history, viper-register-to-point)
14402 (viper-append-to-register, viper-change-state-to-vi)
14403 (viper-backward-char-carefully, viper-forward-char-carefully)
14404 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14405 (viper-change-state-to-emacs): Declare.
14406 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14407 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14408 * emulation/viper-mous.el: Do not load viper-cmd.
14409 (viper-backward-char-carefully, viper-forward-char-carefully)
14410 (viper-forward-word, viper-adjust-window): Declare.
14411
14412 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14413
14414 * progmodes/idlw-help.el (idlwave-help-fontify):
14415 Use called-interactively-p.
14416
14417 * term/w32console.el (w32-get-console-codepage)
14418 (w32-get-console-output-codepage): Declare.
14419
14420 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14421 Remove unnecessary declarations.
14422 (dframe-message): Doc fix.
14423
14424 * info.el (dframe-select-attached-frame, dframe-current-frame):
14425 Declare.
14426
14427 * speedbar.el (speedbar-message): Make it an obsolete alias.
14428 Update all callers.
14429 (speedbar-with-attached-buffer)
14430 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14431 (speedbar-with-writable): Use backquote.
14432 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14433 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14434 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14435 rather than speedbar- aliases.
14436 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14437 (speedbar-make-specialized-keymap, speedbar-insert-button)
14438 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14439 (speedbar-do-function-pointer): Declare.
14440 (rmail-speedbar-button, rmail-speedbar-find-file)
14441 (rmail-speedbar-move-message):
14442 Use dframe-with-attached-buffer rather than speedbar- alias.
14443 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14444 (dframe-message, speedbar-make-specialized-keymap)
14445 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14446 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14447 (speedbar-insert-button, dframe-select-attached-frame)
14448 (dframe-maybee-jump-to-attached-frame)
14449 (speedbar-change-initial-expansion-list)
14450 (speedbar-previously-used-expansion-list-name): Declare.
14451 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14452 Use dframe-message, dframe-with-attached-buffer rather than
14453 speedbar- aliases.
14454 (gud-sentinel): Silence compiler.
14455 * progmodes/vhdl-mode.el (speedbar-refresh)
14456 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14457 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14458 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14459 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14460 (speedbar-file-lists, speedbar-make-tag-line)
14461 (speedbar-line-directory, speedbar-goto-this-file)
14462 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14463 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14464 (speedbar-make-button, speedbar-reset-scanners)
14465 (speedbar-files-item-info, speedbar-line-text)
14466 (speedbar-find-file-in-frame, speedbar-set-timer)
14467 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14468 (speedbar-with-writable): Do not (re)define it.
14469 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14470 rather than speedbar- alias.
14471
14472 2013-05-21 Leo Liu <sdl.web@gmail.com>
14473
14474 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14475 menu items.
14476 (octave-mode): Tweak fill-nobreak-predicate.
14477 (inferior-octave-startup): Check process to avoid infinite loop.
14478 (inferior-octave): Pop to buffer first to show abornmal process
14479 exit information.
14480
14481 2013-05-21 Glenn Morris <rgm@gnu.org>
14482
14483 * printing.el (pr-menu-bar): Define when compiling.
14484
14485 2013-05-21 Leo Liu <sdl.web@gmail.com>
14486
14487 * progmodes/octave.el (octave-auto-fill): Remove.
14488 (octave-indent-new-comment-line): Improve.
14489 (octave-mode): Use auto fill mode through
14490 comment-line-break-function and fill-nobreak-predicate.
14491 (octave-goto-function-definition): Support DEFUN_DLD.
14492 (octave-beginning-of-defun): Small tweak.
14493 (octave-help): Show parent directory.
14494
14495 2013-05-21 Glenn Morris <rgm@gnu.org>
14496
14497 * files.el (dired-unmark):
14498 * progmodes/gud.el (gdb-input): Update declarations.
14499
14500 * calculator.el (electric, ehelp): No need to load when compiling.
14501 (Electric-command-loop, electric-describe-mode): Declare.
14502
14503 * doc-view.el (doc-view-current-converter-processes): Move before use.
14504
14505 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14506 Move MODE-set-explicitly definition before use.
14507
14508 * international/mule-diag.el (mule-diag):
14509 Don't use obsolete window-system-version.
14510
14511 * mail/feedmail.el (smtpmail): No need to load when compiling.
14512 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14513
14514 * mail/mail-utils.el (rfc822): No need to load when compiling.
14515 (rfc822-addresses): Autoload it.
14516 (mail-strip-quoted-names): Trivial simplification.
14517
14518 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14519 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14520
14521 * net/snmp-mode.el (tempo): Don't duplicate requires.
14522
14523 * progmodes/prolog.el (info): No need to load when compiling.
14524 (comint): Require before shell requires it.
14525 (Info-goto-node): Autoload it.
14526 (Info-follow-nearest-node): Declare.
14527 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14528
14529 * textmodes/artist.el (picture-mode-exit): Declare.
14530
14531 * textmodes/reftex-parse.el (reftex-parse-from-file):
14532 Trivial rewrite so the compiler can parse it better.
14533
14534 2013-05-20 Leo Liu <sdl.web@gmail.com>
14535
14536 * progmodes/octave.el (octave-help-mode-map)
14537 (octave-help-mode-finish-hook): New variables.
14538 (octave-help-mode, octave-help-mode-finish): New functions.
14539 (octave-help): Use octave-help-mode.
14540
14541 2013-05-20 Glenn Morris <rgm@gnu.org>
14542
14543 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14544
14545 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14546
14547 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14548 start at point, so that expansion starting right after opening
14549 slash in a regexp is recognized.
14550 (ruby-syntax-before-regexp-re): New defvar, extracted from
14551 ruby-syntax-propertize-function. Since the value of this regexp
14552 is looked up at runtime now, we should be able to turn
14553 `ruby-syntax-methods-before-regexp' into a defcustom later.
14554 (ruby-syntax-propertize-function): Split regexp matching into two
14555 parts, for opening and closing slashes. That allows us to skip
14556 over string interpolations and support multiline regexps.
14557 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14558 for them, which calls `ruby-syntax-propertize-expansion'.
14559 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14560 call to `ruby-syntax-propertize-function'.
14561 (ruby-syntax-propertize-expansion): Extracted from
14562 `ruby-syntax-propertize-expansions'. Handles one expansion.
14563 (ruby-syntax-propertize-percent-literal): Leave point right after
14564 the percent symbol, so that the expression expansion rule can
14565 propertize the contents.
14566 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14567 heredoc openers.
14568 (ruby-syntax-propertize-expansions): Remove.
14569
14570 2013-05-18 Juri Linkov <juri@jurta.org>
14571
14572 * man.el (Man-default-man-entry): Remove `-' from the end
14573 of the default value. (Bug#14400)
14574
14575 2013-05-18 Glenn Morris <rgm@gnu.org>
14576
14577 * comint.el (comint-password-prompt-regexp):
14578 Allow "password for XXX" where XXX contains colons (eg https://...).
14579
14580 2013-05-18 Leo Liu <sdl.web@gmail.com>
14581
14582 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14583 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14584 (octave-source-directories): Don't check process.
14585 (octave-source-directories, octave-find-definition): Doc fix.
14586
14587 2013-05-18 Glenn Morris <rgm@gnu.org>
14588
14589 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14590 Remove backspace/delete bindings. (Bug#14392)
14591
14592 * cus-dep.el (custom-make-dependencies): Sort the output.
14593 (custom-versions-load-alist): Convert comment to doc.
14594
14595 2013-05-17 Leo Liu <sdl.web@gmail.com>
14596
14597 * newcomment.el (comment-search-backward): Stricter in finding
14598 comment start. (Bug#14303)
14599
14600 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14601 (octave-comment-start-skip): Properly anchored.
14602
14603 2013-05-17 Leo Liu <sdl.web@gmail.com>
14604
14605 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14606 Clean up when turned off. (Bug#14395)
14607 (smie--highlight-matching-block-overlay): No longer buffer-local.
14608 (smie-highlight-matching-block): Adjust.
14609
14610 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14611
14612 Doc string fix for "nanoseconds" (Bug#14406).
14613 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14614 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14615
14616 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14617
14618 * calc/calc-units.el (math-extract-units): Preserve powers
14619 of units.
14620
14621 2013-05-17 Leo Liu <sdl.web@gmail.com>
14622
14623 * subr.el (delete-consecutive-dups): New function.
14624 * ido.el (ido-set-matches-1): Use it.
14625 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14626 * ido.el (ido-remove-consecutive-dups): Remove.
14627
14628 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14629
14630 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14631 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14632 regexp-opt's `words'.
14633
14634 2013-05-16 Leo Liu <sdl.web@gmail.com>
14635
14636 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14637 (smie--highlight-matching-block-overlay)
14638 (smie--highlight-matching-block-lastpos)
14639 (smie--highlight-matching-block-timer): New variables.
14640 (smie-highlight-matching-block): New function.
14641 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14642 (smie-setup): Conditionally enable smie-blink-matching-open.
14643
14644 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14645
14646 Sync with upstream verilog-mode r840.
14647 * progmodes/verilog-mode.el (verilog-mode-version)
14648 (verilog-mode-release-date): Update.
14649 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14650 (verilog-sig-tieoff): Fix string error on
14651 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14652 (verilog-read-decls): Fix parameters confusing
14653 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14654
14655 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14656
14657 * subr.el (reveal-filename): New function.
14658
14659 * loadup.el: Compute Emacs executable versions on MS-Windows,
14660 where executables have the .exe extension. Add a hard link
14661 emacs-XX.YY.ZZ.exe on MS-Windows.
14662
14663 * Makefile.in (XARGS_LIMIT): New variable.
14664 (custom-deps, finder-data, autoloads)
14665 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14666 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14667 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14668 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14669
14670 2013-05-16 Leo Liu <sdl.web@gmail.com>
14671
14672 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14673 (octave-mode-menu, octave-mode-map): Remove its uses.
14674
14675 2013-05-16 Reto Zimmermann <reto@gnu.org>
14676
14677 Sync with upstream vhdl mode v3.34.2.
14678 * progmodes/vhdl-mode.el: Use `push' throughout.
14679 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14680 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14681 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14682 (vhdl-actual-generic-name): New option to derive actual generic name.
14683 (vhdl-port-paste-signals): Replace formal by actual generics.
14684 (vhdl-beautify): New name for old group vhdl-align. Update users.
14685 (vhdl-beautify-options): New option.
14686 (vhdl-last-input-event): New compat alias. Use throughout.
14687 (vhdl-goto-line): Replace user level function `goto-line'.
14688 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14689 vhdl-fix-statement-buffer.
14690 (vhdl-create-mode-menu): Add some entries.
14691 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14692 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14693 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14694 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14695 to force statements on one line.
14696 (vhdl-remove-trailing-spaces-region):
14697 New, split from vhdl-remove-trailing-spaces.
14698 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14699 Respect vhdl-beautify-options.
14700 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14701 (vhdl-update-sensitivity-list): Not add with index if exists without.
14702 Not include array index with signal. Ignore keywords in comments.
14703 (vhdl-get-visible-signals): Regexp tweaks.
14704 (vhdl-template-component-inst): Handle empty library.
14705 (vhdl-template-type): Add template for 'enum' type.
14706 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14707 Use vhdl-replace-string.
14708 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14709 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14710 (vhdl-speedbar-initialize): Update for above name change.
14711 (vhdl-compose-wire-components): Fix in handling of constants.
14712 (vhdl-error-regexp-emacs-alist): New variable.
14713 (vhdl-error-regexp-add-emacs): New function;
14714 adds support for new compile.el (Emacs 22+)
14715 (vhdl-generate-makefile-1): Change target order for single lib. units.
14716 Allow use of absolute file names.
14717
14718 2013-05-16 Leo Liu <sdl.web@gmail.com>
14719
14720 * simple.el (prog-indent-sexp): Indent enclosing defun.
14721
14722 2013-05-15 Glenn Morris <rgm@gnu.org>
14723
14724 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14725 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14726 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14727 (whitespace-highlight): Move to whitespace group.
14728
14729 * comint.el (comint-source):
14730 * pcmpl-linux.el (pcmpl-linux):
14731 * shell.el (shell-faces):
14732 * eshell/esh-opt.el (eshell-opt):
14733 * international/ccl.el (ccl): Remove empty custom groups.
14734
14735 * completion.el (dynamic-completion-mode):
14736 * jit-lock.el (jit-lock-debug-mode):
14737 * minibuffer.el (completion-in-region-mode):
14738 * type-break.el (type-break-mode-line-message-mode)
14739 (type-break-query-mode):
14740 * emulation/tpu-edt.el (tpu-edt-mode):
14741 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14742 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14743 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14744
14745 * term/xterm.el (xterm): Change parent group to terminals.
14746
14747 * master.el (master): Remove empty custom group.
14748 (master-mode): Remove unused :group argument.
14749 * textmodes/refill.el (refill): Remove empty custom group.
14750 (refill-mode): Remove unused :group argument.
14751
14752 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14753
14754 * cus-dep.el: Provide a feature.
14755 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14756 Don't mistakenly ignore files whose basenames match a basename
14757 from preloaded-file-list (eg cedet/ede/simple.el).
14758 Add a fallback method for getting :group.
14759
14760 2013-05-15 Juri Linkov <juri@jurta.org>
14761
14762 * isearch.el (isearch-char-by-name): Rename from
14763 `isearch-insert-char-by-name'. Doc fix.
14764 (isearch-forward): Mention `isearch-char-by-name' in
14765 the docstring. (Bug#13348)
14766
14767 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14768 `exit-minibuffer' instead of
14769 `isearch-nonincremental-exit-minibuffer'.
14770 (isearch-edit-string): Remove mention of
14771 `isearch-nonincremental-exit-minibuffer' from docstring.
14772 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14773 (isearch-forward-exit-minibuffer)
14774 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14775
14776 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14777
14778 * loadup.el: Just use unversioned DOC.
14779
14780 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14781 literals as extending to EOB.
14782 (nxml-last-fontify-end): Remove unused variable.
14783 (nxml-after-change1): Use with-silent-modifications.
14784 (nxml-extend-after-change-region): Simplify.
14785 (nxml-extend-after-change-region1): Remove function.
14786 (nxml-after-change1): Don't adjust for dependent regions.
14787 (nxml-fontify-matcher): Simplify.
14788 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14789 (xmltok-add-dependent): Remove function.
14790 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14791 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14792 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14793 unclosed <[[, <?, comment, and other literals as extending to EOB.
14794 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14795 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14796 Remove functions.
14797 (rng-do-some-validation-1): Don't mark dependent regions.
14798 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14799 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14800 (nxml-clear-dependent-regions): Remove functions.
14801 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14802 (nxml-ensure-scan-up-to-date):
14803 Don't clear&mark dependent regions.
14804
14805 2013-05-15 Leo Liu <sdl.web@gmail.com>
14806
14807 * progmodes/octave.el (octave-goto-function-definition):
14808 Improve and fix callers.
14809
14810 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14811
14812 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14813 the setter (bug#14387).
14814
14815 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14816 surrounding group (bug#14402).
14817
14818 2013-05-14 Juri Linkov <juri@jurta.org>
14819
14820 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14821 (Bug#14390)
14822
14823 2013-05-14 Glenn Morris <rgm@gnu.org>
14824
14825 * progmodes/f90.el (f90-imenu-generic-expression):
14826 Fix typo in 2013-05-08 change. (Bug#14402)
14827
14828 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14829
14830 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14831 Remove signals for which replies are never received.
14832
14833 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14834
14835 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14836 (gdb-handler-alist, gdb-handler-number): Remove variables.
14837 (gdb-handler-list): New variable.
14838 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14839 (gdb-pending-handler-p, gdb-handle-reply)
14840 (gdb-remove-all-pending-triggers): New functions.
14841 (gdb-discard-unordered-replies): New defcustom.
14842 (gdb-handler): New defstruct.
14843 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14844 instead of gdb-pending-triggers. Update docstring.
14845 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14846 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14847 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14848 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14849 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14850 (gdb-frame-handler): Pending triggers are now automatically managed.
14851 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14852 Remove argument.
14853 (gdb-input): Automatically handles pending triggers. Update docstring.
14854 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14855 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14856 Update comments.
14857 (gdb-done-or-error): Now use gdb-handle-reply.
14858
14859 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14860
14861 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14862 gdb-debug-log.
14863
14864 2013-05-14 Glenn Morris <rgm@gnu.org>
14865
14866 * subr.el (user-emacs-directory-warning): New option.
14867 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14868
14869 2013-05-14 Leo Liu <sdl.web@gmail.com>
14870
14871 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14872 during redisplay.
14873 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14874 (octave-font-lock-texinfo-comment): Fix invalid search bound
14875 error: wrong side of point.
14876
14877 2013-05-14 Glenn Morris <rgm@gnu.org>
14878
14879 * progmodes/flymake.el (flymake-xml-program): New option.
14880 (flymake-xml-init): Use it.
14881
14882 * term/xterm.el: Provide a feature.
14883
14884 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14885
14886 2013-05-13 Glenn Morris <rgm@gnu.org>
14887
14888 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14889 Add compat aliases as a hack workaround. (Bug#14384)
14890
14891 2013-05-13 Leo Liu <sdl.web@gmail.com>
14892
14893 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14894 ###, and %!.
14895 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14896 C-M-q.
14897 (octave-comment-start-skip): Include %!.
14898 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14899
14900 2013-05-12 Leo Liu <sdl.web@gmail.com>
14901
14902 * progmodes/octave.el (inferior-octave-startup): Store the value
14903 of __octave_srcdir__ for octave-source-directories.
14904 (inferior-octave-check-process): New function refactored out of
14905 inferior-octave-send-list-and-digest.
14906 (octave-source-directories)
14907 (octave-find-definition-filename-function): New variables.
14908 (octave-source-directories)
14909 (octave-find-definition-default-filename): New functions.
14910 (octave-find-definition): Improve to find functions implemented in C++.
14911
14912 2013-05-12 Glenn Morris <rgm@gnu.org>
14913
14914 * calendar/diary-lib.el (diary-outlook-format-1):
14915 Don't include dayname in the output. (Bug#14349)
14916
14917 2013-05-11 Glenn Morris <rgm@gnu.org>
14918
14919 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14920
14921 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14922 Treat cc-provide like provide.
14923
14924 2013-05-11 Kevin Ryde <user42@zip.com.au>
14925
14926 * cus-dep.el (custom-make-dependencies):
14927 Use generated-autoload-load-name for the sake of files such
14928 such cedet/semantic/bovine/c.el, where the base file name
14929 is not in load-path. (Bug#5277)
14930
14931 2013-05-11 Glenn Morris <rgm@gnu.org>
14932
14933 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14934 Provide features.
14935
14936 2013-05-11 Leo Liu <sdl.web@gmail.com>
14937
14938 * progmodes/octave.el (octave-indent-comment): Improve.
14939 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14940 (octave-eldoc-function-signatures, octave-eldoc-function):
14941 New functions.
14942 (octave-mode, inferior-octave-mode): Add eldoc support.
14943
14944 2013-05-11 Richard Stallman <rms@gnu.org>
14945
14946 * epa.el (epa-decrypt-file): Take output file name as argument
14947 and read it using `interactive'.
14948
14949 2013-05-11 Leo Liu <sdl.web@gmail.com>
14950
14951 * progmodes/octave.el (octave-beginning-of-line)
14952 (octave-end-of-line): Check before using up-list because it jumps
14953 out of more syntactic contructs since moving to smie.
14954 (octave-indent-comment): New function.
14955 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14956 (octave-begin-keywords, octave-end-keywords)
14957 (octave-reserved-words, octave-smie-bnf-table)
14958 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14959
14960 2013-05-11 Glenn Morris <rgm@gnu.org>
14961
14962 * faces.el (internal-face-x-get-resource):
14963 * frame.el (ns-display-monitor-attributes-list):
14964 * calc/calc-aent.el (math-to-radians-2):
14965 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14966 Fix declarations.
14967
14968 * calc/calc-menu.el: Make it loadable in isolation.
14969
14970 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14971 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14972 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14973 (eudc-bbdb-query-internal): Require 'bbdb.
14974
14975 * lpr.el (lpr-headers-switches):
14976 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14977
14978 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14979
14980 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14981
14982 * term.el (term-set-escape-char): Make it idempotent.
14983
14984 2013-05-10 Leo Liu <sdl.web@gmail.com>
14985
14986 * progmodes/octave.el (inferior-octave-completion-table):
14987 No longer a function and all uses changed. Use cache to speed up
14988 completion due to bug#11906.
14989 (octave-beginning-of-defun): Re-write to be more general.
14990
14991 2013-05-10 Glenn Morris <rgm@gnu.org>
14992
14993 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14994
14995 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14996
14997 * comint.el (comint-redirect-send-command-to-process): Use :around
14998 rather than :override for comint-redirect-filter.
14999 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15000 Call it instead of comint-redirect-original-filter-function (which
15001 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15002
15003 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15004
15005 * frame.el (display-monitor-attributes-list): Add NS case.
15006 (ns-display-monitor-attributes-list): Declare.
15007
15008 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15009
15010 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15011
15012 2013-05-09 Glenn Morris <rgm@gnu.org>
15013
15014 * international/fontset.el (vertical-centering-font-regexp):
15015 Set standard-value.
15016
15017 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15018
15019 * bookmark.el (bookmark-search-delay):
15020 * cus-start.el (vertical-centering-font-regexp):
15021 * ps-mule.el (ps-mule-font-info-database-default):
15022 * ps-print.el (ps-default-fg, ps-default-bg):
15023 * type-break.el (type-break-good-break-interval):
15024 * whitespace.el (whitespace-indentation-regexp)
15025 (whitespace-space-after-tab-regexp):
15026 * emacs-lisp/testcover.el (testcover-1value-functions)
15027 (testcover-noreturn-functions, testcover-progn-functions)
15028 (testcover-prog1-functions):
15029 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15030 * eshell/em-glob.el (eshell-glob-translate-alist):
15031 * play/tetris.el (tetris-tty-colors):
15032 * progmodes/cpp.el (cpp-face-default-list):
15033 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15034 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15035 (idlwave-help-browser-generic-args):
15036 * progmodes/make-mode.el (makefile-special-targets-list):
15037 * progmodes/python.el (python-shell-virtualenv-path):
15038 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15039 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15040 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15041 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15042 * textmodes/reftex-vars.el (reftex-format-label-function):
15043 * textmodes/remember.el (remember-diary-file): Fix custom types.
15044
15045 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15046 Add :version.
15047
15048 2013-05-09 Leo Liu <sdl.web@gmail.com>
15049
15050 * progmodes/octave.el (inferior-octave-completion-at-point):
15051 Restore file completion. (Bug#14300)
15052 (inferior-octave-startup): Fix incorrect highlighting for the
15053 first prompt.
15054
15055 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15056
15057 * progmodes/ruby-mode.el: First cut at SMIE support.
15058 (ruby-use-smie): New var.
15059 (ruby-smie-grammar): New constant.
15060 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15061 (ruby-smie--forward-token, ruby-smie--backward-token)
15062 (ruby-smie-rules): New functions.
15063 (ruby-mode-variables): Setup SMIE if applicable.
15064
15065 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15066
15067 * simple.el (line-move-visual): Signal beginning/end of buffer
15068 only if vertical-motion moved less than it was requested. Avoids
15069 silly incorrect error messages when there are display strings with
15070 multiple newlines at EOL.
15071
15072 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15073
15074 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15075 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15076 (prolog-char-quote-workaround):
15077 * progmodes/cperl-mode.el (cperl-under-as-char):
15078 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15079 Mark as obsolete.
15080 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15081 their declaration.
15082 (vhdl-mode-syntax-table-init): Remove.
15083
15084 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15085 last change.
15086
15087 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15088 syntax for "_".
15089 (ld-script-font-lock-keywords):
15090 Change regexps to use things like \_< and \_>.
15091
15092 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15093 Change all regexps to use things like \_< and \_>.
15094
15095 * progmodes/autoconf.el (autoconf-definition-regexp)
15096 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15097 Handle a _ with symbol syntax.
15098 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15099
15100 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15101 Consolidate declaration.
15102 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15103 the declaration.
15104 (ada-create-syntax-table): Remove.
15105 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15106 already has the right syntax nowadays.
15107 (ada-goto-next-word): Don't change the syntax of "_".
15108
15109 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15110 with-wrapper-hook.
15111
15112 2013-05-08 Sam Steingold <sds@gnu.org>
15113
15114 * thingatpt.el (thing-at-point): Accept optional second argument
15115 NO-PROPERTIES to strip the text properties from the return value.
15116 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15117 to `thing-at-point' instead of stripping the properties ourselves.
15118 Also, when `thing-at-point' fails to find a url, prepend "http://"
15119 to the filename at point on the assumption that the user is
15120 pointing at something like gnu.org/gnu.
15121
15122 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15123
15124 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15125 * faces.el (crm-separator):
15126 Silence byte-compiler.
15127
15128 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15129 (tool-bar-map): Remove unneeded defvars.
15130
15131 2013-05-08 Leo Liu <sdl.web@gmail.com>
15132
15133 Re-work a fix for bug#10994 based on Le Wang's patch.
15134 * ido.el (ido-remove-consecutive-dups): New helper.
15135 (ido-completing-read): Use it.
15136 (ido-chop): Revert fix for bug#10994.
15137
15138 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15139
15140 * cus-edit.el (custom-save-variables):
15141 Pretty-print long values. (Bug#14187)
15142
15143 2013-05-08 Glenn Morris <rgm@gnu.org>
15144
15145 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15146 (m4-mode-syntax-table): Init in the defvar.
15147 (m4-mode-abbrev-table): Let define-derived-mode define it.
15148
15149 2013-05-08 Tom Tromey <tromey@redhat.com>
15150
15151 * progmodes/m4-mode.el (m4-mode-syntax-table):
15152 Do not treat "_" as word constituent. (Bug#14167)
15153
15154 2013-05-07 Glenn Morris <rgm@gnu.org>
15155
15156 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15157 Remove explicit eshell-isearch-cancel-map.
15158
15159 * progmodes/f90.el (f90-smart-end-names): New option.
15160 (f90-smart-end): Doc fix.
15161 (f90-end-block-optional-name): New constant.
15162 (f90-block-match): Respect f90-smart-end-names.
15163
15164 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15165
15166 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15167 about implicit semi-colons (bug#14218).
15168
15169 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15170
15171 * frame.el (display-monitor-attributes-list)
15172 (frame-monitor-attributes): New functions.
15173
15174 2013-05-06 Leo Liu <sdl.web@gmail.com>
15175
15176 * progmodes/octave.el (octave-syntax-propertize-function): Change
15177 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15178 (octave-font-lock-keywords): Use octave-operator-regexp.
15179 (octave-completion-at-point): Rename from
15180 octave-completion-at-point-function.
15181 (inferior-octave-directory-tracker): Robustify.
15182 (octave-text-functions): Remove and fix its uses. No such things
15183 any more.
15184
15185 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * emacs-lisp/trace.el (trace--display-buffer): New function.
15188 (trace-make-advice): Use it.
15189
15190 2013-05-06 Juri Linkov <juri@jurta.org>
15191
15192 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15193 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15194 Doc fix.
15195 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15196 in the help string. (Bug#12985)
15197
15198 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15199
15200 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15201
15202 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15203
15204 * progmodes/perl-mode.el: Add support for here documents.
15205 (perl-syntax-propertize-function): Match here-doc markers.
15206 (perl-syntax-propertize-special-constructs): Find their end.
15207 (perl-imenu-generic-expression): Use [:alnum:].
15208
15209 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15210 (advice--add-function): Refresh the advice if already present
15211 (bug#14317).
15212
15213 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15214
15215 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15216
15217 2013-05-06 Glenn Morris <rgm@gnu.org>
15218
15219 * w32-fns.el (w32-charset-info-alist): Declare.
15220
15221 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15222 of its defcustom properties.
15223 (eshell-cmpl-initialize): No need to load pcomplete.
15224
15225 * generic-x.el: No need to require comint when compiling.
15226
15227 * net/eudc-export.el: Make it loadable without bbdb.
15228 (top-level): Use require rather than load-library.
15229 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15230 (eudc-batch-export-records-to-bbdb)
15231 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15232 Require bbdb.
15233
15234 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15235
15236 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15237 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15238 some tweaks, instead.
15239
15240 2013-05-05 Leo Liu <sdl.web@gmail.com>
15241
15242 * progmodes/octave.el (octave-font-lock-keywords)
15243 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15244 (inferior-octave-send-list-and-digest): Improve error message.
15245 (octave-mode, inferior-octave-mode): Use setq-local.
15246 (octave-help): Set info-lookup-mode.
15247
15248 2013-05-05 Richard Stallman <rms@gnu.org>
15249
15250 * vc/compare-w.el (compare-windows-whitespace):
15251 Treat no-break space as whitespace.
15252
15253 * mail/rmailsum.el (rmail-summary-rmail-update):
15254 Detect empty summary and don't change selected message.
15255 (rmail-summary-goto-msg): Likewise.
15256
15257 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15258 Doc fixes, rename args.
15259
15260 2013-05-05 Alan Mackenzie <acm@muc.de>
15261
15262 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15263
15264 2013-05-05 Juri Linkov <juri@jurta.org>
15265
15266 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15267 to not add the length of the summary segment to the return value.
15268 (Bug#14125)
15269
15270 2013-05-05 Leo Liu <sdl.web@gmail.com>
15271
15272 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15273 (inferior-octave-output-filter): Remove.
15274 (octave-send-region, inferior-octave-startup): Fix callers.
15275 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15276 (octave-binary-file-extensions): New user variable.
15277 (octave-find-definition): Confirm if opening binary files.
15278 (octave-help-file): Use octave-find-definition to get the binary
15279 confirmation.
15280 (octave-help): Adjust for octave-help-file change.
15281
15282 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15283
15284 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15285 Merge the two entries that handle function definitions.
15286 (pascal--syntax-propertize): New const.
15287 (pascal-mode): Use it. Use setq-local.
15288
15289 2013-05-04 Glenn Morris <rgm@gnu.org>
15290
15291 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15292 (diary-from-outlook): Respect diary-from-outlook-function.
15293
15294 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15297 Move the declaration from C.
15298 (read-minibuffer, eval-minibuffer): Move from C.
15299 (completion-setup-function): Avoid minibuffer-completion-contents.
15300
15301 2013-05-03 Leo Liu <sdl.web@gmail.com>
15302
15303 * progmodes/octave.el (octave-font-lock-keywords): Do not
15304 dehighlight 'end' in comments or strings.
15305 (octave-completing-read, octave-goto-function-definition):
15306 New helpers.
15307 (octave-help-buffer): New user variable.
15308 (octave-help-file, octave-help-function): New button types.
15309 (octave-help): New command and bind it to C-h ;.
15310 (octave-find-definition): New command and bind it to M-.
15311 (user-error): Alias to error if not defined.
15312
15313 2013-05-02 Leo Liu <sdl.web@gmail.com>
15314
15315 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15316 for \. (bug#14332)
15317 (octave-font-lock-keywords): Include [ and {.
15318
15319 2013-05-02 Leo Liu <sdl.web@gmail.com>
15320
15321 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15322 (inferior-octave): Remove calling comint-mode and return the buffer.
15323 (inferior-octave-startup): Cosmetic changes.
15324
15325 2013-05-02 Leo Liu <sdl.web@gmail.com>
15326
15327 * progmodes/octave.el (octave-syntax-propertize-function):
15328 Include the case when ' is at line beginning. (Bug#14336)
15329
15330 2013-05-02 Glenn Morris <rgm@gnu.org>
15331
15332 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15333 * desktop.el (vc-dir-mode): Just autoload it here.
15334
15335 2013-05-02 Alan Mackenzie <acm@muc.de>
15336
15337 Eliminate variable c-standard-font-lock-fontify-region-function.
15338 * progmodes/cc-mode.el
15339 (c-standard-font-lock-fontify-region-function): Remove.
15340 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15341
15342 2013-05-01 Leo Liu <sdl.web@gmail.com>
15343
15344 * progmodes/octave.el: Compatible with older emacs-24 releases.
15345 (inferior-octave-has-built-in-variables): Remove. Built-in
15346 variables were removed from Octave in 2007.
15347 (inferior-octave-startup): Fix uses.
15348 (comint-line-beginning-position): Remove compatibility code for
15349 emacs 21.
15350
15351 2013-05-01 Juri Linkov <juri@jurta.org>
15352
15353 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15354
15355 2013-05-01 Juri Linkov <juri@jurta.org>
15356
15357 * comint.el (comint-previous-matching-input): Don't print message
15358 "History item: %d" when `isearch-mode' is active.
15359 (comint-history-isearch-message): Print message "History item: %d"
15360 when `comint-input-ring-index' is not empty and this function is
15361 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15362
15363 2013-05-01 Leo Liu <sdl.web@gmail.com>
15364
15365 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15366 definitions. Use completion-at-point to insert keywords.
15367 (octave-abbrev-start): Remove.
15368 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15369
15370 2013-04-30 Leo Liu <sdl.web@gmail.com>
15371
15372 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15373 change.
15374
15375 2013-04-30 Alan Mackenzie <acm@muc.de>
15376
15377 Handle arbitrarily long C++ member initialisation lists.
15378 * progmodes/cc-engine.el (c-back-over-member-initializers):
15379 new function.
15380 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15381 (most) member init lists.
15382
15383 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15384
15385 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15386 variable.
15387
15388 2013-04-30 Leo Liu <sdl.web@gmail.com>
15389
15390 * progmodes/octave.el (octave-variables): Remove. No builtin
15391 variables any more. All converted to functions.
15392 (octave-font-lock-keywords, octave-completion-at-point-function):
15393 Fix uses.
15394 (octave-font-lock-texinfo-comment): New user variable.
15395 (octave-texinfo-font-lock-keywords): New variable for texinfo
15396 comment block.
15397 (octave-function-comment-block): New face.
15398 (octave-font-lock-texinfo-comment): New function.
15399 (octave-mode): Font lock texinfo comment block.
15400
15401 2013-04-29 Leo Liu <sdl.web@gmail.com>
15402
15403 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15404 indexing expression.
15405 (octave-continuation-string): Do not use \.
15406 (inferior-octave-complete-impossible): Remove.
15407 (inferior-octave-completion-table)
15408 (inferior-octave-completion-at-point): Remove its uses.
15409 (inferior-octave-startup): completion_matches was introduced to
15410 Octave in 1996 so safe to assume it.
15411 (octave-function-file-comment): Improve to follow how Octave does it.
15412 (octave-update-function-file-comment): Tweak.
15413
15414 2013-04-29 Leo Liu <sdl.web@gmail.com>
15415
15416 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15417 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15418 (octave-function-file-comment): Fix typo.
15419 (octave-sync-function-file-names): Use read-char-choice.
15420
15421 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15422
15423 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15424 to t for the less important warnings.
15425
15426 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15427
15428 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15429
15430 2013-04-27 Glenn Morris <rgm@gnu.org>
15431
15432 * vc/log-view.el (log-view-current-entry):
15433 Treat "---" separator lines as part of the following rev. (Bug#14169)
15434
15435 2013-04-27 Juri Linkov <juri@jurta.org>
15436
15437 * subr.el (read-number): Doc fix about using it by interactive
15438 code letter `n'. (Bug#14254)
15439
15440 2013-04-27 Juri Linkov <juri@jurta.org>
15441
15442 * desktop.el (desktop-auto-save-timeout): New option.
15443 (desktop-file-checksum): New variable.
15444 (desktop-save): Add optional arg `auto-save' and don't auto-save
15445 if nothing changed.
15446 (desktop-auto-save-timer): New variable.
15447 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15448 (after-init-hook): Call `desktop-auto-save-set-timer'.
15449 Suggested by Reuben Thomas <rrt@sc3d.org> in
15450 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15451
15452 2013-04-27 Leo Liu <sdl.web@gmail.com>
15453
15454 * progmodes/octave.el (octave-function-file-p)
15455 (octave-skip-comment-forward, octave-function-file-comment)
15456 (octave-update-function-file-comment): New functions.
15457 (octave-mode-map): Bind C-c ; to
15458 octave-update-function-file-comment.
15459 (octave-mode-menu): Add octave-update-function-file-comment.
15460 (octave-mode, inferior-octave-mode): Fix doc-string.
15461 (octave-insert-defun): Conform to Octave's coding convention.
15462 (Bug#14285)
15463
15464 * files.el (basic-save-buffer): Don't let errors in
15465 before-save-hook prevent saving buffer.
15466
15467 2013-04-20 Roland Winkler <winkler@gnu.org>
15468
15469 * faces.el (read-face-name): Use completing-read if arg multiple
15470 is nil.
15471
15472 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15473
15474 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15475 displayed, move point to after the totals line.
15476 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15477 for the details.
15478
15479 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15482 Add current dir to the load-path.
15483 (package-generate-autoloads): Don't rely on
15484 autoload-ensure-default-file.
15485
15486 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15487
15488 * textmodes/remember.el (remember-store-in-files): Document that
15489 the file name format is passed to `format-time-string'.
15490
15491 2013-04-26 Leo Liu <sdl.web@gmail.com>
15492
15493 * progmodes/octave.el (octave-sync-function-file-names): New function.
15494 (octave-mode): Use it in before-save-hook.
15495
15496 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15499 (bug#14274).
15500
15501 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15502 \n and comment, even if it's not an implicit ; (bug#14218).
15503
15504 2013-04-26 Glenn Morris <rgm@gnu.org>
15505
15506 * subr.el (read-number): Once more use `read' rather than
15507 `string-to-number', to trap non-numeric input. (Bug#14254)
15508
15509 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15510
15511 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15512 Use `syntax-multiline' text property consistently instead of
15513 `font-lock-multiline'. (Bug#14237)
15514
15515 2013-04-26 Glenn Morris <rgm@gnu.org>
15516
15517 * emacs-lisp/shadow.el (list-load-path-shadows):
15518 No longer necessary to check for duplicate simple.el, since
15519 2012-07-07 change to init_lread to not include installation lisp
15520 directories in load-path when running uninstalled. (Bug#14270)
15521
15522 2013-04-26 Leo Liu <sdl.web@gmail.com>
15523
15524 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15525 (octave-mode, inferior-octave-mode): Use setq-local.
15526 (octave-not-in-string-or-comment-p): Rename to
15527 octave-in-string-or-comment-p.
15528 (octave-in-comment-p, octave-in-string-p)
15529 (octave-in-string-or-comment-p): Replace defsubst with defun.
15530
15531 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15532
15533 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15534
15535 2013-04-25 Bastien Guerry <bzg@gnu.org>
15536
15537 * textmodes/remember.el (remember-data-directory)
15538 (remember-directory-file-name-format): Fix custom types.
15539
15540 2013-04-25 Leo Liu <sdl.web@gmail.com>
15541
15542 * progmodes/octave.el (octave-completion-at-point-function):
15543 Make use of inferior octave process.
15544 (octave-initialize-completions): Remove.
15545 (inferior-octave-completion-table): New function.
15546 (inferior-octave-completion-at-point): Use it.
15547 (octave-completion-alist): Remove.
15548
15549 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15552 (opascal-mode-syntax-table): New var.
15553 (opascal-literal-kind, opascal-is-literal-end)
15554 (opascal-literal-token-at): Rewrite.
15555 (opascal--literal-start-re, opascal-font-lock-keywords)
15556 (opascal--syntax-propertize): New constants.
15557 (opascal-font-lock-defaults): Adjust.
15558 (opascal-mode): Use them. Set comment-<foo> variables as well.
15559 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15560 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15561 (delphi-other-face, opascal-other-face): Remove face variables.
15562 (opascal-save-state): Remove macro.
15563 (opascal-fontifying-progress-step): Remove constant.
15564 (opascal--ignore-changes): Remove var.
15565 (opascal-set-token-property, opascal-parse-next-literal)
15566 (opascal-is-stable-literal, opascal-complete-literal)
15567 (opascal-is-literal-start, opascal-face-of)
15568 (opascal-parse-region, opascal-parse-region-until-stable)
15569 (opascal-fontify-region, opascal-after-change)
15570 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15571 (opascal-debug-parse-region, opascal-debug-parse-window)
15572 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15573 (opascal-debug-fontify-buffer): Remove.
15574 (opascal-debug-mode-map): Adjust accordingly.
15575
15576 2013-04-25 Leo Liu <sdl.web@gmail.com>
15577
15578 Merge octave-mod.el and octave-inf.el into octave.el with some
15579 cleanups.
15580 * progmodes/octave.el: New file renamed from octave-mod.el.
15581 * progmodes/octave-inf.el: Merged into octave.el.
15582 * progmodes/octave-mod.el: Renamed to octave.el.
15583
15584 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15585
15586 * textmodes/reftex-vars.el
15587 (reftex-label-ignored-macros-and-environments): New defcustom.
15588
15589 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15590
15591 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15592
15593 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15594 (smie-indent-keyword): Improve the check to ensure that the next
15595 comment is really on the same line.
15596 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15597
15598 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15599 semi-colons if the line is not otherwise empty (bug#14218).
15600
15601 2013-04-25 Glenn Morris <rgm@gnu.org>
15602
15603 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15604
15605 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15606
15607 * progmodes/opascal.el (opascal-set-token-property): Rename from
15608 opascal-set-text-properties and only set `token' (bug#14134).
15609 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15610 (opascal-literal-text-properties): Remove.
15611 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15612 Adjust callers.
15613
15614 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15615
15616 * textmodes/remember.el (remember-handler-functions): Add an
15617 option for a new handler `remember-store-in-files'.
15618 (remember-data-directory, remember-directory-file-name-format):
15619 New options.
15620 (remember-store-in-files): New function to store remember notes
15621 as separate files within a directory.
15622
15623 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15624
15625 * progmodes/compile.el (compilation-next-error-function):
15626 Pass "formats" to compilation-find-file (bug#11777).
15627
15628 2013-04-24 Glenn Morris <rgm@gnu.org>
15629
15630 * vc/vc-bzr.el (vc-bzr-print-log):
15631 * vc/vc-hg.el (vc-hg-print-log):
15632 * vc/vc-svn.el (vc-svn-print-log):
15633 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15634
15635 * vc/vc-bzr.el (vc-bzr-print-log):
15636 * vc/vc-cvs.el (vc-cvs-print-log):
15637 * vc/vc-git.el (vc-git-print-log):
15638 * vc/vc-hg.el (vc-hg-print-log):
15639 * vc/vc-mtn.el (vc-mtn-print-log):
15640 * vc/vc-rcs.el (vc-rcs-print-log):
15641 * vc/vc-sccs.el (vc-sccs-print-log):
15642 * vc/vc-svn.el (vc-svn-print-log):
15643 * vc/vc.el (vc-print-log-internal): Doc fixes.
15644
15645 2013-04-23 Glenn Morris <rgm@gnu.org>
15646
15647 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15648 Remove venerable code attempting to avoid substitute-command-keys.
15649
15650 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15651
15652 * textmodes/reftex-vars.el (reftex-label-regexps):
15653 Call `reftex-compile-variables' after changes to this variable.
15654
15655 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15656
15657 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15658 Use lexical-binding.
15659 (jit-lock-force-redisplay): Use markers, check buffer's continued
15660 existence and beware narrowed buffers.
15661 (jit-lock-fontify-now): Adjust call accordingly.
15662
15663 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15666 to avoid misleading the user.
15667
15668 2013-04-22 Leo Liu <sdl.web@gmail.com>
15669
15670 * info-look.el: Prefer latex2e.info. (Bug#14240)
15671
15672 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15673
15674 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15675
15676 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15677 * net/tramp.el (tramp-call-process): ... here.
15678 (tramp-set-completion-function, tramp-parse-putty):
15679 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15680 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15681 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15682 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15683 (tramp-call-local-coding-command): Use `tramp-call-process'
15684 instead of `tramp-compat-call-process'.
15685
15686 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15687 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15688 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15689 (tramp-find-inline-compress): Improve traces.
15690 (tramp-maybe-send-script): Check for Perl binary.
15691 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15692
15693 2013-04-22 Daiki Ueno <ueno@gnu.org>
15694
15695 * epg.el (epg-context-pinentry-mode): New function.
15696 (epg-context-set-pinentry-mode): New function.
15697 (epg--start): Pass --pinentry-mode option to gpg command.
15698
15699 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15700
15701 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15702 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15703 `completion-at-point'. (Bug#13774)
15704
15705 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15706 default key binding for `describe-distribution' has been moved to
15707 `C-h C-o'. (Bug#13970)
15708
15709 2013-04-21 Glenn Morris <rgm@gnu.org>
15710
15711 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15712 Add doc strings.
15713 (vc-print-log): Clarify interactive prompt.
15714
15715 2013-04-20 Glenn Morris <rgm@gnu.org>
15716
15717 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15718 No longer include timestamp etc information.
15719
15720 2013-04-20 Roland Winkler <winkler@gnu.org>
15721
15722 * faces.el (read-face-name): Bug fix, return just one face if arg
15723 multiple is nil. (Bug#14209)
15724
15725 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15726
15727 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15728 (remove-function): Autoload.
15729
15730 * comint.el (comint-redirect-original-filter-function): Remove.
15731 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15732 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15733 (vc-cvs-annotate-command):
15734 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15735 * progmodes/prolog.el (prolog-consult-compile):
15736 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15737 Use add/remove-function instead.
15738 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15739 (gud-tooltip-process-output, gud-tooltip-tips):
15740 Use add/remove-function instead.
15741 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15742 (scheme-interaction-mode, exit-scheme-interaction-mode):
15743 Use add/remove-function instead.
15744
15745 * vc/vc-dispatcher.el: Use lexical-binding.
15746 (vc--process-sentinel): Rename from vc-process-sentinel.
15747 Change last arg to be the code to run. Don't use vc-previous-sentinel
15748 and vc-sentinel-commands any more.
15749 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15750 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15751
15752 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15753
15754 * progmodes/sh-script.el (sh-imenu-generic-expression):
15755 Handle function names with a single character. (Bug#14111)
15756
15757 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15758
15759 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15760 for subroutines defined in an eval (bug#14182).
15761
15762 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15763
15764 * bookmark.el (bookmark-completing-read): Improve handling of empty
15765 string (bug#14176).
15766
15767 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15768
15769 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15770
15771 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15772
15773 New faster Imenu implementation (bug#14058).
15774 * progmodes/python.el (python-imenu-prev-index-position)
15775 (python-imenu-format-item-label-function)
15776 (python-imenu-format-parent-item-label-function)
15777 (python-imenu-format-parent-item-jump-label-function):
15778 New vars.
15779 (python-imenu-format-item-label)
15780 (python-imenu-format-parent-item-label)
15781 (python-imenu-format-parent-item-jump-label)
15782 (python-imenu--put-parent, python-imenu--build-tree)
15783 (python-imenu-create-index, python-imenu-create-flat-index)
15784 (python-util-popn): New functions.
15785 (python-mode): Set imenu-create-index-function to
15786 python-imenu-create-index.
15787
15788 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15789
15790 * winner.el (winner-active-region): Use region-active-p, activate-mark
15791 and deactivate-mark (bug#14225).
15792
15793 * simple.el (deactivate-mark): Don't inline it.
15794
15795 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15796
15797 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15798
15799 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15800
15801 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15802 file extensions from the archive-mode entry in order to prefer
15803 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15804
15805 2013-04-18 Leo Liu <sdl.web@gmail.com>
15806
15807 * bindings.el (help-event-list): Add ?\?.
15808
15809 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * subr.el (with-wrapper-hook): Declare obsolete.
15812 * simple.el (filter-buffer-substring-function): New hook.
15813 (filter-buffer-substring): Use it.
15814 (filter-buffer-substring-functions): Mark obsolete.
15815 * minibuffer.el (completion-in-region-function): New hook.
15816 (completion-in-region): Use it.
15817 (completion-in-region-functions): Mark obsolete.
15818 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15819 * abbrev.el (abbrev-expand-function): New hook.
15820 (expand-abbrev): Use it.
15821 (abbrev-expand-functions): Mark obsolete.
15822 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15823 and :filter-return.
15824
15825 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15826
15827 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15828 and do not care about match data.
15829
15830 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15831
15832 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15833 completion tables when completing error conditions and
15834 `declare' arguments.
15835 (lisp-complete-symbol, field-complete): Mark as obsolete.
15836 (check-parens): Unmatched parens are user errors.
15837 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15838
15839 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15840
15841 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15842 command changed buffer (ie. `flyspell-pre-buffer' is not current
15843 buffer), which prevents making decisions based on invalid value of
15844 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15845 cause an error when `flyspell-pre-point' was nil after switching
15846 buffers.
15847 (flyspell-post-command-hook): No longer needs to change buffers when
15848 checking pre-word. While at it remove unnecessary progn.
15849
15850 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15851
15852 * textmodes/ispell.el (ispell-add-per-file-word-list):
15853 Fix `flyspell-correct-word-before-point' error when accepting
15854 words and `coment-padding' is an integer by using
15855 `comment-normalize-vars' (Bug #14214).
15856
15857 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15858
15859 New defun movement commands.
15860 * progmodes/python.el (python-nav--syntactically)
15861 (python-nav--forward-defun, python-nav-backward-defun)
15862 (python-nav-forward-defun): New functions.
15863
15864 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15865
15866 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15867 (python-syntax-context): Use named compiler-macro for backwards
15868 compatibility with Emacs 24.x.
15869
15870 2013-04-17 Leo Liu <sdl.web@gmail.com>
15871
15872 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15873 octave-hide-process-buffer.
15874
15875 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15876
15877 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15878 (bug#14216).
15879
15880 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15881
15882 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15883 Fix adjustment of offset when receiving incomplete responses from GDB
15884 (bug#14129).
15885
15886 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15887
15888 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15889 python-mode-abbrev-table.
15890 (python-skeleton-define): Adjust accordingly.
15891 (python-mode-abbrev-table): New table that inherits from it so that
15892 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15893
15894 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15895 (abbrev-symbol): Use it.
15896 (abbrev--before-point): Use it since we already handle inheritance.
15897
15898 2013-04-16 Leo Liu <sdl.web@gmail.com>
15899
15900 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15901 binding to info-lookup-symbol.
15902
15903 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15904
15905 * minibuffer.el (completion--twq-all):
15906 * term/ns-win.el (ns-initialize-window-system):
15907 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15908
15909 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15910
15911 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15912 global bindings.
15913
15914 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15915
15916 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15917
15918 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15919 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15920 to nil.
15921 (ruby-end-of-defun): Remove the unused arg, change the docstring
15922 to reflect that this function is only used as the value of
15923 `end-of-defun-function'.
15924 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15925 to reflect an earlier change that beginning/end-of-defun functions
15926 jump between methods in a class definition, as well as top-level
15927 functions.
15928
15929 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15930
15931 * minibuffer.el (minibuffer-complete): Don't just scroll
15932 a *Completions* that's been iconified.
15933 (minibuffer-force-complete): Make sure repetitions do cycle when going
15934 through completion-in-region -> minibuffer-complete.
15935
15936 2013-04-15 Alan Mackenzie <acm@muc.de>
15937
15938 Correct the placement of c-cpp-delimiters when there're #s not at
15939 col 0.
15940
15941 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15942 place a submatch around the #.
15943 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15944 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15945 on the #, not BOL.
15946
15947 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15948
15949 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15950 (advice--member-p): New arg `name'.
15951 (advice--add-function, advice-member-p): Use it (bug#14202).
15952
15953 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15954
15955 Reformulate java imenu-generic-expression.
15956 The old expression contained ill formed regexps.
15957
15958 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15959 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15960 (cc-imenu-java-method-arg-regexp): New defconsts.
15961 (cc-imenu-java-build-type-args-regex): New defun.
15962 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15963 handling of spaces in the regexp.
15964
15965 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15966
15967 * textmodes/ispell.el (ispell-command-loop): Remove
15968 flyspell highlight of a word when ispell accepts it (bug #14178).
15969
15970 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15971
15972 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15973 uses code from the previous `ange-ftp-run-real-handler'.
15974 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15975 only in case that function exist. This is needed for proper
15976 unloading of Tramp.
15977
15978 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15979
15980 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15981
15982 * textmodes/reftex.el (reftex-compile-variables): Use it.
15983
15984 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15985
15986 * files.el (normal-mode): Only use default major-mode if no other mode
15987 was specified.
15988
15989 * emacs-lisp/trace.el (trace-values): New function.
15990
15991 * files.el: Allow : in local variables (bug#14089).
15992 (hack-local-variable-regexp): New var.
15993 (hack-local-variables-prop-line, hack-local-variables): Use it.
15994
15995 2013-04-13 Roland Winkler <winkler@gnu.org>
15996
15997 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15998 data before it gets modified by bibtex-beginning-of-entry.
15999
16000 2013-04-13 Roland Winkler <winkler@gnu.org>
16001
16002 * textmodes/bibtex.el (bibtex-url): Doc fix.
16003
16004 2013-04-13 Roland Winkler <winkler@gnu.org>
16005
16006 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16007 does not visit a BibTeX file, exclude it from the list of buffers
16008 returned by bibtex-initialize.
16009
16010 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16011
16012 * window.el (split-window): Remove interactive form, since as a
16013 command this function is a special case of split-window-below.
16014 Correct doc string.
16015
16016 2013-04-12 Roland Winkler <winkler@gnu.org>
16017
16018 * faces.el (read-face-name): Do not override value of arg default.
16019 Allow single faces and strings as default values. Remove those
16020 elements from return value that are not faces.
16021 (describe-face): Simplify.
16022 (face-at-point): New optional args thing and multiple so that this
16023 function can provide the same functionality previously provided by
16024 read-face-name.
16025 (make-face-bold, make-face-unbold, make-face-italic)
16026 (make-face-unitalic, make-face-bold-italic, invert-face)
16027 (modify-face, read-face-and-attribute): Use face-at-point.
16028
16029 * cus-edit.el (customize-face, customize-face-other-window)
16030 * cus-theme.el (custom-theme-add-face)
16031 * face-remap.el (buffer-face-set)
16032 * facemenu.el (facemenu-set-face): Use face-at-point.
16033
16034 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16035
16036 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16037
16038 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16039
16040 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16041 off leading { and trailing } from field values.
16042
16043 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16044
16045 * emacs-lisp/timer.el (timer--check): New function.
16046 (timer--time, timer-set-function, timer-event-handler): Use it.
16047 (timer-set-idle-time): Simplify.
16048 (timer--activate): CSE.
16049 (timer-event-handler): Give more info in error message.
16050 (internal-timer-start-idle): New function, moved from C.
16051
16052 * mpc.el (mpc-proc): Add `restart' argument.
16053 (mpc-proc-cmd): Use it.
16054 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16055 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16056 less often.
16057
16058 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16059
16060 * progmodes/sh-script.el: Implement `sh-mode' own
16061 `add-log-current-defun-function' (bug#14112).
16062 (sh-current-defun-name): New function.
16063 (sh-mode): Use the function.
16064
16065 2013-04-09 Bastien Guerry <bzg@gnu.org>
16066
16067 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16068
16069 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16072
16073 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16074 timer (bug#14156).
16075
16076 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16077
16078 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16079 declaration.
16080
16081 2013-04-07 Leo Liu <sdl.web@gmail.com>
16082
16083 * pcmpl-x.el: New file.
16084
16085 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16086
16087 Do not set x-display-name until X connection is established.
16088 This is needed to prevent from weird situation described at
16089 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16090 * frame.el (make-frame): Set x-display-name after call to
16091 window system initialization function, not before.
16092 * term/x-win.el (x-initialize-window-system): Add optional
16093 display argument and use it.
16094 * term/w32-win.el (w32-initialize-window-system):
16095 * term/ns-win.el (ns-initialize-window-system):
16096 * term/pc-win.el (msdos-initialize-window-system):
16097 Add compatible optional display argument.
16098
16099 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16100
16101 * files.el (normal-backup-enable-predicate): On MS-Windows and
16102 MS-DOS compare truenames of temporary-file-directory and of the
16103 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16104 don't fail comparison by compare-strings. Also, compare file
16105 names case-insensitively on MS-Windows and MS-DOS.
16106
16107 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16108
16109 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16110 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16111
16112 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16113
16114 * whitespace.el (whitespace-color-on, whitespace-color-off):
16115 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16116
16117 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16118
16119 * ispell.el (ispell-set-spellchecker-params):
16120 Really set `ispell-args' for all equivs.
16121
16122 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16123
16124 * ido.el (ido-completions): Use extra elements of ido-decorations
16125 (bug#14143).
16126 (ido-decorations): Update docstring.
16127
16128 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16129
16130 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16131 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16132 nil during initialization, in order not to miss changes since the
16133 file was opened. (Bug#14140)
16134
16135 2013-04-05 Leo Liu <sdl.web@gmail.com>
16136
16137 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16138
16139 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16140
16141 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16142
16143 2013-04-04 Glenn Morris <rgm@gnu.org>
16144
16145 * electric.el (electric-pair-inhibit-predicate): Add :version.
16146
16147 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16148
16149 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16150 when a package is required several times (bug#14082).
16151
16152 2013-04-04 Roland Winkler <winkler@gnu.org>
16153
16154 * faces.el (read-face-name): Behave as promised by the docstring.
16155 Assume that arg default is a list of faces.
16156 (describe-face): Call read-face-name with list of default faces.
16157
16158 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16159
16160 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16161 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16162 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16163 the header.
16164 (bookmark-exit-hook-internal): Save even if list is empty.
16165
16166 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16167
16168 * emacs-lisp/package.el (package-pinned-packages): New var.
16169 (package--add-to-archive-contents): Obey it (bug#14118).
16170
16171 2013-04-03 Alan Mackenzie <acm@muc.de>
16172
16173 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16174 Also adapt to the new values of element 7 of a parse state.
16175
16176 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16177 parameter `not-in-delimiter'. Handle being inside comment opener.
16178 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16179 character in case we're typing a '*' after a '/'.
16180 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16181 instead by passing the parameter to c-state-pp-to-literal.
16182
16183 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16184 for elt. 7 of a parse state.
16185
16186 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16187
16188 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16189 * international/latin1-disp.el, international/mule-util.el:
16190 * language/cyril-util.el, language/european.el, language/ind-util.el:
16191 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16192 * language/tibetan.el, language/viet-util.el:
16193 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16194
16195 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16196
16197 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16198 (electric-pair-post-self-insert-function): Use it.
16199 (electric-pair-default-inhibit): New function, extracted from
16200 electric-pair-post-self-insert-function.
16201
16202 2013-03-31 Roland Winkler <winkler@gnu.org>
16203
16204 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16205
16206 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16207
16208 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16209
16210 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16211
16212 Un-indent after "pass" and "return" statements (Bug#13888)
16213 * progmodes/python.el (python-indent-block-enders): New var.
16214 (python-indent-calculate-indentation): Use it.
16215
16216 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16217
16218 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16219 defun. Defining it as defalias could introduce too eager
16220 byte-compiler optimization. (Bug#14030)
16221
16222 2013-03-30 Chong Yidong <cyd@gnu.org>
16223
16224 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16225
16226 2013-03-30 Leo Liu <sdl.web@gmail.com>
16227
16228 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16229 (kmacro-execute-from-register): Pass the keyboard macro to
16230 kmacro-call-macro or repeating won't work correctly.
16231
16232 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16233
16234 * progmodes/subword.el: Back to using `forward-symbol'.
16235
16236 * subr.el (forward-whitespace, forward-symbol)
16237 (forward-same-syntax): Move from thingatpt.el.
16238
16239 2013-03-29 Leo Liu <sdl.web@gmail.com>
16240
16241 * kmacro.el (kmacro-to-register): New command.
16242 (kmacro-execute-from-register): New function.
16243 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16244
16245 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16246
16247 * mpc.el: Use defvar-local and setq-local.
16248 (mpc--proc-connect): Connection failures are not bugs.
16249 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16250 (mpc-volume-map): Bind to the up-events.
16251
16252 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16253
16254 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16255 instead of `forward-symbol'.
16256
16257 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16260 (edebug--recursive-edit): Use it.
16261 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16262 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16263
16264 2013-03-28 Leo Liu <sdl.web@gmail.com>
16265
16266 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16267
16268 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16269
16270 * facemenu.el (list-colors-callback): New defvar.
16271 (list-colors-redisplay): New function.
16272 (list-colors-display): Install list-colors-redisplay as the
16273 revert-buffer-function. (Bug#14063)
16274
16275 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16276
16277 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16278 and suffixes don't overlap (bug#14061).
16279
16280 * case-table.el: Use lexical-binding.
16281 (case-table-get-table): New function.
16282 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16283
16284 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16285
16286 * progmodes/subword.el: Add `superword-mode' to do word motion
16287 over symbol_words (parallels and leverages `subword-mode' which
16288 does word motion inside MixedCaseWords).
16289
16290 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16291
16292 * eshell/em-unix.el: Move su and sudo to...
16293 * eshell/em-tramp.el: ...Eshell tramp module.
16294
16295 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16296
16297 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16298 Change return value to be a sexp. Delay `get-buffer' to after
16299 restoring the desktop (bug#13951).
16300
16301 2013-03-26 Leo Liu <sdl.web@gmail.com>
16302
16303 * register.el: Move semantic tag handling back to
16304 cedet/semantic/senator.el. (Bug#14052)
16305
16306 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16307
16308 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16309 into the prompt either (bug#13963).
16310
16311 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16314 part of "(error-foo)".
16315
16316 2013-03-24 Juri Linkov <juri@jurta.org>
16317
16318 * replace.el (list-matching-lines-prefix-face): New defcustom.
16319 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16320 `occur-engine' if `face-differs-from-default-p' returns t.
16321 (occur-engine): Add `,' inside backquote construct to evaluate
16322 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16323 Pass `prefix-face' to the functions `occur-context-lines' and
16324 `occur-engine-add-prefix'.
16325 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16326 `prefix-face' and propertize the prefix with `prefix-face'.
16327 (Bug#14017)
16328
16329 2013-03-24 Leo Liu <sdl.web@gmail.com>
16330
16331 * nxml/rng-valid.el (rng-validate-while-idle)
16332 (rng-validate-quick-while-idle): Guard against deleted buffer.
16333 (Bug#13999)
16334
16335 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16336 is the last entry in kill-buffer-hook.
16337
16338 * files.el (kill-buffer-hook): Doc fix.
16339
16340 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16341
16342 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16343 Make it safe-local.
16344
16345 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16346
16347 2013-03-23 Leo Liu <sdl.web@gmail.com>
16348
16349 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16350 Remove.
16351
16352 * nxml/rng-valid.el (rng-validate-mode)
16353 (rng-after-change-function, rng-do-some-validation):
16354 * nxml/rng-maint.el (rng-validate-buffer):
16355 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16356 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16357 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16358 (nxml-extend-after-change-region): Use with-silent-modifications.
16359
16360 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16361 timer-idle-list.
16362
16363 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16364 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16365 timer-idle-list. (Bug#13999)
16366
16367 2013-03-23 Juri Linkov <juri@jurta.org>
16368
16369 * info.el (info-index-match): New face.
16370 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16371 main pattern and add text properties with the new face to matches
16372 in index entries relative to the beginning of the index entry.
16373 (Bug#14015)
16374
16375 2013-03-21 Eric Ludlam <zappo@gnu.org>
16376
16377 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16378 Inhibit read only while inserting objects.
16379
16380 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16381
16382 * progmodes/cfengine.el: Update docs to mention
16383 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16384 symbol motion. Remove "_" from the word syntax.
16385
16386 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16387
16388 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16389 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16390
16391 2013-03-20 Juri Linkov <juri@jurta.org>
16392
16393 * info.el (Info-next-reference-or-link)
16394 (Info-prev-reference-or-link): New functions.
16395 (Info-next-reference, Info-prev-reference): Use them.
16396 (Info-try-follow-nearest-node): Handle footnote navigation.
16397 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16398
16399 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16400
16401 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16402 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16403
16404 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16405
16406 Suppress unnecessary non-ASCII chatter during build process.
16407 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16408 (batch-skkdic-convert): Suppress most of the chatter.
16409 It's not needed so much now that machines are faster,
16410 and its non-ASCII component was confusing; see Dmitry Gutov in
16411 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16412
16413 2013-03-20 Leo Liu <sdl.web@gmail.com>
16414
16415 * ido.el (ido-chop): Fix bug#10994.
16416
16417 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16418
16419 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16420 Remove vars.
16421 (whitespace-color-on, whitespace-color-off):
16422 Use `font-lock-fontify-buffer' (Bug#13817).
16423
16424 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16425
16426 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16427 remapping in mode-line.
16428 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16429
16430 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16431
16432 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16433 value for `whitespace-line' face (Bug#13875).
16434 (whitespace-font-lock-keywords): Change description.
16435 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16436 the constructed keywords instead.
16437 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16438
16439 2013-03-19 Leo Liu <sdl.web@gmail.com>
16440
16441 * progmodes/compile.el (compilation-display-error): New command.
16442 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16443 C-o. (Bug#13992)
16444
16445 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16446
16447 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16448
16449 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16450
16451 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16452
16453 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16454
16455 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16456
16457 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16458 * net/tramp-gvfs.el (top):
16459 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16460 (tramp-handle-shell-command): Use it.
16461 (tramp-dissect-file-name): Raise an error when hostname is a
16462 method name, and neither method nor user is specified.
16463
16464 * net/trampver.el: Update release number.
16465
16466 2013-03-18 Leo Liu <sdl.web@gmail.com>
16467
16468 Make sure eldoc can be turned off properly.
16469 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16470 eldoc-mode.
16471 (eldoc-display-message-p): Revert last change.
16472 (eldoc-display-message-no-interference-p)
16473 (eldoc-print-current-symbol-info): Tweak.
16474
16475 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16476
16477 * doc-view.el (doc-view-new-window-function): Check the new window
16478 overlay's display property instead the char property of the
16479 buffer's first char. Use `with-selected-window' instead of
16480 `save-window-excursion' with `select-window'.
16481 (doc-view-document->bitmap): Check the current doc-view overlay's
16482 display property instead the char property of the buffer's first char.
16483
16484 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16485
16486 Automate the build of ja-dic.el (Bug#13984).
16487 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16488 from the input, rather than assume that it's been done for us by the
16489 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16490 the current date into a ja-dic.el comment, as that complicates
16491 regression testing.
16492
16493 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16494
16495 * whitespace.el: Fix double evaluation.
16496 (whitespace-space, whitespace-hspace, whitespace-tab)
16497 (whitespace-newline, whitespace-trailing, whitespace-line)
16498 (whitespace-space-before-tab, whitespace-indentation)
16499 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16500 obsolete defvars.
16501 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16502 (whitespace-color-on): Use a single font-lock-add-keywords call.
16503 Fix double-evaluation of face variables.
16504
16505 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16506
16507 * net/tramp-adb.el (tramp-adb-parse-device-names):
16508 Use `start-process' instead of `call-process'. Otherwise, the
16509 function might be blocked under MS Windows. (Bug#13299)
16510
16511 2013-03-17 Leo Liu <sdl.web@gmail.com>
16512
16513 Extend eldoc to display info in the mode-line. (Bug#13978)
16514 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16515 (eldoc-mode-line-string): New variable.
16516 (eldoc-minibuffer-message): New function.
16517 (eldoc-message-function): New variable.
16518 (eldoc-message): Use it.
16519 (eldoc-display-message-p)
16520 (eldoc-display-message-no-interference-p):
16521 Support eldoc-post-insert-mode.
16522
16523 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16524 (eval-expression): Run it.
16525
16526 2013-03-17 Roland Winkler <winkler@gnu.org>
16527
16528 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16529 strings in the list of return values.
16530
16531 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16532
16533 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16534 radix before checking for HMS forms.
16535
16536 2013-03-16 Leo Liu <sdl.web@gmail.com>
16537
16538 * progmodes/scheme.el: Add indentation and font-locking for λ.
16539 (Bug#13975)
16540
16541 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16542
16543 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16544 token before point (bug#13942).
16545
16546 2013-03-16 Leo Liu <sdl.web@gmail.com>
16547
16548 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16549
16550 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16551
16552 * startup.el (command-line-normalize-file-name): Fix handling of
16553 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16554 <xfq.free@gmail.com> in
16555 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16556
16557 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16558
16559 Sync with Tramp 2.2.7.
16560
16561 * net/trampver.el: Update release number.
16562
16563 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16564
16565 * doc-view.el: Fix bug#13887.
16566 (doc-view-insert-image): Don't modify overlay associated to
16567 non-live windows, and implement horizontal centering of image in
16568 case it's smaller than the window.
16569 (doc-view-new-window-function): Force redisplay of new windows on
16570 doc-view buffers.
16571
16572 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16573
16574 * saveplace.el (save-place-alist-to-file): Don't sort
16575 `save-place-alist', just pretty-print it (bug#13882).
16576
16577 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16578
16579 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16580 Check whether `default-file-name-coding-system' is bound.
16581 It isn't in XEmacs.
16582
16583 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16584
16585 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16586 backquotes for `obsolete' (bug#13929).
16587
16588 * international/mule.el (find-auto-coding): Include file name in
16589 obsolescence warning (bug#13922).
16590
16591 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16592
16593 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16594 for CFEngine 3-specific indentation.
16595 (cfengine3-indent-line): Use it. Fix up category regex.
16596 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16597
16598 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16599
16600 * type-break.el (type-break-file-name):
16601 * textmodes/remember.el (remember-data-file):
16602 * strokes.el (strokes-file):
16603 * shadowfile.el (shadow-initialize):
16604 * saveplace.el (save-place-file):
16605 * ps-bdf.el (bdf-cache-file):
16606 * progmodes/idlwave.el (idlwave-config-directory):
16607 * net/quickurl.el (quickurl-url-file):
16608 * international/kkc.el (kkc-init-file-name):
16609 * ido.el (ido-save-directory-list-file):
16610 * emulation/viper.el (viper-custom-file-name):
16611 * emulation/vip.el (vip-startup-file):
16612 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16613 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16614
16615 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16616
16617 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16618 * language/thai-word.el: Switch to UTF-8.
16619
16620 See ChangeLog.16 for earlier changes.
16621
16622 ;; Local Variables:
16623 ;; coding: utf-8
16624 ;; End:
16625
16626 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16627
16628 This file is part of GNU Emacs.
16629
16630 GNU Emacs is free software: you can redistribute it and/or modify
16631 it under the terms of the GNU General Public License as published by
16632 the Free Software Foundation, either version 3 of the License, or
16633 (at your option) any later version.
16634
16635 GNU Emacs is distributed in the hope that it will be useful,
16636 but WITHOUT ANY WARRANTY; without even the implied warranty of
16637 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16638 GNU General Public License for more details.
16639
16640 You should have received a copy of the GNU General Public License
16641 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.